/*==============================================================================
    Sant Pathik Vidyalaya
    Enterprise School Website
    File        : style.css
    Version     : 1.0
    Author      : Hrishav Infotech
==============================================================================*/


/*==============================================================================
    01. RESET
==============================================================================*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/*==============================================================================
    02. ROOT VARIABLES
==============================================================================*/

:root{

    /*==============================
        Brand Colors
    ==============================*/

    --primary:#0B3C5D;
    --primary-dark:#072C45;

    --secondary:#D4AF37;
    --secondary-dark:#B9921A;

    --success:#2E7D32;
    --danger:#C62828;
    --warning:#F9A825;
    --info:#0277BD;


    /*==============================
        Background Colors
    ==============================*/

    --white:#ffffff;
    --black:#111111;

    --body:#fafafa;

    --light:#f7f8fb;

    --border:#e8e8e8;


    /*==============================
        Text Colors
    ==============================*/

    --text:#333333;

    --text-light:#666666;

    --text-muted:#888888;


    /*==============================
        Border Radius
    ==============================*/

    --radius-sm:5px;

    --radius:10px;

    --radius-lg:18px;

    --radius-xl:30px;


    /*==============================
        Box Shadow
    ==============================*/

    --shadow-sm:0 2px 8px rgba(0,0,0,.05);

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --shadow-lg:0 20px 60px rgba(0,0,0,.12);


    /*==============================
        Transition
    ==============================*/

    --transition:.35s ease;


    /*==============================
        Website Width
    ==============================*/

    --container:1320px;

}



/*==============================================================================
    03. HTML
==============================================================================*/

html{

    scroll-behavior:smooth;

    font-size:16px;

}



/*==============================================================================
    04. BODY
==============================================================================*/

body{

    font-family:'Inter',sans-serif;

    font-size:16px;

    line-height:1.7;

    color:var(--text);

    background:var(--body);

    overflow-x:hidden;

}



/*==============================================================================
    05. IMAGES
==============================================================================*/

img{

    max-width:100%;

    display:block;

}



/*==============================================================================
    06. LINKS
==============================================================================*/

a{

    text-decoration:none;

    color:inherit;

    transition:var(--transition);

}



/*==============================================================================
    07. LIST
==============================================================================*/

ul{

    list-style:none;

}



/*==============================================================================
    08. HEADINGS
==============================================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:'Poppins',sans-serif;

    font-weight:700;

    color:var(--black);

    line-height:1.3;

}



/*==============================================================================
    09. PARAGRAPH
==============================================================================*/

p{

    color:var(--text-light);

}



/*==============================================================================
    10. CONTAINER
==============================================================================*/

.container{

    width:100%;

    max-width:var(--container);

    margin:auto;

    padding-left:20px;

    padding-right:20px;

}



/*==============================================================================
    11. SECTION
==============================================================================*/

.section{

    padding:90px 0;

}



/*==============================================================================
    12. SECTION TITLE
==============================================================================*/

.section-title{

    text-align:center;

    margin-bottom:60px;

}



.section-subtitle{

    display:inline-block;

    color:var(--secondary);

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

}



.section-title h2{

    font-size:42px;

    margin-bottom:15px;

}



.section-title p{

    max-width:700px;

    margin:auto;

}



/*==============================================================================
    13. BUTTONS
==============================================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:15px 34px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

    cursor:pointer;

}



.btn-primary{

    background:var(--primary);

    color:#fff;

}



.btn-primary:hover{

    background:var(--primary-dark);

}



.btn-outline{

    border:2px solid var(--primary);

    color:var(--primary);

    background:#fff;

}



.btn-outline:hover{

    background:var(--primary);

    color:#fff;

}



/*==============================================================================
    14. CARD
==============================================================================*/

.card{

    background:#fff;

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow);

    overflow:hidden;

}



/*==============================================================================
    15. GRID
==============================================================================*/

.grid{

    display:grid;

    gap:30px;

}



.grid-2{

    grid-template-columns:repeat(2,1fr);

}



.grid-3{

    grid-template-columns:repeat(3,1fr);

}



.grid-4{

    grid-template-columns:repeat(4,1fr);

}



/*==============================================================================
    16. FLEX
==============================================================================*/

.flex{

    display:flex;

}



.flex-center{

    display:flex;

    align-items:center;

    justify-content:center;

}



.flex-between{

    display:flex;

    align-items:center;

    justify-content:space-between;

}



/*==============================================================================
    17. SPACING
==============================================================================*/

