/* Fonts */
/* General body font */
body {
    font-family: 'Inter', sans-serif;
}

/* Headings or titles using Anton */
h1,
h2,
h3,
h4,
h5,
h6,
.anton-font {
    font-family: 'Anton', sans-serif;
}


.custom-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* matches fw-medium */
}

.custom-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400; /* normal text */
  color: #6c757d; /* optional muted color */
}

.rotating-headings {
    position: relative;
    height: 300px;
    /* adjust so both h1+h2 fit */
    overflow: hidden;
}

.heading-pair {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-in-out;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Tabs styling */
.nav-link {
    color: #373737;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

/* Active tab */
.nav-link.active-tab {
    font-weight: 600;
    color: #009BDA;
}

/* Reach Us button */
.reach-btn {
    background-color: #009BDA;
    color: #fff;
    border: none;
    border-radius: 50px;
    transition: 0.3s;
}

.reach-btn:hover {
    background-color: #007bb3;
    color: #fff;
}

/* Underline below navbar */
.navbar-underline {
    border: none;
    height: 1px;
    background: rgba(0,0,0,0.2);
    margin: 0;
}
/* Hero Section */
.hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background: url('/assets/images/hero.jpg') center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* Ensure content is above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.active-tab {
    color: #F98534;
}

/* Top Card */
.top-card {
    border: none;
    background-color: white;
    backdrop-filter: blur(5px);
    overflow: hidden;
    border-radius: 0;
    /* removed rounded corners */
}

/* Image inside Top Card */
.top-card img {
    width: 100%;
    border-radius: 0;
    /* ensures image has sharp corners */
}

.small-card {
    background-color: #F98534;
    border-radius: 0;
    /* sharp corners */
    padding: 1rem;
    color: #fff;
}

.highlight-blue {
    color: #009BDA;
}

.highlight-orange {
    color: #F98534;
}

/* Optional: Smooth transition during rotation */
.heading-pair {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

/* Ensure space below right cards on small screens */
@media (max-width: 991px) {
    .hero .col-lg-6:last-child {
        margin-bottom: 2rem;
        /* space after bottom orange card */
    }
}

@media (max-width: 767px) {
    .hero .col-lg-6:last-child {
        margin-bottom: 3rem;
        /* extra space for mobile */
    }
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .rotating-headings {
        height: 405px; /* decrease height for tablet */
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .rotating-headings {
        height: 225px; /* decrease height for mobile */
    }
}

/* Extra small mobile (480px and below) */
@media (max-width: 480px) {
    .rotating-headings {
        height: 170px; /* smaller height for very small screens */
    }
}

.counter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.counter-item {
    text-align: center;
    padding: 20px 0;
}

/* Vertical line only on desktop, between items */
.counter-item:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 60px;
    background-color: #ccc;
}

@media(max-width: 767px) {
    .counter-item:not(:last-child)::after {
        display: none;
    }
}

.counter-item h2 {
    color: #009BDA;
    font-size: 3rem;
    margin-bottom: 5px;
}

.counter-item p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #373737;
}

/* Default height */
.commitment-img {
    height: 480px;
    object-fit: cover;
}

/* For screens 1024px and below */
@media (max-width: 1024px) {
    .commitment-img {
        height: 540px;
    }
}
/* Tablet & Mobile responsiveness */
@media (max-width: 991px) {
  .build-img {
    height: 650px !important; /* taller image to fit content */
  }

  /* Heading above form */
  .build-left {
    position: absolute !important;
    bottom: auto !important; /* override bottom-0 */
    start: auto !important;  /* override start-0 */
    top: 5% !important;     /* distance from top of image */
    left: 68% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 500px;
    /* text-align: center; */
    z-index: 2; /* above overlay */
  }

  .build-left h1 {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
  }

  /* Form below heading */
  .build-form {
    position: absolute !important;
    top: 30% !important; /* below heading */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 500px;
    z-index: 29;
  }
}

/* Mobile screens */
@media (max-width: 575px) {
  .build-img {
    height: 560px !important; /* smaller image for mobile */
  }

  .build-left {
    top: 5% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 400px;
    /* text-align: center; */
  }

  .build-left h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.8rem;
  }

  .build-form {
    top: 30% !important; /* below heading */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 400px;
    z-index: 2;
  }

  .build-form .card {
    padding: 1rem !important;
  }
}

/* Glass pill effect */
.bg-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Desktop nav spacing */
@media(min-width: 992px) {
    .navbar-collapse {
        justify-content: center !important;
    }
    .navbar-nav .nav-link {
        margin: 0 0.7rem;
    }
}

/* Mobile dropdown styling */
@media(max-width: 991px) {
    .navbar-nav .nav-link {
        text-align: center;
    }
    .navbar-nav .btn.reach-btn {
        margin-top: 0.5rem;
    }
}



