/* Font Import - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    /* Brand Colors - Updated for vibrancy */
    --primary-dark: #0056b3;
    /* Brighter Blue */
    --primary-light: #2c7da0;
    /* Brighter Slate Blue */
    --accent-teal: #00bcd4;
    /* Vibrant Cyan/Teal */
    --accent-green: #2ecc71;
    /* Vibrant Emerald Green */
    --accent-green-dark: #27ae60;
    --accent-green-light: #58d68d;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #ffffff;
    --bg-off-white: #f4f8fb;

    /* Layout */
    --container-width: 1200px;
    --header-height: 110px;
    /* Increased to accommodate larger logo */
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-off-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-dark);
}

.text-accent {
    color: var(--accent-green-dark);
}

.text-gradient {
    background: linear-gradient(120deg, var(--primary-light), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
}

.section-padding {
    padding: 100px 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
}

/* --- Header --- */
.site-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo img {
    height: 130px;
    /* Increased size significantly */
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 150px;
    background: linear-gradient(135deg, var(--bg-off-white) 0%, #eef6f6 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    color: var(--primary-dark);
    max-width: 800px;
    margin-bottom: 30px;
}

.hero-content h1 span {
    color: var(--accent-teal);
    /* Highlight color */
    background: linear-gradient(120deg, var(--primary-light), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Unique geometric accent for hero */
.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(95, 185, 123, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

/* --- Features / Value Prop --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Lowered min width slightly */
    gap: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border-top: 5px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--accent-green);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* --- The Method Section --- */
.method-section {
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--primary-dark);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    background: var(--bg-off-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.pillar-card:hover {
    box-shadow: var(--shadow-lg);
    background: white;
}

.pillar-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -20px;
    color: var(--primary-dark);
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

/* --- NEW: Content Grids (Replaces Inline Styles) --- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* --- About Preview --- */
.about-preview {
    background: var(--primary-dark);
    color: white;
    padding: 100px 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: white;
}

.founders-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* --- Founders --- */
.founder-img {
    height: 250px;
    /* Smaller height as requested */
    width: auto;
    /* Allow width to adjust naturally */
    max-width: 100%;
    margin: 0 auto;
    /* Center if container is wider */
    display: block;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    /* No filters as requested for clear images */
    transition: transform 0.3s;
}

.founder-img:hover {
    filter: none;
}

/* --- New Founders Grid --- */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Footer --- */
footer {
    background: #052044;
    /* Darker Navy */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: white;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--accent-green);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    font-size: 0.9rem;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

/* --- Responsive Media Queries --- */

/* Tablet & Smaller Laptops */
@media (max-width: 992px) {
    .pillar-grid,
    .hero-grid,
    .about-preview-grid,
    .story-grid,
    /* New */
    .service-detail-grid,
    /* New */
    .contact-grid,
    /* New */
    .footer-grid

    /* New: Footer Stacking */
        {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .founders-img-grid {
        max-width: 500px;
        margin: 0 auto;
    }

    .pillar-detail-card {
        padding: 40px;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Reduce padding */

    .nav-links {
        display: none;
        /* Add JS toggle later */
    }

    .mobile-menu-btn {
        display: block;
    }

    .founders-img-grid {
        grid-template-columns: 1fr;
        /* Stack founders images on mobile */
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .site-logo img {
        height: 60px;
        /* Smaller logo on mobile */
    }
}