.mt-20{margin-top:20px;}
.mt-30{margin-top:30px;}
.mt-40{margin-top:40px;}
.mt-50{margin-top:50px;}

.mb-20{margin-bottom:20px;}
.mb-30{margin-bottom:30px;}
.mb-40{margin-bottom:40px;}
.mb-50{margin-bottom:50px;}

.py-80{padding:80px 0;}
.py-100{padding:100px 0;}



/*==============================================================================
    18. TEXT
==============================================================================*/

.text-center{

    text-align:center;

}



.text-left{

    text-align:left;

}



.text-right{

    text-align:right;

}



/*==============================================================================
    19. DISPLAY
==============================================================================*/

.d-none{

    display:none;

}



.d-block{

    display:block;

}



/*==============================================================================
    20. COMMON ANIMATION
==============================================================================*/

.transition{

    transition:var(--transition);

}

/*==============================================================================
    21. TOPBAR
==============================================================================*/

.topbar{

    background:var(--primary);

    color:#ffffff;

    font-size:14px;

}

.topbar .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:46px;

}

.topbar-left,
.topbar-right{

    display:flex;

    align-items:center;

    gap:25px;

}

.top-item{

    display:flex;

    align-items:center;

    gap:8px;

}

.top-item i{

    color:var(--secondary);

    font-size:13px;

}

.top-item a:hover{

    color:var(--secondary);

}

.admission-badge{

    background:var(--secondary);

    color:#111;

    padding:6px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.social-icons{

    display:flex;

    align-items:center;

    gap:15px;

}

.social-icons a{

    width:34px;

    height:34px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    transition:var(--transition);

}

.social-icons a:hover{

    background:#ffffff20;

}



/*==============================================================================
    22. HEADER
==============================================================================*/

.header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    background:#ffffff;

    z-index:999;

    box-shadow:0 2px 20px rgba(0,0,0,.06);

}

.header-wrapper{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:90px;

}



/*==============================================================================
    23. LOGO
==============================================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    height:72px;

    width:auto;

}



/*==============================================================================
    24. NAVIGATION
==============================================================================*/

.navigation ul{

    display:flex;

    align-items:center;

    gap:32px;

}

.navigation ul li{

    position:relative;

}

.navigation ul li>a{

    display:flex;

    align-items:center;

    gap:8px;

    color:var(--text);

    font-weight:600;

    font-size:15px;

    padding:35px 0;

    transition:var(--transition);

}

.navigation ul li>a:hover{

    color:var(--primary);

}

.navigation ul li>a.active{

    color:var(--primary);

}



/*==============================================================================
    25. DROPDOWN MENU
==============================================================================*/

.dropdown{

    position:absolute;

    top:100%;

    left:0;

    min-width:240px;

    background:#fff;

    border-radius:12px;

    box-shadow:0 20px 50px rgba(0,0,0,.10);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:var(--transition);

    z-index:999;

    padding:12px 0;

}

.dropdown li{

    width:100%;

}

.dropdown li a{

    display:block;

    padding:13px 22px;

    color:var(--text);

    font-weight:500;

}

.dropdown li a:hover{

    background:var(--light);

    color:var(--primary);

}

.has-dropdown:hover .dropdown{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}



/*==============================================================================
    26. HEADER ACTIONS
==============================================================================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:15px;

}



/*==============================================================================
    27. APPLY BUTTON
==============================================================================*/

.admission-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 28px;

    border-radius:40px;

    background:var(--secondary);

    color:#111;

    font-weight:700;

    transition:var(--transition);

}

.admission-btn:hover{

    background:var(--primary);

    color:#fff;

}



/*==============================================================================
    28. MOBILE TOGGLE
==============================================================================*/

.mobile-toggle{

    width:48px;

    height:48px;

    display:none;

    border:none;

    background:var(--primary);

    color:#fff;

    border-radius:8px;

    cursor:pointer;

    font-size:18px;

}



/*==============================================================================
    29. HEADER SHRINK
==============================================================================*/

.header.scrolled{

    min-height:75px;

    animation:headerAnimation .4s ease;

}

@keyframes headerAnimation{

    from{

        transform:translateY(-100%);

    }

    to{

        transform:translateY(0);

    }

}



/*==============================================================================
    30. RESPONSIVE HEADER
==============================================================================*/

@media(max-width:1200px){

.navigation{

    display:none;

}

.mobile-toggle{

    display:flex;

    align-items:center;

    justify-content:center;

}

.header-wrapper{

    min-height:80px;

}

.logo img{

    height:60px;

}

}

