/* HERO SECTION */

.hero{
    display:grid;
    grid-template-columns:minmax(0, 0.9fr) minmax(520px, 1.1fr);
    align-items:center;
    gap:70px;

    padding:60px 80px;

    min-height:85vh;
    overflow:hidden;
}

.hero-text{
    width:100%;
    max-width:620px;
    min-width:0;
    position:relative;
    z-index:4;
}

.hero-text p{
    color:#C89A2B;
    letter-spacing:3px;
    margin-bottom:20px;
    font-size:14px;
}

.hero-text h2{
    font-family:'Playfair Display', serif;

    font-size:clamp(44px, 4vw, 62px);
    font-weight:600;

    line-height:1.1;

    color:#0D2342;

    margin-bottom:30px;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:none;
}

.hero-text h3{
    font-size:18px;
    font-weight:200;

    line-height:1.8;

    margin-bottom:40px;

    color:#1A1A1A;
    max-width:600px;
    overflow-wrap:break-word;
}

.hero-button {
    display: inline-block;
    background: #0D2342;
    color: white;
    padding: 18px 36px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-button:hover {
    background: #16335F;
    transform: translateY(-3px);
}
/* HERO IMAGE */

.hero-image{
    position:relative;

    width:100%;
    max-width:680px;

    height:450px;
    justify-self:end;
    flex-shrink:0;
}

/* IMAGE */

.hero-image img{
    width:620px;
    max-width:100%;

    position:absolute;

    top:0px;

    left:0;

    z-index:3;
}

/* SHAPE */

.shape{
    position:absolute;

    width:560px;

    height:400px;

    background:#0D2342;

    bottom:-60px;

    right:0;

    z-index:1;
}
/* DOTS */

.dots{
    position:absolute;

    width:110px;

    height:110px;

    top:-25px;

    right:0px;

    background-image:
    radial-gradient(#C89A2B 1.7px, transparent 1.7px);

    background-size:14px 14px;

    z-index:4;
}

/* LINE */

.line{
    position:absolute;

    width:1250px;

    height:3px;

    background:#C89A2B;

    top:400px;

    left:-240px;

    opacity:0.7;

    z-index:0;
}
/* SERVICES SECTION */

.services{
    padding:60px 80px;

    background:#FAFAF8;
}

.services-heading{
    text-align:center;

    margin-bottom:60px;
}

.services-heading p{
    color:#C89A2B;

    letter-spacing:3px;

    margin-bottom:15px;

    font-size:14px;
}

.services-heading h2{
    font-family:'Playfair Display', serif;

    font-size:42px;

    color:#0D2342;
}


.service-cards{
    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:30px;
}

.card{
    background:white;

    padding:40px 30px;

    border-radius:20px;

    transition:0.3s;

    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

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

.card h3{
    font-size:24px;

    margin-bottom:20px;

    color:#0D2342;
}

.card p{
    line-height:1.8;

    color:#1A1A1A;
}

/* SERVICE ICON */

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

.card i{
    font-size:40px;

    color:#C89A2B;

    margin-bottom:25px;

    display:block;

    transition:0.3s;
}

.card{
    text-align:center;
}

/* IMPACT SECTION */

.impact{
    display:flex;

    gap:20px;

    padding:60px;
    padding-right: 80px;

    background:#0D2342;

    overflow:hidden;

    background-image:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);

    background-size:26px 26px;
}
/* CARD */

.impact-box{
    flex:1;

    background:rgba(255,255,255,0.06);

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

    padding:28px 16px;

    border-radius:18px;

    text-align:center;

    backdrop-filter:blur(10px);

    transition:0.3s;
}

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

    background:rgba(255,255,255,0.1);
}

/* ICON */

.impact-box i{
    font-size:35px;

    color:#C89A2B;

    margin-bottom:18px;
}

/* NUMBER */

.impact-box h2{
    font-size:42px;

    color:white;

    margin-bottom:10px;

    font-family:'Playfair Display', serif;
}

/* TEXT */

.impact-box p{
    color:#E5E5E5;

    font-size:20px;

    letter-spacing:0.5px;
}

/* TESTIMONIALS SECTION */

.testimonials{

    display:grid;
    grid-template-columns:450px 1.4fr;

    background:#FAFAF8;

    padding:60px 80px;

    align-items:stretch;

    gap:0;
}

/* LEFT SIDE */

.testimonial-left{

    background:#FAFAF8;

    padding:60px 60px;

    border-right:1px solid #E7E7E7;
}

.section-tag{

    color:#C89A2B;

    letter-spacing:3px;

    font-size:14px;

    margin-bottom:18px;
}

.testimonial-left h2{

    font-family:'Playfair Display', serif;

    font-size:42px;

    line-height:1.2;

    color:#0D2342;

    margin-bottom:25px;
}

/* GOLD LINE */

.gold-line{

    width:70px;

    height:2px;

    background:#C89A2B;

    margin-bottom:45px;
}

/* STATS */

.stat-item{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:35px;
}

.stat-item i{

    width:55px;

    height:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#E7E7E7;

    border-radius:12px;

    color:#C89A2B;

    font-size:22px;
}

.stat-item h3{

    font-size:24px;

    color:#0D2342;

    margin-bottom:3px;

    font-family:'Playfair Display', serif;
}

.stat-item p{

    color:#1A1A1A;

    font-size:15px;
}

/* RIGHT SIDE */

.testimonial-right{

    background:#FAFAF8;

    padding:40px 60px;

    text-align:center;
}

/* QUOTE */

.quote{

    font-size:50px;

    color:#0D2342;

    line-height:1;

    margin-bottom:15px;
}

/* TESTIMONIAL TEXT */

#testimonialText{

    font-size:18px;

    line-height:1.9;

    color:#1A1A1A;

    max-width:700px;

    margin:0 auto 40px;
}

