@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Random Variables (Variant 1):
  site-colors: #2980B9, #2C3E50, #ECF0F1, #E67E22
  font-heading: Oswald
  font-text: Open Sans
*/

:root {
  --primary-color: #2980B9;
  --secondary-color: #2C3E50; /* Darker color from palette */
  --accent-color: #E67E22;
  --light-color: #ECF0F1;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  --hover-color: #2471A3; /* Darker primary */
  --background-color: #FFFFFF;
  --text-color: #333333;
  --border-color: rgba(41, 128, 185, 0.2);
  --divider-color: rgba(44, 62, 80, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.1);
  --highlight-color: #F1C40F; /* Complementary */
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Neuromorphism and General Styles */
.neu-card {
  background: var(--background-color);
  border-radius: 20px;
  box-shadow: 8px 8px 15px var(--shadow-color), -8px -8px 15px #ffffff;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.neu-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 25px var(--shadow-color), -12px -12px 25px #ffffff;
}

.btn-primary {
  display: inline-block;
  font-family: var(--main-font);
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 50px;
  background: var(--gradient-primary);
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 4px 4px 10px var(--shadow-color), -4px -4px 10px #ffffff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--hover-color);
  color: #fff;
  box-shadow: 6px 6px 15px var(--shadow-color), -6px -6px 15px #ffffff;
  transform: translateY(-2px);
}

/* Header */
.site-header {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo img {
  max-height: 50px;
}

.site-header .navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .navigation li {
  margin-left: 1.5rem;
}

.site-header .navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.site-header .navigation a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Mobile Menu (CSS Only) */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--light-color);
}

@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .site-header .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-icon {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .site-header .navigation {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .site-header .navigation ul {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .site-header .navigation li {
    margin: 0;
  }
  
  .site-header .navigation a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--divider-color);
  }
  
  .menu-toggle:checked + .menu-icon + .navigation {
    max-height: 500px; /* arbitrary large height */
  }
  
  .menu-toggle:checked + .menu-icon .fa-bars { display: none; }
  .menu-toggle:not(:checked) + .menu-icon .fa-times { display: none; }
}

/* Section Padding */
.section-padding {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* Hero */
.hero {
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
}

/* Content Section 1 */
.content-section-1 .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.content-section-1 .image-col {
  flex: 0 0 40%;
}

.content-section-1 .text-col {
  flex: 0 0 60%;
}

.content-section-1 img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 10px 10px 20px var(--shadow-color);
}

@media (max-width: 768px) {
  .content-section-1 .container {
    flex-direction: column;
  }
  .content-section-1 .image-col,
  .content-section-1 .text-col {
    flex: 0 0 100%;
  }
  .content-section-1 .image-col {
    margin-bottom: 2rem;
  }
}

/* Section Divider */
.section-divider {
  text-align: center;
  padding: 3rem 0;
}

.section-divider .line {
  height: 2px;
  width: 100px;
  background-color: var(--border-color);
  margin: 0 auto 1.5rem auto;
}

.section-divider h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  text-transform: uppercase;
}

/* CTA Section */
.cta-section {
  color: #fff;
  text-align: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.cta-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10dvh 0;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Features (Timeline) */
.features-section {
  background-color: var(--light-color);
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container.left {
  left: 0;
}

.timeline-container.right {
  left: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: var(--background-color);
  border: 4px solid var(--accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-container.right::after {
  left: -16px;
}

.timeline-container.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--border-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--border-color);
}

.timeline-container.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--border-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--border-color) transparent transparent;
}

.timeline-content {
  padding: 20px 30px;
  position: relative;
}

.timeline-content i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-container.left, .timeline-container.right {
    left: 0%;
  }
  .timeline-container::before {
    left: 60px;
    border: medium solid var(--border-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--border-color) transparent transparent;
  }
  .timeline-container.left::after, .timeline-container.right::after {
    left: 15px;
  }
}

/* Content Section 2 */
.content-section-2 .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.content-section-2 .image-col {
  flex: 0 0 50%;
}

.content-section-2 .text-col {
  flex: 0 0 50%;
}

.content-section-2 img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 10px 10px 20px var(--shadow-color);
}

@media (max-width: 768px) {
  .content-section-2 .container {
    flex-direction: column-reverse; /* Image below text */
  }
  .content-section-2 .image-col,
  .content-section-2 .text-col {
    flex: 0 0 100%;
  }
  .content-section-2 .image-col {
    margin-top: 2rem;
  }
}

/* Testimonials */
.testimonials-section {
  background-color: var(--background-color);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  color: var(--primary-color);
  font-family: var(--main-font);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact / Form Section */
.contact-section {
  background-color: var(--light-color);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.contact-form .neu-card {
  padding: 2.5rem;
}

.contact-form h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: #fff;
  box-shadow: inset 3px 3px 5px var(--shadow-color), inset -3px -3px 5px #ffffff;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: inset 4px 4px 7px var(--shadow-color), inset -4px -4px 7px #ffffff, 0 0 0 2px var(--accent-color);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    margin-bottom: 3rem;
  }
}

/* FAQ Section */
.faq-section {
  background-color: var(--background-color);
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 10px var(--shadow-color);
}

.faq-question {
  padding: 1.5rem;
  font-family: var(--main-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  background-color: rgba(236, 240, 241, 0.5); /* Light color with alpha */
}

.faq-answer {
  padding: 1.5rem;
  background-color: #fff;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer .logo img {
  max-height: 40px;
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.site-footer nav li {
  margin-left: 1.5rem;
}

.site-footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer nav a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--divider-color);
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--light-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-footer .container {
    flex-direction: column;
  }
  .site-footer .logo {
    margin-bottom: 1.5rem;
  }
  .site-footer nav ul {
    flex-direction: column;
    text-align: center;
  }
  .site-footer nav li {
    margin: 0.5rem 0;
  }
}