/* =========================================
   1. RESET & BASICS
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =========================================
   2. TYPOGRAPHY & GOLD EFFECTS
   ========================================= */
h1,
h2,
h3,
h4 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gold-text {
  color: #d4af37;
  background: linear-gradient(
    to right,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* =========================================
   3. NAVIGATION (Desktop Default)
   ========================================= */
nav {
  background: #100f0d;
  border-bottom: 1px solid #222;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Update this existing class */
.logo {
  display: flex; /* Aligns images side-by-side */
  align-items: center; /* Vertically centers them */
  gap: 15px; /* Space between the two logos */
  z-index: 1001; /* Keeps it above the mobile menu */
}
/* Add this new rule */
.logo img {
  height: 50px; /* Adjust this value to fit your navbar height */
  width: auto; /* Maintains the aspect ratio */
  object-fit: contain; /* Ensures logo is not cut off */
  
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4af37;
}

/* Hamburger (Hidden on Desktop) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #d4af37;
  transition: 0.3s;
}

.cta-btn {
  background: linear-gradient(45deg, #b38728, #bf953f);
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: bold;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: #050505;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://source.unsplash.com/1600x900/?office,dark");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.sub-heading {
  color: #ccc;
  margin-bottom: 30px;
  font-weight: 300;
}
.badge-container {
  margin-bottom: 30px;
  text-align: center; /* <--- ADD THIS */
  display: block;     /* Ensures it takes full width to center content */
}

.authority-badge {
  border: 1px solid #d4af37;
  padding: 8px 20px;
  color: #d4af37;
  font-size: 0.85rem;
  margin: 0 5px;
  display: inline-block;
}
.gold-num {
  font-size: 2rem;
  font-weight: bold;
  color: #d4af37;
}

/* =========================================
   5. SECTIONS & CARDS
   ========================================= */
.section {
  padding: 80px 0;
  border-bottom: 1px solid #1a1a1a;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Card Style */
.card {
  background: #111;
  border: 1px solid #222;
  padding: 40px 30px;
  border-top: 3px solid #d4af37;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: #ffe680;
}

/* Centered content, Left aligned list */
.card ul {
  text-align: left;
  display: inline-block;
  margin-top: 10px;
}

.card ul li {
  list-style: none;
  margin-bottom: 12px;
  color: #ccc;
  border-bottom: 1px solid #222;
  padding-bottom: 5px;
}

.card h4 {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ICON STYLES (Font & Image) */
.icon-box {
  margin-bottom: 25px; /* FIXED: Matched to image margin */
  display: inline-block;
}

/* Gold Gradient Icon */
.gold-icon {
  font-size: 3rem;
  background: linear-gradient(
    to bottom right,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.card:hover .gold-icon {
  transform: scale(1.1) rotate(-5deg);
}

.icon-large {
  font-size: 4.5rem !important;
}

/* Image Icon (GeM Logo) */
.card-icon-img {
  margin-bottom: 60px; /* FIXED: Standardized spacing */
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-match-size {
  height: 5.5rem;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

/* =========================================
   6. STATS & MANIFEST
   ========================================= */
.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.stat-card {
  background: linear-gradient(145deg, #111, #0a0a0a);
  border: 1px solid #222;
  border-bottom: 4px solid #d4af37;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: #151515;
  border-color: #333;
  border-bottom-color: #ffe680;
}

.stat-number {
  font-family: "Cinzel", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sub {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
  text-transform: uppercase;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #333,
    #d4af37,
    #333,
    transparent
  );
  width: 80%;
  margin: 0 auto 50px auto;
  opacity: 0.5;
}

/* Manifest List */
.manifest-container {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  padding: 40px;
  position: relative;
}

.manifest-container::before,
.manifest-container::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #d4af37;
  transition: 0.3s;
}
.manifest-container::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}
.manifest-container::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.manifest-title {
  text-align: left;
  color: #888;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
  display: inline-block;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.manifest-list {
  list-style: none;
}
.manifest-list li {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-left: 15px;
  position: relative;
  border-left: 1px solid #333;
  transition: color 0.2s;
}
.manifest-list li:hover {
  color: #d4af37;
  border-left-color: #d4af37;
}

/* =========================================
   7. DIRECTORY & FOOTER
   ========================================= */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.dir-card {
  display: flex;
  align-items: center;
  background: #121212;
  border: 1px solid #333;
  padding: 25px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.dir-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #bf953f, #aa771c);
}

.dir-card:hover {
  transform: translateX(10px);
  border-color: #555;
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.dir-icon {
  font-size: 2.5rem;
  color: #d4af37;
  margin-right: 20px;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.dir-content h4 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.dir-content p {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}
.dept-footer-line {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #d4af37;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  background: #050505;
  border-top: 1px solid #222;
}
.footer-grid {
    display: grid;
    /* This creates 3 columns: Large Left, Equal Middle, Equal Right */
    grid-template-columns: 1.2fr 1fr 1.2fr; 
    gap: 40px;
}
.left-align {
  text-align: left;
}
.col-title {
    color: #d4af37;
    margin-bottom: 25px;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
    letter-spacing: 1px;
}
.contact-row {
  margin-bottom: 15px;
  color: #ccc;
}
.contact-row a {
  color: #fff;
  text-decoration: none;
}
.contact-row a:hover {
  color: #d4af37;
}
address {
  font-style: normal;
  color: #aaa;
  line-height: 1.8;
}
.desig {
  font-size: 0.9rem;
  color: #888;
  margin-top: 5px;
}

/* =========================================
   8. ANIMATIONS
   ========================================= */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

/* =========================================
   9. MOBILE OPTIMIZATION (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  /* --- NAVIGATION --- */
  .hamburger {
    display: flex;
  }

  .logo img {
    height: 35px; /* Smaller height for mobile */
    gap: 10px;
  }

  /* Ensure the logos are centered properly if you used the centering trick */
  .logo {
    justify-content: center;
  }

  .nav-links {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0d0d0d;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #d4af37;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex; /* Active via JS */
    animation: slideDown 0.3s ease-out;
  }

  .nav-links a {
    font-size: 1.2rem;
    margin: 10px 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #222;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* --- HERO --- */
  .hero {
    padding: 60px 0;
  }
  .hero-content {
    padding: 0 10px;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .trust-strip {
    font-size: 0.7rem;
    margin-bottom: 15px;
  }
  .sub-heading {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .badge-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .authority-badge {
    width: 100%;
    max-width: 280px;
    font-size: 0.8rem;
    margin: 0;
  }
  .gold-num {
    font-size: 1.5rem;
  }

  /* --- OTHER SECTIONS --- */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .left-align {
    text-align: center;
  }
  .stat-number {
    font-size: 2.8rem;
  }
  .manifest-container {
    padding: 20px;
  }
  .manifest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .dir-card {
    padding: 20px;
  }
}

/* =========================================
   ADD THIS TO index.css
   ========================================= */

/* --- 1. Language Select --- */
.lang-select {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
}

/* --- 2. Hero Buttons --- */
.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}
.btn-gold {
    background: linear-gradient(45deg, #b38728, #bf953f);
    color: #000;
    border: none;
}
.btn-outline {
    border: 1px solid #d4af37;
    color: #d4af37;
}
.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- 3. Anonymous Enquiry Form --- */
.enquiry-box {
    background: #151515;
    padding: 40px;
    border: 1px solid #333;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-input {
    width: 100%;
    padding: 12px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}
.form-input:focus {
    border-color: #d4af37;
    outline: none;
}
.textarea {
    height: 100px;
    resize: none;
}
.legal-small {
    font-size: 0.8rem;
    color: #666;
}

/* --- 4. Contact Grid (3-Layer System) --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.contact-card {
    background: #111;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    border-top: 4px solid #333;
    transition: transform 0.3s;
}
.contact-card:hover {
    transform: translateY(-5px);
}
.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    color: #888;
}
.small-text {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

/* Specific Border Colors */
.blue-border { border-top-color: #007bff; }
.grey-border { border-top-color: #6c757d; }
.gold-border { border-top-color: #d4af37; }

.glow-box {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.ivr-menu {
    background: #222;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #ccc;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* --- 5. Legal Strip (Footer) --- */
.legal-strip {
    background: #1a1a1a;
    color: #777;
    font-size: 0.8rem;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #333;
    margin-top: 30px;
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000; /* Ensure it stays on top */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e; /* Darker Green on Hover */
    color: #FFF;
    transform: translateY(-3px); /* Lift effect */
}

.my-float {
    margin-top: 2px; /* Slight adjustment for perfect centering */
}

/* Optional: Pulse Animation to catch attention */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* =========================================
   SIMPLE LINK STYLE (No Box, No Background)
   ========================================= */
.simple-footer-link {
    color: #ccc;           /* Soft Grey Text */
    text-decoration: none; /* No Underline */
    display: inline-flex;  /* Aligns icon and text */
    align-items: center;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.simple-footer-link:hover {
    color: #d4af37;        /* Turns Gold on Hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack vertically on phone */
        text-align: left; /* Keep left align for readability */
    }
}

/* =========================================
   FOOTER ICON SPACING FIX
   ========================================= */

/* 1. Spacing for List Items (Certificates) */
.manifest-list li i {
    margin-right: 12px; /* Gap between checkmark and text */
    min-width: 20px;    /* Aligns text if icon sizes vary */
    display: inline-block;
}

/* 2. Spacing for Contact Links (Phone/Email) */
.simple-footer-link i {
    margin-right: 10px; /* Gap between phone/mail icon and number */
}

/* 3. Spacing for Address Icon */
.d-flex i {
    margin-right: 15px !important; /* Slightly larger gap for the map pin */
}

/* 4. General Helper (If you used 'me-2' in HTML) */
.me-2 {
    margin-right: 0.5rem;
}
.me-3 {
    margin-right: 1rem;
}

/* =========================================
   10. GALLERY & PRIVATE DOCS ADD-ONS
   ========================================= */

/* Gallery Images inside Cards */
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #333;
  transition: opacity 0.3s;
}

.card:hover .gallery-img {
  opacity: 0.8;
  border-color: #d4af37;
}

/* Private File List Tweaks */
.private-files li {
  padding: 15px 0;
  font-size: 1.1rem;
}

.private-files li:hover {
  background: rgba(212, 175, 55, 0.05); /* Slight gold bg on hover */
  padding-left: 10px; /* shift effect */
}

/* --- DOCUMENT GRID SYSTEM --- */

.doc-grid {
    display: grid;
    /* Auto-fit columns: min 200px width, max 1fr */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.doc-item {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures equal height for all cards in a row */
}

.doc-item:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.doc-title {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.doc-download-btn {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #888;
    border: 1px solid #444;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.doc-download-btn:hover {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
}

/* --- SECURE LOCK BUTTON --- */
.btn-lock {
    background: rgba(20, 20, 20, 1); /* Dark Background */
    border: 1px solid #ff4444;       /* Thin Red Border */
    color: #ff4444;                  /* Red Text */
    padding: 8px 24px;
    border-radius: 50px;             /* Pill Shape */
    font-size: 0.8rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;                       /* Space between icon and text */
}

/* Hover Effect: Glows Red */
.btn-lock:hover {
    background: #ff4444;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
    transform: translateY(-2px);
    border-color: #ff4444;
}

/* Icon Animation on Hover */
.btn-lock i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.btn-lock:hover i {
    transform: scale(1.2); /* Icon pops slightly */
}