/* ==========================================================================
   GLOBAL BRAND COLORS
   ========================================================================== */
:root {
  --primary-blue: #0441A3;
  --primary-yellow: #FEEA2B;
  --dark-blue: #0441A3;
  --light-bg: #F4F6F9;
  --text-dark: #1E293B;
  --text-light: #FFFFFF;
}

/* Accent Color Overrides */
.highlight-yellow,
.social-icon:hover,
.slider-btn:hover,
.dot.active,
.card-num {
  color: var(--primary-yellow) !important;
}

.highlight-blue {
  color: var(--primary-blue) !important;
}

/* Primary Buttons */
.btn-primary {
  background-color: var(--primary-yellow) !important;
  color: #000000 !important;
  border: 2px solid var(--primary-yellow) !important;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #FEEA2B !important; /* Slightly darker yellow hover */
  border-color: #FEEA2B !important;
}

/* Secondary Buttons & Navbar Elements */
.btn-secondary,
.btn-nav {
  background-color: var(--primary-blue) !important;
  color: var(--text-light) !important;
  border: 2px solid var(--primary-blue) !important;
}

.btn-secondary:hover,
.btn-nav:hover {
  background-color: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
}

/* Navigation & Section Backgrounds */
.navbar {
  background-color: var(--primary-blue) !important;
}

.section-dark {
  background-color: var(--primary-blue) !important;
  color: var(--text-light);
}

.card-dark {
  background-color: var(--dark-blue) !important;
  border-left: 4px solid var(--primary-yellow) !important;
}

/* Footer Background */
.footer {
  background-color: #0441A3 !important; /* Dark navy base matching the new blue */
  border-top: 3px solid var(--primary-yellow);
}


/* Color Palette Constants */
:root {
  --primary-blue: #0441A3;
  --secondary-blue: #0441A3;
  --accent-yellow: #FEEA2B;
  --text-dark: #222222;
  --text-light: #F4F6F9;
  --bg-light: #FFFFFF;
  --bg-offwhite: #F8F9FA;
  --bg-dark: #0441A3;
  --border-color: #E2E8F0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography Overrides & Highlights */
.highlight-yellow {
  color: var(--accent-yellow) !important;
}

.highlight-blue {
  color: var(--secondary-blue) !important;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-dark .section-title {
  color: var(--accent-yellow);
}

.center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.margin-bottom {
  margin-bottom: 40px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: #FEEA2B;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent-yellow);
  color: var(--accent-yellow);
}

.btn-secondary:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-blue);
}

.btn-nav {
  background-color: var(--accent-yellow);
  color: var(--primary-blue);
  padding: 8px 16px;
  border-radius: 3px;
  font-weight: bold;
}

.full-width {
  width: 100%;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--bg-light);
  border-bottom: 3px solid var(--primary-blue);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

.logo-img {
  max-height: 45px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 0.9rem;
}

.nav-menu a:hover {
  color: var(--accent-yellow);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  margin: 3px 0;
}

/* Hero Section / Carousel */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 450px;
  overflow: hidden;
  background-color: var(--primary-blue);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 33, 71, 0.6);
  color: var(--accent-yellow);
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: var(--accent-yellow);
}

/* About Us Section & Make In India */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
}

.make-in-india-img {
  width: 100%;
  max-width: 250px;
  display: block;
  margin: 0 auto;
}

.vmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--bg-offwhite);
  padding: 25px;
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
}

.card-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-left-color: var(--accent-yellow);
}

.card-light {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--accent-yellow);
}

.card-num {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-yellow);
}

.values-wrapper {
  margin-top: 40px;
}

