/* ═══════════════════════════════════════════════════════════
   USER-FRIENDLY DESIGN - GSIM Website
   Clean, readable, and easy to navigate
   ═══════════════════════════════════════════════════════════ */

/* ─── COLORS (Softer, easier on eyes) ─── */
:root {
    --blue: #4A90A4;
    --blue-light: #6BA8BB;
    --green: #5EC997;
    --red: #E85D75;
    --navy: #2C4A5E;
    
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --light-gray: #F5F7FA;
    --border-color: #E1E8ED;
    
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #95A5A6;
    
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ─── CONTAINER ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════════
   TOP RED TABS - External Links to Other Sites
   ═══════════════════════════════════════════════════════════ */
.top-tabs {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    gap: 0;
    z-index: 1001;
}

.top-tab {
    background-color: #B91C1C;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    border: none;
    display: block;
}

.top-tab:hover {
    background-color: #991B1B;
}

.top-tab.active {
    background-color: #7F1D1D;
    cursor: default;
}

.top-tab:first-child {
    border-bottom-left-radius: 8px;
}

.top-tab:last-child {
    border-bottom-right-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION - Matching Main Template Style
   ═══════════════════════════════════════════════════════════ */
.navbar {
    padding: 30px 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #B91C1C;
}

.nav-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    max-width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 1000;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu .nav-external-link {
    background-color: #B91C1C;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    border-bottom: none;
}

.mobile-menu .nav-external-link:hover {
    background-color: #991B1B;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION - Clear and Inviting
   ═══════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    position: relative;
    background: linear-gradient(160deg, var(--white) 0%, var(--off-white) 60%, var(--light-gray) 100%);
}

.hero .container {
    transform: translateY(-100px);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .hl {
    color: var(--blue);
    display: block;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-p {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(232, 93, 117, 0.3);
}

.btn-p:hover {
    background: #d64663;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 93, 117, 0.4);
}

.btn-s {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-s:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 650px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
}

.stat-n {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-l {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS - Clean and Spacious
   ═══════════════════════════════════════════════════════════ */
.sec {
    padding: 6rem 0;
}

.shead {
    margin-bottom: 4rem;
}

.shead.c {
    text-align: center;
}

.stag {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    background: var(--light-gray);
    color: var(--blue);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.stag.g {
    background: #e8f5ee;
    color: var(--green);
}

.stag.r {
    background: #ffebef;
    color: var(--red);
}

.stitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.sdesc {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 750px;
}

.shead.c .sdesc {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about {
    background: var(--white);
}

.about-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.vals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vc {
    padding: 2.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}

.vc:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green);
}

.vc .ico {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.vc h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.vc p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */
.services {
    background: var(--off-white);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.sc {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}

.sc:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-light);
}

.sc.ft {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    color: var(--white);
    border: none;
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--green);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.sc-ico {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--light-gray);
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.sc.ft .sc-ico {
    background: rgba(255, 255, 255, 0.15);
}

.sc h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.sc.ft h3,
.sc.ft p,
.sc.ft li {
    color: var(--white);
}

.sc p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sl {
    margin-bottom: 1.5rem;
}

.sl li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
}

.sl li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
}

.sc.ft .sl li::before {
    color: var(--white);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    padding: 0.5rem 1.1rem;
    background: var(--light-gray);
    color: var(--blue);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.sc.ft .tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   SUBJECTS & GRADES SECTION
   ═══════════════════════════════════════════════════════════ */
.subjects {
    background: var(--white);
}

.gtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.gtab {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-medium);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.gtab:hover,
.gtab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.gpanel {
    display: none;
}

.gpanel.active {
    display: block;
}

.gp-head {
    margin-bottom: 2.5rem;
}

.gp-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.gp-head p {
    font-size: 1.05rem;
    color: var(--text-medium);
}

.tgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tc {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 14px;
    border-left: 5px solid var(--blue);
    transition: all 0.3s;
}

.tc:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.tc h4 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tc ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
}

.tc ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 1.3rem;
}

.cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cs-card {
    background: var(--off-white);
    border: 2px dashed var(--border-color);
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s;
}

.cs-card:hover {
    border-color: var(--blue-light);
    border-style: solid;
}

.cs-card .ico {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cs-card h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cs-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════
   RESOURCES SECTION
   ═══════════════════════════════════════════════════════════ */
.resources {
    background: var(--off-white);
}

.res-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.res-intro p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.rgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.rc {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.rc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.rc-head {
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.rc-head.b {
    background: #f0f7fb;
}

.rc-head.g {
    background: #e8f5ee;
}

.rc-head.r {
    background: #ffebef;
}

.rc-head .ico {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.rc-head h3 {
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
}

.rc-head p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.3rem;
}

.rc-body {
    padding: 2rem;
}

.rc-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.rc-body th {
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8rem;
    background: var(--light-gray);
    border-bottom: 2px solid var(--border-color);
}

.rc-body td {
    font-size: 0.95rem;
    color: var(--text-medium);
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.rc-body tr:last-child td {
    border-bottom: none;
}

.rc-body ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
}

.rc-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.rc-body .note {
    margin-top: 1.2rem;
    padding: 1rem 1.3rem;
    background: #f0f7fb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--blue);
    line-height: 1.7;
}

.rc-body .sub-head {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 700;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   IMPACT SECTION
   ═══════════════════════════════════════════════════════════ */
.impact {
    background: var(--navy);
    color: var(--white);
}

.impact .stag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.impact .stitle {
    color: var(--white);
}

.imp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.imp-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    transition: all 0.3s;
}

.imp-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.imp-n {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 0.8rem;
    display: block;
}

.imp-card h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.imp-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
}

.partners {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.partners h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.partners > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.p-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.p-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.3rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s;
}

.p-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.p-item span:first-child {
    font-size: 2rem;
    flex-shrink: 0;
}

.p-item span:last-child {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════ */
.testimonials {
    background: var(--white);
}

.tgrid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tcard {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid var(--blue);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.tcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tstars {
    color: #FFA726;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.ttext {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tauthor {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.tavatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tauthor h4 {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.tauthor p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════
   APPLY & CONTACT SECTIONS
   ═══════════════════════════════════════════════════════════ */
.apply {
    background: var(--off-white);
}

.contact {
    background: var(--white);
}

.apply-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.apply-left h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.apply-left > p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.perks li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.pico {
    background: var(--green);
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.9rem;
}

.fwrap {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

.fwrap h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 2rem;
}

.fg {
    margin-bottom: 1.5rem;
}

.fg label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: var(--white);
    color: var(--text-dark);
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(74, 144, 164, 0.1);
}

.fg textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

/* Contact Info Cards */
.istack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icard {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 14px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.icard:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.icard .ico {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.icard h4 {
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.icard p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.icard a {
    color: var(--blue);
    font-weight: 600;
    transition: color 0.2s;
}

.icard a:hover {
    color: var(--blue-light);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.fgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.ftag {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.fcol p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
}

.fcol h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.fcol ul li {
    margin-bottom: 0.8rem;
}

.fcol ul a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.fcol ul a:hover {
    color: var(--green);
    transform: translateX(5px);
}

.fbot {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.fbot p {
    margin-bottom: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - Mobile First
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .svc-grid,
    .tgrid,
    .rgrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 0 40px;
    }

    .nav-logo {
        height: 70px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Hide top tabs on mobile */
    .top-tabs {
        display: none;
    }

    /* Hide desktop nav links, show mobile menu button */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-logo {
        height: 50px;
    }

    .nav-container {
        padding: 0 20px;
    }

    /* Sections */
    .sec {
        padding: 4rem 0;
    }

    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    .vals,
    .imp-grid,
    .tgrid2,
    .cs-grid {
        grid-template-columns: 1fr;
    }

    .apply-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gtabs {
        gap: 0.6rem;
    }

    .gtab {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .nav-logo {
        height: 45px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stitle {
        font-size: 1.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   UTILITY & ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */
*:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

button,
.btn,
a {
    transition: all 0.2s ease;
}

/* Smooth hover states */
button:hover,
.btn:hover,
a:hover {
    transition: all 0.2s ease;
}