/* ===========================
   VARIABLES & GENERAL STYLES
   =========================== */

:root {
    --primary-red: #ed1c24;
    --primary-blue: #29abe2;
    --primary-green: #2a9496;
    --primary-orange: #f7931e;
    --primary-pink: #d41e5d;
    --primary-purple: #9a2e7a;
    
    --dark-red: #c12d2f;
    --dark-blue: #0071bc;
    --dark-green: #006845;
    
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #ddd;
    
    --transition: all 0.3s ease;
    --section-left-pad: 60px; /* global left padding for sections */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.Work-container {
   
    margin: 0 auto;
    padding: 0 20px;
}
/* ===========================
   NAVIGATION
   =========================== */

:root {
    --hero-light: #bcd7dd; /* light blue */
    --hero-accent: #9cc3c9;
    --teal: #2a9496; /* platform band */
    --heading-color: #04394a; /* dark bluish */
}

.navbar {
    background-color: #ffffff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 100%; /* Full width to align brand to left */
    margin: 0 auto;
    padding: 0 40px; /* Increased padding slightly */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 90px; /* Increased size */
    height: 90px; /* Increased size */
    object-fit: contain;
}

.logo-text .logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
    font-size: 1.1rem;
}

.logo-text .logo-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    color: #3a5663;
    margin-top: -4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 6px 8px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-outline {
    border: 2px solid rgba(4,57,74,0.08);
    background: transparent;
    color: var(--heading-color);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-solid {
    background: var(--heading-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: #f5f5f5;
    color: var(--heading-color);
    padding: 80px 0 0 0;
    min-height: 520px;
    position: relative;
    overflow: visible;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 20px 120px; /* extra bottom space so platform band can overlap */
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.6rem;
    line-height: 1.02;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--heading-color);
}

.hero-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    color: rgba(4,57,74,0.9);
    max-width: 620px;
}

/* 1. Default Styles (Mobile First) */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px; /* Much smaller gap for mobile screens */
}

/* 2. Tablet Styles (Screens wider than 768px) */
@media (min-width: 768px) {
    .hero-cta {
        margin-top: 80px; /* Medium gap */
    }
}

/* 3. Desktop Styles (Screens wider than 1024px) */
@media (min-width: 1024px) {
    .hero-cta {
        margin-top: 170px; /* Your original large gap */
        justify-content: flex-end; /* Align to the right as you requested earlier */
    }
}
/* Rectangular Learn button (small radius) */
.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #2dbdb6; /* main teal */
    color: #ffffff;
    padding: 8px 12px 8px 18px; /* height ≈40px */
    border-radius: 6px; /* rectangular with small rounding */
    box-shadow: 0 3px 10px rgba(13,76,75,0.06);
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    position: relative;
    transition: transform .14s ease, box-shadow .14s ease;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Right white square block with arrow */
.btn-learn .chev {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: #ffffff; /* white block */
    color: #17837f; /* dark teal arrow */
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    transform: translateY(0);
    transition: transform .14s ease, background .12s ease;
    margin-left: 8px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(0,0,0,0.06);
}

/* small rectangular connector to mimic notch */
.btn-learn .chev::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 36px;
    background: #2dbdb6; /* same as main pill */
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(13,76,75,0.04);
}

.btn-learn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(13,76,75,0.12);
}

.btn-learn:hover .chev {
    transform: translateX(6px);
    background: #ffffff;
}

.btn-learn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(45,182,175,0.10);
}

/* Platform band */
.platform {
    background: var(--teal);
    color: rgba(255,255,255,0.95);
    padding: 46px 20px 80px;
    margin-top: -30px; /* overlap */
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.platform h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 2.4rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.95);
}

