/* === GLOBAL & VARIABLES === */
:root {
    --primary-color: #007bff; /* A strong, trustworthy blue */
    --primary-hover: #0056b3;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #34495e;
    --white-color: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* === HEADER / NAVIGATION === */
.header {
    background: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced gap slightly for more links */
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem; /* Slightly smaller for more links */
    transition: color 0.3s ease;
}

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


/* === HERO SECTION (HEADER SPACING FIX) === */
.hero {
    background: var(--light-color);
    min-height: 70vh; /* Reduced from 80vh */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0; /* Reduced from 100px */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.hero-subhead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: var(--text-color);
}

/* === SERVICES / SOLUTIONS / WHY-US SECTION === */
.services {
    padding: 100px 0;
    background: var(--white-color);
}

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

.service-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* === PROCESS SECTION === */
.process {
    padding: 100px 0;
    background: var(--light-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.1);
}

.process-step h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* === VIDEO INSIGHTS (NEW SECTION) === */
.video-insight {
    padding: 100px 0;
    background: var(--white-color);
    border-top: 1px solid var(--border-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* === FOUNDER'S VISION SECTION === */
.founder-vision {
    background: var(--light-color);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.founder-vision .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
}

.founder-image {
    flex-basis: 300px;
    flex-shrink: 0;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 6px solid var(--white-color);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Focus on the top part of the image */
}

.founder-bio {
    flex-basis: 60%;
}

.founder-bio h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.founder-bio p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-color);
}

.founder-bio p strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    padding: 100px 0;
    background: var(--white-color);
    border-top: 1px solid var(--border-color);
}

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

.testimonial-card {
    background: var(--white-color);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* === FAQs (NEW SECTION) === */
.faq {
    padding: 100px 0;
    background: var(--white-color);
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:first-of-type {
    border-top: 1px solid var(--border-color);
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    padding: 20px 0;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 30px;
}

/* Custom Accordion Arrow */
.faq-item summary::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-content {
    padding-bottom: 20px;
}
.faq-content p {
    line-height: 1.8;
}


/* === FINAL CTA SECTION === */
.final-cta {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* === FOOTER === */
.footer {
    background: #1c2833;
    color: #aeb6bf;
    padding: 30px 0;
    text-align: center;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .services-grid,
    .testimonial-grid,
    .services-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }

    .founder-vision .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-subhead {
        font-size: 1.1rem;
    }
    
    .section-header h2,
    .final-cta h2 {
        font-size: 2.2rem;
    }

    .services-grid,
    .testimonial-grid,
    .services-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Menu - Simple Stack */
    .nav-menu {
        display: none; /* Hide menu for a simple mobile view. Can add a burger later. */
    }
    .navbar .btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}
