/*==================================================
ROY HAIR COLLECTIONS GLOBAL ACADEMY
Professional Website Styles
Version 5.0 — Fully Integrated Upgrade
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==================================================
ROOT VARIABLES
==================================================*/

:root{
    --primary:#111111;
    --primary-soft:#1c1c1c;
    --primary-dark:#080808;

    --secondary:#d4af37;
    --secondary-light:#f1d879;
    --secondary-dark:#b89222;

    --white:#ffffff;
    --light:#f7f7f7;
    --lighter:#fbfbfb;

    --text:#555555;
    --text-light:#777777;
    --text-dark:#333333;

    --border:#e5e5e5;
    --border-dark:#292929;

    --success:#218739;
    --danger:#c62828;

    --shadow-sm:0 5px 15px rgba(0,0,0,.06);
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --shadow-lg:0 20px 50px rgba(0,0,0,.14);

    --radius-sm:10px;
    --radius:18px;
    --radius-lg:28px;

    --container:1280px;

    --header-height:78px;

    --transition:.35s ease;
}

/*==================================================
RESET
==================================================*/

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

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--light);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
}

body.menu-open{
    overflow:hidden;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

button,
input,
textarea,
select{
    font:inherit;
}

button{
    cursor:pointer;
}

a{
    text-decoration:none;
    color:inherit;
}

ul,
ol{
    list-style:none;
}

::selection{
    background:var(--secondary);
    color:var(--primary);
}

/*==================================================
ACCESSIBILITY
==================================================*/

:focus-visible{
    outline:3px solid rgba(212,175,55,.55);
    outline-offset:3px;
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/*==================================================
TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4,
h5,
h6{
    color:var(--primary);
    line-height:1.3;
    font-weight:700;
}

p{
    margin-bottom:15px;
}

p:last-child{
    margin-bottom:0;
}

strong{
    color:var(--primary);
}

.text-gold{
    color:var(--secondary);
}

.text-center{
    text-align:center;
}

/*==================================================
CONTAINER
==================================================*/

.container{
    width:min(100% - 40px,var(--container));
    margin-inline:auto;
}

/*==================================================
HEADER
==================================================*/

.site-header,
header{
    position:sticky;
    top:0;

    width:100%;
    min-height:var(--header-height);

    background:rgba(17,17,17,.96);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.06);

    z-index:999;

    box-shadow:0 4px 20px rgba(0,0,0,.15);
}

.header-inner{
    width:min(100% - 40px,var(--container));
    min-height:var(--header-height);

    margin-inline:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;
}

/*==================================================
LOGO
==================================================*/

.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo img{
    width:75px;
    height:auto;
    object-fit:contain;

    transition:var(--transition);
}

.logo:hover img{
    transform:scale(1.04);
}

/*==================================================
MENU BUTTON
==================================================*/

.menu-toggle{
    display:none;

    width:48px;
    height:48px;

    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.1);

    background:transparent;

    color:var(--white);

    font-size:30px;
    line-height:1;

    border-radius:10px;

    transition:var(--transition);
}

.menu-toggle:hover{
    background:rgba(255,255,255,.08);
    color:var(--secondary);
}

/*==================================================
NAVIGATION
==================================================*/

nav{
    margin-left:auto;
}

nav ul{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:clamp(16px,2.5vw,30px);
}

nav a{
    display:inline-block;

    position:relative;

    color:var(--white);

    font-size:.94rem;
    font-weight:500;

    padding:8px 0;

    transition:var(--transition);
}

nav a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:0;
    height:2px;

    background:var(--secondary);

    transition:var(--transition);
}

nav a:hover,
nav a.active{
    color:var(--secondary);
}

nav a:hover::after,
nav a.active::after{
    width:100%;
}

.close-menu{
    display:none;
}

/*==================================================
MOBILE OVERLAY
==================================================*/

#overlay{
    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);

    z-index:1000;

    opacity:0;

    transition:opacity .35s ease;
}

#overlay.active,
#overlay.show{
    display:block;
    opacity:1;
}

/*==================================================
HERO
==================================================*/