.platform p {
    max-width: 720px;
    font-family: 'Open Sans', sans-serif;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .hero-inner { flex-direction: column; align-items: flex-start; padding-bottom: 80px; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text p { font-size: 1rem; }
    .nav-menu { display: none; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.6rem; }
    .logo-img { width: 44px; height: 44px; }
    
}


/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    /* border-radius: 50px; */
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #f15a24 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-red);
    position: relative;
    padding-bottom: 1rem;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-skills {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-skills h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.skill-bar {
    background-color: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */

.portfolio {
    padding: 100px 20px;
    background-color: var(--bg-white);
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 1rem;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    border-radius: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-info {
    padding: 1.5rem;
    background: var(--bg-white);
}

.portfolio-info h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 1rem;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-orange));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   PROGRAMS SECTION
   =========================== */

.programs {
    padding: 100px 20px;
    background-color: #fbfbfb;
    /* subtle diamond pattern via tiny SVG */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 20 20'><g fill='none' stroke='%23f0f0f0' stroke-width='1'><path d='M10 0 L20 10 L10 20 L0 10 Z'/></g></svg>");
    background-repeat: repeat;
    background-size: 160px 160px;
}
.program-container
{
 
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: stretch;
    gap: 40px;

}

/* .programs-inner was unused in HTML, using program-container instead */

.programs-icon {
    flex: 0 0 150px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.programs-icon img {
    width: 100%;
    mix-blend-mode: multiply;
}

.programs-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
    font-size: 2rem;
    margin-bottom: 8px;
}

.programs-sub {
    color: rgba(4,57,74,0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 640px;
}

.program-item {
    background: #e9e9e9;
    padding: 14px 18px;
    margin-bottom: 12px;
    font-weight: 600;
    border-left: 6px solid rgba(0,0,0,0.04);
    color: #1a1a1a;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}

.program-item:hover {
    background: #dfdfdf;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .program-container { flex-direction: column; }
    .programs-icon { order: -1; margin-bottom: 2px; align-self: center; }
    .programs-content h2 { font-size: 1.6rem; }
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--teal) 0%, #a3939f 100%);
    color: var(--bg-white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.contact-intro {
    text-align: center;
    font-size: 1.05rem;
    margin: 0 auto 2rem;
    padding: 14px 20px;
    max-width: 820px;
    color: var(--heading-color);
    background: rgba(45, 189, 182, 0.07); /* soft teal tint */
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    opacity: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1.05rem;
}

.info-item a {
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-orange);
    color: var(--bg-white);
}

/* ===========================
   CONTACT FORM
   =========================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #04394a; /* Main dark petrol color */
    color: #ffffff;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-wrapper {
    max-width: 1300px; /* Wide banner style */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Removed flex-wrap: wrap to keep them on the same line on large screens */
    gap: 20px;
    padding-bottom: 20px;
}

/* LEFT SLOGAN */
.footer-slogan {
    display: flex;
    flex-direction: column;
    /* tight line heights to stack words */
    line-height: 0.9;
}

.slogan-row {
    display: flex;
    align-items: baseline;
}

.slogan-row.middle {
    align-items: flex-end; /* Align bottom of 'Training' with 'Towards' roughly */
    /* gap: 15px; */
}

.towards-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align arrow to the right (above letter S) */
    line-height: 1;
}

.text-beyond {
    font-size: 1.2rem;
    font-weight: 800;
    /* text-transform: uppercase;  */
    color: #ffffff;
    margin-left: 4px;
}

.text-training {
    font-size: 3rem;
    font-weight: 900;
    /* text-transform: uppercase; */
    color: #ffffff;
    letter-spacing: 10px; /* Increased spacing to align width */
    line-height: 0.8; /* Tighten line height to align better */
    /*margin-right: 15px; /* space between Training and Towards group */
}

.text-towards {
    font-size: 1.2rem;
    font-weight: 800;
    /* text-transform: uppercase; */
    color: #ffffff;
}

.text-transformation {
    font-size: 3rem;
    font-weight: 900;
    /* text-transform: uppercase; */
    color: #2dbdb6; /* Teal accent */
    letter-spacing: -1px;
}

/* Update arrow to img */
.icon-arrow img {
    width: 30px;
    height: auto;
    margin-bottom: 5px;
}

/* RIGHT CONTACT */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-logo-swhite {
    height: 60px;
    filter: brightness(0) invert(1); /* Make logo white */
}

.vertical-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255,255,255,0.3);
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
}

.contact-details .icon svg {
    width: 18px;
    height: 18px;
    /* stroke: #ffffff handled by currentColor */
}

