/* ======================================== 
    GLOBAL RESET & BASE STYLES 
  ======================================== */
  :root {
    /* Primary Color Palette - Deep Blue-Gray */
    --primary: #1E3A46;
    --primary-dark: #162C36;
    --primary-light: #2F5566;
    --primary-lighter: #3D6678;
    
    /* Accent Colors */
    --accent: #ffc107;
    --accent-dark: #ff9800;
    
    /* Background Colors */
    --background: #F5F7F8;
    --white: #FFFFFF;
    
    /* Text Colors */
    --text-primary: #1F2933;
    --text-secondary: #4B5563;
    
    /* Border Colors */
    --border-light: #E5E7EB;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-secondary);
  }

  html {
    scroll-behavior: smooth;
  }

  /* Global image constraint */
  img {
    max-width: 100%;
    height: auto;
  }

  /* ======================================== 
    PRELOADER - Loading animation on page load 
  ======================================== */
  #preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .loader {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  /* ======================================== 
    TOP BAR - Contact info above navbar 
  ======================================== */
  .top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 0;
    font-weight: 500;
  }

  .top-bar i {
    margin-right: 6px;
    color: var(--accent);
  }

  .top-bar a {
    color: #ffffff;
    text-decoration: none;
  }

  /* ======================================== 
    NAVIGATION BAR 
  ======================================== */
  .navbar {
    background: #ffffff !important;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: visible !important;
    position: relative;
    z-index: 1030;
  }

  .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  /* Professional spacing for navbar container - prevents cramping at edges */
  .navbar .container-fluid,
  .navbar .container {
    padding-left: 15px;
    padding-right: 35px;
    max-width: 100%;
    overflow: visible;
  }

  /* Add breathing space between navigation items and Make in India image */
  .navbar-nav {
    margin-right: 20px;
  }

  /* Ensure the Make in India image doesn't touch the edge */
  .navbar img[alt*="Make in India"],
  .navbar img[src*="lion"],
  .navbar-brand + img,
  .navbar > .container-fluid > img:last-child,
  .navbar > .container > img:last-child {
    margin-right: 0;
    padding-right: 0;
  }

  .navbar-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
  }

  /* Desktop logo image size */
  .navbar-brand img {
    height: 55px;
    width: auto;
  }

  .nav-link {
    color: #424242 !important;
    font-weight: 600;
    margin: 0 8px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    border-radius: 6px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary) !important;
    background: rgba(30, 58, 70, 0.08);
    letter-spacing: 0.3px;
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
  }

  .dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    position: absolute;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1031;
    min-width: 250px;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    display: block;
    width: 100%;
    text-align: left;
    color: #424242;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
    position: relative;
    overflow: hidden;
  }

  .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform 0.25s ease;
  }

  .dropdown-item:hover::before {
    transform: scaleY(1);
  }

  .dropdown-item:hover {
    background: rgba(30, 58, 70, 0.07);
    color: var(--primary);
    padding-left: 24px;
  }

  /* ======================================== 
    PAGE HEADER - Used on internal pages 
  ======================================== */
  .page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px;
    color: white;
    margin-top: 0;
  }

  .page-header h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
  }

  .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
  }

  .breadcrumb-item {
    font-size: 14px;
  }

  .breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
  }

  .breadcrumb-item.active {
    color: white;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
  }

  /* ======================================== 
    HERO SECTION - Homepage banner 
  ======================================== */
  .hero {
    z-index: 1;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
    max-width: 100%;
  }

  .hero-media {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .hero-video,
  .hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-fit: cover;
    max-width: 100%;
  }

  .hero-video.active,
  .hero-slide.active {
    opacity: 1;
  }

  .hero-slide {
    background-size: cover;
    background-position: center top;
  }

  /* Deep blue overlay on hero images - ALWAYS VISIBLE */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 70, 0.96) 0%, rgba(22, 44, 54, 0.94) 100%);
    z-index: 1;
  }

  /* Hero content - ALWAYS CENTERED */
  .hero-content,
  .hero-content-left {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
  }

  .hero-content h1,
  .hero-content-left h1 {
    font-size: 62px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease, textGlow 3s ease-in-out infinite;
    line-height: 1.2;
    max-width: 900px;
  }

  .hero-content p,
  .hero-content-left p {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 500;
    animation: fadeInUp 1.2s ease;
    max-width: 800px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  }

  .hero-subtitle,
  .hero-content-left .hero-subtitle {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes textGlow {
    0%, 100% {
      text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    }
    50% {
      text-shadow: 2px 2px 20px rgba(255, 193, 7, 0.4);
    }
  }

  .hero-content .btn-primary-soft,
  .hero-content-left .btn-primary-soft {
    padding: 16px 40px;
    font-size: 16px;
    display: inline-block;
    width: auto;
  }

  /* ======================================== 
    SECTIONS - General section styles 
  ======================================== */
  .section {
    padding: 80px 0;
    position: relative;
  }

  .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 70, 0.03) 100%);
    pointer-events: none;
    z-index: 0;
  }

  .section > * {
    position: relative;
    z-index: 1;
  }

  /* Section top-padding removal utility (used in adjacent photo grids) */
  .section.pt-0 {
    padding-top: 0;
  }

  /* Mobile section spacing */
  @media (max-width: 768px) {
    .section {
      padding: 60px 0;
    }
    .section.pt-0 {
      padding-top: 0;
    }
  }

  .section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    animation: titleSlideIn 0.8s ease-out;
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.3s backwards;
  }

  @keyframes titleSlideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
  }

  .section-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.9;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.2s backwards;
  }

  .bg-light {
    background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
  }

  /* ======================================== 
    BUTTONS 
  ======================================== */
  .btn-primary-soft {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    border: none;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .btn-primary-soft::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
  }

  .btn-primary-soft:hover::after {
    left: 160%;
  }

  .btn-primary-soft:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 18px 40px rgba(255, 193, 7, 0.55), 0 0 0 4px rgba(255,193,7,0.15);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
  }

  .btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    background: transparent;
  }

  .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 70, 0.4);
  }

  /* ======================================== 
    CARDS - Feature/Service Cards 
  ======================================== */
  .feature-card,
  .product-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  /* Animated gradient border sweep */
  .feature-card::before,
  .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-dark), transparent);
    transition: left 0.5s ease;
  }

  /* Subtle inner glow on hover */
  .feature-card::after,
  .product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at top left, rgba(255,193,7,0.07) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .feature-card:hover::before,
  .product-card:hover::before {
    left: 100%;
  }

  .feature-card:hover::after,
  .product-card:hover::after {
    opacity: 1;
  }

  .feature-card:hover,
  .product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 55px rgba(30, 58, 70, 0.22), 0 0 0 1.5px var(--accent);
    border-color: transparent;
  }

  .feature-card .icon,
  .product-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: white;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 20px rgba(30, 58, 70, 0.3);
  }

  .feature-card:hover .icon,
  .product-card:hover .icon {
    transform: rotate(15deg) scale(1.18) translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  }

  .feature-card h3,
  .product-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
  }

  .feature-card p,
  .product-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
  }

  /* ======================================== 
    STATISTICS SECTION 
  ======================================== */
  .stat-box {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.35s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }

  .stat-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,193,7,0.18) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
  }

  .stat-box:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
  }

  .stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(30, 58, 70, 0.18);
    border-color: rgba(30, 58, 70, 0.25);
  }

  .stat-box:hover .stat-number,
  .stat-box:hover .stat-badge,
  .stat-box:hover .stat-label,
  .stat-box:hover .stat-icon {
    color: inherit;
  }

  .stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
  }

  .stat-label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    position: relative;
    z-index: 1;
  }

  /* ======================================== 
    ABOUT / CONTENT SECTIONS 
  ======================================== */
  .about-content {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
  }

  .about-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
  }

  .about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 2px;
  }

  .about-content ul {
    list-style: none;
    padding-left: 0;
  }

  .about-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.8;
  }

  .about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
  }

  /* ======================================== 
    TIMELINE - Used for history/milestones 
  ======================================== */
  .timeline {
    position: relative;
    margin-left: 30px;
    padding-left: 40px;
    border-left: 3px solid var(--accent);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 10px;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -51px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--accent);
  }

  .timeline-year {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
  }

  .timeline-content {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
  }

  /* ======================================== 
    IMAGE HOVER EFFECTS 
  ======================================== */
  .img-hover-effect {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease;
  }

  .img-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(30, 58, 70, 0.75) 0%, rgba(255, 193, 7, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 1;
  }

  .img-hover-effect:hover::before {
    opacity: 1;
  }

  .img-hover-effect:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.28);
  }

  .img-hover-effect img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }

  .img-hover-effect:hover img {
    transform: scale(1.08);
  }

  /* ======================================== 
    FOOTER 
  ======================================== */
  .footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
  }

  .footer h5 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent);
  }

  .footer ul {
    list-style: none;
    padding: 0;
  }

  .footer ul li {
    margin-bottom: 12px;
  }

  .footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
  }

  .footer ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .footer ul li a:hover {
    color: var(--accent);
    padding-left: 8px;
  }

  .footer ul li a:hover::after {
    width: 100%;
  }

  .footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
  }

  /* ======================================== 
    CONTACT FORM 
  ======================================== */
  .form-control,
  .form-select {
    border-radius: 12px;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    font-size: 15px;
  }

  .form-control:focus,
  .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 70, 0.15);
  }

  .form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 14px;
  }

  /* ======================================== 
    GOOGLE MAP IFRAME 
  ======================================== */
  .map {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }

  .map:hover {
    box-shadow: 0 15px 40px rgba(30, 58, 70, 0.25);
    transform: translateY(-5px);
  }

  /* Mobile map adjustment */
  @media (max-width: 768px) {
    .map {
      height: 350px;
      margin-top: 20px;
    }
  }

  /* ======================================== 
    PRODUCT GRID / GALLERY 
  ======================================== */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

  .product-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
  }

  .product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 70, 0.9) 0%, rgba(255, 193, 7, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
  }

  .product-item:hover::before {
    opacity: 1;
  }

  .product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 70, 0.25);
  }

  .product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .product-item:hover img {
    transform: scale(1.1);
  }

  .product-info {
    padding: 25px;
    position: relative;
    z-index: 2;
  }

  .product-info h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
  }

  .product-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
  }

  /* ======================================== 
    TEAM MEMBERS / CERTIFICATES 
  ======================================== */
  .team-member,
  .certificate-item {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
  }

  .team-member:hover,
  .certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 70, 0.25);
  }

  .team-member img,
  .certificate-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 5px solid var(--accent);
  }

  .certificate-item img {
    border-radius: 15px;
    width: 100%;
    height: auto;
    border: none;
  }

  .team-member h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
  }

  .team-member p {
    font-size: 14px;
    color: #555;
    font-weight: 600;
  }

  /* ======================================== 
    CLIENTS CAROUSEL - Infinite Scroll 
  ======================================== */
  .clients-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    padding: 50px 0;
    position: relative;
  }

  .clients-carousel-wrapper::before,
  .clients-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .clients-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fb 0%, transparent 100%);
  }

  .clients-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
  }

  .clients-carousel {
    display: flex;
    gap: 30px;
    animation: scroll-left 40s linear infinite;
    width: max-content;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50%));
    }
  }

  .clients-carousel-wrapper:hover .clients-carousel {
    animation-play-state: paused;
  }

  .client-logo {
    flex: 0 0 auto;
    height: 120px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }

  .client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,193,7,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: 0;
  }

  .client-logo:hover::before {
    transform: scale(1);
  }

  .client-logo:hover {
    background: linear-gradient(135deg, rgba(30, 58, 70, 0.06) 0%, rgba(255,193,7,0.06) 100%);
    border-color: var(--accent);
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 18px 40px rgba(30, 58, 70, 0.25);
  }

  .client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
  }

  .client-logo:hover img {
    filter: grayscale(0%) opacity(1) brightness(1.05);
    transform: scale(1.06);
  }

  /* ======================================== 
    SCROLL REVEAL ANIMATION 
  ======================================== */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  /* ======================================== 
    SCROLL TO TOP BUTTON - LEFT SIDE (RED) 
  ======================================== */
  #scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
    transition: all 0.3s ease;
    animation: pulse-scroll 2s infinite;
  }

  @keyframes pulse-scroll {
    0%, 100% {
      box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
    }
    50% {
      box-shadow: 0 6px 30px rgba(229, 57, 53, 0.8);
    }
  }

  #scrollToTopBtn:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.6);
  }

  #scrollToTopBtn i {
    font-weight: bold;
  }

  /* ======================================== 
    FLOATING ACTION MENU (FAM) - Social Icons 
  ======================================== */
  .floating-action-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
  }

  .fam-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(30, 58, 70, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
  }

  .fam-toggle:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 30px rgba(30, 58, 70, 0.6);
  }

  .fam-toggle.active {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  }

  .fam-items {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .fam-items.active {
    opacity: 1;
    pointer-events: all;
  }

  .fam-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0);
  }

  .fam-items.active .fam-item {
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  @keyframes popIn {
    from {
      transform: scale(0) translateY(20px);
      opacity: 0;
    }
    to {
      transform: scale(1) translateY(0);
      opacity: 1;
    }
  }

  .fam-item:nth-child(1) { animation-delay: 0.1s; }
  .fam-item:nth-child(2) { animation-delay: 0.15s; }
  .fam-item:nth-child(3) { animation-delay: 0.2s; }

  .fam-item:hover {
    transform: translateY(-8px) scale(1.15);
  }

  .social-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
  }

  .social-facebook:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
  }

  .social-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
  }

  .social-whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  }

  .social-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
  }

  .social-linkedin:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.6);
  }

  /* ======================================== 

    SOCIAL MEDIA ICONS - Fixed right side 
  ======================================== */
  .social-media-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
  }

  .social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .social-icon:hover {
    transform: translateY(-8px) scale(1.15);
  }

  /* ======================================== 
    CONTAINER OVERFLOW FIXES 
  ======================================== */
  .container,
  .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ======================================== 
    RESPONSIVE DESIGN - Mobile adjustments 
  ======================================== */
  @media (max-width: 768px) {
    /* Critical mobile fixes */
    .navbar .container-fluid,
    .navbar .container {
      padding-left: 12px !important;
      padding-right: 12px !important;
    }

    .navbar-nav {
      margin-right: 0;
    }

    /* Fix navbar brand visibility on mobile */
    .navbar-brand {
      font-size: 20px !important;
      max-width: calc(100% - 60px); /* Leave space for hamburger menu */
      white-space: normal !important; /* Allow text to wrap */
      overflow: visible !important;
      text-overflow: clip !important;
      margin-right: auto;
      line-height: 1.3;
      padding-top: 5px;
      padding-bottom: 5px;
    }

    /* Bigger logo image on mobile */
    .navbar-brand img {
      height: 60px !important;
      width: auto !important;
      max-width: 200px !important;
    }

    /* Ensure hamburger menu does not overlap brand */
    .navbar-toggler {
      margin-left: 10px;
      flex-shrink: 0;
      align-self: flex-start;
      margin-top: 5px;
    }

    /* Hero section mobile — full fix */
    .hero {
      height: 100vh;
      min-height: unset;
    }

    .hero-slide {
      background-position: center top; /* keep subject/worker in frame */
    }

    /* Dark overlay on mobile so text is always readable */
    .hero-no-overlay::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.70) 100%
      );
      z-index: 1;
      pointer-events: none;
    }

    /* Keep content above overlay */
    .hero .container {
      position: relative;
      z-index: 2;
    }

    .hero-content,
    .hero-content-left {
      padding: 0 20px;
      text-align: center;
      align-items: center;
      justify-content: flex-end;   /* push content toward bottom third */
      padding-bottom: 60px;
    }

    .hero-content h1,
    .hero-content-left h1 {
      font-size: 32px;
      line-height: 1.25;
      margin-bottom: 14px;
    }

    .hero-content p,
    .hero-content-left p {
      font-size: 15px;
      margin-bottom: 24px;
      line-height: 1.6;
    }

    .hero-subtitle,
    .hero-content-left .hero-subtitle {
      font-size: 14px;
    }

    .section-title {
      font-size: 32px;
    }

    .section {
      padding: 60px 0;
    }

    .page-header h1 {
      font-size: 32px;
    }

    .page-header {
      padding: 60px 0 40px;
    }

    /* Top bar — stack phone & email vertically on mobile */
    .top-bar .container {
      flex-direction: column !important;
      align-items: center !important;
      gap: 4px !important;
      padding-top: 8px !important;
      padding-bottom: 8px !important;
    }

    .top-bar .container > div {
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 12px;
      width: 100%;
      text-align: center;
    }

    .top-bar .container > div:last-child {
      margin-top: 0;
      font-size: 12px;
    }

    .stat-number {
      font-size: 36px;
    }

    .timeline {
      margin-left: 15px;
      padding-left: 25px;
    }

    .timeline-item::before {
      left: -33px;
    }

    .clients-carousel-wrapper {
      padding: 30px 15px;
    }

    .client-logo {
      height: 90px;
      width: 150px;
      font-size: 14px;
    }

    .clients-carousel {
      gap: 20px;
    }

    .btn-primary-soft {
      padding: 14px 32px;
      font-size: 14px;
    }

    #scrollToTopBtn {
      bottom: 20px;
      left: 20px;
      width: 50px;
      height: 50px;
      font-size: 22px;
    }

    .floating-action-menu {
      bottom: 20px;
      right: 20px;
    }

    .fam-toggle {
      width: 55px;
      height: 55px;
      font-size: 24px;
    }

    .fam-item {
      width: 50px;
      height: 50px;
      font-size: 22px;
    }

    .social-media-icons {
      bottom: 20px;
      right: 20px;
    }

    .social-icon {
      width: 50px;
      height: 50px;
      font-size: 22px;
    }

    /* Mobile dropdown fixes */
    .dropdown-menu {
      position: static !important;
      transform: none !important;
      width: 100%;
      border: none;
      box-shadow: none;
      background: rgba(30, 58, 70, 0.05);
      margin-top: 8px;
    }

    .navbar-collapse .dropdown-menu {
      display: none;
    }

    .navbar-collapse .dropdown-menu.show {
      display: block;
    }
  }

  /* ======================================== 
    PRODUCT CARDS & CERTIFICATION BOXES 
  ======================================== */
  .card-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .product-card .btn {
    margin-top: 15px;
  }

  .product-card {
    padding-bottom: 20px;
  }

  /* Railway product photos grid */
  .railway-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, filter 0.4s ease;
  }

  .railway-photo:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
    filter: brightness(1.07) saturate(1.1);
  }

  @media (max-width: 768px) {
    .railway-photo {
      height: 150px;
    }
  }

  .card-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
  }

  /* Diagonal shimmer sweep */
  .card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
  }

  .card-box:hover::before {
    left: 160%;
  }

  .card-box:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 28px 56px rgba(30, 58, 70, 0.22), 0 0 0 2px var(--accent);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,193,7,0.06) 100%);
  }

  .product-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    color: white;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
    box-shadow: 0 8px 25px rgba(30, 58, 70, 0.3);
  }

  .card-box:hover .product-icon {
    transform: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(30, 58, 70, 0.3);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  }

  /* Certification Boxes */
  .cert-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    height: 100%;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    overflow: hidden;
  }

  /* Bottom-up fill */
  .cert-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(255,193,7,0.08) 0%, rgba(255,152,0,0.12) 100%);
    transition: height 0.45s ease;
    z-index: 0;
  }

  .cert-box > * {
    position: relative;
    z-index: 1;
  }

  .cert-box:hover::before {
    height: 100%;
  }

  .cert-box:hover {
    box-shadow: 0 24px 50px rgba(30, 58, 70, 0.2), 0 0 0 2px var(--accent);
  }

  .cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 38px;
    color: white;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  }

  .cert-box:hover .cert-icon {
    box-shadow: 0 18px 48px rgba(255, 193, 7, 0.65), 0 0 0 6px rgba(255,193,7,0.15);
  }

  /* Mobile responsiveness for cards */
  @media (max-width: 768px) {
    .card-box {
      padding: 40px 25px;
      min-height: 200px;
      font-size: 18px;
    }

    .product-icon {
      width: 75px;
      height: 75px;
      font-size: 36px;
      margin-bottom: 20px;
    }

    .cert-box {
      padding: 35px 25px;
      font-size: 16px;
    }

    .cert-icon {
      width: 70px;
      height: 70px;
      font-size: 32px;
    }
  }

  @media (max-width: 768px) {
    .swal2-popup.swal2-pdf-viewer {
      width: 95vw !important;
      height: 85vh !important;
    }
  }
  /* STATS SECTION Z-INDEX FIX FOR HOVER */
  .stats-section {
    position: relative;
    z-index: 10;
    overflow: visible !important;
  }

  .stats-section .container,
  .stats-section .row {
    overflow: visible !important;
  }

  .stat-box {
    z-index: 10;
    overflow: visible !important;
  }
  /* ======================================== 
    GALLERY IMAGES - Uniform sizing 
  ======================================== */
  .gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, filter 0.4s ease;
    cursor: pointer;
  }

  .gallery-img:hover {
    transform: scale(1.07) translateY(-4px);
    filter: brightness(1.08) saturate(1.15);
  }

  @media (max-width: 768px) {
    .gallery-img {
      height: 200px;
    }
  }

  /* ======================================== 
    VIDEO PLAYER - Small compact design 
  ======================================== */
  .video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #000;
    max-width: 100%;
  }

  .video-player {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
  }

  .video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: none;
    color: white;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
    padding-left: 6px;
    position: relative;
  }

  .video-play-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.5);
    transform: scale(0.85);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .video-play-btn:hover::after {
    transform: scale(1.15);
    opacity: 1;
  }

  .video-play-btn:hover {
    transform: scale(1.18);
    box-shadow: 0 16px 42px rgba(255, 193, 7, 0.75);
  }

  .video-play-btn i {
    font-size: 40px;
  }

  @media (max-width: 768px) {
    .video-player {
      min-height: 300px;
    }
    
    .video-play-btn {
      width: 65px;
      height: 65px;
      font-size: 28px;
    }
    
    .video-play-btn i {
      font-size: 32px;
    }
  }
  /* Gallery image smooth transition for rotation */
  .gallery-img {
    transition: opacity 0.5s ease-in-out;
  }

  /* ======================================== 
    GLOBAL POLISH — Final cleanup additions
  ======================================== */

  /* Card spacing — prevents overlap on small screens */
  .sector-card,
  .product-card,
  .feature-card {
    margin-bottom: 30px;
  }

  /* Base button polish — consistent border-radius and transition */
  .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  /* Shadow consistency across all box components */
  .card,
  .cert-box,
  .card-box,
  .product-card,
  .feature-card,
  .stat-box {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  /* Section description spacing */
  .section-desc {
    margin-bottom: 30px;
  }

  /* ======================================== 
    PRINT / COPY PROTECTION 
  ======================================== */
  @media print {
    body {
      display: none;
    }
  }
/* ======================================== 
   HERO — Small phone fix (≤480px)
   For tall phones like 19:9, 20:9 ratios
======================================== */
@media (max-width: 480px) {
  .hero {
    height: 100vh;
    min-height: unset;
  }

  .hero-slide {
    background-position: center top;
  }

  .hero-content-left,
  .hero-content {
    justify-content: flex-end;
    padding-bottom: 50px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content h1,
  .hero-content-left h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-content p,
  .hero-content-left p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-content .btn-primary-soft,
  .hero-content-left .btn-primary-soft {
    padding: 12px 28px;
    font-size: 14px;
  }
}
/* ========================================
   HERO — Hide product bubbles & connectors
   ======================================== */
.hero-bubble,
.hero-connectors {
  display: none !important;
}
/* ========================================
   HERO — Framed window look
   Side margins + thick dark border +
   rounded corners = "contained card" feel
   ======================================== */

.hero {
  margin: 20px 32px 0;          /* top gap + side breathing room */
  border-radius: 20px;           /* rounded corners */
  border: 4px solid #1E3A46;    /* thick dark brand border */
  box-shadow:
    0 8px 40px rgba(30, 58, 70, 0.30),
    0 2px 8px  rgba(0,   0,   0,  0.18);
  height: calc(100vh - 40px);   /* full viewport minus top/bottom gap */
  overflow: hidden;
}

@media (max-width: 992px) {
  .hero {
    margin: 16px 20px 0;
    border-radius: 16px;
    border-width: 3px;
    height: calc(100vh - 32px);
  }
}

@media (max-width: 768px) {
  .hero {
    margin: 12px 14px 0;
    border-radius: 14px;
    border-width: 3px;
    height: calc(100vh - 24px);
  }
}

@media (max-width: 480px) {
  .hero {
    margin: 10px 10px 0;
    border-radius: 12px;
    border-width: 3px;
    height: calc(100vh - 20px);
  }
}
/* ========================================
   GALLERY — Enhanced smooth hover (no icon)
   ======================================== */

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition:
    transform  0.50s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.50s ease !important;
}

.gallery-card:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 12px 32px rgba(0,  0,  0,  0.18),
    0 28px 56px rgba(30, 58, 70, 0.22) !important;
}

