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

:root {
    --forest-green: #1F3D34;
    --sage-green: #8FAE9E;
    --warm-beige: #F5F2EA;
    --gold-accent: #C9A96A;
    --text-dark: #2C3E50;
    --text-light: #566573;
    --white: #FFFFFF;
    
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 40px rgba(31, 61, 52, 0.06);
    --border-radius: 30px;
}

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

html {
    background-color: var(--forest-green);
}

body {
    font-family: var(--body-font);
    background-color: var(--warm-beige);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 1440px;
    margin: 0 auto;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.4);
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--forest-green);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Header & Navigation */
header {
    background: rgba(245, 242, 234, 0.98);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(31, 61, 52, 0.1);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--body-font);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--forest-green);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(31, 61, 52, 0.2);
}

.btn-primary:hover {
    background-color: var(--sage-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 61, 52, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--forest-green);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(143, 174, 158, 0.1) 0%, rgba(245, 242, 234, 1) 100%);
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--forest-green);
    color: var(--warm-beige);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links h4 {
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-links a {
    color: rgba(245, 242, 234, 0.8);
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 242, 234, 0.1);
    font-size: 0.9rem;
    color: rgba(245, 242, 234, 0.5);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Card Enhancements */
.problem-card, .process-card, .pricing-card, .mission-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.problem-card:hover, .process-card:hover, .pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 61, 52, 0.12);
}

/* Responsive */
@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .navbar { justify-content: space-between; }
}

@media (max-width: 768px) {
    .hero { padding: 5rem 0; }
    .hero h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2.2rem; }
    .btn-header { display: none; } /* Hide the header button on small mobile if needed or use hamburger */
}
/* Arch Images Styling */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.arch-item {
    position: relative;
    overflow: hidden;
    border-radius: 150px 150px 0 0;
    aspect-ratio: 2/3;
    transition: var(--transition);
    box-shadow: var(--shadow);
    background: var(--forest-green);
    display: block;
}

.arch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.3s ease;
}

.arch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(to top, rgba(31, 61, 52, 0.9) 0%, rgba(31, 61, 52, 0.4) 60%, transparent 100%);
    color: white;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.arch-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.arch-overlay p {
    font-size: 0.9rem;
    color: rgba(245, 242, 234, 0.8);
    opacity: 0;
    transition: var(--transition);
}

.arch-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(31, 61, 52, 0.2);
}

.arch-item:hover img {
    transform: scale(1.1);
    opacity: 0.7;
}

.arch-item:hover .arch-overlay {
    transform: translateY(0);
}

.arch-item:hover .arch-overlay p {
    opacity: 1;
}

/* Footer Logo Adjustments */
.footer-logo img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    opacity: 0.8;
}

/* SEO improvements - accessibility */
.nav-links a:focus {
    outline: 2px solid var(--gold-accent);
    outline-offset: 4px;
}

/* Premium Sidebar Redesign */
.sidebar {
    width: 280px;
    background: var(--forest-green);
    color: white;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--warm-beige);
    margin-bottom: 4rem;
    padding-left: 1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-brand i {
    color: var(--gold-accent);
    font-size: 1.4rem;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.8rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    border-radius: 18px;
    color: rgba(245, 242, 234, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav a i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateX(5px);
}

.sidebar-nav a.active {
    background: var(--warm-beige);
    color: var(--forest-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-nav a.active i {
    color: var(--forest-green);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer a {
    color: #ff9999;
    font-weight: 600;
}

/* Dashboard Container Fix */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #fdfdfd;
}

@media (max-width: 1024px) {
    .sidebar { width: 240px; }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 80px;
        flex-direction: row;
        padding: 0.5rem 1rem;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        align-items: center;
        justify-content: center;
    }
    .sidebar-brand { display: none; }
    .sidebar-nav { width: 100%; }
    .sidebar-nav ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .sidebar-nav li { margin-bottom: 0; }
    .sidebar-nav a {
        flex-direction: column;
        gap: 5px;
        padding: 0.8rem;
        font-size: 0.75rem;
        border-radius: 12px;
    }
    .sidebar-nav a i { font-size: 1.1rem; }
    .sidebar-footer { display: none; }
    .main-content { margin-left: 0 !important; padding: 1.5rem; margin-bottom: 100px; }
}

/* Form Styling - Premium */
.form-control {
    width: 100%;
    padding: 1.2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
    background: #fdfdfd;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn-portal {
    padding: 1.2rem 2rem;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
}
