* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

/* Hero Container */
.main-hero {
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("hero.png"); /* Replace with your bridge/city image */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Transparent Navbar */
.navbar {
  width: 100%;
  padding: 25px 0;
  position: absolute;
  top: 0;
  z-index: 10;
}

.nav-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px; /* Adjust based on your logo aspect ratio */
  filter: brightness(0) invert(1); /* Makes logo white if it's dark */
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 15px;
  transition: opacity 0.3s;
}

.nav-icons {
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-icons i {
  cursor: pointer;
}

/* Hero Central Text */
.hero-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 10%;
  color: white;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* The Teal Button */
.btn-teal {
  background-color: #5bbca3;
  color: white;
  text-decoration: none;
  padding: 18px 45px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, background-color 0.3s;
}

.btn-teal:hover {
  background-color: #4aa890;
  transform: translateY(-2px);
}

/* Bottom Dark Section / Pattern */
.bottom-pattern {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: #0a1128; /* Very dark navy blue */
  clip-path: polygon(
    0 100%,
    100% 100%,
    100% 0,
    0 100%
  ); /* Example triangle edge */
  opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  } /* Typically replaced by a hamburger menu */
  .hero-content {
    padding-left: 5%;
  }
}

/* Enhanced About Section */
.about-section {
  margin: 0, auto;
  padding: 160px 100px;
  background-color: #ffffff;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Gives text more room to breathe */
  gap: 80px;
  align-items: center;
}

/* Subtitle Styling */
.subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.subtitle-wrapper .line {
  width: 40px;
  height: 2px;
  background-color: #5bbca3;
}

.about-text h5 {
  color: #5bbca3;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.85rem;
}

.about-text h2 {
  font-size: 3.5rem; /* Bigger Heading */
  line-height: 1.1;
  color: #0a1128;
  margin-bottom: 30px;
  font-weight: 800;
}

.lead-text {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 20px;
}

.about-text p {
  color: #666;
  margin-bottom: 25px;
  max-width: 600px;
}

/* Stats Styling */
.about-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2e3192;
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.3;
}

/* Image Decor */
.about-image-wrapper {
  position: relative;
}

.main-about-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  display: block;
}

.image-border-decoration {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  border: 10px solid #f4f7f9;
  z-index: 1;
}

.floating-badge {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: #2e3192;
  color: white;
  padding: 20px;
  border-radius: 4px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.floating-badge i {
  font-size: 1.5rem;
  color: #5bbca3;
}

/* Button Styling */
.btn-modern {
  display: inline-block;
  padding: 18px 35px;
  background: #0a1128;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-modern:hover {
  background: #5bbca3;
  transform: translateX(5px);
}

.btn-modern i {
  margin-left: 10px;
  font-size: 0.9rem;
}

/* Mobile Fix */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .subtitle-wrapper {
    justify-content: center;
  }
  .about-text h2 {
    font-size: 2.5rem;
  }
  .about-stats {
    justify-content: center;
  }
  .image-border-decoration {
    display: none;
  }
  .floating-badge {
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    bottom: -20px;
  }
  .about-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Services Section */
#services {
  padding: 100px;
}
.services-section {
  padding: 50px;
  background: #f9fbff;
  text-align: center;
}
.section-header h2 {
  font-size: 2.2rem;
  color: #0a1128;
}
.divider {
  width: 60px;
  height: 3px;
  background: #5bbca3;
  margin: 20px auto 50px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 12px;
  transition: 0.3s;
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid #5bbca3;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.service-card i {
  font-size: 2.5rem;
  color: #2e3192;
  margin-bottom: 20px;
}