.hero{
    min-height:calc(100vh - var(--header-height));

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    padding:100px 20px 80px;

    position:relative;

    isolation:isolate;

    background:
        linear-gradient(
            135deg,
            rgba(0,0,0,.76),
            rgba(0,0,0,.58)
        ),
        url("../images/hero/hero.jpg")
        center/cover no-repeat;

    color:var(--white);
}

.hero::before{
    content:"";

    position:absolute;

    inset:0;

    background:
        radial-gradient(
            circle at center,
            rgba(212,175,55,.08),
            transparent 55%
        );

    pointer-events:none;

    z-index:-1;
}

.hero-content{
    width:100%;
    max-width:950px;

    margin-inline:auto;

    animation:fadeUp .9s ease both;
}

/*==================================================
HERO LABELS
==================================================*/

.hero-eyebrow,
.hero-tag{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    background:rgba(212,175,55,.13);

    border:1px solid rgba(212,175,55,.35);

    color:var(--secondary-light);

    padding:9px 20px;

    border-radius:50px;

    margin-bottom:25px;

    font-size:.88rem;
    font-weight:600;

    letter-spacing:.3px;
}

/*==================================================
HERO TYPOGRAPHY
==================================================*/

.hero h1{
    color:var(--white);

    font-size:clamp(2.3rem,5vw,3.8rem);

    font-weight:800;

    letter-spacing:-1px;

    margin-bottom:20px;
}

.hero h2{
    color:var(--secondary);

    font-size:clamp(1.05rem,2vw,1.45rem);

    font-weight:500;

    margin-bottom:25px;
}

.hero p{
    color:#f1f1f1;

    max-width:760px;

    margin:0 auto 38px;

    font-size:clamp(.95rem,1.5vw,1.05rem);
}

/*==================================================
HERO BUTTON GROUP
==================================================*/

.hero-actions,
.cta-actions{
    display:flex;

    align-items:center;
    justify-content:center;

    flex-wrap:wrap;

    gap:15px;
}

/*==================================================
BUTTONS
==================================================*/

.btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-height:50px;

    padding:13px 32px;

    background:var(--secondary);

    color:var(--primary);

    border:2px solid var(--secondary);

    border-radius:50px;

    font-weight:600;
    font-size:.95rem;

    box-shadow:var(--shadow-sm);

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn:hover{
    background:var(--white);

    border-color:var(--white);

    color:var(--primary);

    transform:translateY(-4px);

    box-shadow:var(--shadow);
}

.btn:active{
    transform:translateY(-1px);
}

.btn-outline{
    background:transparent;

    color:var(--secondary);

    border-color:var(--secondary);
}

.btn-outline:hover{
    background:var(--secondary);

    color:var(--primary);

    border-color:var(--secondary);
}

.btn-dark{
    background:var(--primary);

    border-color:var(--primary);

    color:var(--white);
}

.btn-dark:hover{
    background:var(--secondary);

    border-color:var(--secondary);

    color:var(--primary);
}

/*==================================================
SECTIONS
==================================================*/

section{
    padding:90px clamp(20px,8vw,8%);
}

section:nth-of-type(even){
    background:var(--white);
}

section h2{
    text-align:center;

    font-size:clamp(1.7rem,3vw,2.2rem);

    margin-bottom:20px;

    color:var(--primary);
}

section > p{
    max-width:900px;

    margin-left:auto;
    margin-right:auto;

    text-align:center;
}

.section-heading{
    max-width:900px;

    margin:0 auto 45px;

    text-align:center;
}

.section-heading h2{
    margin-bottom:12px;
}

.section-heading p{
    color:var(--text-light);
}

/*==================================================
SECTION LABEL
==================================================*/

.section-label{
    display:inline-block;

    margin-bottom:10px;

    color:var(--secondary-dark);

    font-size:.82rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1.5px;
}

/*==================================================
CARDS
==================================================*/

.cards{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(min(100%,260px),1fr));

    gap:25px;

    margin-top:40px;
}

.card{
    background:var(--white);

    border:1px solid rgba(0,0,0,.04);

    border-radius:var(--radius);

    padding:30px;

    box-shadow:var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

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

    box-shadow:var(--shadow-lg);

    border-color:rgba(212,175,55,.25);
}