/* Smooth image scale + warm tone shift */
.gallery-card .gallery-img {
  transition:
    transform  0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter     0.55s ease !important;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08) !important;
  filter: brightness(0.78) saturate(1.10) contrast(1.04) !important;
}

/* Overlay — soft gradient reveal from bottom */
.gallery-card__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 26, 34, 0.72) 0%,
    rgba(10, 26, 34, 0.18) 50%,
    transparent 100%
  ) !important;
  transition:
    opacity   0.50s ease,
    transform 0.50s ease !important;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Thin accent border that glows in on hover */
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 193, 7, 0);
  transition: border-color 0.50s ease;
  pointer-events: none;
  z-index: 3;
}

.gallery-card:hover::after {
  border-color: rgba(255, 193, 7, 0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-card:hover {
    transform: translateY(-4px) !important;
  }
  .gallery-card:hover .gallery-img {
    transform: scale(1.05) !important;
  }
}
/* ========================================
   GALLERY — Clean simple smooth hover
   No icon, no border, just lift + scale
   ======================================== */

/* Remove zoom icon */
.gallery-zoom-icon {
  display: none !important;
}

/* Remove amber border glow */
.gallery-card::after {
  display: none !important;
}

/* Clean card hover — lift + shadow only */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition:
    transform  0.45s ease,
    box-shadow 0.45s ease !important;
}