/* Callback Section */
.contact-callback {
  background: #0a1128;
  color: white;
  padding: 80px 0;
}
.callback-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.callback-info {
  flex: 1;
}
.callback-form {
  flex: 1.2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.callback-form input,
.callback-form select {
  padding: 15px;
  border-radius: 4px;
  border: none;
}
.callback-form button {
  grid-column: span 2;
  background: #5bbca3;
  color: white;
  border: none;
  padding: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.callback-form button:hover {
  background: #4aa890;
}

@media (max-width: 768px) {
  .about-grid,
  .services-grid,
  .callback-wrapper,
  .callback-form {
    grid-template-columns: 1fr;
  }
  .callback-form button {
    grid-column: span 1;
  }
}

.premium-services {
  padding: 70px 0;
  background: #ffffff;
}

/* Modern Header Layout */
.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.services-intro .tag {
  color: #ed1c24; /* GANDU Red */
  font-weight: 800;
  letter-spacing: 4px;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 10px;
}

.services-intro h2 {
  font-size: 3.5rem;
  line-height: 1;
  color: #0a1128;
  font-weight: 900;
}

.desc-block {
  max-width: 450px;
  border-left: 3px solid #eee;
  padding-left: 30px;
  color: #666;
  font-size: 1.1rem;
}

/* Masonry Grid Styling */
.service-masonry {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.s-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Card Core Styling */
.s-card {
  position: relative;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: flex-end;
  transition: all 0.5s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.s-card.featured {
  height: 630px;
}
.s-card.small {
  height: 300px;
}

.s-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(10, 17, 40, 0.9) 10%,
    rgba(10, 17, 40, 0) 90%
  );
  transition: 0.4s;
  z-index: 1;
}

.s-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(46, 49, 146, 0.95) 20%,
    rgba(46, 49, 146, 0.2) 100%
  );
}

.s-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.s-number {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  color: white;
}

.s-card i {
  font-size: 2.5rem;
  color: #5bbca3;
  margin-bottom: 20px;
  display: block;
}

.s-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.s-card p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 400px;
  margin-bottom: 30px;
}

.s-btn {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding-bottom: 5px;
  border-bottom: 2px solid #5bbca3;
  transition: 0.3s;
}

.s-btn:hover {
  color: #5bbca3;
  letter-spacing: 1px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .services-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .service-masonry {
    grid-template-columns: 1fr;
  }
  .s-card.featured {
    height: 450px;
  }
}

/* Corporate About Section */
.corporate-about {
  padding: 140px 0;
  background-color: #fcfcfc;
  position: relative;
  overflow: hidden;
}

/* Subtitle Tag */
.section-tag {
  color: #ed1c24; /* GANDU Red */
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 15px;
}

.about-flex {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
}

/* Narrative Side */
.narrative h2 {
  font-size: 3rem;
  color: #0a1128;
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 900;
}

.intro-p {
  font-size: 1.3rem;
  color: #2e3192; /* GANDU Navy */
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
}

.story-text p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Philosophy Side */
.philosophy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-box {
  background: white;
  padding: 50px;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-bottom: 50px;
}

.quote-box i {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 4rem;
  color: #f0f0f0;
  z-index: 1;
}

.quote-box blockquote {
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  font-style: italic;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
}

.quote-box cite {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
}

/* Values in Philosophy */
.value-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.value-item i {
  color: #5bbca3; /* Your Teal color */
  font-size: 1.5rem;
  margin-top: 5px;
}

.value-item h4 {
  color: #0a1128;
  margin-bottom: 5px;
}

.value-item p {
  font-size: 0.9rem;
  color: #777;
}

/* Background Watermark (Optional Visual Flair) */
.corporate-about::after {
  content: "GANDU";
  position: absolute;
  bottom: -50px;
  right: -20px;
  font-size: 15rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  z-index: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .about-flex {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .narrative h2 {
    font-size: 2.2rem;
  }
  .quote-box {
    padding: 30px;
  }
}

#about {
  padding: 100px;
}

/* Main Footer Styling */
.main-footer {
  background-color: #0a1128; /* Matches the dark navy in hero/about */
  color: #ffffff;
  padding: 100px 0 0 0;
  border-top: 4px solid #ed1c24; /* GANDU Red accent line */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 80px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

/* Red underline for titles */
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background-color: #ed1c24;
}

/* Brand Column */
.footer-logo {
  height: 60px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1); /* Makes logo white */
}

.brand-info p {
  color: #a0a8b3;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: #ed1c24;
  transform: translateY(-3px);
}

/* Links and Lists */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: #a0a8b3;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: #5bbca3;
  padding-left: 5px;
}

/* Contact Specifics */
.contact-list li {
  display: flex;
  gap: 15px;
  color: #a0a8b3;
  font-size: 0.95rem;
}

.contact-list i {
  color: #5bbca3;
  margin-top: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #060a18;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #6a7482;
  font-size: 0.85rem;
}

.footer-legal a {
  color: #6a7482;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 20px;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .about-section,
  #services,
  #about {
    padding: 0;
    padding-top: 50px;
  }

  .text-block h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-legal a {
    margin: 0 10px;
  }
}

