/*=========================================================
                MALAYSIA.CSS
        Windsor Education & Migration
=========================================================*/

/*=========================================================
                    ROOT VARIABLES
=========================================================*/

:root{

    --my-primary:#851A1A;
    --my-primary-dark:#641212;
    --my-gold:#FFD54F;
    --my-blue:#0E4D92;
    --my-teal:#00A884;
    --my-light:#F6F9FC;
    --my-gray:#6B7280;
    --my-dark:#1E293B;
    --my-border:#E5E7EB;
    --my-shadow:0 10px 35px rgba(0,0,0,.12);
    --my-radius:18px;
    --my-transition:.35s ease;

}

/*=========================================================
                    GENERAL
=========================================================*/

body{

    overflow-x:hidden;

}

section{

    position:relative;

}

.section-heading{

    text-align:center;
    margin-bottom:70px;

}

.section-heading span{

    display:inline-block;
    padding:8px 22px;
    background:rgba(0,168,132,.10);
    color:var(--my-teal);
    border-radius:30px;
    font-size:.9rem;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:18px;
    text-transform:uppercase;

}

.section-heading h2{

    color:var(--my-primary);
    font-size:2.5rem;
    font-weight:700;
    margin-bottom:18px;

}

.section-heading p{

    max-width:760px;
    margin:auto;
    color:var(--my-gray);
    font-size:1.08rem;
    line-height:1.9;

}

/*=========================================================
                    HERO SECTION
=========================================================*/

.my-hero{
    position: relative;
    min-height:95vh;

    background:
    linear-gradient(
    135deg,
    rgba(133,26,26,.92),
    rgba(0,61,122,.78)),
    url("../images/malaysia/malaysia_banner.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;

    overflow:hidden;
}
.hero-overlay{

    position:absolute;
    inset:0;

    pointer-events:none;

    z-index:1;

    background:
    radial-gradient(circle at top right,
    rgba(255,255,255,.10),
    transparent 40%);
}
.hero-content{

    position:relative;
    z-index:2;

}

.country-badge{

    display:inline-block;

    background:rgba(255,255,255,.18);

    color:#fff;

    padding:10px 24px;

    border-radius:40px;

    backdrop-filter:blur(12px);

    font-weight:600;

    margin-bottom:25px;

}

.hero-content h1{

    color:#fff;

    font-size:4rem;

    font-weight:800;

    margin-bottom:20px;

    line-height:1.15;

}

.hero-content h3{

    color:var(--my-gold);

    font-size:2rem;

    margin-bottom:30px;

    font-weight:600;

    line-height:1.45;

}

.hero-content p{

    color:#F3F4F6;

    font-size:1.12rem;

    line-height:2;

    margin-bottom:40px;

    max-width:680px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.hero-buttons .btn{

    border-radius:50px;

    padding:14px 34px;

    font-weight:600;

    transition:var(--my-transition);

}

.hero-buttons .btn-warning{

    background:var(--my-gold);

    border:none;

    color:#111;

}

.hero-buttons .btn-warning:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 25px rgba(0,0,0,.25);

}

.hero-buttons .btn-outline-light:hover{

    background:#fff;

    color:var(--my-primary);

}

.hero-image-card{

    position:relative;

    z-index:2;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(14px);

    padding:20px;

    border-radius:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.30);

}

.hero-image-card img{

    width:100%;

    border-radius:20px;

}

.hero-intro{
    color:#F3F4F6;
    font-size:1.1rem;
    line-height:1.9;
    margin-bottom:18px;
}

.hero-highlight{
    background:rgba(255,255,255,.12);
    border-left:4px solid var(--my-gold);
    padding:16px 20px;
    border-radius:12px;
    color:#fff;
    line-height:1.8;
    margin-bottom:35px;
    backdrop-filter:blur(8px);
}

/*=========================================================
                    FLOATING FACTS
=========================================================*/