@media(max-width:768px){

.topbar{

    display:none;

}

.logo img{

    height:52px;

}

.header-wrapper{

    min-height:75px;

}

.admission-btn{

    display:none;

}

}

/*==============================================================================
    31. HERO SECTION
==============================================================================*/

.hero{

    position:relative;

    display:flex;

    align-items:center;

    min-height:720px;

    overflow:hidden;

    background:
        linear-gradient(rgba(11,60,93,.75),rgba(11,60,93,.75)),
        url("../images/hero/hero-1.jpg");

    background-position:center;

    background-repeat:no-repeat;

    background-size:cover;

}



/*==============================================================================
    32. HERO OVERLAY
==============================================================================*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(11,60,93,.85) 0%,
        rgba(11,60,93,.65) 55%,
        rgba(11,60,93,.35) 100%
    );

}



/*==============================================================================
    33. HERO CONTENT
==============================================================================*/

.hero-content{

    position:relative;

    z-index:5;

    max-width:760px;

    color:#ffffff;

}



/*==============================================================================
    34. HERO TAG
==============================================================================*/

.hero-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    margin-bottom:25px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.20);

    border-radius:50px;

    backdrop-filter:blur(10px);

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

}



/*==============================================================================
    35. HERO TITLE
==============================================================================*/

.hero h1{

    font-size:64px;

    line-height:1.15;

    color:#ffffff;

    margin-bottom:20px;

}



/*==============================================================================
    36. HERO SUB TITLE
==============================================================================*/

.hero h2{

    font-size:24px;

    color:var(--secondary);

    margin-bottom:25px;

    font-weight:600;

}



/*==============================================================================
    37. HERO DESCRIPTION
==============================================================================*/

.hero p{

    font-size:18px;

    color:rgba(255,255,255,.90);

    max-width:650px;

    margin-bottom:40px;

}



/*==============================================================================
    38. HERO BUTTONS
==============================================================================*/

.hero-buttons{

    display:flex;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}



/*==============================================================================
    39. HERO BUTTON
==============================================================================*/

.hero .btn{

    min-width:190px;

    height:58px;

    font-size:16px;

}



/*==============================================================================
    40. HERO HIGHLIGHTS
==============================================================================*/

.hero-highlights{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-top:70px;

}



/*==============================================================================
    41. HIGHLIGHT CARD
==============================================================================*/

.highlight{

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.18);

    border-radius:16px;

    backdrop-filter:blur(10px);

    padding:24px;

    text-align:center;

}



.highlight strong{

    display:block;

    color:#ffffff;

    font-size:22px;

    font-weight:700;

    margin-bottom:8px;

}



.highlight span{

    color:#ffffff;

    font-size:15px;

}



/*==============================================================================
    42. SCROLL INDICATOR
==============================================================================*/

.scroll-down{

    position:absolute;

    bottom:30px;

    left:50%;

    transform:translateX(-50%);

    z-index:10;

}



.scroll-down a{

    display:flex;

    align-items:center;

    justify-content:center;

    width:52px;

    height:52px;

    border-radius:50%;

    background:#ffffff;

    color:var(--primary);

    animation:bounce 2s infinite;

}



@keyframes bounce{

    0%,20%,50%,80%,100%{

        transform:translateY(0);

    }

    40%{

        transform:translateY(-10px);

    }

    60%{

        transform:translateY(-5px);

    }

}



/*==============================================================================
    43. HERO RESPONSIVE
==============================================================================*/

@media(max-width:1200px){

.hero{

    min-height:650px;

}

.hero h1{

    font-size:54px;

}

.hero-highlights{

    grid-template-columns:repeat(2,1fr);

}

}



@media(max-width:992px){

.hero{

    min-height:600px;

}

.hero h1{

    font-size:46px;

}

.hero h2{

    font-size:22px;

}

.hero p{

    font-size:17px;

}

}



@media(max-width:768px){

.hero{

    text-align:center;

    min-height:560px;

}

.hero-content{

    max-width:100%;

}

.hero-buttons{

    justify-content:center;

}

.hero-highlights{

    grid-template-columns:repeat(2,1fr);

    margin-top:45px;

}

.hero h1{

    font-size:38px;

}

.hero h2{

    font-size:20px;

}

.hero p{

    font-size:16px;

}

}



@media(max-width:576px){

.hero{

    min-height:520px;

}

.hero h1{

    font-size:32px;

}

.hero h2{

    font-size:18px;

}

.hero-tag{

    font-size:12px;

}

.hero .btn{

    width:100%;

}

.hero-highlights{

    grid-template-columns:1fr;

}

.highlight{

    padding:18px;

}

}