/* 
  Theme Colors:
  Primary Green: rgb(28, 118, 16) / #1c7610
  White: rgb(255, 255, 255) / #ffffff
  Light Backgrounds: #f8faf8
  Dark Text: #1a1a1a
  Gray Text: #666666
*/

:root {
    --primary-color: rgb(28, 118, 16);
    --primary-light: rgba(28, 118, 16, 0.1);
    --primary-hover: rgb(22, 94, 13);
    --white: #ffffff;
    --dark-bg: #0a0f0a;
    --text-main: #1a201b;
    --text-muted: #5c665e;
    --bg-light: #f7fbf7;
    --border-color: #e2e8e2;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(28, 118, 16, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 118, 16, 0.3);
}

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

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

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

.nav-links a:not(.btn-primary-outline):hover::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.center-underline {
    margin: 0 auto;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80vh;
    height: 80vh;
    background: radial-gradient(circle, rgba(28,118,16,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

.blob-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background-color: rgba(28, 118, 16, 0.3);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphing 10s infinite alternate;
}

.blob-2 {
    bottom: 10%;
    left: 10%;
    width: 250px;
    height: 250px;
    background-color: rgba(144, 206, 136, 0.4);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphing 8s infinite alternate-reverse;
}

@keyframes morphing {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1.1); }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 260px;
    position: absolute;
}

.glass-card:nth-child(1) {
    top: 15%;
    left: 5%;
    z-index: 2;
}

.glass-card:nth-child(2) {
    bottom: 15%;
    right: 5%;
    z-index: 1;
}

.icon-large {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.glass-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.glass-card p {
    font-size: 0.9rem;
    margin: 0;
}

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

.delay-anim {
    animation-delay: 1.5s;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(28, 118, 16, 0.08);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Vision Section */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vision-quote {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
}

.stay-connected {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1rem;
}

.vision-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.card-2 {
    margin-left: 40px;
}

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

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

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

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

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

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.info-content a, .info-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-links-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.social-links-container h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.social-links-container p {
    margin-bottom: 30px;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    border-radius: 12px;
    background-color: var(--white);
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.social-btn.youtube:hover i { color: #FF0000; }
.social-btn.linkedin:hover i { color: #0077b5; }
.social-btn.instagram:hover i { color: #E1306C; }

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-main);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.footer-logo img {
    height: 40px;
    /* Removed filter to allow original logo colors to display clearly on white background */
}

footer p {
    color: var(--text-muted);
    margin: 0;
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s forwards;
}

.reveal-image {
    opacity: 0;
    transform: scale(0.9);
    animation: revealScale 1s forwards 0.3s;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-grid, .vision-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .hero-btns {
        justify-content: center;
    }
    
    .hero {
        padding-top: 120px;
    }

    .card-2 {
        margin-left: 0;
    }
    
    .vision-cards {
        order: 2;
    }
    
    .vision-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
    }

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

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