/* BOTTOM COPYRIGHT */
.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* RESPONSIVE FOOTER */
@media (max-width: 900px) {
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-slogan {
        align-items: center;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .vertical-divider {
        display: none;
    }

    .text-training, .text-transformation {
        font-size: 2.5rem; /* Smaller for mobile */
    }

    .text-beyond, .text-towards {
        font-size: 1rem;
    }

    .contact-details li {
       /* justify-content: center;*/
    }
    
    .footer-logo-swhite {
        margin-bottom: 20px;
    }
}


/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

   

    .navbar {
        padding: 1rem 0;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
      .partners-section .partners-text {
       
        padding-left: clamp(32px, 15vw, 66px);
        
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .contact-form,
    .nav-menu {
        gap: 1rem;
        max-width: 20rem;
    }
    .social-links{ max-width: 20rem;}
}


/* ====== SECTION ====== */
.why-tamkeen {
    background-color: #083e55; /* dark blue */
    color: #ffffff;
    padding: 117px 10%;
}

.why-container {
       display: flex;
    align-items: flex-start;
    gap: 80px;
    align-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

/* ====== LEFT ICON ====== */
.icon-box {
    flex: 0 0 200px;
}

.icon-box svg {
    width: 180px;
    height: auto;
}

/* ====== RIGHT CONTENT ====== */
.content {
    max-width: 700px;
}

.content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* ====== FEATURE BLOCK ====== */
.feature {
    margin-bottom: 25px;
}

.feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature p {
    font-size: 14px;
    line-height: 1.6;
    color: #e6f2f7;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .why-container {
        flex-direction: column;
        gap: 40px;
    }

    .icon-box {
        flex: none;
    }
}



/* ===== CTA SECTION ===== */

.cta-section {
    background-color: #3fb2a9;
    padding: 80px 5%;
    color: #ffffff;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 640px) auto; /* text | button */
    justify-content: center;   /* center the whole pair */
    justify-items: start;      /* left-align each column */
    align-items: center;       /* vertically align button with text */
    gap: 36px;                 /* space between text and button */
}

.cta-text {
    max-width: 640px;
    text-align: left;           /* left align on desktop */
    justify-self: center;
}

.cta-text h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #eafffd;
}

/* ===== CTA BUTTON ===== */
.cta-button{
    justify-self: start;        /* align with left of text on desktop */
    align-self: center;
    margin-top: 0;
    display: flex;
    align-items: center;
    padding-top: 3rem;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cta-text {
        justify-self: center;
        text-align: center;     /* center text on mobile */
    }
    .cta-button {
        justify-self: center;   /* center button under text on mobile */
    }
}

/* CTA-specific button color overrides to match screenshot */
.cta-section .teal-bg { background-color: #0b3c5d; }
.cta-section .arrow-bg::after { border-color: #0b3c5d; }


/* Rectangular Learn button (small radius) */
.btn-click {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: Arial, sans-serif;
  height: 45px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}


/* ===== PARTNERS SECTION ===== */
.partners-section {

    background-color: #ffffff;
    padding: 80px 5%; /* match CTA section side padding for axis alignment */
}

.partners-container {
        max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 640px) auto; /* text | button */
    justify-content: center;   /* center the whole pair */
    align-items: center;       /* align button with text vertically */
    gap: 36px; 
}
.partners-container .partners-text{    padding-left: clamp(32px, 15vw, 39px);}
.partners-container h2 {
    font-size: 30px;
    color: #063d52;
    margin-bottom: 10px;
}

.partners-container p {
    font-size: 14px;
    max-width: 600px;
    color: #333;
    margin-bottom: 40px;
}

/* Partners: responsive alignment for cta-text */
.partners-section .cta-text {
    max-width: 600px;
    text-align: left;
    align-self: flex-start; /* follow left alignment on wide screens */
}


/* CTA container responsive left padding (fluid up to 202px) */
.cta-section .cta-container {
    padding-left: 0; /* center layout: remove left offset */
}
/* ===== LOGOS ===== */
.partner-logos {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-logos img {
    height: 60px;
    object-fit: contain;
}

/* ===== RESPONSIVE (logos) ===== */
@media (max-width: 900px) {
    .partner-logos {
        justify-content: center;
    }
    .partners-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    /* Partners: center align cta-text on small screens */
    .partners-section .cta-text {
        text-align: center;
        align-self: center;
        padding-left: clamp(32px, 15vw, 60px);
    }
}


/*btn learn */
.btn-pinch {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: Arial, sans-serif;
  height: 45px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.teal-bg {
  background-color: #3fb1b5;
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 44px 0 25px; /* Extra right padding for the curve */
  font-weight: bold;
  width: calc(10rem + 20px);
  
  /* The Pinch Curve Logic */
;
  
  /* To make it smooth/exponential instead of sharp straight lines: */
  /* We use a path instead of a polygon */
  /* clip-path: path('M0 0 H163 C163 20, 142 36, 114 31.5 C143 20, 166 29, 163 58 H0 Z'); */
  clip-path: path('M0 0 H163 C163 20, 141 35, 98 13.5 C138 20, 159 21, 164 46 H0 Z')


 
}

.arrow-bg {
  padding: 0 20px 0 5px;
  display: flex;
  align-items: center;
}

.arrow-bg::after {
  content: '';
  width: 14px;
  height: 14px;
  border-top: 3px solid #3fb1b5;
  border-right: 3px solid #3fb1b5;
  transform: rotate(45deg);
}




/* Right white block with click cursor icon */
.click-bg {
    width: 56px;
    height: 100%;
    display: inline-grid;
    place-items: center;
    background: #ffffff;
}

.click-bg img {
    width: 28px; /* Adjusted size */
    height: 28px;
    object-fit: contain;
}




