/* ===============================================
   ECOFERT GHANA - MODERN STYLING
   Color Scheme: Green, Yellow, White
   =============================================== */

/* CSS Variables for Consistent Color Scheme */
:root {
    /* Primary Colors */
    --primary-green: #2e7d32;
    --primary-green-dark: #1b5e20;
    --primary-green-light: #4caf50;
    --secondary-yellow: #ffeb3b;
    --secondary-yellow-dark: #f57f17;
    --secondary-yellow-light: #fff176;
    --pure-white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e8f5e8;
    
    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-medium: #424242;
    --text-light: #666666;
    --border-light: #e0e0e0;
    
    /* Gradients */
    --green-gradient: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    --yellow-gradient: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--secondary-yellow-light) 100%);
    --hero-gradient: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 50%, var(--secondary-yellow) 100%);
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(46, 125, 50, 0.1);
    --shadow-medium: 0 4px 20px rgba(46, 125, 50, 0.15);
    --shadow-heavy: 0 8px 30px rgba(46, 125, 50, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ===============================================
   RESET & BASE STYLES
   =============================================== */

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

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

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

/* ===============================================
   UTILITY CLASSES
   =============================================== */

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--pure-white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.skip-link:focus {
    top: 6px;
}

/* ===============================================
   HEADER STYLES - GREEN & WHITE THEME
   =============================================== */

header {
    background: var(--green-gradient);
    box-shadow: var(--shadow-medium);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--pure-white);
    transition: var(--transition-smooth);
}

.logo-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.company-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--pure-white);
    transition: var(--transition-smooth);
}



.logo {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-login:hover {
    background: var(--pure-white);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-signup {
    background: var(--secondary-yellow);
    color: var(--primary-green);
    border: 2px solid var(--secondary-yellow);
}

.btn-signup:hover {
    background: var(--secondary-yellow-dark);
    border-color: var(--secondary-yellow-dark);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===============================================
   MAIN CONTENT - BODY STYLES
   =============================================== */

main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Swiper Container Styles */
.swiper-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8) 0%, rgba(76, 175, 80, 0.6) 50%, rgba(255, 235, 59, 0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--pure-white);
    max-width: 800px;
    padding: 2rem;
    animation: slideInUp 1s ease-out;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    color: var(--pure-white) !important;
    background: rgba(46, 125, 50, 0.8);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    margin-top: -25px !important;
    transition: var(--transition-smooth);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary-green);
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px !important;
}

.swiper-pagination-bullet {
    background: var(--pure-white) !important;
    opacity: 0.7 !important;
    transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-yellow) !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
    background: var(--hero-gradient);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--pure-white);
}

.hero-text-wrapper h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-text-wrapper p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-heavy);
}

.highlight-item i {
    font-size: 3rem;
    color: var(--secondary-yellow);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.highlight-item span {
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* ===============================================
   SECTION STYLES
   =============================================== */

section {
    padding: 6rem 0;
    position: relative;
}

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

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

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: var(--secondary-yellow);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: slideInLeft 0.8s ease-out;
}

.section-text h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.section-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-medium);
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.section-illustration {
    animation: slideInRight 0.8s ease-out 0.6s both;
}

.section-illustration img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.section-illustration img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--secondary-yellow);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: var(--font-weight-medium);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-green);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===============================================
   BUTTON STYLES
   =============================================== */

.btn-primary {
    background: var(--green-gradient);
    color: var(--pure-white);
    border: 2px solid var(--primary-green);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-accent {
    background: var(--secondary-yellow);
    color: var(--primary-green);
    border: 2px solid var(--secondary-yellow);
    box-shadow: var(--shadow-light);
}

.btn-accent:hover {
    background: var(--secondary-yellow-dark);
    border-color: var(--secondary-yellow-dark);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.classy-btn {
    position: relative;
    overflow: hidden;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.classy-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-smooth);
}

.classy-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */

.contact-layout {
    grid-template-columns: 1fr 1fr;
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: var(--secondary-yellow);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--primary-green);
}

.contact-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.contact-image-container img {
    transition: var(--transition-smooth);
}

.contact-image-container:hover img {
    transform: scale(1.1);
}

/* ===============================================
   NEWSLETTER SECTION
   =============================================== */

