:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --strive-color: #059669;
    --attune-color: #3b82f6;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--strive-color), var(--attune-color));
}

h3 {
    font-size: 1.6rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--strive-color), var(--attune-color));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

/* Geometric SA Logo Styles */
.geometric-sa-logo {
    width: 45px;
    height: 45px;
    position: relative;
    margin-right: 12px;
}

.s-geometric {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 15px;
    background-color: var(--strive-color);
    border-radius: 7px 7px 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.a-geometric {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 25px;
    height: 15px;
    background-color: var(--attune-color);
    border-radius: 7px 7px 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.connector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 2px;
    background: linear-gradient(to right, var(--strive-color) 0%, var(--attune-color) 100%);
    border-radius: 1px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-text span.strive {
    color: var(--strive-color);
}

.logo-text span.attune {
    color: var(--attune-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Footer Logo */
.footer-geometric-sa-logo {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 15px;
}

.footer-s-geometric {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 18px;
    background-color: var(--strive-color);
    border-radius: 9px 9px 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.footer-a-geometric {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 18px;
    background-color: var(--attune-color);
    border-radius: 9px 9px 9px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.footer-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 3px;
    background: linear-gradient(to right, var(--strive-color) 0%, var(--attune-color) 100%);
    border-radius: 1.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0 6rem;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Philosophy Section */
.philosophy-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.philosophy-card {
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-10px);
}

.strive-card {
    border-top: 5px solid var(--strive-color);
}

.attune-card {
    border-top: 5px solid var(--attune-color);
}

.philosophy-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.strve-icon {
    color: var(--strive-color);
}

.attune-icon {
    color: var(--attune-color);
}

/* Services */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--strive-color), var(--attune-color));
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Expertise */
.expertise-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.category-card h4 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.category-icon {
    margin-right: 10px;
    color: var(--primary);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Process */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(to right, var(--strive-color), var(--attune-color));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Stats */
.stats {
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.stats h2 {
    color: white;
}

.stats h2:after {
    background: white;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--strive-color), var(--attune-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-action {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.footer-logo-text span.strive {
    color: var(--strive-color);
}

.footer-logo-text span.attune {
    color: var(--attune-color);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .philosophy-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: var(--shadow);
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0 0 1.5rem 0;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

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

    .services-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .geometric-sa-logo {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .s-geometric {
        width: 22px;
        height: 13px;
        font-size: 0.8rem;
    }

    .a-geometric {
        width: 22px;
        height: 13px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

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

    .logo-text {
        font-size: 1.2rem;
    }

    .geometric-sa-logo {
        width: 35px;
        height: 35px;
    }

    .s-geometric {
        width: 20px;
        height: 12px;
        font-size: 0.7rem;
    }

    .a-geometric {
        width: 20px;
        height: 12px;
        font-size: 0.7rem;
    }
}