/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}


/* ================= HERO LOGO STACK ================= */

.hero-top {
    display: flex;
    justify-content: center;
    padding-top: 26px;
    text-align: center;
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Main logo text */

.hero-logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.hero-logo-main span {
    color: #ffcc4d;
}


/* Tagline below logo */

.hero-tagline {
    /* margin-top: 6px; */
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.4px;
    position: relative;
    /* padding-top: 3px; */
}


/* Thin divider line (logo-style) */


/* .hero-tagline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    height: 2px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
} */


/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .hero-logo-main {
        font-size: 1.9rem;
    }
    .hero-tagline {
        font-size: 0.8rem;
    }
}


/* ================= CENTER HERO TEXT ================= */

.hero-content-center {
    margin: 0 auto;
    text-align: center;
    padding-top: 140px;
}

.hero-content-center h1 {
    max-width: 800px;
    margin: 0 auto;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .hero-logo-text {
        font-size: 1.8rem;
    }
    .hero-tagline {
        font-size: 0.8rem;
    }
    .hero-content-center {
        padding-top: 110px;
    }
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient( 180deg, rgba(55, 92, 190, 0.65) 0%, rgba(75, 107, 193, 0.6) 55%, rgba(95, 127, 207, 0.7) 100%), url("./images/bg.png") center / cover no-repeat;
    /* background: #00357a; */
}

.hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: linear-gradient( to bottom, rgba(95, 127, 207, 0), rgba(95, 127, 207, 1));
    z-index: 2;
}


/* ================= HERO TOP ================= */


/* .hero-top {
    position: relative;
    z-index: 4;
    padding-top: 24px;
    text-align: center;
}

.hero-top img {
    height: 70px;
    opacity: 0.95;
} */

.hero-divider {
    margin: 18px auto 0;
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}


/* ================= HERO CONTENT ================= */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin-left: 8%;
    padding: 120px 24px;
    color: white;
    /* background-color: #0b0f1d; */
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 580px;
    margin-top: 2%;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.92;
    max-width: 560px;
}


/* ================= HERO BUTTONS ================= */

.hero-actions {
    margin-top: 40px;
    display: flex;
    gap: 18px;
}

.btn-primary {
    padding: 14px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4b5bdc, #3a8dff);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(58, 141, 255, 0.35);
    transition: 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(58, 141, 255, 0.45);
}

.btn-secondary {
    padding: 14px 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(6px);
}


/* ================= BUBBLES ================= */

.hero-bubbles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    animation: float 10s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    50% {
        transform: translateY(-80px);
    }
}


/* ================= WHY CHOOSE ================= */

@keyframes floatCard {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}


/* projectoverview */

.projects-overview {
    padding: 120px 6%;
    padding-top: 0%;
    margin-top: 0%;
    /* background: linear-gradient( 180deg, rgba(110, 140, 215, 1) 0%, rgba(105, 135, 210, 1) 100%); */
    background: #5f7fcf;
    color: #ffffff;
}

.projects-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.projects-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

.projects-header h2 span {
    /* color: #9fd0ff; */
    color: #ffcc4d;
    /* dark blue accent */
}

.projects-header p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}


/* Slider Layout */

.projects-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Project Card */

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}


/* Image */

.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}


/* Content */

.project-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.project-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #9fd0ff;
}

.project-content ul {
    list-style: none;
    padding: 0;
}

.project-content li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
}


/* Navigation Buttons */

.nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    background: rgba(79, 140, 255, 0.6);
}

.nav-btn.left {
    left: -70px;
}

.nav-btn.right {
    right: -70px;
}


/* Responsive */

@media (max-width: 900px) {
    .project-card {
        grid-template-columns: 1fr;
    }
    .nav-btn.left {
        left: 10px;
    }
    .nav-btn.right {
        right: 10px;
    }
}


/* animation effect */

.project-card {
    animation: fadeSlide 0.6s ease;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-card {
    transition: opacity 1s ease, transform 1s ease;
    opacity: 1;
    transform: translateX(0);
}

.project-card.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.project-card.fade-in {
    opacity: 1;
    transform: translateX(0);
}


/* ================= BUBBLES ================= */

.hero-bubbles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    animation: float 10s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    50% {
        transform: translateY(-80px);
    }
}


