/* ===== CSS Variables ===== */
:root {
    --primary-color: #00246B;
    --secondary-color: #CADCFC;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     --navbar-height: 89px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}


body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
     padding-top: var(--navbar-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: -5px;
}

.logo .tagline {
    font-size: 11px;
    margin-left: 21px; 
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}



.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
   
    overflow: hidden;
}

/* SLIDES */
.hero-slider {
  position: absolute;
  inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;      /* 🔥 important */
  background-position: center; /* 🔥 important */
  background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* DARK OVERLAY FOR TEXT READABILITY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-car .hero-content {
  justify-content: flex-start;
  padding-top: 60px; /* adjust this value */
}

.hero-cabin .hero-content {
  justify-content: flex-start;
  padding-top: 60px; /* adjust this value */
}

.hero-door .hero-content {
  justify-content: flex-start;
  padding-top: 60px; /* adjust this value */
}

.hero-guide .hero-content {
  justify-content: flex-start;
  padding-top: 60px; /* adjust this value */
}

.hero-lop .hero-content {
  justify-content: flex-start;
  padding-top: 60px; /* adjust this value */
}

.hero-mount .hero-content {
  justify-content: flex-start;
  padding-top: 60px; /* adjust this value */
  
}
.hero-mount .hero-content h1 {
  font-size: 72px; /* adjust as needed */
}


.hero-content h1 {
  font-size: 80px;
  max-width: 900px;
}

.hero-content p {
  margin: 20px 0;
  font-size: 30px;
  opacity: 0.9;
}

.btn {
  background: #ff6a2b;
  padding: 14px 32px;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; top: 5px; }
    50% { opacity: 1; top: 12px; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #00246B;
    color: white;
}

.btn-primary:hover {
    background: #001a52;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ===== Intro Section ===== */
.section-intro {
    background: var(--bg-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.intro-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}


.intro-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.intro-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Product Highlights ===== */
.product-highlights {
    display: grid;
    gap: 40px;
}

.product-highlight-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-highlight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.product-highlight-card:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.product-highlight-card:nth-child(even) .product-highlight-image {
    order: 2;
}

.product-highlight-image {
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
 
  overflow: hidden;
}

.product-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* keeps full product visible */
}


.product-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* 🔥 key change */
}


.placeholder-img {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
    
}

.product-highlight-content {
    padding: 40px;
}

.product-highlight-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-highlight-content > p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    margin-bottom: 25px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== CTA Section ===== */
.section-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta-content h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Stats Section ===== */
.section-stats {
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Scroll Animation ===== */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 14px;
}

.footer-col p {
    line-height: 1.8;
    color: #aaa;
}

.footer-col ul li {
    padding: 8px 0;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 20px 0;
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.breadcrumb-list li a {
    color: var(--primary-color);
}

.breadcrumb-list li a:hover {
    text-decoration: underline;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-light);
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-card-image {
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.product-card-content {
    padding: 25px;
}

.product-card-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .product-highlight-card {
        grid-template-columns: 1fr !important;
    }
    
    .product-highlight-card:nth-child(even) .product-highlight-image {
        order: 1;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .product-card-content,
    .product-highlight-content {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }

    
}

/* ===== Enquiry Modal ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
}

.modal-content {
    background: white;
    max-width: 420px;
    margin: 120px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    font-family: inherit;
}

.modal-content textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-content button {
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-light);
}

#enquiryStatus {
    margin-top: 12px;
    text-align: center;
    font-weight: 500;
}

.site-logo {
  height: 64px;      /* 👈 ideal navbar height */
  width: auto;       /* maintain aspect ratio */
  max-width: 170px;  /* prevents oversized logos */
  object-fit: contain;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.site-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  color: #1a1a1a;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 6px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}


/* underline only on hover OR active */
.navbar-nav .nav-item:not(.dropdown) .nav-link:hover::after,
.navbar-nav .nav-item:not(.dropdown) .nav-link.active::after {
  width: 100%;
}

.dropdown-menu {
  border-radius: 10px;
  padding: 10px 0;
}

.dropdown-item {
  font-size: 15px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.dropdown-item i {
  color: var(--primary-color);
}

.dropdown-item:hover {
  background: var(--bg-light);
}

/* Remove Bootstrap dropdown caret */
.dropdown-toggle::after {
  display: none !important;
}



/* Chevron animation */
.nav-item.dropdown i.fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 12px;
}

/* rotate on hover */
.nav-item.dropdown:hover i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown spacing + animation */
.navbar .dropdown-menu {
  margin-top: 10px;
  animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer ul {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

/* ===== Technical Specification Cards ===== */
.tech-card {
  min-height: 140px; /* ensures equal visual height */
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===== Technical Specifications ===== */

.spec-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.spec-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.spec-desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== Applications Cards ===== */

.app-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.app-title {
  font-size: 18px;
 
  color: var(--primary-color);
  line-height: 1.4;
}

.applications {
  background: #f9fafb;
}

.section-subtitle {
  max-width: 700px;
  margin: 10px auto 40px;
  color: var(--text-light);
  font-size: 16px;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.application-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.application-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.app-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}


.clients {
  background: #ffffff;
  overflow: hidden;
}

.logo-slider {
  margin-top: 40px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
}

.logo-item img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease;
}

.logo-item img:hover {
  transform: scale(1.05);
}

.about-text {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
}

.about-stat-label {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.about-img-wrapper {
  width: 100%;
  /* height: 520px;      */
  overflow: hidden;
  border-radius: 16px;
}

.about-img {
  width: 100%;
  height: 100%;           /* ✅ NOW height can increase */
  object-fit: cover;      /* crops nicely */
}



@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 36, 107, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.subcategories {

  text-align: center;
}

.subcategory-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  align-items: flex-start;
}

.subcategory-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.subcategory-card:hover {
  transform: translateY(-6px);
}

.subcategory-main {
  padding: 35px 30px;
}

.subcategory-main h3 {
  color: #0b2b6b;
  margin-bottom: 10px;
}

.subcategory-main p {
  color: #555;
}

/* CHILD CARDS CONTAINER */
.subcategory-children {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #f6f8fc;
}

/* SHOW ON HOVER */
.subcategory-card:hover .subcategory-children {
  max-height: 1000px;
  opacity: 1;
  padding: 25px;
}

.subcategory-card:hover .child-card {
  opacity: 1;
  transform: translateY(0);
}

.subcategory-card:hover .child-card:nth-child(2) {
  transition-delay: 0.1s;
}

/* CHILD CARD STYLE */
.child-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 15px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

/* .child-card {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
} */

.child-card:last-child {
  margin-bottom: 0;
}

.child-card h4 {
  color: #0b2b6b;
  margin-bottom: 6px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #ccc;
  margin-top: 8px;
}

.linkedin-link i {
  font-size: 22px;
  color: #0A66C2;
}

.linkedin-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-social {
  margin-top: 25px;
  margin-bottom: 18px; 
}

.footer-social h4 {
  margin-bottom: 10px;
}

/* ===== Floating LinkedIn Button ===== */
.floating-linkedin {
  position: fixed;
  bottom: 91px;              /* 👈 above Back-to-Top */
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0A66C2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Hover effect */
.floating-linkedin:hover {
  transform: scale(1.1);
  background: #004182;
  color: #fff;
}

.back-to-top {
  bottom: 30px;
  right: 30px;
}

.navbar .nav-link:focus,
.navbar .nav-link:focus-visible {
  outline: none;
  box-shadow: none;
}
.hero-about {
  background-image: url('../images/about.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-car{
  background-image: url('../images/elevator-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-cabin{
background-image: url('../images/elevator-cabin.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-door{
background-image: url('../images/elevator-door.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.hero-guide{
  background-image: url('../images/elevator-guide.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.hero-lop{
  background-image: url('../images/elevator-lop.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.hero-mount{
  background-image: url('../images/elevator-mount-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.hero-home {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 critical */
  object-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===== World Map Section ===== */

.world-map-wrapper {
  position: relative;
  width: 100%;
  min-height: 520px;   /* ⬆ increased height */
  background: #fff;
  border-radius: 16px;
  padding: 10px;       /* ⬅ reduced from 20px */
}


.world-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

/* ===== Pins ===== */

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  text-align: center;
  z-index: 5;
}

/* ===== Pin Shape ===== */
.pin {
  width: 18px;
  height: 18px;
  background: #e53935;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  animation: pinPulse 1.8s infinite;
}

/* Inner white circle */
.pin::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
}

/* ===== Pin Label ===== */
.pin-label {
  margin-top: 8px;
  display: inline-block;
  background: #fff;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* ===== Pin Positions (tuned for world map image) ===== */

/* Navi Mumbai */
/* Navi Mumbai */
.pin-navi-mumbai {
      top: 36%;
    left: 28%;
}

/* Uttar Shiv (close to Mumbai – slight offset) */
.pin-uttar-shiv {
    top: 36%;
    left: 35%;

}

/* Chennai */
.pin-chennai {
     top: 25%;
    left: 59%;
}

/* ===== Tooltip ===== */
.map-pin::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #333;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

/* Tooltip arrow */
.map-pin::before {
  content: "";
  position: absolute;
  bottom: 108%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Show tooltip on hover */
.map-pin:hover::after,
.map-pin:hover::before {
  opacity: 1;
}

/* ===== Pulse Animation ===== */

@keyframes pinPulse {
  0% {
    transform: rotate(-45deg) scale(1);
    box-shadow: 0 0 0 0 rgba(229,57,53,0.4);
  }
  70% {
    transform: rotate(-45deg) scale(1.1);
    box-shadow: 0 0 0 12px rgba(229,57,53,0);
  }
  100% {
    transform: rotate(-45deg) scale(1);
    box-shadow: 0 0 0 0 rgba(229,57,53,0);
  }
}

.error-text {
  color: #e53935;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-control.error,
.form-select.error {
  border-color: #e53935;
}

/* ===== Scroll Progress Bar ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 11000; /* above navbar */
}

#scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    #3f6ad8
  );
  transition: width 0.15s ease-out;
}

.footer-address-grid.compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Location label */
.location-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

/* Address text lighter */
.address-text {
  font-size: 13px;
  line-height: 1.45;
  color: #bdbdbd;
  margin-bottom: 6px;
}

/* Contact person inline (saves vertical space) */
.contact-inline {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #e0e0e0;
}

.contact-inline span {
  font-size: 12.5px;
  color: #cfcfcf;
}

/* Footer meta (email + time) */
.footer-meta p {
  margin: 10px 0;
  font-size: 13px;
}

/* Mobile fix */
@media (max-width: 768px) {
  .footer-address-grid.compact {
    grid-template-columns: 1fr;
  }
}




.intro-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 20px;
}

.timeline ul {
    /* background: #ffffff; */
    padding: 50px 0;
  }
  
  .timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: var(--primary-color);
  }
  
  .timeline ul li::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
    z-index: 1;
  }
  
  .timeline ul li div {
      position: relative;
      bottom: 0;
      width: 400px;
      padding: 15px;
      color: #333333;
      box-shadow: rgb(0 0 0 / 8%) 0px 4px 12px;
      backdrop-filter: blur(25px) saturate(65%);
      -webkit-backdrop-filter: blur(25px) saturate(65%);
      background-color: rgba(255, 255, 255, 0.33);
      border-radius: 12px;
      border: 1px solid rgba(209, 213, 219, 0.3);
  }
  
  .timeline ul li div::before {
    content: "";
    position: absolute;
    bottom: 7px;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .timeline ul li:nth-child(odd) div {
    left: 45px;
  }
  
  .timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #00246B transparent transparent;
  }
  
  .timeline ul li:nth-child(even) div {
    left: -439px;
  }
  
  .timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #00246B;
  }
  
  .timeline time {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #00246B;
    padding-bottom: 5px;
    display: inline-block;
  }
  
  .timeline ul li::after {
    transition: background 0.5s ease-in-out;
  }
  
  .timeline ul li.in-view::after {
    background: var(--primary-color);
  }
  
  .timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
  }
  
  .timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
  }
  
  .timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
  }
  
  .timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
  }
  .timeline p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}   
.timeline p:last-child {
  margin-bottom: 0;
}

  
  
  .timeline-clippy ul li::after {
    width: 40px;
    height: 40px;
    border-radius: 0;
  }
  
  .timeline-rhombus ul li::after {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  }
  
  .timeline-rhombus ul li div::before {
    bottom: 12px;
  }
  
  .timeline-star ul li::after {
    clip-path: polygon(
      50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%
    );
  }
  
  .timeline-heptagon ul li::after {
    clip-path: polygon(
      50% 0%,
      90% 20%,
      100% 60%,
      75% 100%,
      25% 100%,
      0% 60%,
      10% 20%
    );
  }
  
  .timeline-infinite ul li::after {
    animation: scaleAnimation 2s infinite;
  }
  
  @keyframes scaleAnimation {
    0% {
      transform: translateX(-50%) scale(1);
    }
    50% {
      transform: translateX(-50%) scale(1.25);
    }
    100% {
      transform: translateX(-50%) scale(1);
    }
  }

.faq-accordion {
 
  margin: 0 auto;
}

.accordion-button {
  font-weight: 600;
  color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
  background: var(--bg-light);
}

.accordion-body {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.whatsapp-float {
  position: fixed;
  bottom: 154px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* ===== Contact Info Section ===== */
.contact-info-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 35px;
  border: 1px solid var(--border-color);
  height: 100%;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.contact-info-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* ===== Address Cards ===== */
.contact-card {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===== Meta Info ===== */
.contact-meta {
  margin-top: 35px;
}

.contact-meta-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-meta-item i {
  font-size: 18px;
  color: var(--primary-color);
  margin-top: 4px;
}

.contact-meta-item strong {
  font-size: 15px;
  color: var(--text-dark);
}

.hero-about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
}


@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }
  .hero-home {
    background-image: url('../images/home.mp4');
    background-position: center top; /* mobile-friendly framing */
  }
    .contact-grid {
        grid-template-columns: 1fr; /* single column on mobile */
        gap: 30px;
    }
    .site-logo {
    height: 48px;
    max-width: 140px;
  }
     .world-map-wrapper {
    min-height: 320px;
  }

  .pin-label {
    font-size: 12px;
    padding: 3px 8px;
  }

  .pin {
    width: 16px;
    height: 16px;
  }
  .about-img-wrapper {
    order: -1;
  }

  .hero {
    min-height: 100vh;   /* full screen */
  }

  .section-header h2 {
    text-align: center;
  }
  .footer {
    text-align: center;
  }

  .footer-grid {
    justify-items: center;
  }

  .footer-col ul li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .linkedin-link {
    justify-content: center;
  }
  .product-highlight-card {
    display: flex;
    flex-direction: column;
  }

  .product-highlight-image {
    order: 1 !important;
     margin-bottom: 16px;
  }

  .product-highlight-content {
    order: 2 !important;
  }
  .product-highlight-content .btn {
    display: inline-block;
    margin: 18px auto 0;
  }
   .product-highlight-content .btn {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
  }
}

@media (max-width: 768px) {

  .timeline ul li {
    margin-left: 20px;
  }

  .timeline ul li div {
    width: calc(100% - 60px);
    left: 45px !important;
    transform: none !important;
  }

  .timeline ul li:nth-child(even) div {
    left: 45px !important;
  }

}


@media (max-width: 992px) {
  .about-img-wrapper {
    height: 420px;
  }

  .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar-nav .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding-left: 15px;
  }

  .navbar-nav .dropdown-item {
    padding: 10px 0;
  }
}


@media (max-width: 576px) {
  .about-img-wrapper {
    height: 300px;
  }
  .site-logo {
    height: 42px;   /* 👈 adjust as needed */
    max-width: 120px;
  }
  .floating-linkedin {
    right: 20px;
    bottom: 90px;
  }
  .whatsapp-float{
    right: 20px;
    bottom: 147px;
  }
  .back-to-top {
    right: 20px;     /* same as LinkedIn */
    bottom: 30px;    /* base position */
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
 .hero-content h1 {
    font-size: 32px;
    line-height: 1.3;
  }
  .hero-mount .hero-content h1 {
    font-size: 32px;
}
.about-text{
  font-size: 16px;
}
  .hero-content p {
    font-size: 16px;
    margin: 12px 0 20px;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
  }
  
}


  
  @media screen and (max-width: 600px) {
    .timeline ul li {
      margin-left: 20px;
    }
    .timeline ul li div {
      width: calc(100vw - 91px);
    }
    .timeline ul li:nth-child(even) div {
      left: 45px;
    }
    .timeline ul li:nth-child(even) div::before {
      left: -15px;
      border-width: 8px 16px 8px 0;
      border-color: transparent #00246B transparent transparent;
    }
  }

  

/* =========================================================================
   ADD THIS TO THE END OF YOUR styles.css FILE
   ========================================================================= */

/* ===== Form Messages Container (Contact Page) ===== */
.form-messages-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-messages-container .alert {
    position: relative !important;
    width: 100%;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 0.5rem;
    animation: slideDownAlert 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes slideDownAlert {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Alert Styling */
#formSuccess {
    background-color: #d1f2eb !important;
    border: 1px solid #0f6848 !important;
    border-left: 4px solid #0f6848 !important;
    color: #0f6848 !important;
}

#formSuccess strong {
    color: #0a5535 !important;
    font-weight: 600;
}

#formSuccess .fa-circle-check {
    color: #0f6848 !important;
}

/* Error Alert Styling */
#formError {
    background-color: #f8d7da !important;
    border: 1px solid #842029 !important;
    border-left: 4px solid #842029 !important;
    color: #842029 !important;
}

#formError strong {
    color: #58151c !important;
    font-weight: 600;
}

#formError .fa-circle-exclamation {
    color: #842029 !important;
}

/* Form Validation Error Styling */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    background-image: none;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.error-text {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Form Submit Button Loading State */
#sendMessageBtn .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

#sendMessageBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Input Focus States */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 36, 107, 0.15);
}

/* Placeholder Styling */
.form-control::placeholder {
    color: #999;
    font-size: 0.95rem;
}

/* Form Label Styling */
.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Required Field Indicator */
.form-label::after {
    content: none;
}

/* Mobile Responsiveness for Alerts */
@media (max-width: 768px) {
    .form-messages-container .alert {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .form-messages-container .alert i {
        font-size: 1.25rem !important;
    }
}