.card h3{
    margin-bottom:12px;
}

.card p{
    color:var(--text);
}

.card-icon{
    width:55px;
    height:55px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

    border-radius:14px;

    background:rgba(212,175,55,.12);

    color:var(--secondary-dark);

    font-size:1.4rem;
}

/*==================================================
PROGRAMME CONTENT
==================================================*/

.programme-content{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(min(100%,320px),1fr));

    gap:35px;

    align-items:start;
}

.programme-content > *{
    min-width:0;
}

.programme-fee{
    display:inline-block;

    margin-top:15px;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(212,175,55,.12);

    color:var(--secondary-dark);

    font-size:1.05rem;

    font-weight:700;
}

/*==================================================
VISION & MISSION
==================================================*/

.vision-mission,
.vision-mission-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(min(100%,320px),1fr));

    gap:30px;
}

.vision,
.mission{
    background:var(--white);

    border-radius:var(--radius);

    padding:35px;

    border:1px solid rgba(0,0,0,.04);

    box-shadow:var(--shadow);

    transition:var(--transition);
}

.vision:hover,
.mission:hover{
    transform:translateY(-6px);

    box-shadow:var(--shadow-lg);
}

.vision h3,
.mission h3{
    margin-bottom:15px;

    color:var(--secondary-dark);
}

/*==================================================
VALUES
==================================================*/

.values-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(min(100%,220px),1fr));

    gap:20px;
}

.values-grid .card{
    height:100%;
}

/*==================================================
GALLERY
==================================================*/

.gallery-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(min(100%,250px),1fr));

    gap:20px;

    margin-top:40px;
}

.gallery-grid a{
    display:block;

    overflow:hidden;

    border-radius:16px;
}

.gallery-grid img{
    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:16px;

    transition:
        transform .5s ease,
        filter .5s ease;

    box-shadow:var(--shadow);
}

.gallery-grid img:hover{
    transform:scale(1.06);

    filter:brightness(1.05);
}

/*==================================================
GALLERY FIGURE
==================================================*/

.gallery-item{
    position:relative;

    overflow:hidden;

    background:var(--white);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);
}

.gallery-item:hover{
    transform:translateY(-6px);

    box-shadow:var(--shadow-lg);
}