/* bubble positions */

.hero-bubbles span:nth-child(1) {
    width: 180px;
    height: 180px;
    top: 8%;
    left: 4%
}

.hero-bubbles span:nth-child(2) {
    width: 90px;
    height: 90px;
    top: 30%;
    left: 14%
}

.hero-bubbles span:nth-child(3) {
    width: 140px;
    height: 140px;
    bottom: 22%;
    left: 8%
}

.hero-bubbles span:nth-child(4) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 4%
}

.hero-bubbles span:nth-child(5) {
    width: 110px;
    height: 110px;
    top: 38%;
    right: 12%
}

.hero-bubbles span:nth-child(6) {
    width: 70px;
    height: 70px;
    bottom: 28%;
    right: 24%
}

.hero-bubbles span:nth-child(7) {
    width: 160px;
    height: 160px;
    bottom: 6%;
    right: 6%
}

.hero-bubbles span:nth-child(8) {
    width: 80px;
    height: 80px;
    bottom: 34%;
    left: 26%
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .hero-content {
        margin: auto;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
}


/* ----------------SEL section--------------- */


/* ===============================
   SOCIAL EMOTIONAL LEARNING (SEL)
   =============================== */

.sel-section {
    background: #5f7fcf;
    /* SAME as previous sections */
    padding: 120px 24px;
    padding-top: 0%;
    margin-top: 0%;
}

.sel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sel-header {
    text-align: center;
    margin-bottom: 80px;
}

.sel-header h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
}

.sel-header h2 span {
    color: #ffcc4d;
}

.sel-tagline {
    margin-top: 12px;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}


/* ================= CONTENT GRID ================= */

.sel-content {
    padding-top: 0%;
    margin-top: 0%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}


/* LEFT & RIGHT COLUMNS */

.sel-column {
    color: rgba(255, 255, 255, 0.92);
}

.sel-points {
    list-style: disc;
    padding-left: 18px;
}

.sel-points li {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 1rem;
}


/* CENTER IMAGE */

.sel-image {
    display: flex;
    justify-content: center;
}

.sel-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}


/* RIGHT BOXES */

.sel-box {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 20px 22px;
    margin-bottom: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.sel-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.sel-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.sel-box.danger {
    background: rgba(255, 255, 255, 0.12);
}


/* FOOTER LINE */

.sel-footer {
    margin-top: 80px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {
    .sel-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sel-points {
        list-style-position: inside;
        padding-left: 0;
    }
    .sel-image img {
        max-width: 360px;
        margin: 30px auto;
    }
}

.sel-bullets {
    list-style: none;
    /* remove default bullets */
    padding-left: 0;
    margin-top: 24px;
    max-width: 520px;
}

.sel-bullets li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    /* slightly larger */
    line-height: 1.65;
    /* more readable */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.2px;
    /* subtle polish */
}


/* Custom bullet */

.sel-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 1.6rem;
    /* elegant bullet */
    line-height: 1;
    color: #cfe3ff;
    /* soft accent */
}

.sel-bullets strong {
    font-weight: 600;
    color: #ffffff;
}

.project-description {
    margin: 16px 0 24px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.project-description strong {
    color: #9fd0ff;
    font-weight: 600;
}


/* ===============================
   WHY STEM SHOULD BEGIN EARLY
================================ */

.stem-early-section {
    background: #5f7fcf;
    /* SAME as other sections */
    padding: 120px 24px;
    padding-top: 0%;
    margin-top: 0%;
}

.stem-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


/* Title */

.stem-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 70px;
}

.stem-title span {
    color: #ffcc4d;
}


/* Grid */

.stem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 70px;
}


/* Card */

.stem-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: floatCard 4s ease-in-out infinite;
}


/* Hover */

.stem-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    animation-play-state: paused;
}


/* Card title */

.stem-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}


/* Card text */

.stem-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}


/* Floating animation */

@keyframes floatCard {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}


/* Stat line */

.stem-stat {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.stem-stat span {
    color: #ffcc4d;
    font-weight: 700;
}


/* Mobile tweaks */

@media (max-width: 768px) {
    .stem-title {
        margin-bottom: 50px;
    }
    .stem-stat {
        font-size: 1.25rem;
    }
}


/* GRID FIX */

.stem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 70px;
}


