:root {
    --primary: #123c73;
    --primary-dark: #08284f;
    --secondary: #13b8a6;
    --accent: #f4b942;
    --ink: #10233f;
    --muted: #667085;
    --surface: #f6f9fc;
    --white: #ffffff;
    --border: #e7edf4;
    --shadow: 0 18px 50px rgba(16, 35, 63, 0.10);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Poppins", sans-serif;
}

.modern-section {
    padding: 100px 0;
}

.modern-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading .eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 50px;
    color: var(--secondary);
    background: #e8fbf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 16px 0 12px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* Modern header */
.modern-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 18px 0;
}

.modern-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.modern-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.modern-brand:hover {
    color: #ffffff;
    text-decoration: none;
}

.modern-brand img {
    width: 499px !important;
    height: 70px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    display: block;
    flex: 0 0 85px;
    border-radius: 14px;
    background: #ffffff;
    padding: 5px;
}

@media (max-width: 768px) {
    .modern-brand img {
        width: 65px !important;
        height: 65px !important;
        flex-basis: 65px;
    }

    .modern-brand {
        gap: 10px;
        font-size: 14px;
    }
}

.modern-brand span {
    max-width: 190px;
}




.modern-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modern-menu a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.modern-menu a:hover {
    color: var(--accent);
}

.modern-menu .nav-cta {
    padding: 12px 18px;
    color: var(--primary-dark);
    background: var(--accent);
    border-radius: 50px;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    font-size: 20px;
}

/* Keep the corrected hero section */
.main-banner {
    min-height: 720px;
}

.main-banner .banner-content {
    min-height: 720px;
    padding-top: 150px;
}

.main-banner .word-animation h1 {
    max-width: 900px;
}

/* Trust strip */
.trust-strip {
    position: relative;
    z-index: 5;
    margin-top: -55px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.trust-item {
    padding: 26px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item strong {
    display: block;
    color: var(--primary);
    font-size: 26px;
}

.trust-item span {
    color: var(--muted);
    font-size: 13px;
}

/* About */
.about-modern {
    background: var(--surface);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    right: -25px;
    bottom: 28px;
    max-width: 190px;
    padding: 22px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.about-badge strong {
    display: block;
    font-size: 28px;
}

.about-copy h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.about-copy p {
    color: var(--muted);
    line-height: 1.9;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.about-points li {
    display: flex;
    gap: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.about-points i {
    color: var(--secondary);
}

/* Programs */
.programs-modern {
    background: var(--white);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(16, 35, 63, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.program-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.07);
}

.program-level {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 11px;
    color: var(--primary-dark);
    background: var(--accent);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.program-body {
    padding: 24px;
}

.program-body h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 20px;
}

.program-body p {
    min-height: 54px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.program-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.program-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

/* Why choose us */
.why-modern {
    background: var(--surface);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.why-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.why-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 22px;
    color: var(--secondary);
    background: #e8fbf8;
    border-radius: 16px;
    font-size: 22px;
}

.why-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 19px;
}

.why-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Training process */
.process-modern {
    background: var(--primary-dark);
}

.process-modern .section-heading h2,
.process-modern .section-heading p {
    color: #ffffff;
}

.process-modern .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-item {
    position: relative;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
}

.process-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--primary-dark);
    background: var(--accent);
    border-radius: 50%;
    font-weight: 800;
}

.process-item h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 18px;
}

.process-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.8;
}

/* Student showcase */
.showcase-modern {
    background: var(--surface);
}

.showcase-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 50px;
}

.showcase-copy h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 46px);
}

.showcase-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.showcase-image {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.showcase-image img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Testimonials */
.testimonials-modern {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(16, 35, 63, 0.04);
}

.testimonial-stars {
    margin-bottom: 18px;
    color: var(--accent);
}

.testimonial-card p {
    min-height: 100px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-person img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-person strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

.testimonial-person span {
    color: var(--muted);
    font-size: 12px;
}

/* Admission call-to-action */
.admission-modern {
    padding: 80px 0;
    background: var(--surface);
}

.admission-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 48px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--primary), #176c8d);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.admission-box h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
}

.admission-box p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.modern-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 15px 22px;
    border: 0;
    border-radius: 50px;
    color: var(--primary-dark);
    background: var(--accent);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-button:hover {
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 185, 66, 0.3);
}

/* Footer */
.modern-footer {
    padding: 55px 0 25px;
    color: rgba(255, 255, 255, 0.72);
    background: #071a33;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 35px;
}

.modern-footer h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 18px;
}