/* Mobile Menu Smooth Transition */
@media (max-width: 768px) {
  .nav-links {
    display: flex; /* Always flex, but hidden via other properties */
    flex-direction: column;
    align-items: center;

    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0d2844;
    padding: 0; /* Start with 0 padding */

    /* Animation properties */
    max-height: 0; /* Collapsed height */
    overflow: hidden; /* Prevents content from showing */
    opacity: 0; /* Fully transparent */
    transform: translateY(-10px); /* Slightly shifted up */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth "ease-in-out" curve */
    pointer-events: none; /* Prevents clicking links when hidden */
  }

  .nav-links.active {
    max-height: 500px; /* A value larger than the menu's height */
    opacity: 1; /* Fully visible */
    padding: 30px 0; /* Restore padding */
    transform: translateY(0); /* Move back to original position */
    pointer-events: auto; /* Enable clicking */
  }

  .nav-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s; /* Delayed fade-in for links */
  }

  .nav-links.active li {
    opacity: 1;
  }

  .nav-icons #hamburger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
  }

  /* Rotate the hamburger icon when active */
  .nav-icons #hamburger.active-icon {
    transform: rotate(90deg);
  }
}

/* Split Page Layout */
.verify-split-page {
  background-color: #ffffff;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.verify-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  width: 90%;
  align-items: center;
  gap: 100px;
}

/* Left Side Styling */
.verify-info h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
  margin: 20px 0;
}

.badge {
  background: #e6fffa;
  color: var(--teal);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.steps-list {
  margin-top: 50px;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.step-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #eee;
}

.step-content h4 {
  color: var(--navy);
  margin-bottom: 5px;
}

.step-content p {
  font-size: 0.9rem;
  color: #888;
}

/* Form Card Styling */
.form-card {
  background: #f8fafd;
  padding: 50px;
  border-radius: 24px;
  border: 1px solid #edf2f7;
}

.input-field {
  margin-bottom: 25px;
}

.input-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #4a5568;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 20px;
  color: #a0aec0;
}

.input-wrapper input {
  width: 100%;
  padding: 18px 18px 18px 55px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  transition: 0.3s;
}

.input-wrapper input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(91, 188, 163, 0.1);
  outline: none;
}

.btn-primary {
  width: 100%;
  background: var(--navy);
  color: white;
  border: none;
  padding: 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

/* Result Box */
.result-message {
  margin-top: 30px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.result-message.valid {
  padding: 20px;
  background: #c6f6d5;
  color: #22543d;
}

.result-message.invalid {
  padding: 20px;
  background: #fed7d7;
  color: #822727;
}

/* Mobile */
@media (max-width: 992px) {
  .verify-container {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: 50px;
  }
  .verify-info {
    text-align: center;
  }
  .step {
    text-align: left;
  }
}

/* Styling the Select Dropdown */
.input-wrapper select {
  width: 100%;
  padding: 18px 18px 18px 55px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  appearance: none; /* Removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: 0.3s;
}

/* Add a custom arrow icon for the dropdown */
.input-wrapper::after {
  content: "\f107"; /* FontAwesome down arrow */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  color: #a0aec0;
  pointer-events: none;
}

.input-wrapper select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(91, 188, 163, 0.1);
  outline: none;
}

/* --- Optimized Responsive Grid --- */
.verify-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Desktop: Info left, Form right */
  max-width: 1400px;
  margin: 0 auto;
  width: 90%;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
}

/* Tablet & Mobile Adjustments (992px and below) */
@media (max-width: 992px) {
  .verify-split-page {
    height: auto; /* Allow page to grow vertically */
    min-height: 100vh;
  }

  .verify-container {
    grid-template-columns: 1fr; /* Stack columns vertically */
    gap: 40px;
    padding-top: 120px; /* Space for fixed/absolute navbar */
    text-align: center;
  }

  .verify-info h1 {
    font-size: 2.5rem; /* Smaller text for mobile */
  }

  .steps-list {
    text-align: left; /* Keep steps readable */
    max-width: 500px;
    margin: 40px auto 0;
  }

  .form-card {
    padding: 30px 20px; /* Reduce padding on small screens */
    border-radius: 16px;
  }
}

/* Specific Mobile Fixes (480px and below) */
@media (max-width: 480px) {
  .verify-info h1 {
    font-size: 2rem;
  }

  .input-wrapper input,
  .input-wrapper select {
    padding: 15px 15px 15px 45px; /* Slightly smaller inputs */
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 15px;
  }

  .step-num {
    font-size: 1.2rem;
  }
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--navy);
  border: 1px solid #e2e8f0;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-secondary i {
  color: var(--teal);
}