/* Cards remain SAME size */

.stem-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


/* ⭐ Center the LAST card neatly */

.stem-card:last-child {
    grid-column: 2 / span 2;
}


/* Hover */

.stem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}


/* RESPONSIVE */

@media (max-width: 992px) {
    .stem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stem-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .stem-grid {
        grid-template-columns: 1fr;
    }
}

.section-divider {
    width: 100%;
    max-width: 900px;
    height: 1px;
    margin: 80px auto;
    margin-bottom: 0%;
    background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.45), transparent);
}


/* FAQs */


/* ----------------------  */


/* ---------------------- */

.faq-section {
    background: #5f7fcf;
    padding: 120px 20px;
    padding-top: 0%;
    margin-top: 0%;
    color: #ffffff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 60px;
}

.faq-title span {
    color: #ffcc4d;
}

.faq-item {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    margin-bottom: 18px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 22px 26px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: #6ea8ff;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: max-height 0.2s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 26px 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* demo */

.demo-section {
    background: linear-gradient(180deg, #0b0f1d, #11162a);
    padding: 120px 20px;
    color: #ffffff;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 100px;
}

.demo-title span {
    color: #ffcc4d;
}


/* ROW BASE */

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}


/* LEFT / RIGHT SWITCH */

.demo-row.right {
    direction: rtl;
}

.demo-row.right>* {
    direction: ltr;
}


/* MEDIA */

.demo-media img,
.demo-media video {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}


/* TEXT */

.demo-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.demo-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .demo-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .demo-row.right {
        direction: ltr;
    }
    .demo-media img,
    .demo-media video {
        margin: 0 auto;
    }
    .demo-content p {
        margin: 0 auto;
    }
}


/* ================= DEMO SECTION ================= */

.demo-section {
    background: #5f7fcf;
    /* background-image: url("./images/background.png"); */
    padding: 120px 20px;
    color: #ffffff;
    padding-top: 0%;
    margin-top: 0%;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 90px;
}

.demo-title span {
    color: #ffcc4d;
}


/* ROW LAYOUT */

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


/* Activated on scroll */

.demo-row.show {
    opacity: 1;
    transform: translateY(0);
}


/* Alternate sides */

.demo-row.right {
    direction: rtl;
}

.demo-row.right>* {
    direction: ltr;
}

.demo-row {
    gap: 0;
}


/* IMAGE / VIDEO */

.demo-media img,
.demo-media video {
    width: 100%;
    max-width: 420px;
    /* 🔥 FIX: image size */
    max-height: 30px;
    /* 🔥 FIX: prevents tall images */
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* Hover polish */

.demo-media img:hover,
.demo-media video:hover {
    transform: scale(1.03);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}


/* TEXT */

.demo-content h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    padding-left: 0%;
}

.demo-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
}


/* MOBILE */

@media (max-width: 900px) {
    .demo-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .demo-row.right {
        direction: ltr;
    }
    .demo-media img,
    .demo-media video {
        margin: 0 auto;
        max-width: 100%;
    }
    .demo-content p {
        margin: 0 auto;
    }
}

.spiral-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 20% 10%, rgba(110, 168, 255, 0.15) 1px, transparent 2px), radial-gradient(circle at 80% 30%, rgba(110, 168, 255, 0.12) 1px, transparent 2px), radial-gradient(circle at 30% 60%, rgba(110, 168, 255, 0.1) 1px, transparent 2px), radial-gradient(circle at 70% 85%, rgba(110, 168, 255, 0.08) 1px, transparent 2px);
    background-size: 120px 120px;
    opacity: 0.35;
}

.demo-container {
    position: relative;
    z-index: 1;
}

.demo-media img,
.demo-media video {
    width: 100%;
    max-width: 500px;
    max-height: 350px;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: floatMedia 6s ease-in-out infinite;
}

@keyframes floatMedia {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.demo-row::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -60px;
    width: 2px;
    height: 50px;
    background: repeating-linear-gradient( to bottom, rgba(110, 168, 255, 0.4), rgba(110, 168, 255, 0.4) 4px, transparent 4px, transparent 8px);
    opacity: 0.35;
}