/* IMAGE */

#studentImage{

    width:95px;

    height:95px;

    border-radius:50%;

    object-fit:cover;

    border:5px solid white;

    box-shadow:0 8px 25px rgba(0,0,0,0.12);

    margin-bottom:18px;
}

/* NAME */

#studentName{

    font-family:'Playfair Display', serif;

    font-size:26px;

    color:#0D2342;

    margin-bottom:6px;
}

/* UNIVERSITY */

#studentUniversity{

    color:#C89A2B;

    font-size:15px;
}

/* DOTS */

.slider-dots{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:28px;
}

.slider-dots span{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#E7E7E7;

    cursor:pointer;

    transition:0.3s;
}

.slider-dots span.active{

    background:#C89A2B;
}

/* TEXT NAVIGATION */

.slider-controls{

    display:flex;

    justify-content:center;

    gap:40px;

    margin-top:30px;
}

.slider-controls span{

    color:#0D2342;

    font-size:16px;

    font-weight:500;

    cursor:pointer;

    transition:0.3s;
}

.slider-controls span:hover{

    color:#C89A2B;
}
/* ABOUT SECTION */

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

    padding:60px 80px;

    gap:80px;

    background:#FAFAF8;
}

/* LEFT SIDE */

.about-image{
    position:relative;

    width:600px;
    height:450px;
    flex-shrink:0;
}

/* IMAGE */

.about-image img{
    width:550px;
    height:430px;

    object-fit:cover;

    position:absolute;
    top:0px;
    left:40px;
    border-radius:0px;
    z-index:3;
}

/* BEIGE RECTANGLE */

.about-shape{
    position:absolute;

    width:500px;
    height:320px;

    background:#E7E7E7;

    bottom:-20px;
    left:0;

    z-index:1;
}

/* DOTS */

.about-dots{
    position:absolute;

    width:90px;
    height:90px;

    top:-10px;
    left:0;

    background-image:
    radial-gradient(#C89A2B 2px, transparent 2px);

    background-size:14px 14px;

    z-index:4;
}

/* RIGHT SIDE */

.about-text{
    flex:1;
}

.about-tag{
    color:#C89A2B;

    letter-spacing:4px;

    font-size:14px;

    margin-bottom:25px;
}

.about-text h2{
    font-family:'Playfair Display', serif;

    font-size:42px;

    line-height:1.1;

    color:#0D2342;

    margin-bottom:30px;
}

.about-text h3{
    font-size:18px;

    font-weight:300;

    line-height:1.8;

    color:#1A1A1A;

    margin-bottom:30px;
}

.about-description{
    color:#C89A2B;

    letter-spacing:1px;
    font-size:12px;
    line-height:1.5;
    text-align: left;
    margin-bottom:40px;
    font-weight:100;
    
}

.about-button {
    display: inline-block;
    background: #0D2342;
    color: white;
    padding: 18px 38px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.about-button:hover {
    background: #16335F;
    transform: translateY(-3px);
}
/* BLOG SECTION */

.blogs{
    padding:60px 80px;

    background:#FAFAF8;
}

.blogs-top{
    display:flex;

    justify-content:space-between;

    align-items:end;

    margin-bottom:60px;
}

.blogs-heading p{
    color:#C89A2B;

    letter-spacing:3px;

    font-size:14px;

    margin-bottom:15px;
}

.blogs-heading h2{
    font-family:'Playfair Display', serif;

    font-size:42px;

    color:#0D2342;
}

.blog-btn{
    display: inline-block;
    text-decoration: none;
    background:#0D2342;

    color:white;

    border:none;

    padding:16px 30px;

    border-radius:10px;

    cursor:pointer;

    transition:0.3s;
}

.blog-btn:hover{
    background:#16335F;

    transform:translateY(-3px);
}


.blog-cards{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;
}

.blog-card{
    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,0.05);

    transition:0.3s;
}

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

.blog-card img{
    width:100%;

    height:200px;

    object-fit:cover;
}

.blog-content{
    padding:20px;
}

.blog-content span{
    color:#C89A2B;

    font-size:14px;
}

.blog-content h3{
    font-size:20px;

    line-height:1.4;

    margin:15px 0;
    line-height:1.3;

    color:#0D2342;
}

.blog-content a{
    text-decoration:none;

    color:#0D2342;

}

/* CONTACT SECTION */

.contact{
    display:flex;

    justify-content:space-between;

    gap:80px;

    padding:60px 80px;

    background:#FAFAF8;
}

.contact-text{
    width:45%;
    flex-shrink: 0;
}

.contact-text p{
    color:#C89A2B;

    letter-spacing:3px;

    margin-bottom:20px;

    font-size:14px;
}

.contact-text h2{
    font-family:'Playfair Display', serif;

    font-size:42px;

    line-height:1;

    color:#0D2342;

    margin-bottom:30px;
}

.contact-text h3{
    font-size:20px;

    font-weight:300;

    line-height:1.8;

    color:#1A1A1A;

    margin-bottom:40px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: start;
    color: #0D2342;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-row a,
.contact-row span {
    color: #0D2342;
    text-decoration: none;
}

.contact-row div {
    display: grid;
    gap: 6px;
}

.social-icons{
    display:flex;
    gap:20px;
    margin-top:25px;
}

.social-icons a{
    color:#0D2342;
    font-size:28px;
    transition:0.3s;
}

.social-icons a:hover{
    color:#C89A2B;
    transform:translateY(-3px);
}

.contact-form {
    flex: 1;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: none;
    border-radius: 10px;
    background: white;
    font-size: 16px;
    outline: none;
}

.contact-form textarea {
    height: 180px;
    resize: none;
}

.contact-form button {
    background: #0D2342;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #16335F;
    transform: translateY(-3px);
}

#formMessage {
    margin-top: 0;
    color: #0D2342;
    font-size: 15px;
    font-weight: 500;
    min-height: 22px;
    opacity: 0;
    transition: 0.3s ease;
}

#formMessage.show-message {
    opacity: 1;
}
html,
body {
    overflow-x: hidden;
}