.sub-heading {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

/* Statistics */
.stat-card {
  padding: 20px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

.stat-label {
  font-size: 0.95rem;
}

/* Partner Logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.partner-card {
  border: 1px dashed #ccc;
  padding: 20px;
  background-color: var(--bg-offwhite);
  font-weight: bold;
  color: #666;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

/* FAQ Section (Split Left & Right) */
.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: 4px;
  background-color: var(--bg-offwhite);
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: none;
  border: none;
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  display: none;
  padding: 15px;
  border-top: 1px solid var(--border-color);
  background-color: #FFFFFF;
  font-size: 0.9rem;
}

/* Contact & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form {
  background-color: var(--bg-offwhite);
  padding: 25px;
  border-radius: 4px;
  border-top: 4px solid var(--accent-yellow);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.profile-placeholder, .expo-placeholder, .map-placeholder {
  background-color: #e0e0e0;
  padding: 40px 10px;
  text-align: center;
  color: #666;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 40px 0 20px 0;
  border-top: 3px solid var(--accent-yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  max-height: 40px;
  
  margin-bottom: 15px;
}

.footer h4 {
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 868px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-blue);
  }

  .nav-menu.open {
    display: flex;
  }

  .about-grid,
  .vmv-grid,
  .faq-container,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.make-in-india-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Update Technical Capabilities Grid to 3 columns */
#capabilities .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Responsive fix for tablets and mobile */
@media (max-width: 992px) {
  #capabilities .grid-3 {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 600px) {
  #capabilities .grid-3 {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

/* Even 2x2 Grid Layout for Why Choose Us */
#why-us .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Responsive adjust for mobile screens */
@media (max-width: 768px) {
  #why-us .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Contact Grid Setup */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: stretch;
}

/* Matching Left-Side Info Card Structure */
.contact-info-card {
  background-color: var(--bg-offwhite);
  padding: 30px;
  border-radius: 4px;
  border-top: 4px solid var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.contact-info-card .company-name {
  color: var(--secondary-blue);
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.info-item {
  margin-bottom: 15px;
}

.info-item strong {
  color: var(--primary-blue);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.info-item p {
  color: #444;
  font-size: 0.95rem;
}

/* Matching Right-Side Form Layout */
.contact-form {
  background-color: var(--bg-offwhite);
  padding: 30px;
  border-radius: 4px;
  border-top: 4px solid var(--accent-yellow);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

/* Form Two-Column Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Footer Adjustments for Social Icons and Map */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  color: #FFFFFF;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #FEEA2B; /* Theme hover color */
}

.footer-map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 6px;
}

/* Responsive Footer Layout */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: start;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  color: #FFFFFF;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #FEEA2B;
}

.footer-map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Navigation Bar Link Visibility Fix */
.nav-menu a {
  color: #FFFFFF !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #FEEA2B !important;
}

.btn-nav {
  color: #FFFFFF !important;
  border-color: #FEEA2B !important;
}

.btn-nav:hover {
  background-color: #FEEA2B !important;
  color: #000000 !important;
}

/* Hero Parent Section */
.hero-section {
  position: relative;
  background-color: #0441A3;
  display: flex;
  flex-direction: column;
}

/* Slider Wrapper */
.hero-slider-wrapper {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual Slides */
.hero-slider-wrapper .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-wrapper .slide.active {
  opacity: 1;
  visibility: visible;
}

/* Inner Text Layout */
.hero-content-inner {
  max-width: 1200px;
  width: 100%;
  padding: 100px 20px 40px;
  text-align: center;
  margin: 0 auto;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-heading {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 auto 20px;
  max-width: 850px;
}

.hero-description {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Stationary Metrics Bar Below Slider */
.hero-metrics-bar-container {
  background-color: #0441A3;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  position: relative;
  z-index: 10;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hero-metric-item {
  border-left: 2px solid #FEEA2B;
  padding-left: 15px;
  text-align: left;
}

.metric-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 5px;
}

.metric-text {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .hero-heading {
    font-size: 2rem;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .hero-btns {
    flex-direction: column;
  }
  .hero-metrics-bar {
    grid-template-columns: 1fr;
  }
}

.navbar .logo img,
.nav-brand img,
.logo img {
  max-height: 50px; /* Increase this number (e.g., 60px or 70px) to make it larger */
  height: auto;
  width: auto;
}

/* Option 1: Scale the logo up directly */
.logo img,
.nav-brand img,
.navbar-brand img {
  height: 50px !important;  /* Adjust pixel value to your preferred size */
  max-height: none !important;
  width: auto;
  object-fit: contain;
}

/* Option 2: Alternatively, scale without changing navbar layout */
.logo img,
.nav-brand img {
  transform: scale(1.4); /* Increase multiplier (1.2 to 1.6) to resize */
  transform-origin: left center; /* Keeps logo aligned to the left */
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 12px;
}

.partner-img {
  max-width: 100%;
  height: 180px; /* Adjust height based on your logo/picture dimensions */
  object-fit: contain;
}

.partner-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* CTA SECTION STYLES */
.cta-section {
  background: linear-gradient(135deg, #0441A3 0%, #0441A3 100%);
  color: #FFFFFF;
  padding: 60px 20px;
  border-top: 3px solid #FEEA2B;
  border-bottom: 3px solid #FEEA2B;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.cta-description {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-cta {
  background-color: #FEEA2B;
  color: #0441A3;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
  background-color: #FEEA2B;
  color: #0441A3;
  transform: translateY(-2px);
}

/* Restrain profile images inside leadership cards */
.profile-card img {
  width: 150px;             /* Fixed width for portrait/headshot style */
  height: 150px;            /* Fixed height */
  object-fit: cover;        /* Prevents image stretching/distortion */
  border-radius: 50%;       /* Circular headshot (remove if you prefer square) */
  display: block;
  margin: 0 auto 1.5rem auto; /* Centers the image and adds bottom spacing */
}

/* Ensure cards align contents properly */
.profile-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Vision & Mission Card Styling */
.vm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vm-header h3 {
  color: #0441A3; /* Yellow title color to match your design */
  font-size: 1.5rem;
  margin: 0;
}

.vm-icon {
  font-size: 1.8rem;
  color: #0441A3; /* Matches yellow accent */
}

/* Layout container to place Vision and Mission cards side-by-side */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

/* Side-by-side header row (Icon + Text inline) */
.vm-header {
  display: flex;
  flex-direction: row;      /* Forces icon and text side-by-side */
  align-items: center;      /* Vertically centers icon with title */
  gap: 12px;                /* Spacing between icon and title */
  margin-bottom: 12px;
}

.vm-header h3 {
  color: #FEEA2B;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1;
}

.vm-icon {
  font-size: 1.6rem;
  color: #FEEA2B;
  flex-shrink: 0;           /* Prevents icon from squishing */
}

/* Header Base Styles */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Dark Bar */
.top-bar {
  background-color: #0441A3;
  color: #d1d5db;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info span, 
.top-info a {
  color: #e2e8f0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info i {
  font-size: 0.85rem;
  color: #94a3b8;
}

.top-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-gem {
  border: 1px solid #FEEA2B;
  color: #FEEA2B;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.badge-iso {
  color: #FEEA2B;
  font-weight: 700;
}

.badge-msme {
  color: #e2e8f0;
}

/* Main Navbar */
.main-navbar {
  background-color: #FFFFFF;
  padding: 12px 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #0441A3;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0441A3;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .top-bar-container {
    justify-content: center;
  }
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Defence Expo Highlights Section */
.expo-card {
  background-color: #0441A3;
  border-left: 4px solid #FEEA2B;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.expo-img-wrapper {
  width: 100%;
  height: 200px;
  background-color: #0441A3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expo-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the photo fills the space cleanly without distortion */
  transition: transform 0.3s ease;
}

.expo-card:hover .expo-img {
  transform: scale(1.05);
}

.expo-content {
  padding: 20px;
}

.expo-content h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.expo-content p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* Contact Details 2-Column Grid Layout */
.details-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-top: 15px;
}

.full-width-item {
  grid-column: 1 / -1; /* Spans across both columns */
}

.info-item strong {
  display: block;
  font-size: 0.85rem;
  color: #0441A3;
  margin-bottom: 3px;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  word-break: break-word;
}

/* Security Badge under WhatsApp Button */
.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #166534; /* Soft green security accent */
  font-weight: 600;
}

.security-badge i {
  font-size: 0.95rem;
  color: #16a34a;
}

/* Responsive fix for mobile devices */
@media (max-width: 600px) {
  .details-grid-2 {
    grid-template-columns: 1fr; /* Switches to single column on mobile */
  }
}

/* Certificate Card Image Container */
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

.cert-img-wrapper {
  width: 100%;
  height: 180px;
  background-color: #0441A3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevents certificate images from cropping */
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-img {
  transform: scale(1.04);
}

/* Gallery Section Styles */
.section-subtitle.center {
  text-align: center;
  color: #94a3b8;
  margin-top: -10px;
  margin-bottom: 30px;
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0441A3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

/* Hover Overlay Effect */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 27, 51, 0.85), rgba(3, 27, 51, 0.2));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay span {
  color: #FEEA2B;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

/* Hover State */
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Footer Bottom Bar Layout */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-bottom .developer span {
  color: #FEEA2B; /* Highlight accent color for Cyber Creative */
  font-weight: 600;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FONT DEFINITIONS
   ========================================================================== */

/* 1. Room Bold Definition */
@font-face {
  font-family: 'Room Bold';
  src: url('Assets/fonts/Room-Bold.woff2') format('woff2'),
       url('Assets/fonts/Room-Bold.woff') format('woff'),
       url('Assets/fonts/Room-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* 2. Neuron Angled SC Definition */
@font-face {
  font-family: 'Neuron Angled SC';
  src: url('Assets/fonts/NeuronAngledSC-Regular.woff2') format('woff2'),
       url('Assets/fonts/NeuronAngledSC-Regular.woff') format('woff'),
       url('Assets/fonts/NeuronAngledSC-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY ASSIGNMENTS
   ========================================================================== */

/* Base Font Rules */
body {
  font-family: 'Neuron Angled SC', 'Segoe UI', Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Primary Headings (Room Bold) */
h1, h2, h3, .hero-title, .section-title {
  font-family: 'Room Bold', sans-serif;
  letter-spacing: 0.5px;
}

/* Secondary Headings, Navigation & Interactive Elements (Neuron Angled SC) */
h4, h5, h6, 
.nav-links a, 
.btn, 
.badge-gem, .badge-iso, .badge-msme, 
.stat-number, 
.card-light h4 {
  font-family: 'Neuron Angled SC', sans-serif;
}

/* Strategic Metrics Section - Light Theme Override */
#metrics-section.section-light {
  background-color: #FFFFFF;
  padding: 60px 0;
}

/* Title on White Background */
#metrics-section .section-title {
  color: #0441A3; /* Primary Blue */
  margin-bottom: 2.5rem;
}

/* Stat Card Layout */
#metrics-section .stat-card {
  padding: 20px 15px;
}

/* Number & Text Highlight Rules */
#metrics-section .stat-number {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

#metrics-section .highlight-blue {
  color: #0441A3; /* High-contrast blue for the stats */
}

#metrics-section .stat-label {
  font-size: 1rem;
  color: #475569; /* Dark slate grey for maximum legibility */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-logo {
  width: 70px;            /* Sets an ideal display size for the symbol */
  height: auto;
  display: block;
  margin-bottom: 1rem;
  object-fit: contain;
}

/* Government Style Section Rules */
#overview-section {
  background-color: #f8fafc;
  padding: 60px 0;
  color: #1e293b;
}

#overview-section .sub-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0441A3;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.gov-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.gov-card {
  background: #FFFFFF;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gov-card.full-width {
  margin-bottom: 20px;
}

.gov-card-title {
  font-size: 1.2rem;
  color: #0441A3;
  border-bottom: 2px solid #0441A3;
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gov-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gov-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gov-list li:last-child {
  border-bottom: none;
}

.gov-subcard {
  background: #f1f5f9;
  padding: 16px;
  border-left: 4px solid #0441A3;
  border-radius: 2px;
}

.gov-subcard h4 {
  margin-top: 0;
  color: #0441A3;
  font-size: 1.05rem;
}

.gov-bullets {
  padding-left: 20px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.gov-bullets li {
  margin-bottom: 4px;
}

/* Platform Table Styling */
.gov-table-wrapper {
  overflow-x: auto;
  margin-top: 15px;
}

.gov-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.gov-table th, .gov-table td {
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
}

.gov-table th {
  background-color: #0441A3;
  color: #FFFFFF;
  font-weight: 600;
}

.gov-table td {
  background-color: #FFFFFF;
}

.gov-card.highlight-box {
  border-top: 4px solid #0441A3;
}

.gov-address {
  font-size: 0.9rem;
  margin-top: 15px;
  line-height: 1.6;
  color: #334155;
  background: #f8fafc;
  padding: 12px;
  border: 1px dashed #cbd5e1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .gov-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Update Vision and Mission card titles to blue */
.gov-subcard h4,
#overview-section h4,
#about-section h4 {
  color: #0441A3 !important;
}

.vision-title,
.mission-title {
  color: #0441A3;
}

/* Fix word breaks and text wrapping */
.info-item p, 
.info-item a {
  word-break: keep-all;       /* Prevents splitting single words/emails across lines */
  overflow-wrap: break-word; /* Allows full link wrapping cleanly if needed */
  display: block;
}

/* Class to enforce full text string stays together */
.no-break {
  white-space: nowrap;
}

/* Contact Icon Styling */
.contact-icon {
  color: #0441A3;             /* Primary blue theme accent */
  margin-right: 6px;
  font-size: 0.95rem;
}

/* Ensure info titles align icons and text inline */
.info-item strong {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #0441A3;
  margin-bottom: 4px;
}

/* Fix text/email breaking awkwardly */
.info-item p, 
.info-item a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.info-item i {
  margin-right: 6px;
  color: #0441A3;
}

.details-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 20px;
}

/* Layout row layout for side-by-side elements */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.details-list .info-item {
  margin-bottom: 16px;
}

.details-list .info-row .info-item {
  margin-bottom: 0;
}

/* Prevent broken words/single letters on new lines */
.info-item p,
.info-item a {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  font-size: 0.86rem; /* Slightly scales font down to fit 2-column email layout */
}

/* Ensure strong label text wraps cleanly without splitting words */
.info-item strong {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.88rem;
}

/* Mobile responsive fallback */
@media (max-width: 576px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Make hero badge text white and clear */
.hero-tags .badge {
  color: #FFFFFF !important;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); /* Ensures visibility over light background areas */
}

/* Ensure outline badge borders are white */
.hero-tags .badge-outline {
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* If badge-yellow is used, override its text color to white */
.hero-tags .badge-yellow {
  color: #FFFFFF !important;
}

.certifications-section {
  background-color: #0441A3;
  padding: 60px 0;
  color: #FFFFFF;
}

.cert-single-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #FEEA2B;
  border-radius: 8px;
  padding: 40px;
  margin-top: 30px;
}

.cert-badge {
  display: inline-block;
  color: #FEEA2B;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.cert-text-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.cert-text-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cert-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cert-highlights li {
  color: #FFFFFF;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.cert-image-content {
  text-align: center;
}

.cert-img {
  max-width: 100%;
  max-height: 420px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .cert-single-card {
    grid-template-columns: 1fr;
    padding: 25px;
  }
}

/* Color Palette Variables */
:root {
  --brand-blue: #0441A3;
  --brand-yellow: #FEEA2B;
  --brand-white: #FFFFFF;
  --brand-black: #000000;
}

/* Certifications Section Styling */
.certifications-section {
  background-color: var(--brand-blue);
  padding: 60px 0;
  color: var(--brand-white);
}

/* Fix heading visibility using Yellow */
.certifications-section .section-title {
  color: var(--brand-yellow) !important;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* Single Card Container */
.cert-single-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: transparent;
  border-left: 4px solid var(--brand-yellow);
  border-radius: 4px;
  padding: 30px;
}

.cert-badge {
  display: inline-block;
  color: var(--brand-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.cert-text-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--brand-white);
}

.cert-text-content p {
  color: var(--brand-white);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cert-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cert-highlights li {
  color: var(--brand-white);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.cert-highlights strong {
  color: var(--brand-yellow);
}

.cert-image-content {
  text-align: center;
}

.cert-img {
  max-width: 100%;
  max-height: 420px;
  border-radius: 4px;
  border: 2px solid var(--brand-yellow);
  object-fit: contain;
}

/* Mobile Layout */
@media (max-width: 768px) {
  .cert-single-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* FORCE VISION & MISSION BLUE */
.vm-header h3,
.vm-icon {
  color: #0441A3 !important;
}

/* TOP INFORMATION BAR — ORIGINAL DARK BLUE */
.top-bar {
    background-color: #031B33 !important;
    background: #031B33 !important;
}

/* Keep the text/icons readable */
.top-bar,
.top-bar a,
.top-bar span,
.top-bar i {
    color: #FFFFFF;
}

/* GeM badge */
.top-bar .badge-gem {
    color: #FEEA2B !important;
    border-color: #FEEA2B !important;
}

/* ISO / MSME */
.top-bar .badge-iso,
.top-bar .badge-msme {
    color: #FFFFFF !important;
}

/* =========================================================
   CERTIFICATE IMAGE — REMOVE EXTRA EMPTY SPACE
   ========================================================= */

.cert-img-wrapper {
    width: fit-content;
    max-width: 100%;
    height: auto;
    background-color: transparent;
    border: 1px solid #FEEA2B;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-img {
    display: block;
    width: auto;
    height: 515px;
    max-width: 100%;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
    .cert-img-wrapper {
        width: fit-content;
        max-width: 100%;
    }

    .cert-img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 600px;
    }
}

/* FOOTER BOTTOM TEXT — YELLOW */
.footer-bottom,
.footer-bottom p,
.footer-bottom span,
.footer-bottom a {
    color: #FEEA2B !important;
}

/* =========================================================
   GALLERY TITLES — ALWAYS VISIBLE
   ========================================================= */

.gallery-overlay {
    opacity: 1 !important;
    background: linear-gradient(
        to top,
        rgba(3, 27, 51, 0.85),
        rgba(3, 27, 51, 0.05)
    );
}

.gallery-overlay span {
    transform: translateY(0) !important;
    color: #FEEA2B !important;
}

/* Keep the image from zooming when hovered */
.gallery-item:hover .gallery-img {
    transform: none !important;
}

/* GALLERY SUBTITLE */
#gallery .section-subtitle,
.gallery-section .section-subtitle,
.gallery-subtitle {
    color: #FFFFFF !important;
}

/* Keep primary email on one line */
.contact-info .info-item a,
.contact-info .info-item p {
    white-space: nowrap;
}
/* =========================================================
   CONTACT EMAILS — CLEAN TWO-COLUMN LAYOUT
   ========================================================= */

.info-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 35px;
    align-items: start;
}

.info-row .info-item {
    min-width: 0;
}

.info-row .info-item a {
    display: block;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.5;
    overflow: visible;
}

/* Keep labels properly aligned */
.info-row .info-item strong {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .info-row {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .info-row .info-item a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* =========================================================
   CAPABILITIES — HEADING ABOVE CONTENT
   ========================================================= */

.gov-list li {
    display: block;
    padding: 14px 0;
    line-height: 1.6;
}

/* Heading */
.gov-list li strong {
    display: block;
    margin-bottom: 5px;
    color: #111111;
    font-weight: 700;
}

/* Content */
.gov-list li {
    color: #111111;
}

/* Remove extra spacing from the last item */
.gov-list li:last-child {
    padding-bottom: 0;
}

/* ================================================================
   ANTARA AEROSYSTEMS
   COMPLETE MOBILE RESPONSIVE OVERRIDE
   ================================================================ */

/* ---------- GLOBAL MOBILE SAFETY ---------- */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

.container {
    width: min(1200px, calc(100% - 40px));
}


/* ================================================================
   TABLET — 992px
   ================================================================ */

@media (max-width: 992px) {

    /* ---------- HEADER ---------- */

    .top-bar-container {
        padding: 8px 20px;
        gap: 10px;
    }

    .top-info {
        gap: 12px;
        flex-wrap: wrap;
    }

    .top-badges {
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-container {
        width: calc(100% - 40px);
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }


    /* ---------- HERO ---------- */

    .hero-slider-wrapper {
        min-height: 500px;
    }

    .hero-content-inner {
        padding: 70px 30px 40px;
    }

    .hero-heading {
        font-size: 2.3rem;
        max-width: 800px;
    }

    .hero-description {
        max-width: 650px;
    }


    /* ---------- ABOUT ---------- */

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .make-in-india-img {
        max-width: 100%;
    }


    /* ---------- VISION / MISSION ---------- */

    .vision-mission-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* ---------- GOVERNMENT CARDS ---------- */

    .gov-grid-2 {
        grid-template-columns: 1fr;
    }


    /* ---------- CONTACT ---------- */

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form {
        width: 100%;
    }


    /* ---------- FOOTER ---------- */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}


/* ================================================================
   MOBILE — 768px
   ================================================================ */

@media (max-width: 768px) {

    /* ---------- GLOBAL ---------- */

    .container {
        width: calc(100% - 30px);
        max-width: none;
    }

    .section {
        padding: 45px 0;
    }

    /* Prevent giant desktop typography */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }


    /* ============================================================
       TOP INFORMATION BAR
       ============================================================ */

    .top-bar {
        padding: 10px 0;
    }

    .top-bar-container {
        width: calc(100% - 30px);
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .top-info {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 14px;
        text-align: center;
    }

    .top-info span,
    .top-info a {
        font-size: 0.72rem;
        white-space: normal;
    }

    .top-badges {
        width: 100%;
        justify-content: center;
        gap: 8px 12px;
        flex-wrap: wrap;
    }

    .top-badges span {
        font-size: 0.7rem;
    }

    .badge-gem {
        padding: 3px 7px;
    }


    /* ============================================================
       MAIN NAVIGATION
       ============================================================ */

    .main-navbar {
        padding: 10px 0;
    }

    .nav-container {
        width: calc(100% - 30px);
        min-height: 58px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .logo img {
        height: 52px !important;
        width: auto;
        transform: none !important;
    }

    /* Hamburger */

    .mobile-menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        padding: 8px;
        margin-left: auto;

        background: #0441A3;
        border: none;
        border-radius: 4px;

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;

        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: #FFFFFF;
        border-radius: 2px;
    }

    /* Mobile navigation menu */

    .nav-links {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        padding: 15px;

        background: #FFFFFF;
        border-top: 3px solid #0441A3;
        border-bottom: 2px solid #0441A3;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        z-index: 9999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #E2E8F0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 13px 10px;

        color: #0441A3 !important;
        font-size: 0.95rem;
        text-align: left;
    }

    .nav-links a:hover {
        background: #F4F6F9;
        color: #0441A3 !important;
    }

    /*
       IMPORTANT:
       Your header is sticky, so keep the mobile dropdown
       positioned relative to the navbar.
    */

    .main-navbar {
        position: relative;
    }


    /* ============================================================
       HERO
       ============================================================ */

    .hero-slider-wrapper {
        min-height: 580px;
        height: auto;
    }

    .hero-slider-wrapper .slide {
        min-height: 580px;
        height: 100%;
    }

    .hero-content-inner {
        width: 100%;
        padding: 60px 20px 70px;
    }

    .hero-tags {
        gap: 7px;
        margin-bottom: 18px;
    }

    .hero-tags .badge {
        font-size: 0.7rem;
        padding: 6px 9px;
        text-align: center;
    }

    .hero-heading {
        font-size: 1.8rem;
        line-height: 1.2;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .hero-btns {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        padding: 13px 15px;
    }

    .slider-btn {
        font-size: 1.5rem;
        padding: 8px 11px;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .slider-dots {
        bottom: 18px;
    }


    /* ============================================================
       HERO METRICS
       ============================================================ */

    .hero-metrics-bar-container {
        padding: 20px 0;
    }

    .hero-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-metric-item {
        padding-left: 10px;
    }


    /* ============================================================
       ABOUT
       ============================================================ */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-text {
        width: 100%;
    }

    .about-image-container {
        width: 100%;
    }

    .make-in-india-img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .text-left {
        text-align: left;
    }


    /* ============================================================
       VISION & MISSION
       ============================================================ */

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
    }

    .vm-card {
        width: 100%;
        padding: 20px;
    }

    .vm-header {
        gap: 10px;
    }

    .vm-header h3 {
        font-size: 1.35rem;
    }

    .vm-icon {
        font-size: 1.4rem;
    }


    /* ============================================================
       CORE CAPABILITIES
       ============================================================ */

    .grid-3,
    #capabilities .grid-3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }


    /* ============================================================
       GALLERY
       ============================================================ */

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        width: 100%;
        height: 230px;
    }

    .gallery-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Keep gallery title visible */
    .gallery-overlay {
        opacity: 1 !important;
        background: linear-gradient(
            to top,
            rgba(3, 27, 51, 0.85),
            rgba(3, 27, 51, 0.05)
        );
    }

    .gallery-overlay span {
        transform: translateY(0) !important;
        color: #FEEA2B !important;
        font-size: 0.95rem;
    }

    .gallery-item:hover .gallery-img {
        transform: none !important;
    }


    /* ============================================================
       OVERVIEW / TECHNICAL CARDS
       ============================================================ */

    #overview-section {
        padding: 45px 0;
    }

    .gov-grid-2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gov-card {
        width: 100%;
        padding: 20px;
    }

    .gov-card-title {
        font-size: 1.1rem;
        line-height: 1.35;
    }

    /*
       Heading above content
    */

    .gov-list li {
        display: block;
        padding: 13px 0;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .gov-list li strong {
        display: block;
        margin-bottom: 5px;
    }

    .gov-subcard {
        padding: 15px;
    }

    .gov-bullets {
        padding-left: 18px;
    }


    /* ============================================================
       TECHNICAL TABLE
       ============================================================ */

    .gov-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gov-table {
        min-width: 650px;
        font-size: 0.85rem;
    }

    .gov-table th,
    .gov-table td {
        padding: 10px 12px;
    }


    /* ============================================================
       STRATEGIC METRICS
       ============================================================ */

    #metrics-section.section-light {
        padding: 45px 0;
    }

    #metrics-section .grid-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #metrics-section .stat-card {
        padding: 15px;
    }

    #metrics-section .stat-number {
        font-size: 2.5rem;
    }

    #metrics-section .stat-label {
        font-size: 0.85rem;
    }


    /* ============================================================
       CAPABILITIES
       ============================================================ */

    #capabilities .grid-3 {
        grid-template-columns: 1fr;
    }

    #capabilities .card {
        width: 100%;
    }


    /* ============================================================
       LEADERSHIP
       ============================================================ */

    #leadership .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-card {
        width: 100%;
        padding: 22px;
    }

    .profile-card img,
    .profile-img {
        width: 130px;
        height: 130px;
    }


    /* ============================================================
       CERTIFICATIONS
       ============================================================ */

    .certifications-section {
        padding: 45px 0;
    }

    .certifications-section .section-title {
        text-align: center;
        font-size: 1.7rem;
    }

    .cert-single-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
        margin-top: 20px;
    }

    .cert-text-content {
        width: 100%;
    }

    .cert-text-content h3 {
        font-size: 1.6rem;
    }

    .cert-text-content p {
        font-size: 0.9rem;
    }

    .cert-image-content {
        width: 100%;
    }

    .cert-img-wrapper {
        width: fit-content;
        max-width: 100%;
    }

    .cert-img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: contain;
    }


    /* ============================================================
       FAQ
       ============================================================ */

    .faq-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-item {
        width: 100%;
        margin-bottom: 12px;
    }

    .faq-question {
        padding: 13px;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .faq-answer {
        padding: 13px;
        font-size: 0.85rem;
    }


    /* ============================================================
       DEFENCE EXPO
       ============================================================ */

    .expo-card {
        width: 100%;
    }

    .expo-img-wrapper {
        height: 210px;
    }

    .expo-content {
        padding: 18px;
    }


    /* ============================================================
       CONTACT
       ============================================================ */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-card,
    .contact-form {
        width: 100%;
        padding: 20px;
    }

    .contact-info-card h3,
    .contact-form h3 {
        font-size: 1.25rem;
    }

    /* Email rows become one column */

    .info-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .info-row .info-item {
        min-width: 0;
        width: 100%;
    }

    .info-row .info-item a,
    .info-item p,
    .info-item a {
        font-size: 0.86rem;
        line-height: 1.5;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .info-item strong {
        white-space: normal;
        line-height: 1.4;
    }

    /* Form */

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        font-size: 0.9rem;
    }

    .contact-form .btn {
        width: 100%;
    }

    .security-badge {
        text-align: center;
        flex-wrap: wrap;
        font-size: 0.78rem;
    }


    /* ============================================================
       FOOTER
       ============================================================ */

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid > div {
        width: 100%;
    }

    .footer-logo {
        width: 65px;
        height: auto;
    }

    .footer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer ul li {
        font-size: 0.9rem;
    }

    .footer-map iframe {
        width: 100%;
        height: 220px;
    }

    .footer-address {
        line-height: 1.5;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 18px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
        line-height: 1.5;
    }
}


/* ================================================================
   SMALL PHONES — 480px
   ================================================================ */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    .section {
        padding: 38px 0;
    }


    /* ---------- TOP BAR ---------- */

    .top-info {
        flex-direction: column;
        gap: 5px;
    }

    .top-info span,
    .top-info a {
        font-size: 0.68rem;
    }

    .top-badges {
        gap: 6px 9px;
    }

    .top-badges span {
        font-size: 0.64rem;
    }


    /* ---------- NAV ---------- */

    .logo img {
        height: 48px !important;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }


    /* ---------- HERO ---------- */

    .hero-slider-wrapper,
    .hero-slider-wrapper .slide {
        min-height: 620px;
    }

    .hero-content-inner {
        padding: 55px 15px 75px;
    }

    .hero-heading {
        font-size: 1.55rem;
    }

    .hero-description {
        font-size: 0.84rem;
    }

    .hero-tags .badge {
        font-size: 0.62rem;
        padding: 5px 7px;
    }

    .slider-btn {
        font-size: 1.25rem;
        padding: 6px 9px;
    }


    /* ---------- TITLES ---------- */

    .section-title {
        font-size: 1.55rem;
    }


    /* ---------- CARDS ---------- */

    .card,
    .gov-card,
    .contact-info-card,
    .contact-form {
        padding: 17px;
    }


    /* ---------- GALLERY ---------- */

    .gallery-item {
        height: 200px;
    }


    /* ---------- CERTIFICATE ---------- */

    .cert-single-card {
        padding: 16px;
    }

    .cert-text-content h3 {
        font-size: 1.4rem;
    }

    .cert-img {
        max-height: 500px;
    }


    /* ---------- CONTACT ---------- */

    .info-item p,
    .info-item a {
        font-size: 0.82rem;
    }


    /* ---------- FOOTER ---------- */

    .footer-map iframe {
        height: 200px;
    }
}


/* ================================================================
   VERY SMALL PHONES — 360px
   ================================================================ */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 20px);
    }

    .hero-heading {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .hero-content-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-tags {
        flex-direction: column;
        align-items: center;
    }

    .hero-tags .badge {
        width: fit-content;
        max-width: 100%;
    }
}


/* ================================================================
   TOUCH DEVICES
   Remove hover-only behavior on touchscreens
   ================================================================ */

@media (hover: none) and (pointer: coarse) {

    .gallery-item:hover .gallery-img {
        transform: none !important;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1 !important;
    }

    .gallery-item:hover .gallery-overlay span {
        transform: translateY(0) !important;
    }

    .expo-card:hover {
        transform: none;
    }

    .expo-card:hover .expo-img {
        transform: none;
    }
}


/* ================================================================
   MOBILE — PREVENT LONG TECHNICAL WORDS FROM BREAKING LAYOUT
   ================================================================ */

@media (max-width: 768px) {

    .gov-card,
    .gov-subcard,
    .cert-single-card,
    .contact-info-card,
    .contact-form,
    .faq-item,
    .card {
        min-width: 0;
        overflow-wrap: break-word;
    }

    h1,
    h2,
    h3,
    h4,
    p,
    li,
    a {
        max-width: 100%;
    }
}


/* ================================================================
   MOBILE MENU BUTTON — DESKTOP HIDDEN
   ================================================================ */

.mobile-menu-toggle {
    display: none;
}


/* Show hamburger only on mobile */
@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
    }

}