.newsletter-section {
    background: var(--green-gradient);
    color: var(--pure-white);
    text-align: center;
}

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

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    background: var(--pure-white);
    box-shadow: var(--shadow-medium);
}

.subscribe-btn {
    background: var(--secondary-yellow);
    color: var(--primary-green);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscribe-btn:hover {
    background: var(--secondary-yellow-dark);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    font-size: 0.9rem;
    opacity: 0.9;
}

.privacy-note input[type="checkbox"] {
    margin-top: 0.2rem;
}

.privacy-link {
    color: var(--secondary-yellow);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.privacy-link:hover {
    text-decoration: underline;
}

/* ===============================================
   FOOTER STYLES - GREEN & WHITE THEME
   =============================================== */

footer {
    background: var(--green-gradient);
    color: var(--pure-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1.5rem;
    color: var(--secondary-yellow);
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--pure-white);
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.footer-about {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--pure-white);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-yellow);
    transition: var(--transition-smooth);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: var(--secondary-yellow);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--secondary-yellow);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: var(--pure-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--secondary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--secondary-yellow);
    color: var(--primary-green);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* ===============================================
   ANIMATIONS
   =============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-green);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-heavy);
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Section Mobile */
    .hero-text-wrapper h1 {
        font-size: 2.5rem;
    }
    
    .hero-text-wrapper p {
        font-size: 1.1rem;
    }
    
    .service-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Section Content Mobile */
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .section-text h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Swiper Mobile */
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    /* Newsletter Mobile */
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 15px;
    }
    
    .subscribe-btn {
        border-radius: 15px;
        justify-content: center;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text-wrapper h1 {
        font-size: 2rem;
    }
    
    .section-text h2 {
        font-size: 1.75rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .service-highlights {
        padding: 0 1rem;
    }
    
    .highlight-item {
        padding: 1.5rem;
    }
    
    .highlight-item i {
        font-size: 2rem;
    }
}

/* ===============================================
   ACCESSIBILITY IMPROVEMENTS
   =============================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for better accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--secondary-yellow);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #1b5e20;
        --secondary-yellow: #ffc107;
        --text-dark: #000000;
        --text-medium: #333333;
    }
}




.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-header {
    padding: 10px 16px;
    border-bottom: 1px solid #ddd;
}

.user-dropdown #dropdown-user-name {
    font-weight: bold;
}

.user-dropdown #dropdown-user-email {
    font-size: 0.8em;
    color: #555;
}

.user-dropdown .dropdown-content a i {
    margin-right: 10px;
}

.user-dropdown .dropdown-content {
    display: none;
    position: absolute;
    left: 50%; /* Center the dropdown horizontally */
    transform: translateX(-50%); /* Adjust for half its own width to truly center */
    top: 100%; /* Position directly below the parent */
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.user-dropdown .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.user-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.user-dropdown:hover .dropdown-content {
    display: block;
}

/* Style for the profile avatar */
.profile-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-avatar .initials {
    font-size: 18px;
    font-weight: bold;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Christmas Tree Icon */
.christmas-tree-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 50px;
    color: #2e7d32; /* Primary green color */
    z-index: 1001;
    pointer-events: none;
}

/* Jingle Stars Icon */
.jingle-stars-icon {
    position: fixed;
    top: 10px;
    right: 30px;
    z-index: 1001;
    pointer-events: none;
}

.jingle-stars-icon .fas.fa-star {
    position: absolute;
    color: #ffd700; /* Gold color */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    animation: swing 2s ease-in-out infinite;
    transform-origin: top center;
}

.jingle-stars-icon .star1 {
    font-size: 40px;
    top: 0;
    right: 0;
}

.jingle-stars-icon .star2 {
    font-size: 30px;
    top: 30px;
    right: 40px;
    animation-delay: 0.2s;
}

.jingle-stars-icon .star3 {
    font-size: 20px;
    top: 10px;
    right: 60px;
    animation-delay: 0.4s;
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}


/* Christmas Greeting Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hide by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.show {
    display: flex; /* Show when class is added */
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 1rem;
}

.modal-header .fa-tree {
    color: var(--primary-green);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-weight: var(--font-weight-bold);
    color: var(--primary-green-dark);
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ceo-signature {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-green);
}

.ceo-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    margin-bottom: 1rem;
}