.gallery-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 20px 44px rgba(0, 0, 0, 0.10) !important;
}

/* Smooth image scale */
.gallery-card .gallery-img {
  transition:
    transform 0.50s ease,
    filter    0.50s ease !important;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06) !important;
  filter: brightness(0.88) !important;
}

/* Subtle dark overlay — no yellow, no border */
.gallery-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 60%
  ) !important;
  border: none !important;
  transition: opacity 0.45s ease !important;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-card:hover {
    transform: translateY(-3px) !important;
  }
  .gallery-card:hover .gallery-img {
    transform: scale(1.03) !important;
  }
}

/* ========================================
   GALLERY CAPTION STRIP
   Always-visible label at bottom of card
   ======================================== */
.gallery-caption-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.4px;
  text-transform: capitalize;
  z-index: 4;
  border-radius: 0 0 14px 14px;
  transition: background 0.3s ease;
}

.gallery-card:hover .gallery-caption-strip {
  background: var(--primary-dark);
}

@media (max-width: 576px) {
  .gallery-caption-strip {
    font-size: 11px;
    padding: 6px 8px;
  }
}

/* ========================================
   NAVBAR TOGGLER — Clean right-aligned
   hamburger, no border box on mobile
   ======================================== */

/* Remove the default Bootstrap border/outline box */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 6px 8px !important;
  margin-left: auto !important;   /* push to far right */
  flex-shrink: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Make the three-bar icon slightly larger and brand-colored */