.gallery-item img{
    width:100%;

    height:260px;

    object-fit:cover;

    transition:transform .5s ease;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-item figcaption{
    padding:15px 18px;

    background:var(--white);

    color:var(--primary);

    font-weight:600;

    text-align:center;
}

/*==================================================
FORMS
==================================================*/

form{
    width:100%;
    max-width:900px;

    margin-left:auto;
    margin-right:auto;
}

.contact-form,
.admission-form{
    background:var(--white);

    padding:35px;

    border-radius:var(--radius);

    border:1px solid var(--border);

    box-shadow:var(--shadow);
}

label{
    display:block;

    color:var(--primary);

    font-size:.92rem;

    font-weight:600;

    margin-bottom:6px;
}

input,
textarea,
select{
    width:100%;

    padding:14px 16px;

    border:1px solid var(--border);

    border-radius:12px;

    margin-top:0;
    margin-bottom:18px;

    background:var(--white);

    color:var(--primary);

    font-family:inherit;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

input::placeholder,
textarea::placeholder{
    color:#999;
}

input:hover,
textarea:hover,
select:hover{
    border-color:#ccc;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;

    border-color:var(--secondary);

    box-shadow:
        0 0 0 4px rgba(212,175,55,.15);
}

textarea{
    min-height:140px;

    resize:vertical;
}

input[type="checkbox"],
input[type="radio"]{
    width:auto;

    margin:0;
}

.form-row{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:20px;
}

.form-group{
    width:100%;
}

.form-submit{
    display:flex;

    justify-content:center;

    margin-top:10px;
}

/*==================================================
PAYMENT / INFORMATION BOXES
==================================================*/

.payment-box,
.info-box{
    background:var(--white);

    border:1px solid var(--border);

    border-left:4px solid var(--secondary);

    border-radius:var(--radius-sm);

    padding:25px;

    box-shadow:var(--shadow-sm);

    margin:25px 0;
}

.payment-box h3,
.info-box h3{
    color:var(--primary);

    margin-bottom:12px;
}

.payment-box strong,
.info-box strong{
    color:var(--primary);
}

/*==================================================
LISTS INSIDE CONTENT
==================================================*/

.card ul,
.vision ul,
.mission ul,
.programme-content ul,
.payment-box ul,
.info-box ul{
    margin-top:15px;
}

.card li,
.vision li,
.mission li,
.programme-content li,
.payment-box li,
.info-box li{
    position:relative;

    padding-left:22px;

    margin-bottom:8px;
}

.card li::before,
.vision li::before,
.mission li::before,
.programme-content li::before,
.payment-box li::before,
.info-box li::before{
    content:"";

    position:absolute;

    left:0;

    top:.7em;

    width:7px;
    height:7px;

    border-radius:50%;

    background:var(--secondary);
}

/*==================================================
CTA
==================================================*/

.cta{
    background:
        linear-gradient(
            135deg,
            #111111,
            #222222
        );

    color:var(--white);

    text-align:center;

    position:relative;

    overflow:hidden;
}

.cta::before{
    content:"";

    position:absolute;

    width:350px;
    height:350px;

    top:-180px;
    right:-100px;

    border-radius:50%;

    border:1px solid rgba(212,175,55,.15);
}

.cta::after{
    content:"";

    position:absolute;

    width:250px;
    height:250px;

    bottom:-150px;
    left:-80px;

    border-radius:50%;

    border:1px solid rgba(212,175,55,.1);
}

.cta > *{
    position:relative;

    z-index:1;
}

.cta h2{
    color:var(--white);
}

.cta p{
    max-width:800px;

    margin-left:auto;
    margin-right:auto;

    color:#ddd;
}

/*==================================================
FOOTER
==================================================*/

footer{
    background:#0a0a0a;

    color:#ddd;

    padding:55px 20px;

    border-top:1px solid rgba(212,175,55,.12);
}

.footer-content{
    width:min(100%,var(--container));

    margin-inline:auto;

    display:grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap:45px;

    text-align:left;
}

.footer-brand h3{
    color:var(--secondary);

    margin-bottom:15px;
}

.footer-brand p{
    color:#aaa;

    max-width:500px;
}

.footer-links{
    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

    margin:0;
}

.footer-links a{
    color:#bbb;

    transition:var(--transition);
}

.footer-links a:hover{
    color:var(--secondary);

    transform:translateX(3px);
}

.footer-bottom{
    width:min(100%,var(--container));

    margin:40px auto 0;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    color:#888;

    font-size:.9rem;
}

/*==================================================
SOCIAL LINKS
==================================================*/

.social-links{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

    margin-top:20px;
}

.social-links a{
    display:flex;

    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    border:1px solid rgba(255,255,255,.12);

    border-radius:50%;

    color:#bbb;

    transition:var(--transition);
}

.social-links a:hover{
    color:var(--secondary);

    border-color:var(--secondary);

    transform:translateY(-3px);
}

/*==================================================
UTILITY CLASSES
==================================================*/

.hidden{
    display:none !important;
}

.no-scroll{
    overflow:hidden;
}

.gold-line{
    width:60px;
    height:3px;

    margin:0 auto 25px;

    background:var(--secondary);

    border-radius:10px;
}

.divider{
    width:100%;
    height:1px;

    background:var(--border);

    margin:30px 0;
}

/*==================================================
IMAGE ERROR
==================================================*/

img.image-error{
    min-height:120px;

    background:
        linear-gradient(
            135deg,
            #eee,
            #ddd
        );

    object-fit:cover;
}

/*==================================================
ANIMATIONS
==================================================*/

@keyframes fadeUp{
    from{
        opacity:0;

        transform:translateY(30px);
    }

    to{
        opacity:1;

        transform:translateY(0);
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
    }

    to{
        opacity:1;
    }
}

/*==================================================
REDUCED MOTION
==================================================*/

@media(prefers-reduced-motion:reduce){

    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;

        animation-iteration-count:1 !important;

        transition-duration:.01ms !important;
    }
}

/*==================================================
TABLET
==================================================*/

@media(max-width:950px){

    .header-inner{
        width:min(100% - 40px,var(--container));
    }

    nav ul{
        gap:18px;
    }

    nav a{
        font-size:.88rem;
    }

    .footer-content{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

/*==================================================
MOBILE NAVIGATION
==================================================*/

@media(max-width:768px){

    :root{
        --header-height:70px;
    }

    .header-inner{
        min-height:70px;

        width:min(100% - 40px,var(--container));
    }

    .logo img{
        width:65px;
    }

    .menu-toggle{
        display:flex;
    }

    nav{
        position:fixed;

        top:0;
        right:-320px;

        width:min(300px,85vw);

        height:100vh;

        margin:0;

        padding:20px 25px;

        overflow-y:auto;

        background:#111;

        transition:right .35s ease;

        z-index:1001;

        box-shadow:-10px 0 30px rgba(0,0,0,.25);
    }

    nav.open{
        right:0;
    }

    nav[aria-hidden="true"]{
        visibility:visible;
    }

    .close-menu{
        display:flex;

        align-items:center;
        justify-content:center;

        width:42px;
        height:42px;

        margin-left:auto;
        margin-bottom:20px;

        font-size:34px;

        line-height:1;

        background:transparent;

        border:0;

        color:var(--white);

        border-radius:8px;

        transition:var(--transition);
    }

    .close-menu:hover{
        color:var(--secondary);

        background:rgba(255,255,255,.07);
    }

    nav ul{
        display:flex;

        flex-direction:column;

        align-items:stretch;

        gap:0;

        width:100%;
    }

    nav ul li{
        width:100%;

        border-bottom:1px solid rgba(255,255,255,.08);
    }

    nav ul li a{
        display:block;

        width:100%;

        padding:16px 0;

        font-size:.95rem;
    }

    nav a::after{
        bottom:8px;
    }

    section{
        padding:65px 20px;
    }

    .hero{
        min-height:calc(100vh - 70px);

        padding:80px 20px 60px;
    }

    .hero h1{
        font-size:2.25rem;

        letter-spacing:-.5px;
    }

    .hero h2{
        font-size:1.1rem;
    }

    .hero p{
        font-size:.95rem;

        margin-bottom:30px;
    }

    .cards,
    .vision-mission,
    .vision-mission-grid,
    .gallery-grid{
        grid-template-columns:1fr;
    }

    .form-row{
        grid-template-columns:1fr;

        gap:0;
    }

    .contact-form,
    .admission-form{
        padding:25px 20px;
    }

    .footer-content{
        grid-template-columns:1fr;

        gap:30px;

        text-align:center;
    }

    .footer-brand p{
        margin-left:auto;
        margin-right:auto;
    }

    .footer-links{
        align-items:center;
    }

    .social-links{
        justify-content:center;
    }
}

/*==================================================
SMALL MOBILE
==================================================*/

@media(max-width:480px){

    .header-inner{
        width:min(100% - 30px,var(--container));
    }

    .logo img{
        width:58px;
    }

    .menu-toggle{
        width:44px;
        height:44px;
    }

    section{
        padding:55px 16px;
    }

    .hero{
        padding-left:16px;
        padding-right:16px;
    }

    .hero h1{
        font-size:1.9rem;
    }

    .hero-tag,
    .hero-eyebrow{
        font-size:.78rem;

        padding:8px 15px;
    }

    .hero-actions,
    .cta-actions{
        flex-direction:column;

        width:100%;
    }

    .btn{
        width:100%;

        max-width:300px;
    }

    .card,
    .vision,
    .mission{
        padding:25px 20px;
    }

    .gallery-grid img{
        height:220px;
    }

    .gallery-item img{
        height:220px;
    }

    footer{
        padding:45px 16px;
    }
}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#eeeeee;
}

::-webkit-scrollbar-thumb{
    background:var(--secondary);

    border-radius:20px;

    border:2px solid #eeeeee;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--secondary-dark);
}

/*==================================================
FIREFOX SCROLLBAR
==================================================*/

html{
    scrollbar-color:var(--secondary) #eeeeee;

    scrollbar-width:thin;
}