@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Variant 3: Colorful Theme
  Fonts: Montserrat (Heading), Roboto (Text)
  Colors: Dark Blue, Red, Blue, Silver
*/
:root {
  --primary-color: #3498DB; /* Blue */
  --secondary-color: #2C3E50; /* Dark Blue */
  --accent-color: #E74C3C; /* Red */
  --light-color: #ECF0F1; /* Light Grey */
  --dark-color: #232830; /* Darker */
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #E74C3C 100%);
  --hover-color: #2980B9; /* Darker Blue */
  --background-color: #FFFFFF; /* White */
  --text-color: #333333; /* Dark Grey Text */
  --border-color: rgba(44, 62, 80, 0.2);
  --divider-color: rgba(44, 62, 80, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.15);
  --highlight-color: #BDC3C7; /* Silver */
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--secondary-color);
}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Neuromorphism Styles */
.neu-card {
  background-color: var(--background-color);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 
    6px 6px 12px var(--shadow-color),
    -6px -6px 12px #ffffff;
  transition: all 0.3s ease-in-out;
  padding: 1.5rem;
}

.neu-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    9px 9px 18px var(--shadow-color),
    -9px -9px 18px #ffffff;
}

.neu-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--main-font);
  font-weight: 600;
  border-radius: 12px;
  background: var(--primary-color);
  color: #FFFFFF;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 
    4px 4px 8px var(--shadow-color),
    -4px -4px 8px #ffffff;
  transition: all 0.3s ease;
}

.neu-button:hover {
  background: var(--hover-color);
  color: #ffffff;
  box-shadow: 
    inset 2px 2px 5px var(--shadow-color),
    inset -2px -2px 5px #ffffff;
}

.neu-button-accent {
  background: var(--accent-color);
  color: white;
}
.neu-button-accent:hover {
  background: #C0392B; /* Darker Red */
}


/* Header */
header {
  background-color: var(--secondary-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);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

header .navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .navigation li {
  margin-left: 1.5rem;
}

header .navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-family: var(--main-font);
  font-size: 1.1rem;
  padding-bottom: 5px;
  transition: all 0.3s;
}

header .navigation a:hover {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

/* Hamburger Menu (CSS Only) */
#menu-toggle {
  display: none;
}

.menu-button-container {
  display: none;
  height: 27px;
  width: 35px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: var(--light-color);
  position: absolute;
  height: 4px;
  width: 35px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -10px;
}

.menu-button::after {
  content: '';
  margin-top: 10px;
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 2rem 0;
  margin-top: 5dvh;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

footer nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

footer nav li {
  margin-left: 1.5rem;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
}
footer nav a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

footer .footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--divider-color);
  font-size: 0.9rem;
}
footer .footer-bottom a {
  color: var(--highlight-color);
}

/* Section Padding */
section:not(.hero) {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-content {
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem;
  border-radius: 15px;
  max-width: 800px;
}
.hero h1 {
  color: white;
  font-weight: 700;
}

/* Content Sections */
.content-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.content-section img {
  border-radius: 15px;
  box-shadow: 8px 8px 15px var(--shadow-color);
}

/* Divider */
.section-divider {
  text-align: center;
  padding-top: 4dvh;
  padding-bottom: 4dvh;
}
.section-divider h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}
.section-divider h2::before,
.section-divider h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 2px;
  background-color: var(--border-color);
}
.section-divider h2::before {
  right: 100%;
}
.section-divider h2::after {
  left: 100%;
}

/* CTA */
.cta-section {
  color: white;
  text-align: center;
  padding-top: 15dvh;
  padding-bottom: 15dvh;
  position: relative;
}
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.8;
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  color: white;
  font-size: 2.5rem;
}
.cta-content p {
  font-size: 1.25rem;
}

/* Features (Timeline) */
.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;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item.left {
  left: 0;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--primary-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--primary-color);
}
.timeline-item.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--primary-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--primary-color) transparent transparent;
}
.timeline-item.right::after {
  left: -16px;
}
.timeline-item.left::after {
  right: -17px;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 10px var(--shadow-color);
}
.timeline-content {
  position: relative;
}
.timeline-content i {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  border-left: 5px solid var(--accent-color);
}
.testimonial-card p:first-child {
  font-style: italic;
  font-size: 1.1rem;
}
.testimonial-card p:last-child {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--secondary-color);
  text-align: right;
  margin-top: 1rem;
}

/* Form & Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: flex-start;
}
.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--main-font);
  color: var(--secondary-color);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: inset 3px 3px 6px var(--shadow-color);
  font-family: var(--alt-font);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: inset 3px 3px 6px var(--shadow-color), 0 0 5px var(--primary-color);
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
}
.faq-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.faq-item p {
  border-left: 3px solid var(--border-color);
  padding-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Mobile Header */
  header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .menu-button-container {
    display: flex;
    position: relative;
    z-index: 100;
  }
  header .navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 74px; /* Height of header */
    background-color: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  header .navigation ul {
    flex-direction: column;
    padding: 1rem;
  }
  header .navigation li {
    margin: 0.5rem 0;
    text-align: center;
  }
  #menu-toggle:checked ~ .navigation {
    max-height: 500px; /* Or large enough value */
  }

  /* Mobile Footer */
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  footer .logo {
    margin-bottom: 1rem;
  }
  footer nav ul {
    flex-direction: column;
  }
  footer nav li {
    margin: 0.5rem 0;
  }

  /* Content Sections */
  .content-section {
    flex-direction: column;
  }
  .content-section div {
    width: 100% !important;
  }
  
  /* Timeline */
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 60px;
    border: medium solid var(--primary-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 15px;
  }
  .timeline-item.right {
    left: 0%;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}