.modern-footer p {
    max-width: 360px;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

/* Tablet */
@media (max-width: 991px) {
    .modern-menu {
        gap: 16px;
    }

    .about-layout,
    .showcase-layout {
        gap: 35px;
    }

    .program-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .modern-section {
        padding: 70px 0;
    }

    .modern-container {
        width: min(100% - 30px, 600px);
    }

    .modern-header {
        padding: 12px 0;
    }

    .modern-menu {
        position: absolute;
        top: 75px;
        right: 15px;
        left: 15px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .modern-menu.open {
        display: flex;
    }

    .modern-menu li {
        border-bottom: 1px solid var(--border);
    }

    .modern-menu li:last-child {
        border-bottom: 0;
    }

    .modern-menu a {
        display: block;
        padding: 14px;
        color: var(--ink);
    }

    .modern-menu .nav-cta {
        margin-top: 8px;
        color: var(--primary-dark);
        text-align: center;
    }

    .mobile-menu-button {
        display: block;
    }

    .trust-strip {
        margin-top: -30px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .about-layout,
    .showcase-layout {
        grid-template-columns: 1fr;
    }

    .about-visual img {
        height: 330px;
    }

    .about-badge {
        right: 15px;
        bottom: 15px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .why-grid,
    .process-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .showcase-image img {
        height: 300px;
    }

    .admission-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-modern {
        align-items: flex-start;
        flex-direction: column;
    }
}

html,
body {
    margin: 0;
    padding: 0;
}

#header-top.header-top {
    margin: 0 !important;
    padding: 5px 0 !important;
    min-height: 0 !important;
}

#header-top.header-top ul,
#header-top.header-top li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

header.modern-header {
    margin: 0 !important;
    padding: 0 !important;
}

.top-area {
    margin: 0 !important;
    padding: 0 !important;
}

.top-area .modern-header {
    margin: 0 !important;
}

.main-banner {
    margin-top: 0 !important;
}

.welcome-hero-txt {
    text-align: left;
    position: relative;
    z-index: 5;
    padding-left: 8%;
}

.welcome-hero-txt p {
    display: inline-block;
    margin: 20px 0 0;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transform-origin: center top;
    animation: welcomeSwing 3s ease-in-out infinite;
}

@keyframes welcomeSwing {
    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

@media (max-width: 600px) {
    .welcome-hero-txt {
        padding-left: 5%;
    }

    .welcome-hero-txt p {
        font-size: 38px;
        letter-spacing: 1px;
    }
}

/* Make the banner shorter */
.main-banner {
    min-height: 520px !important;
    height: 520px !important;
    overflow: hidden;
}

/* Make the animated institute name slightly larger */
.main-banner .word-animation {
    transform: scale(1.15);
    transform-origin: center center;
}

/* Keep the letters responsive on smaller screens */
@media (max-width: 768px) {
    .main-banner {
        min-height: 360px !important;
        height: 360px !important;
    }

    .main-banner .word-animation {
        transform: scale(1.08);
    }
}

/* Improve learner journey readability */
.process-modern {
    padding: 75px 0;
    background: #f5f9fc;
}

.process-modern .section-heading h2 {
    color: #102a43;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
    margin: 12px 0 18px;
}

.process-modern .section-heading .eyebrow {
    color: #1677c8;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 35px;
}

.process-item {
    min-height: 220px;
    padding: 28px 23px;
    background: #ffffff;
    border: 1px solid #dce8f0;
    border-left: 4px solid #12b8c9;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(16, 42, 67, 0.09);
}

.process-number {
    display: block;
    margin-bottom: 14px;
    color: #1677c8;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.process-item h3 {
    margin: 0 0 12px;
    color: #102a43;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.process-item p {
    margin: 0;
    color: #40566b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

/* Tablet */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .process-modern {
        padding: 55px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-item {
        min-height: auto;
        padding: 23px 20px;
    }

    .process-item h3 {
        font-size: 18px;
    }

    .process-item p {
        font-size: 15px;
        line-height: 1.7;
    }
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-social-links a:nth-child(1):hover {
    background: #e1306c;
    border-color: #e1306c;
}

.footer-social-links a:nth-child(2):hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-social-links a:nth-child(3):hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.footer-social-links a:nth-child(4):hover {
    background: #25d366;
    border-color: #25d366;
}

@media (max-width: 600px) {
    .footer-social-links {
        margin-top: 16px;
    }

    .footer-social-links a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
.footer-social-links a:nth-child(3):hover {
    background: #000000;
    border-color: #000000;
}