/* =========================================================
   FOOTER BOTTOM — CORRECT TEXT COLORS
   ========================================================= */

/* Copyright text = WHITE */
.footer-bottom .copyright {
    color: #FFFFFF !important;
}

/* "Designed and developed by" = WHITE */
.footer-bottom .developer {
    color: #FFFFFF !important;
}

/* ONLY "Cyber Creative" = YELLOW */
.footer-bottom .developer a {
    color: #FEEA2B !important;
    text-decoration: none;
}

/* Keep yellow on hover */
.footer-bottom .developer a:hover {
    color: #FEEA2B !important;
}

.section-dark .section-subtitle {
    margin-top: -10px;
}

/* Hide top information bar on mobile */
@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .hero,
    .hero-slider,
    .hero-slide {
        height: calc(100svh - 103px) !important;
        min-height: 0 !important;
        max-height: calc(100svh - 103px) !important;
    }

}

/* =========================================
   MOBILE HERO - AUTO FIT SCREEN
   ========================================= */

@media (max-width: 768px) {

    .hero {
        height: calc(100dvh - 103px) !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    .hero-slider {
        height: 100% !important;
        min-height: 0 !important;
    }

    .hero-slide {
        height: 100% !important;
        min-height: 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }

}
/* FINAL FOOTER LOGO SIZE */
.footer .footer-logo {
    width: 110px !important;
    height: auto !important;
    max-width: 110px !important;
    max-height: none !important;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

/* =========================================================
   HERO DESCRIPTION — FORCE WHITE ON ALL SLIDES
   ========================================================= */

.hero-section .hero-description {
    color: #FFFFFF !important;
}