/* ===================================
   Culture2 Tech - Premium Food Distribution
   Corporate Website Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --accent-color: #D4A574;
    --accent-dark: #B8956A;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --bg-gradient-green: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Rubber Band Animation for Icons */
@keyframes rubberBand {
    0% {
        transform: scale3d(1, 1, 1);
    }

    30% {
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation variants */
.reveal-on-scroll.slide-left {
    transform: translateX(-50px);
}

.reveal-on-scroll.slide-left.visible {
    transform: translateX(0);
}

.reveal-on-scroll.slide-right {
    transform: translateX(50px);
}

.reveal-on-scroll.slide-right.visible {
    transform: translateX(0);
}

.reveal-on-scroll.scale-in {
    transform: scale(0.8);
}

.reveal-on-scroll.scale-in.visible {
    transform: scale(1);
}

.reveal-on-scroll.slide-up {
    transform: translateY(30px);
}

.reveal-on-scroll.slide-up.visible {
    transform: translateY(0);
}

/* Staggered delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}


/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    animation: pageLoad 0.5s ease-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -56px;
    left: 24px;
    background: var(--primary-dark);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    z-index: 10001;
    box-shadow: var(--shadow-md);
}

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

main[id],
main [id] {
    scroll-margin-top: 110px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(46, 125, 50, 0.35);
    outline-offset: 3px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s ease;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
    background-image: url('../images/hero_banner_1768877758186.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: float-up var(--duration) linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn:active {
    transform: scale(0.98) translateY(0px) !important;
    /* Button Press Effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

/* Button shine effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}


.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Creates stacking context so shine is above background */
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

/* Shine effect for outline button */
.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Button shine effect - duplicated from btn-primary */
.btn-cta::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: 0.5s;
    z-index: -1;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 24px;
    position: relative;
}

.section-title.text-center {
    text-align: center;
}

/* Title decorative line */
.section-title.text-center::after,
.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-content p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.section-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-medium);
}

.section-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* Who We Are */
.who-we-are {
    background: var(--bg-white);
}

/* What Makes Us Different */
.different-section {
    background: var(--bg-gradient-green);
    position: relative;
    /* Borders removed based on feedback */
}

.different-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(46, 125, 50, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

/* Left border accent */
.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Background pattern */
.feature-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.12);
    background: white;
}


.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-icon:hover {
    animation: rubberBand 1s;
    /* Replaced bounce with rubberBand */
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-color);
    margin-top: 24px;
}

/* Commitment Section */
.commitment-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Texture */
.commitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.commitment-section .section-title {
    color: white;
    position: relative;
    z-index: 2;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.commitment-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.commitment-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-watermark {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
    transition: var(--transition-medium);
}

.commitment-card:hover .card-watermark {
    transform: translate(-10px, 10px) scale(1.1);
    color: rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.commitment-card h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
}

.commitment-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
}


/* Services Preview */
.services-preview {
    background: var(--bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 32px;
}

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

/* Image overlay on hover */
/* Image wrapper to contain overlay */
.service-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

/* Image overlay on hover - applied to wrapper */
.service-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(46, 125, 50, 0.7),
            rgba(212, 165, 116, 0.7));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .service-img-wrapper::before {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}



.service-card img {
    width: 100%;
    height: 100%;
    /* Match wrapper height */
    object-fit: cover;
    transition: var(--transition-medium);
}


.service-card-content {
    padding: 20px;
    background: white;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.section-note {
    color: var(--text-light);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: var(--bg-gradient-green);
    padding: 100px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Specific overrides to match Hero style */
.cta-section .btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
}

.cta-section .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.cta-section .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-section .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 15px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Floating Contact Button */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition-medium);
    animation: float 3s ease-in-out infinite;
}

/* Pulse ring effect */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(46, 125, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.floating-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.15);
    animation: none;
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.5);
}

.floating-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-menu h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.qr-code-box {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.qr-code-box img {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
}

.contact-link span {
    font-size: 1.2rem;
}


/* ===================================
   About Page
   =================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Add a subtle decorative element instead of image */
.about-intro::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text p.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 32px;
}

.mission-highlight {
    background: linear-gradient(to right, var(--bg-cream), transparent);
    border-left: 4px solid var(--primary-color);
    padding: 24px 32px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
}

.mission-highlight p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
}

.vision-section {
    background: var(--bg-gradient-green);
    padding: 100px 0;
    position: relative;
    /* Divider removed based on feedback */
}

.vision-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.vision-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.vision-box p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.values-section {
    background: var(--bg-white);
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    padding: 32px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

/* Left border accent */
.value-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-icon:hover {
    animation: pulse 0.6s ease;
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-medium);
}

/* ===================================
   Services Page
   =================================== */
.service-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.service-section[data-service-number="02"],
.service-section[data-service-number="04"] {
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
}

/* Service color theming */
.service-section[data-service-number="01"] {
    --service-color: #2E7D32;
}

.service-section[data-service-number="02"] {
    --service-color: #1976D2;
}

.service-section[data-service-number="03"] {
    --service-color: #D84315;
}

.service-section[data-service-number="04"] {
    --service-color: #7B1FA2;
}

.service-section[data-service-number="05"] {
    --service-color: #0097A7;
}

/* Decorative circle */
.service-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--service-color, var(--primary-color)) 0%, transparent 70%);
    opacity: 0.04;
    border-radius: 50%;
    pointer-events: none;
}

/* Large number watermark */
.service-section::after {
    content: attr(data-service-number);
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 150px;
    font-weight: bold;
    color: var(--service-color);
    opacity: 0.03;
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
}

.service-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-header h2 {
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-header p {
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse>* {
    direction: ltr;
}

.service-text h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.service-text ul {
    margin-bottom: 20px;
}

.service-text li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.service-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-medium);
}

.service-image:hover img {
    transform: scale(1.03) translateY(-5px);
    /* Added subtle zoom */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Contact Page
   =================================== */
.contact-section {
    background: var(--bg-gradient-green);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.form-intro {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.contact-intent {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--text-medium);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
    /* Focus Glow */
    background: #f8fdf8;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.turnstile-wrap {
    margin-bottom: 24px;
}

.contact-direct-link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-direct-link:hover {
    text-decoration: underline;
}

.form-status {
    min-height: 1.6em;
    margin-top: 16px;
    font-size: 0.95rem;
}

.form-status.is-success {
    color: var(--primary-dark);
}

.form-status.is-error {
    color: #b3261e;
}

.contact-form .btn[disabled] {
    opacity: 0.72;
    cursor: wait;
    pointer-events: none;
}

.contact-info h3 {
    margin-bottom: 32px;
    color: var(--primary-dark);
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(212, 165, 116, 0.2));
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.info-text a {
    color: var(--primary-color);
}

.info-text a:hover {
    text-decoration: underline;
}

.wechat-qr {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.wechat-qr h4 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border: 2px dashed var(--border-color);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {

    .section-grid,
    .contact-content,
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .section-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 70px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .floating-contact-container {
        right: 20px;
        bottom: 20px;
    }

    .floating-menu {
        width: min(320px, calc(100vw - 32px));
    }
}

@media (max-width: 480px) {

    .features-grid,
    .services-grid,
    .commitment-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .contact-form-actions {
        align-items: stretch;
    }

    .contact-direct-link {
        width: 100%;
    }

    .floating-contact-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .floating-menu {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 84px;
        width: auto;
    }

    .floating-btn {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
