* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-rouge: #a2231d;
    --saffron: #d86c1c;
    --golden: #c29b4a;
    --cream: #faf6f0;
    --white-glass: rgba(255, 255, 255, 0.85);
    --charcoal: #2c1a12;
    --text-muted: #5a4033;
    --glass-border: rgba(194, 155, 74, 0.3);
}

html,
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Subtle traditional pattern overlay */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c29b4a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--golden), var(--deep-rouge));
    border-radius: 10px;
}

/* Animated Background Orbs for warmth */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--deep-rouge);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--saffron);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--golden);
    top: 30%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.1);
    }
}

/* .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
} */

/* Light Glassmorphic Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--deep-rouge), var(--saffron));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.logo p {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--golden);
    margin-top: -5px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--deep-rouge);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--golden), var(--deep-rouge));
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--deep-rouge);
    cursor: pointer;
}

/* Traditional & Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--deep-rouge), #d43b40);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 20px rgba(162, 35, 29, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d43b40, var(--deep-rouge));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(162, 35, 29, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--golden);
    color: var(--deep-rouge);
    padding: 12px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--golden);
    color: white;
    box-shadow: 0 8px 20px rgba(194, 155, 74, 0.4);
}

/* Hero Section */
.hero-slider {
    width: 100%;
    height: 90vh;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 26, 18, 0.5) 0%, rgba(44, 26, 18, 0.8) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--golden);
    color: #ffe6a0;
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    color: white;
}

.slide-content h2 span {
    color: var(--golden);
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: #fdfdfd;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--golden);
    color: #fff;
    transform: scale(1.1);
    border-color: var(--golden);
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    width: 12px;
    height: 12px;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--golden);
    width: 30px;
    border-radius: 10px;
}

/* Section Styling */
.section-padding {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-tag {
    color: var(--saffron);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--deep-rouge);
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-rouge), var(--golden));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    position: relative;
}

.about-content::before {
    content: '\f7a6';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 5rem;
    color: var(--golden);
    opacity: 0.15;
    transform: rotate(15deg);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-content strong {
    color: var(--deep-rouge);
    font-weight: 600;
}

.about-visual {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-visual:hover .about-img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--golden), #f2cc79);
    padding: 2rem;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--charcoal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
    animation: bounce 4s infinite ease-in-out;
}

.floating-badge i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--deep-rouge);
}

.floating-badge span {
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Courses Section */
.courses-section {
    background-color: #ffffff;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: white;
    border: 1px solid rgba(194, 155, 74, 0.2);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--golden), var(--deep-rouge));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(162, 35, 29, 0.1);
    border-color: rgba(194, 155, 74, 0.5);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--saffron);
    transition: all 0.4s ease;
    border: 1px dashed var(--golden);
}

.course-card:hover .icon-wrapper {
    background: var(--golden);
    color: white;
    transform: rotateY(360deg);
    border: 1px solid transparent;
}

.course-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.course-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sunday-highlight {
    background: rgba(194, 155, 74, 0.1);
    color: var(--deep-rouge);
    border: 1px solid var(--golden);
    border-radius: 50px;
    padding: 0.6rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-top: 3rem;
    box-shadow: 0 5px 15px rgba(194, 155, 74, 0.15);
}

/* Testimonials Swiper */
.testimonial-swiper {
    padding: 2rem 0 4rem;
}

.testi-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--golden);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(194, 155, 74, 0.4);
    border: 3px solid white;
}

.testi-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.student-name {
    color: var(--deep-rouge);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-wrap {
    background: white;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, var(--cream), #f5eedf);
    padding: 4rem 3rem;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail i {
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-rouge);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-detail p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-detail strong {
    color: var(--charcoal);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-form {
    flex: 1.5;
    min-width: 350px;
    padding: 4rem 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group.full {
    grid-column: 1 / -1;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: var(--cream);
    border: 1px solid rgba(194, 155, 74, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--charcoal);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group textarea {
    resize: none;
    border-radius: 16px;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--deep-rouge);
    background: white;
    box-shadow: 0 0 15px rgba(162, 35, 29, 0.1);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #9c8a81;
}

/* Footer */
footer {
    background: var(--charcoal);
    padding: 5rem 0 2rem;
    position: relative;
    border-top: 4px solid var(--golden);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--golden);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #d1c7b8;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--golden);
    color: var(--charcoal);
    transform: translateY(-5px);
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #d1c7b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--golden);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9c8a81;
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--golden), var(--deep-rouge));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 99;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .slide-content h2 {
        font-size: 3.5rem;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }

    .contact-wrap {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: 0;
        transform: translateX(100%);
        flex-direction: column;
        background: var(--white-glass);
        backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 3rem 2rem;
        transition: transform 0.5s ease;
        align-items: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .hero-slider {
        height: 75vh;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .slide-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .about-content {
        padding: 2rem 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 3rem 1.5rem;
    }
}