.demo-row:last-child::after {
    display: none;
}


/* maths park */


/* ===============================
   DEMO SLIDER ADDITION
   =============================== */

.demo-row-reverse {
    grid-template-columns: 1fr 1fr;
}


/* Slider image */

.slider img {
    transition: opacity 0.6s ease, transform 0.6s ease;
}


/* Subtitle */

.demo-subtitle {
    margin-top: 22px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}


/* Inline concepts */

.demo-inline-list {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 18px;
}


/* Checklist */

.demo-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.demo-checklist li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.demo-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #cfe3ff;
    font-weight: 700;
}


/* Highlight line */

.demo-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: #eaf2ff;
    margin-top: 14px;
    font-style: italic;
}


/* Mobile */

@media (max-width: 900px) {
    .demo-row-reverse {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   SLIDER IMAGE SIZE FIX
   =============================== */

.demo-image {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    /* margin-right: 190px; */
}


/* .demo-image img {
    width: 100%;
    height: auto;
    margin-right: 190px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: opacity 0.6s ease, transform 0.6s ease;
} */

.demo-image img {
    width: 100%;
    max-width: 500px;
    max-height: 320px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: floatMedia 6s ease-in-out infinite;
}


/* ===============================
   TEXT ANIMATION ON SLIDE CHANGE
   =============================== */

.demo-contents {
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* margin-top: 90px; */
}

.demo-contents.fade-out {
    opacity: 0;
    transform: translateY(12px);
}

.demo-contents.fade-in {
    opacity: 1;
    transform: translateY(0);
}


/* ===============================
   MOBILE OPTIMIZATION
   =============================== */

@media (max-width: 900px) {
    .demo-image img {
        max-height: 260px;
    }
    /* .demo-image img {
        margin: 0 auto;
        max-width: 100%;
    } */
}


/* =========================
   PROJECTS OVERVIEW SECTION
   ========================= */


/* .projects-overview {
    margin-top: 0%;
    padding-top: 0;
    background: #5f7fcf;
    padding: 120px 6% 140px;
    color: #ffffff;
} */


/* Header */

.projects-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.projects-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.projects-header h2 span {
    color: #ffcc4d;
}

.projects-header p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}


/* Slider wrapper */

.projects-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   PROJECT CARD (MAIN)
   ========================= */

.project-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    width: 100%;
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


/* =========================
   IMAGE
   ========================= */

.project-image img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}


/* =========================
   CONTENT
   ========================= */

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.project-description strong {
    color: #cfe6ff;
    font-weight: 600;
}


/* Concepts */

.project-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #bfe0ff;
}

#project-concepts {
    list-style: none;
    padding: 0;
    margin: 0;
}

#project-concepts li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

#project-concepts li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #9fd0ff;
    font-size: 1.2rem;
}


/* =========================
   NAV BUTTONS
   ========================= */

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%) scale(1.08);
}

.nav-btn.left {
    left: -80px;
}

.nav-btn.right {
    right: -80px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    .project-image img {
        max-height: 260px;
    }
    .nav-btn.left {
        left: 10px;
    }
    .nav-btn.right {
        right: 10px;
    }
}


/* why choose us  */

.why-section {
    background: #5f7fcf;
    padding: 120px 20px 100px;
    color: #ffffff;
    margin-top: 0%;
    padding-top: 0%;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.why-title span {
    color: #ffcc4d;
}

.why-subtitle {
    max-width: 780px;
    margin: 0 auto 64px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}


/* GRID */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}


/* CARD */

.why-card {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 36px 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}


/* ICON */

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cfe6ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #355ec9;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}


/* TEXT */

.why-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}


/* FOOT NOTE */

.why-stat {
    margin-top: 70px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.why-stat span {
    color: #ffcc4d;
    font-weight: 600;
}


/* ================= RESPONSIVE ================= */


/* Tablet */

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 520px;
        justify-self: center;
    }
}


/* Mobile */

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-card {
        padding: 28px 22px;
    }
    .why-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }
}


/* ===============================
   SEL – MOBILE TEXT CENTER FIX
   =============================== */

