/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --navy-deep: #0A1128;
  --navy-card: #111C44;
  --gold-metallic: #D4AF37;
  --gold-glow: #F3E5AB;
  --white-pure: #FFFFFF;
  --bg-light: #F7F9FC;
  --text-dark: #1F2937;
  --text-muted: #4B5563;
  --text-light: #F9FAFB;
  --text-light-muted: #9CA3AF;
  --border-light: #E5E7EB;
  --border-dark: rgba(212, 175, 55, 0.2);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 16px;
  --radius-md: 8px;
  --shadow-premium: 0 20px 40px rgba(10, 17, 40, 0.05);
  --shadow-dark-card: 0 15px 35px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white-pure);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); position: relative; margin-bottom: 2.5rem; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

p { margin-bottom: 1.25rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.text-center { text-align: center; }
.gold-text { color: var(--gold-metallic) !important; }

/* Dynamic Backgrounds with explicit text color handling to fix contrast issues */
.bg-light-section { background-color: var(--bg-light); color: var(--text-dark); }
.bg-light-section p { color: var(--text-muted); }

.bg-dark-section { 
  background-color: var(--navy-deep); 
  color: var(--text-light);
}
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4 { color: var(--text-light); }
.bg-dark-section p { color: var(--text-light-muted); }

/* Buttons */
.btn-group { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background-color: var(--gold-metallic);
  color: var(--navy-deep);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}
.btn-primary:hover {
  background-color: #E2BB46;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-secondary:hover {
  background: var(--text-light);
  color: var(--navy-deep);
  transform: translateY(-3px);
}
.btn-link {
  color: var(--gold-metallic);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
}
.btn-link:hover { gap: 14px; }

/* Navbar */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--text-light); }
.logo span { color: var(--gold-metallic); }
.nav-menu { display: flex; gap: 2.25rem; align-items: center; }
.nav-item { color: var(--text-light-muted); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.25rem 0; }
.nav-item:hover, .nav-item.active { color: var(--text-light); }
.nav-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background-color: var(--gold-metallic); transition: var(--transition);
}
.nav-item:hover::after, .nav-item.active::after { width: 100%; }
.menu-toggle { display: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at center, rgba(17, 28, 68, 0.85) 0%, rgba(10, 17, 40, 1) 100%), 
              url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?auto=format&fit=crop&q=80') center/cover;
  padding-top: 100px;
}
.hero-content { max-width: 850px; }
.hero-tagline {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  text-transform: uppercase; letter-spacing: 2px; color: var(--gold-metallic); margin-bottom: 1rem;
}
.hero h1 { color: var(--text-light); margin-bottom: 1.5rem; font-weight: 800; }
.hero p { color: var(--text-light-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.8; margin-bottom: 2.5rem; }

/* Grids Layouts */
.grid-gap { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 550px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* Advanced Card Design Systems - Guaranteeing visibility across themes */
.card-premium-light {
  background: var(--white-pure);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-premium-light:hover {
  transform: translateY(-8px);
  border-color: var(--gold-metallic);
  box-shadow: 0 30px 60px rgba(10, 17, 40, 0.08);
}
.card-premium-light h3, .card-premium-light h4 { color: var(--navy-deep); margin-bottom: 1rem; }
.card-premium-light p { color: var(--text-muted); }

.card-premium-dark {
  background: var(--navy-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-dark-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-premium-dark:hover {
  transform: translateY(-8px);
  border-color: var(--gold-metallic);
}
.card-premium-dark h3, .card-premium-dark h4 { color: var(--text-light); margin-bottom: 1rem; }
.card-premium-dark p { color: var(--text-light-muted); }

.icon-box {
  width: 60px; height: 60px; background: rgba(212, 175, 55, 0.1); color: var(--gold-metallic);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
}

/* Specific component stylings */
.highlight-quote {
  border-left: 4px solid var(--gold-metallic); padding-left: 1.5rem;
  font-style: italic; font-size: 1.15rem; color: var(--text-muted); margin: 1.5rem 0;
}
.dark-quote {
  background: rgba(255,255,255,0.03); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--border-dark); margin-top: 1.5rem;
}
.dark-quote p { color: var(--text-light) !important; font-size: 1.1rem; font-style: italic; line-height: 1.6;}
.dark-quote span { color: var(--gold-metallic); font-weight: 600; display: block; margin-top: 1rem; font-style: normal; font-size: 0.9rem;}

/* 7 Steps Process Timeline */
.process-flow { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.process-step {
  display: flex; gap: 1.5rem; background: var(--white-pure); padding: 1.5rem 2rem;
  border-radius: var(--radius-md); border: 1px solid var(--border-light); align-items: center;
}
.step-num {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem;
  color: var(--gold-metallic); background: rgba(212, 175, 55, 0.1); width: 55px; height: 55px;
  min-width: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.step-info h4 { margin-bottom: 0.25rem; color: var(--navy-deep); }
.step-info p { margin-bottom: 0; font-size: 0.95rem; }

/* Stats grid format */
.stats-badge {
  background: linear-gradient(135deg, var(--navy-card) 0%, var(--navy-deep) 100%);
  padding: 2rem; border-radius: var(--radius-md); text-center: center; border: 1px solid var(--border-dark);
}
.stats-number { font-size: 2.75rem; font-weight: 800; color: var(--gold-metallic); line-height: 1; margin-bottom: 0.5rem; }
.stats-label { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

/* Accordion for Guide Questions */
.accordion-wrapper { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.accordion-node { border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; background: var(--white-pure); }
.accordion-head {
  padding: 1.25rem 2rem; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--navy-deep); cursor: pointer; transition: var(--transition);
}
.accordion-head:hover { background: rgba(0,0,0,0.01); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--bg-light); padding: 0 2rem; }
.accordion-body p { padding: 1.25rem 0; margin-bottom: 0; }
.accordion-node.active .accordion-body { max-height: 200px; }
.accordion-node.active .accordion-head { color: var(--gold-metallic); background: var(--navy-deep); }

/* Gallery and Layout Elements */
.gallery-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.gallery-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 260px; box-shadow: var(--shadow-premium); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-desc {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem;
  background: linear-gradient(transparent, rgba(10, 17, 40, 0.95)); color: var(--text-light);
  font-weight: 600; font-family: 'Montserrat', sans-serif;
}
.gallery-card:hover img { transform: scale(1.06); }

/* Form Elements */
.form-box { display: flex; flex-direction: column; gap: 1.25rem; }
.form-input-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; }
.form-input-group label { font-size: 0.9rem; font-weight: 600; color: inherit; }
.form-input-field {
  padding: 14px 18px; border-radius: var(--radius-md); border: 1px solid var(--border-light);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; background: var(--white-pure); outline: none; transition: var(--transition);
}
.form-input-field:focus { border-color: var(--gold-metallic); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); }

/* Global Footer Stylesheet */
.site-footer { background: #060B1A; color: var(--text-light-muted); padding: 5rem 0 2.5rem; border-top: 3px solid var(--gold-metallic); font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 3.5rem; margin-bottom: 4rem; }
.footer-brand h3 { color: var(--text-light); margin-bottom: 1.25rem; }
.footer-links-list li { margin-bottom: 0.75rem; }
.footer-links-list a { color: var(--text-light-muted); }
.footer-links-list a:hover { color: var(--gold-metallic); padding-left: 6px; }
.footer-social-tray { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social-icon {
  width: 40px; height: 40px; background: rgba(255,255,255,0.04); color: var(--text-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.footer-social-icon:hover { background: var(--gold-metallic); color: var(--navy-deep); transform: translateY(-2px); }
.footer-legal-disclaimer { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; margin-top: 2rem; font-size: 0.825rem; line-height: 1.7; color: rgba(255,255,255,0.4); }

/* Custom Animations Elements */
.scroll-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

/* Responsive Media Controls */
@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 75px; right: -100%; width: 85%; max-width: 360px; height: calc(100vh - 75px);
    background: var(--navy-deep); flex-direction: column; padding: 3rem 2rem; gap: 2rem;
    align-items: flex-start; transition: var(--transition); box-shadow: -10px 10px 30px rgba(0,0,0,0.3);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
  }
  .nav-menu.open { right: 0; }
  body.lock-scroll { overflow: hidden; }
}
/* Dropdown parent ko relative position di taaki sub-menu iske mutabik align ho */
.nav-menu li.dropdown {
  position: relative;
}

/* Sub-menu list ka basic design (Shuruat mein hidden rahega) */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #111111; /* Premium Dark Background */
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.3); /* Light gold border border */
}

/* Dropdown ke andar ke links ki styling */
.dropdown-menu li a {
  color: #ffffff !important;
  padding: 10px 20px !important;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  text-align: left;
  transition: all 0.3s ease;
}

/* Hover karne par text color aur background badlega */
.dropdown-menu li a:hover {
  background-color: rgba(212, 175, 55, 0.1) !important; /* Soft gold background */
  color: #d4af37 !important; /* Premium Gold text color */
}

/* Jab 'Current Research' par mouse hover hoga, tab menu dikhega */
.dropdown:hover .dropdown-menu {
  display: block;
}
