* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f3e9e1 100%);
    color: #2d3436;
    overflow-x: hidden;
    background-image: url('../image/eid-adha-ornament-bg.png'); /* Eid ul-Adha themed background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Navbar */
.navbar {
    background: rgba(34, 34, 34, 0.95);
    padding: 0.85rem 2rem;
    box-shadow: 0 0.3rem 1.5rem rgba(34, 34, 34, 0.18);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: padding 0.3s ease;
}
.navbar.scrolled {
    padding: 0.5rem 1.5rem;
}
.navbar-brand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 3vw, 2.7rem);
    color: #ffd700;
    text-shadow: 0 0 1rem #fffbe7, 0 0 2rem #ffd700;
    transition: transform 0.3s ease;
}
.navbar-brand:hover {
    transform: scale(1.07);
}
.nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #ffd700 !important;
    margin: 0 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    background: rgba(255, 215, 0, 0.10);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.nav-link:hover {
    background: #ffd700;
    color: #222 !important;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.2rem 0.75rem rgba(255, 215, 0, 0.18);
}
.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 152, 0, 0.12));
    position: relative;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: #ffd700;
    text-shadow: 0 0 2rem #fffbe7, 0 0 4rem #ffd700;
    animation: glowPulse 2s infinite ease;
    margin-bottom: 1.2rem;
}
.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #fffbe7;
    font-weight: 400;
    letter-spacing: 0.15rem;
    animation: slideIn 1.5s ease-in-out;
}
.eid-icon {
    font-size: 3.5rem;
    color: #fffbe7;
    margin-bottom: 18px;
    display: inline-block;
    filter: drop-shadow(0 2px 8px #222);
    animation: float 4s infinite ease-in-out;
}
.lantern {
    position: absolute;
    width: clamp(80px, 12vw, 140px);
    height: clamp(110px, 16vw, 180px);
    background: url('../image/lantern.png') no-repeat center;
    background-size: contain;
    opacity: 0.85;
    animation: float 6s infinite ease-in-out;
}
.lantern:nth-child(1) { top: 8%; left: 8%; }
.lantern:nth-child(2) { top: 12%; right: 12%; animation-delay: 1.2s; }
.lantern:nth-child(3) { bottom: 18%; left: 18%; animation-delay: 2.2s; }
.sparkle {
    position: absolute;
    width: clamp(18px, 2vw, 28px);
    height: clamp(18px, 2vw, 28px);
    background: url('../image/sparkle.png') no-repeat center;
    background-size: contain;
    border-radius: 50%;
    animation: sparkleFade 3s infinite ease-in-out;
}
.sparkle:nth-child(4) { top: 25%; left: 40%; animation-delay: 0.5s; }
.sparkle:nth-child(5) { top: 60%; right: 30%; animation-delay: 1.5s; }

/* Features */
.features-section {
    padding: clamp(5rem, 10vh, 10rem) 0;
    background: rgba(255, 255, 255, 0.97);
    position: relative;
    z-index: 1;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 350px), 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 92%;
    margin: 0 auto;
}
.feature-item {
    background: linear-gradient(135deg, #fffbe7, #f3e9e1 80%);
    border-radius: 2rem;
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(255, 215, 0, 0.08);
    transition: all 0.4s cubic-bezier(.25,.8,.25,1);
    position: relative;
    overflow: hidden;
    border: 0.15rem solid #ffd700;
}
.feature-item:hover {
    transform: translateY(-0.75rem) scale(1.04);
    box-shadow: 0 1.5rem 4rem rgba(255, 215, 0, 0.18);
    border-color: #ff9800;
}
.feature-item h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    color: #ff9800;
    margin-bottom: 1rem;
    text-shadow: 0 0 0.75rem rgba(255, 152, 0, 0.18);
}
.feature-item p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #636e72;
    margin-bottom: 1.5rem;
}
.feature-item .btn-explore {
    background: linear-gradient(90deg, #ffd700 0%, #ff9800 100%);
    color: #222;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 1rem rgba(255, 215, 0, 0.13);
    border: none;
}
.feature-item .btn-explore:hover {
    background: linear-gradient(90deg, #ff9800 0%, #ffd700 100%);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0.5rem 1.5rem rgba(255, 152, 0, 0.18);
}
.feature-item::before {
    content: "🕋";
    position: absolute;
    top: -2rem;
    right: -2rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    opacity: 0.13;
    transition: all 0.4s ease;
}
.feature-item:hover::before {
    opacity: 0.33;
    transform: rotate(18deg);
}

/* Esaal Section */
.esaal-section {
    padding: clamp(4rem, 8vh, 8rem) 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.13), rgba(255, 152, 0, 0.10));
    text-align: center;
    position: relative;
}
.esaal-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ff9800;
    text-shadow: 0 0 1.5rem rgba(255, 152, 0, 0.18);
    animation: zoomIn 1.5s ease;
    margin-bottom: 1.5rem;
}
.esaal-text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #2d3436;
    font-weight: 300;
    max-width: clamp(600px, 80%, 900px);
    margin: 0 auto;
    line-height: 1.8;
}
.esaal-decor {
    position: absolute;
    width: clamp(60px, 10vw, 120px);
    height: clamp(60px, 10vw, 120px);
    background: url('../image/eid-star-decor.png') no-repeat center;
    background-size: contain;
    animation: spin 12s infinite linear;
    opacity: 0.7;
}
.esaal-decor:nth-child(1) { top: 10%; left: 5%; }
.esaal-decor:nth-child(2) { bottom: 10%; right: 5%; }