.facts-wrapper{

    margin-top:-70px;

    z-index:10;

}

.facts-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.fact-card{

    background:#fff;

    border-radius:22px;

    padding:35px 28px;

    text-align:center;

    box-shadow:var(--my-shadow);

    transition:var(--my-transition);

    position:relative;

    overflow:hidden;

}

.fact-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(
    90deg,
    var(--my-primary),
    var(--my-gold),
    var(--my-teal));

}

.fact-card:hover{

    transform:translateY(-12px);

}

.fact-number{

    font-size:2.3rem;

    font-weight:800;

    color:var(--my-primary);

    margin-bottom:12px;

}

.fact-title{

    font-size:1.1rem;

    font-weight:700;

    color:var(--my-dark);

    margin-bottom:12px;

}

.fact-card p{

    color:var(--my-gray);

    font-size:.96rem;

    line-height:1.8;

}

/*=========================================================
            COMMON GRID SPACING
=========================================================*/

.why-malaysia,
.education-system,
.programmes-section{

    padding:100px 0;

}

.why-malaysia{

    background:#fff;

}

.education-system{

    background:var(--my-light);

}

.programmes-section{

    background:#fff;

}

/*=========================================================
                WHY MALAYSIA
=========================================================*/

.benefit-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.benefit-card{

    background:#fff;

    border-radius:22px;

    padding:40px 30px;

    text-align:center;

    transition:all .35s ease;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);

    position:relative;

    overflow:hidden;

}

.benefit-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(
    90deg,
    var(--my-primary),
    var(--my-gold),
    var(--my-teal));

    transform:scaleX(0);

    transition:.35s;

}

.benefit-card:hover::before{

    transform:scaleX(1);

}

.benefit-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 55px rgba(0,0,0,.16);

}

.benefit-icon{

    width:85px;

    height:85px;

    margin:auto;

    margin-bottom:28px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    color:#fff;

    background:linear-gradient(
    135deg,
    var(--my-primary),
    var(--my-teal));

}

.benefit-card h4{

    font-weight:700;

    color:var(--my-primary);

    margin-bottom:18px;

    font-size:1.3rem;

}

.benefit-card p{

    color:var(--my-gray);

    line-height:1.9;

    font-size:.98rem;

}

/*=========================================================
                EDUCATION PATHWAY
=========================================================*/

.pathway-wrapper{

    display:flex;

    align-items:center;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

}

.pathway-card{

    width:170px;

    background:#fff;

    border-radius:22px;

    padding:28px 20px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);

}

.pathway-card:hover{

    transform:translateY(-8px);

    background:linear-gradient(
    135deg,
    var(--my-primary),
    var(--my-teal));

    color:#fff;

}

.pathway-card:hover h4{

    color:#fff;

}

.path-icon{

    width:62px;

    height:62px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(133,26,26,.10);

    color:var(--my-primary);

    font-size:1.3rem;

    font-weight:700;

}

.pathway-card:hover .path-icon{

    background:rgba(255,255,255,.20);

    color:#fff;

}

.pathway-card h4{

    color:var(--my-primary);

    font-size:1.08rem;

    font-weight:700;

}

.path-arrow{

    font-size:1.8rem;

    color:var(--my-primary);

}

/*=========================================================
            POPULAR PROGRAMMES
=========================================================*/

.programme-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.programme-card{

    background:#fff;

    border-radius:20px;

    padding:35px 20px;

    text-align:center;

    transition:.35s;

    cursor:pointer;

    position:relative;

    overflow:hidden;

    box-shadow:0 10px 28px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);

}

.programme-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
    135deg,
    rgba(133,26,26,.08),
    rgba(0,168,132,.08));

    opacity:0;

    transition:.35s;

}

.programme-card:hover::after{

    opacity:1;

}

.programme-card:hover{

    transform:translateY(-10px);

}

