@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Design Variables */
:root {
    --primary: #72a717;
    --primary-hover: #5a8511;
    --primary-light: rgba(114, 167, 23, 0.1);
    --primary-glow: rgba(114, 167, 23, 0.25);
    --dark: #363636;
    --dark-rgb: 54, 54, 54;
    --dark-light: #4c4c4c;
    --dark-dark: #222222;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --light-gray: #e5e7eb;

    --text-dark: #363636;
    --text-muted: #6b7280;
    --text-light: #ffffff;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    --max-width: 1200px;
    --header-height: 80px;
}

/* CSS Reset & Core Styling */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* Common Layout Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 96px 0;
}

.section-alt {
    background-color: var(--light-bg);
}

.section-dark {
    background-color: var(--dark);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

header.scrolled {
    background-color: rgba(54, 54, 54, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo-text-primary {
    color: var(--white);
}

header.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

header.scrolled .logo-ac {
    background-color: var(--primary);
    color: var(--white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.logo-ac {
    width: 44px;
    height: 44px;
}

.logo-text-primary {
    color: var(--dark);
    transition: var(--transition-normal);
}

.logo-text-secondary {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Call to Action Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark-light);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(114, 167, 23, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, var(--light-bg) 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-light);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--light-gray);
    padding-top: 32px;
}

.stat-item .stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image-backdrop {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    border-radius: var(--radius-xl);
}

.hero-img-wrapper {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 16px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-img {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    height: 400px;
}

.hero-floating-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background-color: var(--dark);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card-icon {
    font-size: 1.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.floating-card-subtitle {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 2px;
}

/* Feature/Trust Bar */
.trust-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 40px 0;
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-light);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Section Common Titles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(114, 167, 23, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 28px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    border-top: 1px solid var(--light-gray);
    padding-top: 24px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.service-list li:last-child {
    margin-bottom: 0;
}

.service-list li i {
    color: var(--primary);
    font-size: 0.95rem;
}

/* About Layout in Home */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--light-gray);
    color: var(--dark-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-split h2 {
    font-size: 2.75rem;
    margin-bottom: 24px;
}

.about-split p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-feature-item {
    display: flex;
    gap: 20px;
}

.feature-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    border: 2px solid var(--primary-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mentor Card */
.mentor-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.mentor-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.mentor-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mentor-avatar {
    width: 64px;
    height: 64px;
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.mentor-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.mentor-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.mentor-tag {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 4px;
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 36px auto;
}

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

.contact-info-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.contact-info-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-detail-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: var(--light-bg);
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-detail-value {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-detail-value a {
    color: var(--primary);
    font-weight: 500;
}

.contact-detail-value a:hover {
    text-decoration: underline;
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--light-bg);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-light);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    min-height: 120px;
    resize: none;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* Page Header Sub-Styles (For other pages) */
.page-header {
    background-color: var(--dark);
    color: var(--white);
    padding: calc(var(--header-height) + 56px) 0 56px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Standard Inner Page Content Styles */
.page-content {
    padding: 80px 0;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.text-container h2 {
    font-size: 1.75rem;
    margin: 40px 0 20px 0;
}

.text-container h2:first-of-type {
    margin-top: 0;
}

.text-container p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.text-container ul,
.text-container ol {
    margin-bottom: 24px;
    padding-left: 24px;
    color: var(--text-muted);
}

.text-container li {
    margin-bottom: 8px;
}

/* Footer Section */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo-ac {
    background-color: var(--primary);
}

.footer-brand .logo-text-primary {
    color: var(--white);
}

.footer-desc {
    line-height: 1.6;
}

.footer-title {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info p {
    display: flex;
    gap: 12px;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

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

/* Custom Modal Components (for secure alerts) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(54, 54, 54, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid var(--light-gray);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(114, 167, 23, 0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px auto;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal-message {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Mobile Menu Button & Responsive adjustments */
.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    color: var(--dark);
}

header.scrolled .menu-btn {
    color: var(--white);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(114, 167, 23, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(114, 167, 23, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(114, 167, 23, 0);
    }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 36px auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-floating-card {
        right: 0;
        bottom: 0;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

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

    .section {
        padding: 64px 0;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-img {
        height: 300px;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        padding: 48px 24px;
        gap: 28px;
        transition: var(--transition-normal);
        border-top: 1px solid var(--light-gray);
        box-shadow: var(--shadow-md);
    }

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

    header.scrolled .nav-links {
        background-color: var(--dark);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}