@media (max-width: 900px) {
    /* Center header text */
    .sel-header {
        text-align: center;
    }
    /* Center bullet list */
    .sel-bullets {
        margin: 0 auto;
        text-align: center;
        max-width: 520px;
    }
    .sel-bullets li {
        padding-left: 0;
    }
    .sel-bullets li::before {
        position: static;
        margin-right: 8px;
    }
    /* Center right column boxes */
    .sel-column {
        text-align: center;
    }
    .sel-box {
        max-width: 520px;
        margin: 0 auto 22px;
    }
    /* Center footer */
    .sel-footer {
        text-align: center;
    }
}


/* ===============================
   FULL PAGE LOADER
================================ */

#page-loader {
    position: fixed;
    inset: 0;
    background: #5f7fcf;
    /* deep premium blue */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}


/* Loader text */

.loader-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.loader-content span {
    color: #ffcc4d;
    font-weight: 700;
}


/* Animated dot */

.loader-content .dot {
    display: inline-block;
    margin-left: 4px;
    animation: blink 1.4s infinite both;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* ===============================
   PREMIUM FULL PAGE LOADER
================================ */

#page-loader {
    position: fixed;
    inset: 0;
    /* background: radial-gradient( circle at top, #263b7a 0%, #1b2a5a 60%, #16224a 100%); */
    background: #5f7fcf;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}


/* Soft glow background */

#page-loader::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(159, 208, 255, 0.18), transparent 70%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}


/* Inner content */

.loader-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}


/* Logo */

.loader-logo {
    height: 64px;
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* Text */

.loader-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #ffffff;
}


/* Gradient shimmer */

.loader-text span {
    background: linear-gradient( 90deg, #9fd0ff, #ffffff, #9fd0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}


/* Animated dot */

.loader-text .dot {
    display: inline-block;
    margin-left: 4px;
    animation: blink 1.4s infinite both;
    color: #ff8b5e;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* ===============================
   OUR KEY OFFERINGS
================================ */

.offerings-section {
    background: #5f7fcf;
    padding: 120px 24px;
    color: #ffffff;
    margin-top: 0%;
    padding-top: 0%;
}

.offerings-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.offerings-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.offerings-title span {
    color: #ffcc4d;
}

.offerings-subtitle {
    font-size: 1.05rem;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
}


/* GRID */

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}


/* CARD */

.offering-card {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.offering-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.offering-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}


/* ICON */

.offering-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.offering-icon.blue {
    color: #2563eb;
}

.offering-icon.green {
    color: #059669;
}

.offering-icon.yellow {
    color: #ca8a04;
}

.offering-icon.red {
    color: #dc2626;
}


/* HIGHLIGHT CARD (MATHS PARK) */

.offering-highlight {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 26px;
    padding: 28px 34px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.highlight-icon {
    font-size: 34px;
}

.offering-highlight h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.offering-highlight p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}


/* RESPONSIVE */

@media (max-width: 992px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    .offering-highlight {
        flex-direction: column;
        text-align: center;
    }
}


/* ===============================
   OUR KEY OFFERINGS – POLISH
================================ */


/* Icon wrapper */

.offering-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}


/* Gradient icon fill */

.offering-icon i {
    background: linear-gradient(135deg, #4b5bdc, #3a8dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Color variations */

.offering-icon.green i {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offering-icon.yellow i {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offering-icon.red i {
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Card hover polish */

.offering-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.offering-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.offering-card:hover::after {
    transform: translateX(100%);
}


/* Hover effects */

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.offering-card:hover .offering-icon {
    transform: rotate(8deg) scale(1.12);
    box-shadow: 0 18px 38px rgba(58, 141, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}


/* Maths Park Highlight */

.offering-highlight {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 22px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    animation: floatSoft 5s ease-in-out infinite;
}

.highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #dceaff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #355ec9;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}


/* Floating animation */

@keyframes floatSoft {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}


/* Mobile polish */

@media (max-width: 768px) {
    .offering-highlight {
        flex-direction: column;
        text-align: center;
    }
}


/* ================= FOUNDERS SECTION ================= */


/* ===============================
   FOUNDERS SECTION – CLEAN VERSION
   =============================== */

.founders-section {
    background: #5f7fcf;
    padding: 120px 24px;
    color: #ffffff;
    margin-top: 0%;
    padding-top: 0%;
}

.founders-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ---------- HEADER ---------- */

.founders-header {
    text-align: center;
    margin-bottom: 90px;
}

.founders-header h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.founders-header h2 span {
    color: #ffcc4d;
}

.founders-header p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}


/* ===============================
   FOUNDER ROW (LEFT / RIGHT)
   =============================== */

.founder-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 110px;
    position: relative;
}


/* Alternate layout (image on right) */

.founder-main.reverse {
    grid-template-columns: 1fr auto;
}

.founder-main.reverse .founder-image {
    order: 2;
}

.founder-main.reverse .founder-content {
    order: 1;
}


/* ---------- IMAGE ---------- */

.founder-image {
    position: relative;
}

.founder-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
}


/* Hover polish */

.founder-image img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
    filter: grayscale(55%);
}


/* ---------- CONTENT ---------- */

.founder-content {
    max-width: 840px;
}

.founder-content2 {
    max-width: 840px;
}

.founder-content h3 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.founder-content h3 span {
    color: #ffcc4d;
    font-weight: 500;
}

.founder-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
}


/* new  */

.founder-content2 h3 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.founder-content2 h3 span {
    color: #ffcc4d;
    font-weight: 500;
}

.founder-content2 p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
}


/* ===============================
   ANIMATION (ON LOAD)
   =============================== */

.founder-image,
.founder-content {
    opacity: 0;
    transform: translateY(22px);
    animation: founderFadeUp 0.9s ease forwards;
}

.founder-image,
.founder-content2 {
    opacity: 0;
    transform: translateY(22px);
    animation: founderFadeUp 0.9s ease forwards;
}

.founder-content {
    animation-delay: 0.2s;
}

.founder-content2 {
    animation-delay: 0.2s;
}

@keyframes founderFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1000px) {
    .founder-main {
        gap: 36px;
    }
    .founder-image img {
        max-width: 260px;
    }
}

