/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    --primary-color: #2E7D32; /* Food/Growth Green */
    --secondary-color: #1565C0; /* Corporate Blue */
    --accent-color: #F9A826; /* Warning/Action Gold */
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

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

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-block {
    display: block;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.2;
}

.logo-text small {
    color: var(--text-light);
    font-size: 0.75rem;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    padding: 0;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s ease-in-out 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-controls button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary-color);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--secondary-color);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    border-radius: 15px;
    z-index: -1;
}

/* ==========================================================================
   Vision, Mission, Objective (Cards Grid)
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

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

.card p {
    color: var(--text-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: flex;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info > p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p, .info-item a {
    color: rgba(255, 255, 255, 0.8);
}

.info-item a:hover {
    color: var(--accent-color);
}

.contact-form-container {
    flex: 1;
    padding: 50px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    background: #fcfcfc;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0a192f;
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links a {
        display: block;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-info, .contact-form-container {
        padding: 30px 20px;
    }
}
