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

:root {
    --primary-blue: #3B4BFF;
    --deep-blue: #1C2FD6;
    --light-bg: #F5F7FF;
    --dark-text: #0A0F2C;
    --subtext-gray: #6B7280;
    --card-white: #FFFFFF;
    --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --gradient-blue: linear-gradient(135deg, #1C2FD6 0%, #3B4BFF 100%);
    --section-padding: 80px 0;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 75, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

/* Header Component */
.header {
    width: 100%;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: var(--navbar-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logos img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-text);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.nav-actions .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

@media (max-width: 991px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--primary-blue);
        height: 3px;
        width: 30px;
        border-radius: 2px;
        position: relative;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before {
        bottom: 10px;
    }

    .nav-toggle-label span::after {
        top: 10px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links li {
        width: 100%;
        border-top: 1px solid #f1f1f1;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .nav-toggle:checked~.nav-links {
        transform: scale(1, 1);
    }

    .nav-actions {
        display: none;
        /* Hide sign in button on small screens or keep it in menu? Let's hide for now to keep it clean */
    }
}

/* Sections */
section {
    padding: var(--section-padding);
}

/* Hero Section */
.hero {
    background-color: #f5f2ff;
    position: relative;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-bg-shapes-new {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}

.hero-shape-bg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right;
}

.shape-3 {
    z-index: 1;
}

.shape-2 {
    z-index: 2;
}

.shape-1 {
    z-index: 3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 5;
}

.hero-content {
    text-align: left;
}

.hero-content .badge {
    background: #653BE6;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content h3 {
    font-size: 32px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    color: #475569;
    max-width: 550px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    display: none;
}

.hero-image img {
    width: 110%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 10;
    transform: translateX(50px);
}

.hero-bg-shapes {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-shape {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 350px;
    width: auto;
}

/* About Section */
.about {
    text-align: center;
    padding: 100px 0 60px;
}

.about-badge {
    background: #5b21b6;
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.2);
}

.about h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.about h2 span {
    color: #9333ea;
}

.about p {
    font-size: 24px;
    color: #334155;
    font-weight: 600;
}

.about p span {
    color: #5b21b6;
    font-weight: 800;
}

/* Role Cards Section */
.roles {
    padding-bottom: 80px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.role-card {
    background-color: #f1f5f9;
    padding: 35px 25px;
    border-radius: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    transition: transform 0.3s;
    border: 1px solid #d7e7f7;
}

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

.role-card .icon-wrapper {
    height: 180px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-card .icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.role-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #5b21b6;
    margin-bottom: 12px;
}

.role-card p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 25px;
    line-height: 23px;
    flex-grow: 1;

}

.card-divider {
    height: 1px;
    background-color: #cbd5e1;
    margin-bottom: 25px;
    width: 100%;
}

.role-card .btn {
    width: 100%;
    text-align: center;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    background-color: white;
    color: #94a3b8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-card.featured .btn {
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    color: white;
    border: none;
}

/* Stats Section */
.stats {
    background: #000435;
    color: white;
    padding: 80px 0;
}

.stats .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.stats-header {
    flex: 1;
}

.stats-badge {
    background: white;
    color: var(--dark-text);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.stats-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.stats-header p {
    font-size: 14px;
    color: #cbd5e1;
    max-width: 450px;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-box {
    background: white;
    color: var(--dark-text);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    display: block;
}

/* Partners & Program Section Refining */
.partners,
.program-section {
    padding: 0;
}

.partner-row,
.program-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    min-height: 250px;
}

.partner-row.alt,
.program-row.alt {
    grid-template-columns: 1.5fr 1fr;
}

.partner-row:nth-child(odd) {
    background-color: #f5f7ff;
}

.partner-row:nth-child(even) {
    background-color: #ffffff;
}

.program-section .program-row {
    background-color: #ffffff;
}

.description-side {
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.partner-row.alt .description-side,
.program-row.alt .description-side {
    order: 2;
    padding-left: 40px;
}

.carousel-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.partner-row.alt .carousel-side,
.program-row.alt .carousel-side {
    order: 1;
}

.carousel-arrow {
    background-color: #a855f7;
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-arrow:hover {
    opacity: 1;
}

.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.logos-container img {
    height: 60px;
    width: 'auto';
    max-width: 100%;
    object-fit: contain;
    filter: none;
    /* Removed grayscale */
    opacity: 1;
}

.partner-label {
    background: var(--primary-blue);
    color: white;
    padding: 6px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
}

.partner-desc,
.program-desc p {
    font-size: 22px;
    color: #334155;
    line-height: 1.6;
    font-family: var(--Static-Title-Large-Font, Roboto);
    font-size: var(--Static-Title-Large-Size, 22px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Static-Title-Large-Line-Height, 28px);
    /* 127.273% */
    letter-spacing: var(--Static-Title-Large-Tracking, 0);
}

/* Specific styling for program tags carousel */
.tags-grid {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.tag-btn {
    background: #f8fafc;
    padding: 15px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 150px;
}

.tag-btn .tag-name {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
}

.tag-btn .tag-desc {
    font-size: 10px;
    color: #64748b;
    text-transform: capitalize;
}

/* Base Responsive Container Fix */
img {
    max-width: 100%;
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-image img {
        transform: translateX(20px);
    }
}
@media  (max-width: 1500px) {
    .hero{

    }
.hero-bg-shapes-new{
    width: 40%;
    height: 100%;
}
.hero-bg-shapes-new img{
   object-fit: contain;
   height: 100%;
}
.hero-bg-shapes img{
    height: 250px;
}
    
}

@media  (max-width: 1200px) {
    .hero{

    }
.hero-bg-shapes-new{
    width: 40%;
}
.hero-bg-shapes img{
    height: 200px;
}
    
}

/* Responsiveness */
@media (max-width: 1024px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-image img {
        transform: none;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .hero-bg-shapes {
        display: none;
    }
    .hero-bg-shapes img {
        width: 'auto';
        height: 120px;
    }


    .navbar .container {
        flex-direction: row;
        /* Keep logo and burger menu on same line */
        justify-content: space-between;
        align-items: center;
    }

    .nav-logos img {
        height: 30px;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .hero-content .badge {
        font-size: 18px;
        padding: 8px 25px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h3 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
        margin: 0 auto;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 300px;
    }

    .about {
        padding: 60px 0 40px;
    }

    .about h2 {
        font-size: 24px;
    }

    .about p {
        font-size: 18px;
    }

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

    .role-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .stats {
        padding: 60px 0;
    }

    .stats .container {
        flex-direction: column;
        gap: 30px;
    }

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

    .stats-header p {
        margin: 0 auto;
    }

    .partner-row {
        flex-direction: column;
        align-items: center;
    }

    .description-side {
        padding: 30px 20px;
    }

    .program-section .container {
        flex-direction: column;
        gap: 30px;
    }

    .tags-grid {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .tag-btn {
        min-width: 120px;
        padding: 10px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

.carousel-arrow i {
    pointer-events: none;
}

@media (max-width: 1024px) {

    .partner-row,
    .program-row,
    .partner-row.alt,
    .program-row.alt {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .description-side {
        padding: 40px 20px;
        text-align: center !important;
        align-items: center !important;
    }

    .description-side div {
        text-align: center !important;
        align-items: center !important;
    }

    .partner-desc {
        text-align: center !important;
    }

    .partner-row.alt .description-side,
    .program-row.alt .description-side {
        order: 1;
    }

    .partner-row.alt .carousel-side,
    .program-row.alt .carousel-side {
        order: 2;
    }

    .logos-container {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Footer Refined */
.footer {
    background: #ffffff;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    border-top: 1px solid #E5E7EB;
}

.footer-top-section {
    padding: 60px 0;
    position: relative;

    z-index: 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 0;
}

.footer-info {
    max-width: 400px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 20px;
}

.footer-tagline h3 {
    font-size: 24px;
    font-weight: 600;
    color: #4B5563;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.footer-tagline p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #7C3AED;
    font-size: 20px;
    margin-top: 5px;
}

.contact-item p,
.contact-item .enquiry-text {
    font-size: 14px;
    color: #1F2937;
    line-height: 1.4;
}

.contact-grid {
    display: flex;
    gap: 40px;
    margin-top: 10px;
}

.enquiry-text {
    display: flex;
    flex-direction: column;
}

.enquiry-text strong {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 2px;
}

.enquiry-text a {
    color: #7C3AED;
    text-decoration: none;
    font-weight: 500;
}

.footer-bg-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    z-index: 1;
    opacity: 0.8;
}

.footer-bg-decoration img {
    height: 400px;
    filter: hue-rotate(280deg);
}

.footer-powered {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-powered p {
    font-size: 14px;
    color: #7C3AED;
    font-weight: 500;
}

.footer-powered span {
    font-weight: 800;
    font-size: 18px;
}

.footer-bottom-bar {
    background-color: #1A0D42;
    padding: 20px 0;
    color: white;
    position: relative;
    z-index: 3;
}

.footer-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
}

.footer-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 150px;
    width: auto;
    z-index: 2;
    transform: rotate(180deg);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #A78BFA;
}

.footer-rights {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .hero-bg-shapes-new {
        display: none;
    }

    .hero-bg-shapes img {
        width: 'auto';
        height: 160px;
    }

    .footer-flex {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bg-decoration {
        display: none;
    }

    .contact-grid {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bar-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}