.hero {
    position: relative;
}
/* TABLET AND MOBILE HOME RESPONSIVE */

@media (max-width: 900px) {
    .hero {
        display: flex;
        flex-direction: column;
        padding: 45px 30px;
        gap: 40px;
    }

    .about,
    .contact {
        flex-direction: column;
        padding: 45px 30px;
        gap: 40px;
    }

    .hero-text,
    .about-text,
    .contact-text,
    .contact-form {
        width: 100%;
    }

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

    .hero-text h2 {
        font-size: 40px;
    }

    .hero-text h3,
    .about-text h3,
    .contact-text h3 {
        font-size: 16px;
    }

    .hero-image,
    .about-image {
        width: 100%;
        max-width: 540px;
        height: auto;
        margin: 0 auto;
    }

    .hero-image img,
    .about-image img {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        display: block;
        transform: none;
    }

    .line,
    .shape,
    .dots,
    .about-line,
    .about-shape,
    .about-dots {
        display: none;
    }

    .impact-dots {
        display: none;
    }

    .impact {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 45px 30px;
    }

    .service-cards,
    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .services,
    .testimonials,
    .blogs {
        padding: 45px 30px;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .testimonial-left {
        border-right: none;
        border-bottom: 1px solid #E7E7E7;
    }

    .testimonial-left,
    .testimonial-right {
        padding: 35px 24px;
    }

    .blogs-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .hero,
    .about,
    .services,
    .testimonials,
    .blogs,
    .contact {
        padding: 35px 18px;
    }

    .hero-text h2 {
        font-size: 34px;
    }

    .about-text h2,
    .services-heading h2,
    .testimonial-left h2,
    .blogs-heading h2,
    .contact-text h2 {
        font-size: 30px;
    }

    .impact,
    .service-cards,
    .blog-cards {
        grid-template-columns: 1fr;
    }

    .impact-box p {
        font-size: 16px;
    }

    #testimonialText {
        font-size: 15px;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 6px;
        letter-spacing: 0;
    }

    .hero-image img,
    .about-image img {
        border-radius: 8px;
    }
}
/* REMOVE HERO DECORATION ON TABLET / SMALL LAPTOP */

@media (min-width: 901px) and (max-width: 1366px) {
    .line,
    .shape,
    .dots {
        display: none;
    }

    .hero {
        grid-template-columns:minmax(0, 0.9fr) minmax(420px, 1fr);
        gap:45px;
    }

    .hero-text h2 {
        font-size:clamp(40px, 4.2vw, 54px);
    }

    .hero-image {
        width: 100%;
        max-width: 560px;
        height: auto;
    }

    .hero-image img {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        display: block;
    }
}
#formMessage {
    margin-top: 15px;
    color: #0D2342;
    font-size: 15px;
    font-weight: 500;
    min-height: 22px;
}

.show-message {
    display: block;
}