.navbar-toggler-icon {
  width: 26px !important;
  height: 22px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231E3A46' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Ensure brand stays left, toggler stays right */
@media (max-width: 991px) {
  .navbar .container,
  .navbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  .navbar-brand {
    margin-right: auto !important;  /* brand left */
  }

  .navbar-toggler {
    margin-left: 12px !important;   /* toggler right */
    order: 99;
  }
}
/* ========================================
   HERO FLOATING BUBBLES & CONNECTOR LINES
   (moved from inline <style> in index.html)
   ======================================== */

.hero-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.connector-line {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2px;
  stroke-dasharray: 6 4;
  animation: dashDraw 1.2s ease forwards, dashAnimate 3s linear 1.2s infinite;
  stroke-dashoffset: 200;
}

@keyframes dashDraw {
  from { stroke-dashoffset: 200; opacity: 0; }
  to   { stroke-dashoffset: 0;   opacity: 1; }
}

@keyframes dashAnimate {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -20; }
}

.hero-bubble {
  position: absolute;
  z-index: 3;
  animation: bubbleFloat 4s ease-in-out infinite alternate;
}

.hero-bubble--top-left    { left: 3%; top: 8%;    animation-delay: 0s; }
.hero-bubble--bottom-left { left: 3%; bottom: 8%; animation-delay: 1.5s; }