.programme-card i{

    font-size:42px;

    color:var(--my-primary);

    margin-bottom:22px;

    transition:.35s;

    position:relative;

    z-index:2;

}

.programme-card:hover i{

    transform:scale(1.15);

    color:var(--my-teal);

}

.programme-card h5{

    position:relative;

    z-index:2;

    color:var(--my-dark);

    font-weight:700;

    font-size:1.05rem;

    margin:0;

}

/*=========================================================
            REUSABLE ANIMATIONS
=========================================================*/

@keyframes floatCard{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes pulseGlow{

    0%{

        box-shadow:0 0 0 rgba(0,168,132,.35);

    }

    50%{

        box-shadow:0 0 30px rgba(0,168,132,.35);

    }

    100%{

        box-shadow:0 0 0 rgba(0,168,132,.35);

    }

}

.float-card{

    animation:floatCard 5s ease-in-out infinite;

}

.fade-up{

    animation:fadeUp .8s ease both;

}

.glow{

    animation:pulseGlow 2.5s infinite;

}

/*=========================================================
            COMMON BUTTON STYLES
=========================================================*/

.btn-my-primary{

    background:var(--my-primary);

    color:#fff;

    border:none;

    border-radius:50px;

    padding:12px 30px;

    transition:.35s;

    font-weight:600;

}

.btn-my-primary:hover{

    background:var(--my-primary-dark);

    color:#fff;

    transform:translateY(-3px);

}

.btn-my-outline{

    border:2px solid var(--my-primary);

    color:var(--my-primary);

    border-radius:50px;

    padding:12px 30px;

    transition:.35s;

    font-weight:600;

}

.btn-my-outline:hover{

    background:var(--my-primary);

    color:#fff;

}

/*=========================================================
            SMALL DEVICES
=========================================================*/

@media(max-width:992px){

.hero-content{

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero-content h1{

font-size:3rem;

}

.hero-content h3{

font-size:1.6rem;

}

.facts-grid{

grid-template-columns:repeat(2,1fr);

}

.path-arrow{

display:none;

}

}

@media(max-width:768px){

.section-heading h2{

font-size:2rem;

}

.facts-grid{

grid-template-columns:1fr;

}

.programme-grid{

grid-template-columns:1fr;

}

.benefit-grid{

grid-template-columns:1fr;

}

.pathway-card{

width:100%;

}

.hero-image-card{

margin-top:50px;

}

}

@media(max-width:576px){

.hero-content h1{

font-size:2.4rem;

}

.hero-content h3{

font-size:1.3rem;

}

.country-badge{

font-size:.9rem;

}

.hero-buttons .btn{

width:100%;

}

}
/*---Part_3A-2A begins----------------*/

/*=========================================================
                UNIVERSITY EXPLORER
=========================================================*/

.universities-section{

    padding:110px 0;

    background:linear-gradient(
    180deg,
    #F6F9FC 0%,
    #FFFFFF 100%);

    position:relative;

}

.university-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:35px;

    align-items:start;

}

/*=========================================================
                UNIVERSITY CARD
=========================================================*/

.university-card{

    position:relative;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    cursor:pointer;

    transition:all .4s ease;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);

    transform-style:preserve-3d;

}

.university-card:hover{

    transform:
        translateY(-12px)
        rotateX(2deg);

    box-shadow:
    0 28px 55px rgba(0,0,0,.18);

}

.university-card.active{

    border:2px solid var(--my-teal);

}

/*=========================================================
                CARD HEADER
=========================================================*/

.uni-top{

    height:220px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:25px;

    position:relative;

    overflow:hidden;

}

.uni-top::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
    135deg,

    rgba(133,26,26,.05),

    rgba(0,168,132,.08));

}

.uni-logo{

    width:95px;

    height:95px;

    object-fit:contain;

    margin-bottom:20px;

    position:relative;

    z-index:2;

    transition:.35s;

}

