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

:root {
    --primary: #5a3e2b;
    --secondary: #8B5A2B;
    --accent: #d4af37;
    --light: #f9f5f0;
    --dark: #2c1d12;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fb;
}

.container{
    width:100%;
}

#backToTop{
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 80px;
    height: 80px;
    padding: 10px 15px;
    background: linear-gradient(135deg, purple, gold);
    outline: 2px solid rgb(163, 2, 163);
    font-size: 30px;
    color: gold;
    border-radius: 50%;
    border: none;
    display: none;
    cursor: pointer;
    z-index: 10;
}
#backToTop:hover{
    background-color: rgb(163, 2, 163);
    outline: 2px solid rgb(225, 6, 225);
    box-shadow: 2px -4px 8px rgb(243, 46, 243), -2px 4px 8px rgb(243, 46, 243);
}

#backToTop{
    transition: all 0.3s ease;
}

#backToTop:hover{
    transform: scale(1.1) rotate(5deg);
}

/* NAV CLEAN */
.over-lay{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    background: linear-gradient(
        135deg,
        rgba(5, 0, 20, 0.95),
        rgba(20, 0, 40, 0.95)
    );

    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 2000;
}

.over-lay::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(160, 0, 255, 0.6),
        transparent
    );
}

.logo-first-sec{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo-txt p{
    font-size:28px;
    font-weight:bold;
    color:brown;
}


/* NAV WRAPPER */
.main-nav{
    position: relative;
    z-index: 2000;
}

/* MAIN NAV */
.navigation{
    display: flex;
    gap: 40px;
    list-style: none;
}

/* NAV ITEMS */
.navigation > li{
    position: relative;
}

/* LINKS */
.navigation a{
    display: inline-block;
    padding: 10px 16px;
    border-radius: 30px;
    color: gold;
    text-decoration: none;
    background: linear-gradient(180deg, #6b3f1d, #4a2b13);
    transition: 0.3s ease;
}

.navigation a:hover{
    background: linear-gradient(135deg, purple, gold);
    color: white;
    box-shadow: 0 0 10px rgba(255,215,0,0.6);
}


/* DROPDOWN BASE */
.dropdown{
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 260px;

    background: white;
    list-style: none;
    border-radius: 12px;
    padding: 15px;

    display: grid;
    gap: 10px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 0.3s ease;
    z-index: 3000;
}

/* DROPDOWN LINKS */
.dropdown a{
    background: none;
    color: #333;
    padding: 6px 10px;
    border-radius: 8px;
}

.dropdown a:hover{
    background: #f0f0f0;
    color: purple;
}

/* SHOW DROPDOWN */
.has-dropdown:hover .dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown > a::after{
    content: " ▾";
    font-size: 12px;
}

.hamburger{
    display: none;
}

.mobile-overlay{
    display: none;
}

.mobile-nav{
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.header-con {
    height: 350px;
    background: linear-gradient(rgba(44,29,18,0.6), rgba(44,29,18,0.6)),
                url(../media/religious.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 55px;
    letter-spacing: 2px;
    color: white;
    text-shadow: 5px 5px 5px gold;
}

.text-sec-1 {
    padding: 80px 60px;
    gap: 80px;
}

.box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.right img {
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.right img:hover {
    transform: scale(1.05);
}

.two{
    margin-left: 200px;
}

.bold{
    font-weight: bold;
    color: rgb(137, 90, 2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bold_b{
    font-weight: bold;
    color: rgb(137, 90, 2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.second-topic{
    text-align: center;
    padding-top: 20px;
}

h2{
    color: rgb(137, 90, 2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 4px rgb(137, 90, 2);
}

.mid-sec{
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.prim-lev, .sec-lev {
    background: white;
    border-radius: 20px;
    padding: 25px;
    width: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

/* GOLD TOP LINE (ELITE TOUCH) */
.prim-lev::before,
.sec-lev::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, gold, #d4af37, gold);
}

/* HOVER LIFT */
.prim-lev:hover,
.sec-lev:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.prim-lev-sub, .sec-lev-sub {
    background: none;
    text-align: left;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.prim-lev-sub h3, .sec-lev-sub h3 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

/* SMALL GOLD ACCENT UNDER TITLE */
.prim-lev-sub h3::after,
.sec-lev-sub h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin-top: 6px;
}

.prim-lev p,
.sec-lev p {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 15px;
    transition: 0.3s;
}

.prim-lev p:last-child,
.sec-lev p:last-child {
    border-bottom: none;
}

/* ICON STYLE */
.prim-lev p::before,
.sec-lev p::before {
    content: "✔";
    color: var(--accent);
    margin-right: 8px;
}

.min-head{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.min-head > h2{
    text-align: center;
}
.method {
    background: white;
    border-radius: 20px;
    padding: 30px;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.method p {
    position: relative;
    padding-left: 20px;
}

.method p::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.moto{
    text-align: center;
}

.moto > p{
    color: rgb(137, 90, 2);
    font-size: 26px;
    font-style: italic;
}

.card-container {
    padding: 100px 40px;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--accent);
}

.card:hover {
    transform: translateY(-10px);
}

.card p:nth-child(1) {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    color: #444;
}

.bold-2{
    color: rgb(23, 0, 49);
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bookaLesson {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    padding: 60px 20px;
}

.bookaLesson p:first-child {
    font-size: 32px;
}

.logoSec{
    display: flex;
    gap: 30px;
    padding-top: 10px;
}

.first-logo >p{
    color: gold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.second-logo >p{
    color: gold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.third-logo >p{
    color: gold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-bookNow {
    border: none;
    transition: 0.3s;
}

.btn-bookNow{
    width: 120px;
    height: 50px;
    margin-top: 50px;
    background: var(--accent);
    border: o.25em solid rgb(248, 225, 93); 
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: glow 20s infinite ease-in-out;
    transition: all 0.3s;
}
@keyframes glow{
    0%{
        box-shadow: none;
        transform: scale(0.89);
    }
    10%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);
        transform: scale(1);
    }
    20%{
        box-shadow: none;
        transform: scale(0.89);
    }
    30%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    40%{
        box-shadow: none;
        transform: scale(0.89);
    }
    50%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    60%{
        box-shadow: none;
        transform: scale(0.89);
    }
    70%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    80%{
        box-shadow: none;
        transform: scale(0.89);
    }
    90%{
        box-shadow: 0 0 1em 0.25em rgb(249, 238, 172), 0 0 4em 1em rgba(255, 235, 121, 0.781);;
        transform: scale(1);
    }
    100%{
        box-shadow: none;
        transform: scale(0.89);
    }
}

.btn-bookNow:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212,175,55,0.6);
}

.btn-bookNow > a{
    color: #8B5A2B;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    text-decoration: none;
}


/* =========================
   TABLET
========================= */
@media (max-width: 1024px){

    .navigation{
        display:none;
        flex-direction:column;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#4a2b13;
        padding:20px;
    }

    .hamburger{
        display:flex;
        flex-direction:column;
        gap:5px;
        cursor:pointer;
    }

    .hamburger span{
        width:25px;
        height:3px;
        background:#8B5A2B;
    }

    /* MOBILE NAV SYSTEM */
    .mobile-nav{
        display: block;
        position:fixed;
        top:0;
        left:-100%;
        width:80%;
        height:100%;
        background:linear-gradient(180deg,#6b3f1d,#4a2b13);
        z-index:2000;
        padding:20px;
        transition:0.4s ease;
    }

    .mobile-nav.active{
        left:0;
    }

    .mobile-overlay{
        display: block;
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background:rgba(0,0,0,0.5);
        opacity:0;
        visibility:hidden;
        transition:0.3s;
        z-index:1500;
    }

    .mobile-overlay.active{
        opacity:1;
        visibility:visible;
    }

    .mobile-header{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .menu_logo{
        width:100px;
    }

    .close-btn{
        font-size:40px;
        color:gold;
        cursor:pointer;
    }

    .mobile-menu{
        list-style:none;
        margin-top:40px;
        display:flex;
        flex-direction:column;
        gap:25px;
    }

    .mobile-menu li a{
        color:gold;
        text-decoration:none;
        font-size:22px;
    }

    .text-sec-1{
        flex-direction: column;
        padding: 60px 30px;
    }

    .right{
        width: 100%;
        align-items: center;
    }

    .two{
        margin-left: 0;
    }

    .mid-sec{
        flex-direction: column;
        align-items: center;
    }

    .card-container{
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){

    .navigation{
        display:none;
        flex-direction:column;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#4a2b13;
        padding:20px;
    }

    .hamburger{
        display:flex;
        flex-direction:column;
        gap:5px;
        cursor:pointer;
    }

    .hamburger span{
        width:25px;
        height:3px;
        background:#8B5A2B;
    }

    /* MOBILE NAV SYSTEM */
    .mobile-nav{
        display: block;
        position:fixed;
        top:0;
        left:-100%;
        width:80%;
        height:100%;
        background:linear-gradient(180deg,#6b3f1d,#4a2b13);
        z-index:2000;
        padding:20px;
        transition:0.4s ease;
    }

    .mobile-nav.active{
        left:0;
    }

    .mobile-overlay{
        display: block;
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background:rgba(0,0,0,0.5);
        opacity:0;
        visibility:hidden;
        transition:0.3s;
        z-index:1500;
    }

    .mobile-overlay.active{
        opacity:1;
        visibility:visible;
    }

    .mobile-header{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .menu_logo{
        width:100px;
    }

    .close-btn{
        font-size:40px;
        color:gold;
        cursor:pointer;
    }

    .mobile-menu{
        list-style:none;
        margin-top:40px;
        display:flex;
        flex-direction:column;
        gap:25px;
    }

    .mobile-menu li a{
        color:gold;
        text-decoration:none;
        font-size:22px;
    }

    h1{
        font-size: 36px;
        text-align: center;
        padding: 0 10px;
    }

    .navigation{
        display: none; /* we'll upgrade this later with hamburger */
    }

    .text-sec-1{
        padding: 40px 20px;
    }

    .box{
        width: 100%;
    }

    .right img{
        width: 100%;
        height: auto;
    }

    .prim-lev, .sec-lev{
        width: 100%;
    }

    .method{
        flex-direction: column;
        gap: 15px;
    }

    .card-container{
        flex-direction: column;
        align-items: center;
    }

    .card{
        width: 90%;
    }

    .logoSec{
        flex-direction: column;
        align-items: center;
    }

    #backToTop{
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}