@keyframes bubbleFloat {
  from { transform: translateY(0px);   }
  to   { transform: translateY(-12px); }
}

.hero-bubble__inner {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 0 6px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.hero-bubble__inner:hover {
  transform: scale(1.08);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.45),
    0 0 0 8px rgba(255, 193, 7, 0.35);
}

.hero-bubble__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 992px) {
  .hero-bubble__inner { width: 130px; height: 130px; }
  .hero-bubble--top-left    { left: 2%; top: 6%; }
  .hero-bubble--bottom-left { left: 2%; bottom: 6%; }
}

@media (max-width: 768px) {
  .hero-bubble__inner { width: 100px; height: 100px; border-width: 3px; }
  .connector-line { stroke-width: 1.5px; }
}

@media (max-width: 480px) {
  .hero-bubble,
  .hero-connectors { display: none; }
}

/* ========================================
   VIDEO SECTION
   (moved from inline <style> in index.html)
   ======================================== */

.video-section-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  border: 3px solid #1E3A46;
  aspect-ratio: 16 / 9;
}

.video-thumbnail-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster-gradient {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.video-play-trigger {
  position: relative;
  z-index: 6;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.video-play-trigger:hover { transform: scale(1.08); }

.play-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #1E3A46;
  box-shadow: 0 0 0 10px rgba(255, 193, 7, 0.25), 0 8px 30px rgba(0,0,0,0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.video-play-trigger:hover .play-icon-circle {
  background: #ffc107;
  box-shadow: 0 0 0 14px rgba(255, 193, 7, 0.2), 0 10px 36px rgba(0,0,0,0.4);
}

.play-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.company-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 18px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-section-wrapper:hover .video-controls,
.video-controls.always-show {
  opacity: 1;
}

.vc-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.vc-btn:hover { color: #ffc107; transform: scale(1.15); }

.vc-progress-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.vc-progress-bar {
  height: 100%;
  width: 0%;
  background: #ffc107;
  border-radius: 4px;
  pointer-events: none;
}

.vc-time {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

@media (max-width: 576px) {
  .play-icon-circle { width: 62px; height: 62px; font-size: 28px; }
  .play-label       { font-size: 13px; }
  .vc-btn           { font-size: 17px; }
}
/* ========================================
   IPO OFFER DOCUMENTS / INVESTOR PAGE
   ======================================== */

/* Hero banner on investor page */
.investor-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  padding: 4rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
}

/* Investor info cards */
.investor-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  font-family: 'Inter', sans-serif;
}

.investor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.investor-card-title {
  color: var(--primary);
}

.investor-card-desc {
  line-height: 1.6;
}

/* Reference links box */
.reference-box {
  background: #ffffff;
  border-radius: 16px;
  border-left: 8px solid var(--accent);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
}

.reference-box-title {
  color: var(--primary);
  display: flex;
  align-items: center;
}

.link-label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.url-text {
  color: var(--accent-dark);
  font-size: 0.85rem;
  word-break: break-all;
  text-decoration: none;
  transition: color 0.2s ease;
}

.url-text:hover {
  color: var(--primary);
  text-decoration: underline;
}

.investor-divider {
  margin: 1.5rem 0;
  opacity: 0.1;
}
/* ========================================
   HERO HEIGHT — MOBILE OVERRIDE
   Reduces the full-screen hero on small devices
   ======================================== */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 380px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 55vh;
    min-height: 340px;
  }
}