.university-card:hover .uni-logo{

    transform:scale(1.08);

}

.uni-name{

    position:relative;

    z-index:2;

    text-align:center;

    font-weight:700;

    color:var(--my-primary);

    font-size:1.05rem;

    line-height:1.5;

    padding:0 10px;

}

.uni-city{

    position:relative;

    z-index:2;

    margin-top:10px;

    color:var(--my-gray);

    font-size:.95rem;

}

/*=========================================================
                HOVER INDICATOR
=========================================================*/

.click-indicator{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:18px;

    border-top:1px solid #EFEFEF;

    color:var(--my-teal);

    font-size:.9rem;

    font-weight:600;

    transition:.35s;

}

.click-indicator i{

    margin-left:10px;

    transition:.35s;

}

.university-card:hover .click-indicator{

    background:rgba(0,168,132,.06);

}

.university-card:hover .click-indicator i{

    transform:translateY(3px);

}

/*=========================================================
            EXPANDABLE DETAILS PANEL
=========================================================*/

.uni-details{

    max-height:0;

    overflow:hidden;

    transition:

    max-height .6s ease,

    padding .35s ease;

    background:#fff;

}

.university-card.active .uni-details{

    max-height:1500px;

    padding:25px;

}

/*=========================================================
                CAMPUS IMAGE
=========================================================*/

.uni-campus{

    width:100%;

    height:240px;

    object-fit:cover;

    border-radius:16px;

    margin-bottom:25px;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

/*=========================================================
                UNIVERSITY OVERVIEW
=========================================================*/

.uni-overview{

    color:var(--my-gray);

    line-height:1.9;

    margin-bottom:30px;

}

.uni-info-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-bottom:30px;

}

.info-box{

    background:#F8FAFC;

    border-radius:16px;

    padding:20px;

    border-left:5px solid var(--my-primary);

    transition:.35s;

}

.info-box:hover{

    background:#fff;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.info-title{

    color:var(--my-primary);

    font-size:.9rem;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:8px;

}

.info-value{

    color:var(--my-dark);

    font-weight:600;

    line-height:1.7;

}

/*=========================================================
                PROGRAMME TAGS
=========================================================*/

.programme-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:30px;

}

.programme-tag{

    background:

    linear-gradient(
    135deg,
    var(--my-primary),
    var(--my-teal));

    color:#fff;

    padding:10px 18px;

    border-radius:50px;

    font-size:.9rem;

    font-weight:600;

    transition:.35s;

}

.programme-tag:hover{

    transform:translateY(-3px);

}

/*=========================================================
                SCHOLARSHIP TAGS
=========================================================*/

.scholarship-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:30px;

}

.scholarship-tag{

    background:#FFF7D7;

    color:#8A5A00;

    border:1px solid #FFD54F;

    padding:10px 18px;

    border-radius:50px;

    font-weight:600;

    font-size:.9rem;

}

/*=========================================================
                APPLY BUTTON
=========================================================*/

.uni-apply{

    display:flex;

    justify-content:flex-end;

    margin-top:15px;

}

.uni-apply .btn{

    border-radius:50px;

    padding:13px 34px;

    font-weight:600;

    transition:.35s;

}

.uni-apply .btn:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 28px rgba(0,0,0,.18);

}

/*=========================================================
            EXPANSION ANIMATION
=========================================================*/

@keyframes expandFade{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.university-card.active .uni-details{

    animation:expandFade .55s ease;

}

/*=========================================================
            CARD GLOW EFFECT
=========================================================*/

.university-card::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:22px;

    pointer-events:none;

    box-shadow:0 0 0 rgba(0,168,132,0);

    transition:.35s;

}

.university-card:hover::after{

    box-shadow:0 0 35px rgba(0,168,132,.18);

}

/*==== Part 3A-2B begins====*/
/*=========================================================
                ADMISSION REQUIREMENTS
=========================================================*/