/* Footer */
.footer {
    background: linear-gradient(90deg, #ffd700 0%, #ff9800 100%);
    padding: clamp(2rem, 6vh, 4rem) 0;
    text-align: center;
    color: #222;
    box-shadow: 0 -0.5rem 2rem rgba(255, 215, 0, 0.13);
    position: relative;
}
.footer p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    text-shadow: 0 0 1rem #fffbe7;
    margin-bottom: 1.2rem;
}
.footer a {
    color: #fffbe7;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer a:hover {
    color: #ff9800;
    text-decoration: underline;
}
.social-links a {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: 0 clamp(0.7rem, 2vw, 1.5rem);
    color: #ffd700;
    transition: all 0.4s ease;
}
.social-links a:hover {
    color: #ff9800;
    transform: scale(1.15) rotate(10deg);
    text-shadow: 0 0 1.5rem #ffd700;
}

/* Animations */
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 1.5rem #fffbe7; }
    50% { text-shadow: 0 0 3rem #fffbe7, 0 0 6rem #ffd700; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.5rem); }
}
@keyframes sparkleFade {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.8; }
    100% { transform: scale(0); opacity: 0; }
}
@keyframes slideIn {
    0% { transform: translateY(3rem); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes zoomIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .navbar { padding: 0.6rem 1.2rem; }
    .navbar.scrolled { padding: 0.4rem 1.2rem; }
}
@media screen and (max-width: 992px) {
    .navbar-nav { text-align: center; padding: 0.75rem 0; }
    .nav-link { margin: 0.4rem 0; }
}
@media screen and (max-width: 768px) {
    .navbar { padding: 0.5rem 1rem; }
    .navbar.scrolled { padding: 0.3rem 1rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 50px 0 30px 0; }
}
@media screen and (max-width: 576px) {
    .navbar-brand { font-size: clamp(1.5rem, 4vw, 2rem); }
    .nav-link { padding: 0.4rem 0.8rem; font-size: clamp(0.8rem, 1.5vw, 1rem); }
}
@media screen and (min-width: 2000px) {
    body { font-size: 1.2rem; }
    .navbar { padding: 1rem 2rem; }
    .navbar.scrolled { padding: 0.75rem 2rem; }
    .hero-title { font-size: 10rem; }
    .hero-subtitle { font-size: 3rem; }
    .feature-item { padding: 4rem; }
    .feature-item h2 { font-size: 3rem; }
    .feature-item p { font-size: 1.5rem; }
    .btn-explore { padding: 1.25rem 2.5rem; font-size: 1.2rem; }
    .esaal-title { font-size: 6rem; }
    .esaal-text { font-size: 2rem; }
    .footer p { font-size: 2.5rem; }
    .social-links a { font-size: 4rem; margin: 0 3rem; }
}