:root {
    --primary: #00629B;
    --primary-dark: #002855;
    --accent: #C4D600;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border: #e5e7eb;
    --transition: 0.3s cubic-bezier(0.2, 0, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Public Sans', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
}

/* ===== NAVBAR ===== */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,1);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    height: 72px;
    display: flex; align-items: center;
    transition: box-shadow 0.3s;
}
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom-color: transparent;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; width: 90%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { width: 20%; }
.logo img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links li { position: relative; }
.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500; font-size: 1rem;
    transition: var(--transition);
    display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover {
  color: #00629B;
}
.dropdown {
    display: none; position: absolute;
    top: 100%; left: 0; padding-top: 8px;
}
.dropdown-inner {
    background:#ffffff; 
    border: 1px solid #e5e7eb;
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 8px 0; min-width: 220px;
}
.dropdown-inner a {
    display: block; padding: 8px 16px;
    font-size: 0.85rem; 
    color: #1a1a1a; 
    text-decoration: none;
}
.dropdown-inner a:hover { 
    background: var(--bg-light); 
   color: #00629B; 
}
.nav-links li:hover .dropdown { display: block; }
.hamburger {
    display: none; background: none; border: none;
    font-size: 1.5rem; 
    cursor: pointer; 
    color: #1a1a1a;
}
.mobile-menu {
    display: none; position: absolute; top: 72px; left: 0; width: 100%;
    background:#ffffff; 
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 5%; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mobile-menu.active { display: block; }
.mobile-menu a {
    display: block; padding: 0.75rem 0;
    text-decoration: none; color: #1a1a1a; font-weight: 500;
}
.mobile-dropdown { display: none; padding-left: 1rem; }
.mobile-dropdown.active { display: block; }
.mobile-dropdown a {
    font-size: 0.9rem; 
    color: #666666; 
    padding: 0.5rem 0; }

/* ===== BUTTONS ===== */
.btn {
    padding: 0.85rem 2rem;
    background: #032245;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    transition: var(--transition);
    border: none; cursor: pointer;
    display: inline-block;
}
.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}
.btn-outline:hover {
    background: #ffffff;
    color: #0a1f44;
}
.btn-secondary {
    background: #ffffff;
    color: #0a1f44;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.9);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    /*background: linear-gradient(rgba(0,40,85,0.78), rgba(0,40,85,0.78)),*/
    /*            url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1920&q=80');*/
    background: linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.68)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; 
    color: #ffffff;
    padding: 0 5%;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 800; line-height: 1.05;
    margin-bottom: 1rem; letter-spacing: -0.04em;
}
.hero .hero-subtitle {
    font-size: 1.65rem;
    max-width: 750px; margin-bottom: 1rem;
    opacity: 0.9; font-weight: 300;
}
.hero .hero-details {
    font-size: clamp(0.9rem, 1.5vw, 1.4rem);
    opacity: 0.8; margin-bottom: 2.5rem; font-weight: 400;
}
.hero-buttons {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.hero-buttons .btn {
    padding: 0.5rem 1rem; font-size: 1.5rem;
}

/* ===== COUNTDOWN ===== */
.countdown-wrap {
    display: flex; justify-content: center;
    margin-top: -50px;
    position: relative; z-index: 10;
    padding: 0 5%;
}
.countdown-card {
    background:#ffffff;
    padding: 2.5rem 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-bottom: 4px solid #ffffff;
    max-width: 900px; width: 100%;
}
.count-val {
    display: block; font-size: 3rem; font-weight: 800;
    color: #0a1f44; line-height: 1;
}
.count-label {
    display: block; font-size: 0.7rem; text-transform: uppercase;
    color: #666666; margin-top: 0.5rem; letter-spacing: 0.12em;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 20px;
    background: #f8fafc;
}
.container {
    max-width: 1200px;
    margin: auto;
}
.main-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 15px;
}
.main-title::after {
    content: "";
    width: 60px; height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: 0; left: 0;
}
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}
.about-row.reverse .text { order: 2; }
.about-row.reverse .stat-card { order: 1; }
.text h3 { font-size: 30px; margin-bottom: 15px; font-weight: 700; }
.text span { color: #1bb6c9; }
.text p { color: #000; margin-bottom: 20px; line-height: 1.7; }
.features div { margin-bottom: 10px; font-size: 14px; }
.stat-card {
    background: linear-gradient(135deg, #005b96, #002f4b);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}
.stat-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.stat-card::before,
.stat-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}
.stat-card::before { width: 150px; height: 150px; top: -40px; right: -40px; }
.stat-card::after { width: 100px; height: 100px; bottom: -30px; left: -30px; }
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}
.stat-item { text-align: center; }
.stat-item h2 { font-size: 2rem; font-weight: bold; }
.stat-item p { font-size: 0.85rem; opacity: 0.8; }
.stat-card > .label {
    font-size: 12px; letter-spacing: 1px;
    opacity: 0.7; text-transform: uppercase;
}
.stat-card > h2 {
    font-size: 50px; margin: 10px 0;
    position: relative; z-index: 1;
}
.stat-card > p {
    position: relative; z-index: 1;
    opacity: 0.9;
}

/* ===== IMPORTANT DATES ===== */
.important-dates {
    padding: 80px 20px;
    position: relative;
    /*background: var(--primary-dark);*/
    color:#000000;
}
.important-dates::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.03;
    background-image: linear-gradient(#fff 1px, transparent 1px),
                      linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.important-dates .container { position: relative; z-index: 1; }
.important-dates .section-title {
    color:#000000;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}
.important-dates .section-title::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 60px; height: 4px;
    /*background: #00c6ff;*/
    background: #ffffff;
}
.dates-timeline { border-top: 1px solid rgba(255,255,255,0.2); }
.timeline-row {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    cursor: default;
}
.dates { width: 180px; text-align: right; }
.dates p { margin: 2px 0; font-size: 14px; }
.strike { text-decoration: line-through; color: rgba(255,255,255,0.5); }
.circle {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid #00c6ff;
    position: relative;
    transition: 0.3s;
    flex-shrink: 0;
}
.circle::after {
    content: "";
    width: 8px; height: 8px;
    background: #00c6ff;
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s;
}
.timeline-row:hover .circle {
    background: #00c6ff;
    transform: scale(1.2);
}
.timeline-row:hover .circle::after {
    opacity: 1;
    background: #0b1c3f;
}
.timeline-title { flex: 1; font-size: 15px; }
.dates-btn-wrap { text-align: center; margin-top: 40px; }
.dates-btn {
    padding: 10px 22px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #aaa;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: 'Public Sans', sans-serif;
}
.dates-btn:hover {
    color: #fff;
    border-color: #00c6ff;
}

/* ===== EXPLORE GUJARAT / TOURISM ===== */
.tourism {
    padding: 80px 20px;
    background: #f5f7fb;
}
.tourism .title {
    font-size: 40px;
    font-weight: bold;
    color: #0a1f44;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
}
.tourism .title::after {
    content: "";
    width: 60px; height: 4px;
    background: #1bb6c9;
    position: absolute;
    bottom: 0; left: 0;
}
.tourism .subtitle {
    color: #666;
    margin: 10px 0 40px;
}
.tourism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.tourism-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.4s;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.tourism-card::before {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #1bb6c9, #0a1f44);
    opacity: 0;
    transition: 0.4s;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.tourism-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.tourism-card:hover::before { opacity: 1; }
.tourism-card img {
    width: 100%; height: 180px;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}
.tourism-card:hover img { transform: scale(1.1); }
.tourism-card .card-body { padding: 20px; }
.tourism-card .card-body h4 { margin: 0 0 5px; color: #0a1f44; font-weight: 700; }
.tourism-card .location { font-size: 12px; color: #888; margin-bottom: 10px; }
.tourism-card .desc { font-size: 14px; color: #555; margin-bottom: 15px; }
.tourism-card a.card-link {
    text-decoration: none; font-size: 12px;
    font-weight: bold; color: #1bb6c9;
    transition: 0.3s;
    position: relative; z-index: 3;
    pointer-events: auto;
}
.tourism-card a.card-link:hover { color: #0a1f44; }
.tourism-btn-wrap { text-align: center; margin-top: 40px; }
.tourism-btn {
    padding: 12px 25px;
    border: 2px solid #0a1f44;
    color: #0a1f44;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
    font-weight: 600;
    font-size: 0.85rem;
}
.tourism-btn:hover { background: #0a1f44; color: white; }

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(rgba(0,40,85,0.92), rgba(0,40,85,0.88)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color:#ffffff;
    padding: 80px 5% 40px;
    position: relative;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-col h3 {
    font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem;
}
.footer-col > p {
    opacity: 0.7; font-size: 0.9rem; line-height: 1.7; max-width: 400px;
}
.footer-col h4 {
    color: #1bb6c9;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em; font-weight: 700;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; font-size: 0.9rem; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none; font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color:#ffffff; padding-left: 4px; }
.footer-links li i { opacity: 0.5; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icons a {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-icons a:hover { color:#ffffff; }
.footer-bottom {
    max-width: 1200px; margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem; opacity: 0.5;
    display: flex; justify-content: space-between;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2,0,0,1),
              transform 0.8s cubic-bezier(0.2,0,0,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/*.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}*/
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .about-row { grid-template-columns: 1fr; }
    .about-row.reverse .text,
    .about-row.reverse .stat-card { order: unset; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .countdown-card { grid-template-columns: repeat(2, 1fr); padding: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 220px; text-align: center; }
    .timeline-row { flex-direction: column; align-items: flex-start; }
    .dates { text-align: left; width: 100%; }
    .tourism-grid { grid-template-columns: 1fr; }
}