.admission-section{

    padding:110px 0;

    background:#ffffff;

}

.requirement-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.requirement-card{

    background:#fff;

    border-radius:20px;

    padding:35px 30px;

    box-shadow:0 12px 28px rgba(0,0,0,.08);

    border-top:5px solid var(--my-primary);

    transition:all .35s ease;

}

.requirement-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.requirement-card h3{

    color:var(--my-primary);

    margin-bottom:20px;

    font-weight:700;

    font-size:1.35rem;

}

.requirement-card ul{

    margin:0;

    padding-left:18px;

}

.requirement-card li{

    color:var(--my-gray);

    margin-bottom:12px;

    line-height:1.8;

}

/*=========================================================
                ENGLISH REQUIREMENTS
=========================================================*/

.english-section{

    padding:100px 0;

    background:var(--my-light);

}

.english-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.english-card{

    background:#fff;

    border-radius:18px;

    padding:35px 20px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

    border-bottom:4px solid transparent;

}

.english-card:hover{

    transform:translateY(-8px);

    border-bottom:4px solid var(--my-teal);

}

.english-card h4{

    margin-top:18px;

    color:var(--my-primary);

    font-size:1.7rem;

    font-weight:700;

}

.english-card p{

    margin-top:12px;

    color:var(--my-gray);

    line-height:1.7;

    font-size:.95rem;

}

/*=========================================================
                    VISA TIMELINE
=========================================================*/

.visa-section{

    padding:110px 0;

    background:#fff;

}

.visa-timeline{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    flex-wrap:wrap;

    position:relative;

    margin-top:60px;

}

.visa-timeline::before{

    content:"";

    position:absolute;

    top:34px;

    left:5%;

    width:90%;

    height:4px;

    background:linear-gradient(
        90deg,
        var(--my-primary),
        var(--my-gold),
        var(--my-teal)
    );

    z-index:0;

}

.timeline-item{

    position:relative;

    width:130px;

    text-align:center;

    z-index:2;

}

.circle{

    width:70px;

    height:70px;

    margin:auto;

    margin-bottom:18px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--my-primary),
        var(--my-teal)
    );

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    font-weight:700;

    box-shadow:0 12px 28px rgba(0,0,0,.15);

    transition:.35s;

}

.timeline-item:hover .circle{

    transform:scale(1.12);

}

.timeline-item h5{

    font-size:1rem;

    color:var(--my-dark);

    font-weight:600;

    line-height:1.5;

}

/*=========================================================
                UNIVERSITY GRID RESPONSIVE
=========================================================*/

@media(max-width:1200px){

.uni-info-grid{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:992px){

.university-grid{

grid-template-columns:repeat(2,1fr);

}

.uni-info-grid{

grid-template-columns:1fr;

}

.uni-campus{

height:220px;

}

.visa-timeline{

justify-content:center;

gap:35px;

}

.visa-timeline::before{

display:none;

}

.timeline-item{

width:160px;

}

}

@media(max-width:768px){

.university-grid{

grid-template-columns:1fr;

}

.uni-top{

height:200px;

}

.uni-logo{

width:80px;

height:80px;

}

.uni-name{

font-size:1rem;

}

.uni-campus{

height:200px;

}

.uni-apply{

justify-content:center;

}

.requirement-grid{

grid-template-columns:1fr;

}

.english-grid{

grid-template-columns:repeat(2,1fr);

}

.timeline-item{

width:140px;

}

}

@media(max-width:576px){

.english-grid{

grid-template-columns:1fr;

}

.timeline-item{

width:100%;

margin-bottom:25px;

}

.circle{

width:60px;

height:60px;

font-size:1.2rem;

}

.timeline-item h5{

font-size:.95rem;

}

.uni-details{

padding:20px !important;

}

.info-box{

padding:16px;

}

.programme-tag,

.scholarship-tag{

font-size:.82rem;

padding:8px 14px;

}

}