@media (max-width: 900px) {
    .founder-main,
    .founder-main.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-image {
        order: 1;
    }
    .founder-content {
        order: 2;
        margin: 0 auto;
    }
    .founder-content2 {
        order: 2;
        margin: 0 auto;
    }
    .founder-image img {
        max-width: 220px;
        margin: 0 auto;
    }
}


/* ===============================
   FOOTER
   =============================== */

.site-footer {
    background: #4f6fc2;
    padding: 28px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-link {
    background: none;
    border: none;
    color: #ffcc4d;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
}

.footer-link:hover {
    text-decoration: underline;
}


/* ===============================
   MODAL
   =============================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #ffffff;
    color: #333;
    max-width: 520px;
    width: 90%;
    padding: 28px 26px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: modalPop 0.4s ease;
}

.modal-box h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.modal-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.modal-close {
    background: #5f7fcf;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.modal-close:hover {
    background: #4b66b0;
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Mobile tweak */

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 6px;
    }
}


/* contact form  */


/* ........................  */


/* CONTACT MODAL */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9999;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    animation: scaleIn 0.4s ease;
}

.modal-box h3 {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-box input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #5f7fcf;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #4b66b0;
}

.modal-close {
    margin-top: 10px;
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
}


/* SUCCESS POPUP */

.success-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 9999;
}

.success-popup.show {
    opacity: 1;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ===============================
   CONTACT US SECTION
   =============================== */

.contact-section {
    background: #5f7fcf;
    padding: 120px 24px;
    padding-top: 0%;
    margin-top: 0%;
    color: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 70px;
}

.contact-header h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-header h2 span {
    color: #ffcc4d;
}

.contact-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Content Grid */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.info-icon i {
    background: linear-gradient(135deg, #4b5bdc, #3a8dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    border-radius: 26px;
    padding: 40px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffcc4d;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(255, 204, 77, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #4b5bdc, #3a8dff);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(58, 141, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(58, 141, 255, 0.55);
}

.contact-submit-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 32px 26px;
    }
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}

/* Form Success Message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
    animation: fadeInUp 0.5s ease;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(46, 204, 113, 0.4);
}

.form-success .success-icon i {
    font-size: 40px;
    color: #ffffff;
}

.form-success h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit button loading state */
.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}