/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

/* ===== MODERN AGRICULTURAL COLOR PALETTE ===== */
:root {
    /* Monochromatic Blue Color Family - Professional & Cohesive */
    --primary-color: #3b82f6;
    /* Pure blue - main brand color */
    --primary-light: #60a5fa;
    /* Light blue - soft accents */
    --primary-lighter: #93c5fd;
    /* Lighter blue - subtle backgrounds */
    --primary-dark: #2563eb;
    /* Dark blue - strong elements */
    --primary-darker: #1d4ed8;
    /* Darker blue - deep accents */
    --secondary-color: #1e40af;
    /* Deep blue - secondary elements */
    --secondary-light: #3b82f6;
    /* Medium blue - highlights */
    --tertiary-color: #0ea5e9;
    /* Sky blue - fresh accents */
    --accent-color: #0284c7;
    /* Ocean blue - special elements */
    --accent-light: #0ea5e9;
    /* Light ocean blue - soft touches */
    --saffron-color: #1e40af;
    /* Deep blue heritage */
    --saffron-light: #3b82f6;
    /* Medium blue accent */
    --green-vibrant: #0ea5e9;
    /* Sky blue energy */
    --green-fresh: #60a5fa;
    /* Fresh light blue */

    /* Blue family nature-inspired colors */
    --earth-brown: #1e40af;
    /* Deep blue earth */
    --leaf-green: #0ea5e9;
    /* Sky blue leaves */
    --sky-blue: #0284c7;
    /* Clear ocean blue */
    --sun-yellow: #60a5fa;
    /* Light blue sun */
    --flower-purple: #2563eb;
    /* Blue flower fields */

    /* Text colors - Natural & readable */
    --text-primary: #0f172a;
    /* Deep charcoal - strong contrast */
    --text-secondary: #334155;
    /* Medium slate - readable secondary */
    --text-muted: #64748b;
    /* Light slate - subtle text */
    --text-light: #94a3b8;
    /* Very light - captions */

    /* Background colors - Clean & fresh */
    --bg-primary: #ffffff;
    /* Pure white - clean base */
    --bg-secondary: #f8fafc;
    /* Very light gray - subtle sections */
    --bg-tertiary: #f1f5f9;
    /* Light gray - cards */
    --bg-accent: #ecfdf5;
    /* Very light green - highlights */
    --bg-warm: #fefce8;
    /* Warm cream - cozy sections */
    --bg-cool: #f0f9ff;
    /* Cool blue - tech sections */

    /* Border and surface colors */
    --border-color: #e2e8f0;
    /* Light border - subtle separation */
    --border-light: #f1f5f9;
    /* Very light border */
    --border-accent: #d1fae5;
    /* Green tinted border */
    --surface-elevated: #ffffff;
    /* Elevated surfaces */

    /* Modern Agricultural gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #0ea5e9 100%);
    --gradient-nature: linear-gradient(135deg, #0ea5e9 0%, #60a5fa 100%);
    --gradient-harvest: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-sky: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    --gradient-earth: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    --gradient-fresh: linear-gradient(135deg, #93c5fd 0%, #3b82f6 100%);
    --gradient-warm: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-cool: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
    --gradient-innovation: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-creative: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-success: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);

    /* Modern shadows with blue undertones */
    --shadow-sm: 0 1px 2px rgba(59, 130, 246, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(59, 130, 246, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(59, 130, 246, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(59, 130, 246, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(59, 130, 246, 0.15), 0 12px 20px rgba(0, 0, 0, 0.08);

    /* Modern glassmorphism effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Modern blur effects */
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    --blur-lg: blur(16px);
    --shadow-xl: 0 20px 25px rgba(22, 163, 74, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(22, 163, 74, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);

    /* Modern border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.75rem;
    --radius-3xl: 2rem;
}







/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

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

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

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.slide-in-top {
    animation: slideInFromTop 0.8s ease-out forwards;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(16, 185, 129, 0.9) 50%, rgba(5, 150, 105, 0.9) 100%);
    backdrop-filter: var(--blur-lg);
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInFromTop 0.8s ease-out;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.98) 0%, rgba(16, 185, 129, 0.95) 50%, rgba(5, 150, 105, 0.95) 100%);
    box-shadow: 0 4px 25px rgba(34, 197, 94, 0.25);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-img {
    width: 200px;
    height: 75px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.nav-logo h2 {
    background: var(--gradient-nature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-2xl);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    text-align: center;
    white-space: nowrap;
    line-height: 1.5;
}

.btn::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.6s;
}

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

.btn-primary {
    background: var(--gradient-nature);
    color: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    background: var(--gradient-fresh);
}

.btn-primary:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Enhanced button for forms */
.contact-form .btn-primary {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.35);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 90px 0 50px;
    /* Removed fixed background to allow dynamic layers */
}

/* Removed ::before pseudo-element to prevent conflicts with dynamic background layers */

/* Hero Background Layers for Smooth Transitions */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: -1;
}

#bg-layer-1 {
    background-image: url('herobg.jpeg');
    opacity: 1;
}

#bg-layer-2 {
    background-image: url('bg1.jpeg');
}

#bg-layer-3 {
    background-image: url('bg2.jpeg');
}

#bg-layer-4 {
    background-image: url('bg6.png');
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%, 20% 80%, 80% 20%;
        filter: hue-rotate(0deg);
    }

    25% {
        background-position: 50% 0%, 40% 60%, 60% 40%;
        filter: hue-rotate(5deg);
    }

    50% {
        background-position: 100% 50%, 60% 40%, 40% 60%;
        filter: hue-rotate(10deg);
    }

    75% {
        background-position: 50% 100%, 80% 20%, 20% 80%;
        filter: hue-rotate(5deg);
    }
}

@keyframes leafSway {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(2deg) scale(1.02);
    }

    50% {
        transform: rotate(0deg) scale(1.05);
    }

    75% {
        transform: rotate(-2deg) scale(1.02);
    }
}

@keyframes growthPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }

    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-xl);
    }
}

.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="agri-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23agri-pattern)"/></svg>');
    opacity: 0.6;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

/* Separated Hero Title Section */
.hero-title-section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-2xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.hero-title-section h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    min-height: 1.2em;
}

.hero-text {
    color: white;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

/* Remove the old h1 styles since it's now in hero-title-section */

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 0.8rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.hero-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.hero-image-placeholder {
    width: 760px;
    height: 285px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg at 50% 50%,
            rgba(255, 255, 255, 0.1) 0deg,
            transparent 60deg,
            rgba(255, 255, 255, 0.05) 120deg,
            transparent 180deg,
            rgba(255, 255, 255, 0.08) 240deg,
            transparent 300deg,
            rgba(255, 255, 255, 0.1) 360deg);
    animation: rotate 20s linear infinite;
    border-radius: 50%;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Hero Profile Image Styles */
.hero-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-2xl);
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.hero-profile-image:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.3);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.image-overlay span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.image-overlay small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.hero-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.decoration-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    animation: floatAround 8s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.decoration-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.decoration-item:nth-child(1) {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.decoration-item:nth-child(2) {
    top: 20%;
    right: -15%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: 1px solid rgba(240, 147, 251, 0.3);
}

.decoration-item:nth-child(3) {
    bottom: 20%;
    left: -15%;
    animation-delay: 4s;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.decoration-item:nth-child(4) {
    bottom: 10%;
    right: -10%;
    animation-delay: 6s;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border: 1px solid rgba(67, 233, 123, 0.3);
}

.decoration-item i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.decoration-item span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes floatAround {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about-preview::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 200 200"><defs><pattern id="leaf-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M30 10 Q40 20 30 30 Q20 20 30 10" fill="rgba(22,163,74,0.03)" stroke="rgba(22,163,74,0.05)" stroke-width="0.5"/></pattern></defs><rect width="200" height="200" fill="url(%23leaf-pattern)"/></svg>');
    opacity: 0.4;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s ease-out;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    animation: fadeInRight 0.8s ease-out;
}

.image-placeholder {
    width: 700px;
    height: 260px;
    background: var(--gradient-nature);
    border-radius: var(--radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
    font-size: 6rem;
    color: white;
}

/* About Profile Image Styles */
.about-profile-image,
.about-profile-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-2xl);
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(43, 92, 230, 0.1),
        0 8px 25px rgba(43, 92, 230, 0.2);
    transition: all 0.3s ease;
}

.about-profile-image:hover,
.about-profile-image-large:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 0 1px rgba(43, 92, 230, 0.2),
        0 12px 35px rgba(43, 92, 230, 0.3);
}

.about-image-large .image-placeholder {
    width: 300px;
    height: 100px;
    background: var(--gradient-primary);
    box-shadow: 0 20px 40px rgba(43, 92, 230, 0.25);
}

/* ===== SERVICES ===== */
.services-preview {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(51, 65, 85, 0.75) 100%),
        url('bg1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    color: white;
}

.services-preview .section-header h2 {
    color: white;
}

.services-preview .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-accent);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

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

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

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-harvest);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    background: var(--gradient-fresh);
    box-shadow: var(--shadow-xl);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* ===== EXPERIENCE/TIMELINE ===== */
.experience {
    background: var(--bg-accent);
    position: relative;
    overflow: hidden;
}

.experience::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.experience-timeline {
    position: relative;
    z-index: 2;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-electric);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-orange-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 12px 32px rgba(255, 107, 53, 0.3),
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 12px rgba(255, 107, 53, 0.08);
    z-index: 3;
    transition: all 0.4s ease;
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow:
        0 18px 42px rgba(255, 107, 53, 0.4),
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 16px rgba(255, 107, 53, 0.12);
}

.timeline-marker i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    flex: 1;
    margin-left: 3rem;
    max-width: 45%;
}

.timeline-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(43, 92, 230, 0.08);
    position: relative;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    transform: translateY(-50%) rotate(45deg);
    border: 1px solid rgba(102, 126, 234, 0.1);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-card::before {
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.timeline-item:nth-child(even) .timeline-card::before {
    left: -10px;
    border-right: none;
    border-top: none;
    border: 1px solid rgba(43, 92, 230, 0.08);
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-orange-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
}

.timeline-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background: rgba(43, 92, 230, 0.08);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(43, 92, 230, 0.15);
    transition: all 0.3s ease;
}

.achievement-tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 92, 230, 0.25);
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    background: var(--gradient-fresh);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::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="farm-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><path d="M15 35 Q25 25 35 35" stroke="rgba(255,255,255,0.08)" stroke-width="1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23farm-pattern)"/></svg>');
    opacity: 0.3;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--earth-brown) 50%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    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-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.05)"/><path d="M5 20 Q15 10 25 20" stroke="rgba(255,255,255,0.03)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.6;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f8fafc;
}

.footer-section p,
.footer-section ul {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 2;
}

/* ===== CONTACT FORM STYLES ===== */
.contact-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow:
        0 20px 40px rgba(43, 92, 230, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% 0;
    }

    50% {
        background-position: -200% 0;
    }
}

.contact-form h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.form-group label::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.form-group.focused label::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(43, 92, 230, 0.08),
        0 4px 12px rgba(43, 92, 230, 0.12),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-success,
.form-error {
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    animation: slideInFromTop 0.5s ease-out;
}

.form-success::before,
.form-error::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: left 0.6s;
}

.form-success:hover::before,
.form-error:hover::before {
    left: 100%;
}

.form-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid #34d399;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.2);
}

.form-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
    color: #991b1b;
    border: 2px solid #f87171;
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.2);
}

/* ===== GALLERY STYLES ===== */
.gallery-intro {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.intro-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.intro-stat:hover {
    transform: translateY(-5px);
}

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

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder.featured {
    width: 300px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(43, 92, 230, 0.25);
    transition: transform 0.3s ease;
}

.image-placeholder.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.image-placeholder.featured i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.image-placeholder.featured p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Featured gallery image container */
.gallery-image-container.featured {
    width: 300px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.25);
    transition: all 0.3s ease;
}

.gallery-image-container.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(255, 107, 53, 0.35);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-image-container.featured:hover .featured-image {
    transform: scale(1.05);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 92, 230, 0.25);
}

.filter-btn i {
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery Image Container Styles */
.gallery-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-image-container .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image-container .gallery-overlay {
    transform: translateY(0);
}

.gallery-image-container .gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-image-container .gallery-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.gallery-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(43, 92, 230, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.gallery-placeholder h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.gallery-placeholder p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.upload-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

.upload-notice {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.upload-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px dashed var(--primary-color);
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Team Leader Styles */
.team-leader {
    margin-bottom: 5rem;
}

.leader-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(145deg, #ffffff 0%, var(--bg-accent) 100%);
    padding: 3.5rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    border: 2px solid var(--border-accent);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-nature);
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.leader-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.leader-photo {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow:
        0 15px 35px rgba(43, 92, 230, 0.2),
        0 0 0 4px rgba(255, 255, 255, 1),
        0 0 0 8px rgba(43, 92, 230, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leader-photo:hover {
    transform: scale(1.05);
    box-shadow:
        0 20px 45px rgba(43, 92, 230, 0.25),
        0 0 0 4px rgba(255, 255, 255, 1),
        0 0 0 12px rgba(43, 92, 230, 0.15);
}

.leader-photo i {
    font-size: 4rem;
    color: white;
    z-index: 2;
}

/* Leader Profile Image Styles */
.leader-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-2xl);
    position: relative;
    z-index: 2;
}

.leader-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.leader-badge i {
    font-size: 1rem;
}

.leader-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leader-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-credentials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.credential-tag {
    background: rgba(43, 92, 230, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(43, 92, 230, 0.2);
}

.leader-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.leader-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(43, 92, 230, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(43, 92, 230, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43, 92, 230, 0.15);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(43, 92, 230, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.highlight-item div strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.highlight-item div span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Team Members Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(43, 92, 230, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    text-align: center;
}

.team-member:nth-child(1) {
    animation-delay: 0.1s;
}

.team-member:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member:nth-child(3) {
    animation-delay: 0.3s;
}

.team-member:nth-child(4) {
    animation-delay: 0.4s;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(43, 92, 230, 0.15);
}

.member-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(43, 92, 230, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-member:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(43, 92, 230, 0.25);
}

.member-image i {
    font-size: 2.5rem;
    color: white;
}

.member-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 10px;
}

.member-placeholder i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.member-placeholder p {
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* Enhanced Team Member Styling */
.enhanced-member {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: var(--blur-md);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.enhanced-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-harvest);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.enhanced-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.enhanced-member:hover::before {
    opacity: 1;
}

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

.member-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.enhanced-member:hover .member-photo {
    transform: scale(1.05);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.3);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-photo .member-placeholder {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-badge {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: 2px solid white;
    min-width: 120px;
    justify-content: center;
    z-index: 10;
    white-space: nowrap;
}

.expert-badge {
    background: var(--gradient-innovation);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.scientist-badge {
    background: var(--gradient-success);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.member-badge i {
    font-size: 0.9rem;
}

.enhanced-member .member-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.enhanced-member .member-role {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1rem;
}

.enhanced-member .credential-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 2px;
    transition: all 0.3s ease;
}

.credential-badge.premium {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: white;
}

.credential-badge.experience {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.credential-badge.expert {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
}

.credential-badge.research {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.enhanced-member .member-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 1.5rem 0;
    text-align: left;
}

.member-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.member-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 10px;
    border-left: 3px solid #2563eb;
}

.member-highlights .highlight-item i {
    font-size: 1.2rem;
    color: #2563eb;
    min-width: 20px;
}

.member-highlights .highlight-item div {
    text-align: left;
}

.member-highlights .highlight-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.member-highlights .highlight-item span {
    font-size: 0.75rem;
    color: #64748b;
}

.enhanced-member .member-specialties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.enhanced-member .specialty-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #374151;
    border-left: 2px solid var(--tertiary-color);
}

.enhanced-member .specialty-item i {
    color: var(--tertiary-color);
    font-size: 0.9rem;
    min-width: 16px;
}

/* Modern Floating Animation */
@keyframes modernFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Pulse Glow Effect */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }
    50% {
        box-shadow: var(--shadow-2xl);
    }
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Modern Card Hover Effects */
.service-card:hover,
.enhanced-member:hover {
    animation: modernFloat 2s ease-in-out infinite;
}

/* Glassmorphism Utility Classes */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Modern Button Enhancements */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    animation-duration: 1.5s;
}

/* Scientific Showcase Sections */
.scientific-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.showcase-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

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

.showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.showcase-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.showcase-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Scientific Capabilities Section */
.scientific-capabilities {
    padding: 6rem 0;
    background: white;
}

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

.capability-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--glass-border);
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.capability-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.capability-card:hover .capability-image img {
    transform: scale(1.1);
}

.capability-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.capability-content {
    padding: 2rem;
}

.capability-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.capability-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.capability-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.capability-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    min-width: 16px;
}

/* Clients List Styling */
.clients-list {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 2rem;
}

.list-header {
    display: grid;
    grid-template-columns: 80px 2fr 1fr;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.header-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.header-item:last-child {
    border-right: none;
}

.client-item {
    display: grid;
    grid-template-columns: 80px 2fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    background: white;
}

.client-item:hover {
    background: #f8fafc;
    transform: translateX(4px);
    box-shadow: 4px 0 12px rgba(59, 130, 246, 0.1);
}

.client-item.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
}

.client-item.featured:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 197, 253, 0.08) 100%);
}

.item-number {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    border-right: 1px solid #e2e8f0;
}

.item-company {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-right: 1px solid #e2e8f0;
    position: relative;
}

.item-company i {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

.item-company span {
    font-weight: 600;
    color: var(--text-primary);
}

.premium-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.item-location {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    border-right: 1px solid #e2e8f0;
}

.item-location i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.item-category {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-category {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin: 0.5rem;
}

.item-category.sugar { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.item-category.organic { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.item-category.biotech { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.item-category.dairy { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.item-category.chemical { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.item-category.agri { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.item-category.sustainable { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); }
.item-category.community { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

/* Gallery Styles */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    align-items: center;
    justify-content: center;
}

.image-modal.show {
    opacity: 1;
    display: flex;
}

.image-modal .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    animation: zoomIn 0.3s ease-out;
}

.image-modal .modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    text-align: center;
}

.modal-caption h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-caption p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .list-header,
    .client-item {
        grid-template-columns: 60px 1fr 150px;
    }
    
    .item-location {
        display: none;
    }
    
    .header-item:nth-child(3) {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Hide the table view on mobile */
    .clients-list {
        display: none !important;
    }
    
    /* Show the card view on mobile */
    .clients-cards {
        display: grid !important;
    }
    
    .list-header,
    .client-item {
        grid-template-columns: 50px 1fr;
    }
    
    .item-category {
        display: none;
    }
    
    .header-item:nth-child(4) {
        display: none;
    }
    
    .item-company {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .premium-badge {
        position: static;
        margin-top: 0.25rem;
    }
    
    .showcase-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-image,
    .capability-image {
        height: 200px;
    }
    
    .showcase-overlay,
    .capability-content {
        padding: 1.5rem;
    }
    
    .scientific-showcase,
    .scientific-capabilities {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .modal-close {
        top: -30px;
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
    }
    
    .image-modal .modal-content {
        width: 95%;
    }
}

/* Member Profile Image Styles */
.member-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-2xl);
    transition: all 0.3s ease;
}

.member-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-credentials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.member-credentials .credential-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.member-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.specialty-tag {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Member details for expanded content */
.member-details {
    margin: 1rem 0;
}

.member-details p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
}

.member-details p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Team Section */
@media (max-width: 768px) {
    .nav-logo-img {
        width: 160px;
        height: 60px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .leader-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem;
    }

    .leader-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .leader-content h3 {
        font-size: 2rem;
    }

    .leader-photo {
        width: 150px;
        height: 150px;
    }

    .leader-photo i {
        font-size: 3rem;
    }

    /* Gallery responsive adjustments */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-image-container {
        height: 220px;
    }

    .gallery-filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-image-container {
        height: 200px;
    }

    .gallery-image-container .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .gallery-image-container .gallery-overlay h3 {
        font-size: 1rem;
    }

    .gallery-image-container .gallery-overlay p {
        font-size: 0.8rem;
    }
}

.upload-content i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.upload-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.upload-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.upload-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.feature i {
    color: #22c55e;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    background: #f1f5f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gallery-placeholder h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-placeholder p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== DETAILED SERVICES STYLES ===== */
.services-overview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.service-detail:nth-child(1) {
    animation-delay: 0.1s;
}

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

.service-detail:nth-child(3) {
    animation-delay: 0.3s;
}

.service-detail:nth-child(4) {
    animation-delay: 0.4s;
}

.service-detail:nth-child(5) {
    animation-delay: 0.5s;
}

.service-detail:nth-child(6) {
    animation-delay: 0.6s;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.service-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.service-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.service-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* ===== INDUSTRY APPLICATIONS ===== */
.industry-applications {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.industry-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.industry-card:nth-child(3) {
    animation-delay: 0.3s;
}

.industry-card:nth-child(4) {
    animation-delay: 0.4s;
}

.industry-card:nth-child(5) {
    animation-delay: 0.5s;
}

.industry-card:nth-child(6) {
    animation-delay: 0.6s;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.industry-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.industry-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-placeholder {
        width: 640px;
        height: 240px;
    }

    .decoration-item {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        margin: 1.5rem 0;
        align-items: stretch;
    }

    .hero-stat {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-image-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-image-placeholder i {
        font-size: 3rem;
    }

    .image-overlay span {
        font-size: 0.9rem;
    }

    .image-overlay small {
        font-size: 0.7rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline-container {
        max-width: 100%;
    }

    .timeline-line {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        flex-direction: row;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-marker {
        left: 30px;
        transform: none;
        width: 60px;
        height: 60px;
        position: relative;
        flex-shrink: 0;
    }

    .timeline-marker i {
        font-size: 1.5rem;
    }

    .timeline-content {
        margin-left: 1.5rem;
        margin-right: 0;
        max-width: none;
        flex: 1;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 1.5rem;
        margin-right: 0;
    }

    .timeline-card {
        padding: 1.5rem;
    }

    .timeline-card::before {
        display: none;
    }

    .timeline-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .timeline-card h3 {
        font-size: 1.25rem;
    }

    .timeline-card p {
        font-size: 0.9rem;
    }

    .achievement-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card.featured-card {
        grid-column: 1;
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo h2 {
        font-size: 1.25rem;
    }

    .nav-logo-img {
        width: 150px;
        height: 56px;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-title-section {
        margin-bottom: 1.5rem;
    }

    .hero-title-section h1 {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
        white-space: normal !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 5vw, 1.1rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        margin: 1rem 0;
    }

    .hero-stat {
        padding: 0.75rem 0.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-image-placeholder {
        width: 560px;
        height: 210px;
    }

    .hero-image-placeholder i {
        font-size: 2.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 0;
    }

    .timeline-card {
        padding: 1rem;
    }

    .timeline-card h3 {
        font-size: 1.1rem;
    }

    .timeline-card p {
        font-size: 0.85rem;
    }

    .achievement-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .gallery-placeholder {
        height: 200px;
        padding: 1.5rem;
    }

    .gallery-placeholder i {
        font-size: 2.5rem;
    }

    .gallery-placeholder h3 {
        font-size: 1.1rem;
    }

    .gallery-placeholder p {
        font-size: 0.8rem;
    }

    .filter-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        max-width: 100%;
    }

    .hero-title-section {
        margin-bottom: 2rem;
    }

    .hero-title-section h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        white-space: normal !important;
        line-height: 1.2;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-icon {
        position: absolute;
        left: 0;
    }

    .timeline-content {
        margin-left: 0;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
        margin: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .service-detail {
        padding: 2rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .service-features ul {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-detailed {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.8) 25%, rgba(51, 65, 85, 0.75) 75%, rgba(71, 85, 105, 0.7) 100%),
        radial-gradient(ellipse at top right, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        url('bg3.jpeg');
    background-size: 100% 100%, 60% 60%, 60% 60%, cover;
    background-position: center, top right, bottom left, center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    color: white;
}

.about-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(22, 163, 74, 0.06) 0%, transparent 35%),
        linear-gradient(-45deg, rgba(249, 115, 22, 0.05) 0%, transparent 35%);
    z-index: 1;
    animation: aboutDetailedGlow 12s ease-in-out infinite;
}

.about-detailed .container {
    position: relative;
    z-index: 2;
}

.about-detailed .about-text-main h2 {
    color: white;
}

.about-detailed .about-text-main p {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes aboutDetailedGlow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.01);
    }
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image-large {
    animation: fadeInLeft 0.8s ease-out;
}

.about-image-large .image-placeholder {
    width: 300px;
    height: 300px;
}

.about-text-main {
    animation: fadeInRight 0.8s ease-out;
}

.about-text-main h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text-main p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.expertise-areas {
    margin-top: 3rem;
}

.expertise-areas h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-2px);
}

.expertise-item i {
    font-size: 1.5rem;
    color: #667eea;
}

.expertise-item span {
    font-weight: 500;
    color: #374151;
}

.experience-detailed {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.experience-cards {
    display: grid;
    gap: 3rem;
}

.exp-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.exp-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.exp-card:nth-child(3) {
    animation-delay: 0.3s;
}

.exp-card:nth-child(4) {
    animation-delay: 0.4s;
}

.exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.exp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.exp-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.exp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-icon i {
    font-size: 1.5rem;
    color: white;
}

.exp-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.exp-content ul {
    list-style: none;
    margin: 1.5rem 0;
}

.exp-content li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.exp-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.achievements {
    padding: 5rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.achievement-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.achievement-card:nth-child(3) {
    animation-delay: 0.3s;
}

.achievement-card:nth-child(4) {
    animation-delay: 0.4s;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.achievement-icon i {
    font-size: 2rem;
    color: white;
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.achievement-card p {
    color: #64748b;
    line-height: 1.6;
}

/* ===== SERVICES PAGE STYLES ===== */
.services-tabs {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.tab-btn {
    background: transparent;
    border: 2px solid rgba(37, 99, 235, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    min-width: 180px;
    justify-content: center;
}

.tab-btn:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tab-btn i {
    font-size: 1.1rem;
}

.services-content {
    display: none;
    padding: 4rem 0;
    animation: fadeInUp 0.6s ease-out;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(51, 65, 85, 0.75) 100%),
        url('bg1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    color: white;
    will-change: transform; /* Optimize for animations */
    transform: translateZ(0); /* Force hardware acceleration */
}

.services-content .section-header h2 {
    color: white;
}

.services-content .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.services-content.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: var(--blur-md);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-harvest);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.02) 0%, rgba(249, 115, 22, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-2xl);
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
    height: 8px;
}

.service-card:hover::after {
    opacity: 1;
}

.featured-service {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.featured-service h3 {
    color: #1e293b;
}

.featured-service p {
    color: #475569;
}

.featured-service li {
    color: #64748b;
}

.featured-service::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

/* Technical Expertise Styles */
.technical-expertise {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Mobile Responsiveness for Services */
@media (max-width: 768px) {
    .services-tabs {
        position: static;
    }

    .tab-navigation {
        flex-direction: column;
        gap: 1rem;
        max-width: 300px;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        min-width: auto;
        font-size: 0.9rem;
    }

    .services-content {
        padding: 2rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* ===== TECHNICAL EXPERTISE STYLES ===== */
.technical-expertise {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.expertise-category {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.expertise-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.expertise-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.featured-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
    border: 2px solid rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

/* Biostimulants Table */
.biostimulants-table {
    margin-top: 2rem;
    overflow-x: auto;
}

.expertise-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

.expertise-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.expertise-table th,
.expertise-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.expertise-table th {
    font-weight: 600;
    font-size: 1rem;
}

.expertise-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.expertise-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* Equipment List */
.equipment-list {
    margin-top: 1.5rem;
}

.equipment-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.equipment-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.equipment-list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.2);
}

.research-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.research-card h3,
.research-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

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

/* Mobile Responsiveness for Technical Expertise */
@media (max-width: 768px) {
    .technical-expertise {
        padding: 2rem 0;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .category-info h2 {
        font-size: 1.5rem;
    }

    .featured-card {
        transform: none;
    }

    .biostimulants-table {
        font-size: 0.8rem;
    }

    .expertise-table th,
    .expertise-table td {
        padding: 0.75rem 0.5rem;
    }

    .equipment-list ul {
        grid-template-columns: 1fr;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .research-card {
        padding: 2rem;
    }
}

/* ===== IMAGE MARQUEE ===== */
.image-marquee {
    padding: 40px 0;
    background: var(--bg-tertiary);
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 30px;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    flex-shrink: 0;
    width: 250px;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.marquee-item:hover {
    transform: scale(1.05);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marquee-item:hover img {
    transform: scale(1.1);
}

/* Duplicate modal CSS removed - using the main modal CSS above */

/* ===== SOCIAL MEDIA TABS ===== */
.social-media-tabs {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    white-space: nowrap;
}

.social-tab.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-tab.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

.social-tab.twitter {
    background: #1da1f2;
    color: white;
}

.social-tab.twitter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.social-tab.facebook {
    background: #4267b2;
    color: white;
}

.social-tab.facebook:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.3);
}

.social-tab i {
    font-size: 1.1rem;
}

/* ===== VISION MISSION SECTION ===== */
.vision-mission {
    padding: 80px 0;
    background: var(--bg-primary);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.vm-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}

.vm-icon i {
    font-size: 2rem;
    color: white;
}

.vm-card h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.vm-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.vm-content p:last-child {
    margin-bottom: 0;
}

/* ===== SIMPLE GALLERY ===== */
.simple-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.simple-gallery-grid .gallery-item {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.simple-gallery-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.simple-gallery-grid .gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.simple-gallery-grid .gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* ===== EXPANDABLE CARDS ===== */
.expertise-card.expandable {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.card-header h3 {
    flex: 1;
    margin: 0;
}

.expand-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.expand-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.expand-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.expertise-card.expandable.expanded .expand-btn i {
    transform: rotate(180deg);
}

.card-summary {
    margin: 16px 0;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
}

.expertise-card.expandable.expanded .card-details {
    max-height: 500px;
    padding-top: 16px;
}

.card-details ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.card-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-details li i {
    color: var(--success-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.expertise-card.expandable:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.expertise-card.expandable.expanded {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

/* ===== FEATURED VIDEOS SECTION ===== */
.featured-videos {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
}

.featured-videos::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="video-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(45,90,61,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23video-dots)"/></svg>');
    opacity: 0.5;
}

.featured-videos .container {
    position: relative;
    z-index: 2;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.video-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-card.featured-video {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--primary-color);
}

.video-card.featured-video::before {
    content: 'FEATURED';
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
    aspect-ratio: 16/9;
}

.video-card.featured-video .video-thumbnail {
    aspect-ratio: unset;
    height: 100%;
}

.video-embed {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 4px;
}

.video-content {
    padding: 30px;
}

.video-card.featured-video .video-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.video-card.featured-video .video-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.video-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.video-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.video-duration,
.video-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.video-duration i,
.video-category i {
    color: var(--accent-color);
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    background: var(--gradient-primary);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.video-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.video-link i {
    font-size: 1.1rem;
}

/* Coming Soon Videos */
.video-card.coming-soon {
    opacity: 0.8;
}

.video-card.coming-soon .video-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--border-light) 100%);
    border: 2px dashed var(--border-color);
}

.coming-soon-content {
    text-align: center;
    padding: 40px 20px;
}

.coming-soon-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    opacity: 0.7;
}

.coming-soon-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.coming-soon-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Videos CTA */
.videos-cta {
    text-align: center;
    padding: 50px 0;
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.videos-cta h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.videos-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.videos-cta .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* Responsive Design for Videos */
@media (max-width: 768px) {
    .featured-videos {
        padding: 60px 0;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .video-card.featured-video {
        grid-template-columns: 1fr;
    }

    .video-card.featured-video .video-content h3 {
        font-size: 1.5rem;
    }

    .video-content {
        padding: 20px;
    }

    .video-meta {
        gap: 15px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }

    .videos-cta {
        padding: 40px 20px;
    }

    .videos-cta h3 {
        font-size: 1.5rem;
    }

    .videos-cta p {
        font-size: 1rem;
    }
}

/* Clickable category styles */
.clickable-category {
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.clickable-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
}

.clickable-category .category-header {
    display: flex;
    align-items: center;
    padding: 25px;
    position: relative;
}

.expand-indicator {
    margin-left: auto;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.clickable-category:hover .expand-indicator {
    transform: translateX(5px);
    color: var(--accent);
}

/* Modal subsection styles */
.service-subsection {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-subsection h5 {
    color: var(--primary);
    margin: 0 0 15px 0;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-subsection h5 i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.service-subsection p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-subsection ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-subsection ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-subsection ul li:last-child {
    border-bottom: none;
}

.service-subsection ul li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1rem;
    width: 18px;
}

/* ===== CLIENTS PAGE STYLES ===== */
.clients-intro {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.clients-intro .intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.clients-intro h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.clients-intro p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.clients-section {
    padding: 5rem 0;
}

.clients-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
}

.clients-table thead {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.clients-table th,
.clients-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.clients-table th {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.clients-table tbody tr {
    transition: background-color 0.3s ease;
}

.clients-table tbody tr:hover {
    background-color: #f8fafc;
}

.clients-table td:first-child {
    font-weight: 600;
    color: #2563eb;
    width: 80px;
}

.clients-table td:nth-child(2) {
    font-weight: 600;
    color: #1e293b;
}

.clients-table td:last-child {
    color: #64748b;
}

/* Mobile Cards - Hidden by default */
.clients-cards {
    display: none;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.client-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.client-number {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.client-info h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.client-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-info p i {
    color: #2563eb;
    font-size: 0.8rem;
}

/* Responsive Design for Clients Page */
@media (max-width: 1024px) {
    .clients-intro h2 {
        font-size: 2.25rem;
    }

    .stats-row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .clients-table th,
    .clients-table td {
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .clients-intro {
        padding: 3rem 0;
    }

    .clients-intro h2 {
        font-size: 2rem;
    }

    .clients-intro p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .clients-section {
        padding: 3rem 0;
    }

    /* Hide table and show cards on mobile */
    .clients-table-container {
        display: none;
    }

    .clients-cards {
        display: grid;
    }

    .client-card {
        padding: 1.25rem;
    }

    .client-info h3 {
        font-size: 1rem;
    }

    .client-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .clients-intro {
        padding: 2rem 0;
    }

    .clients-intro h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .clients-intro p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .stats-row {
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .clients-section {
        padding: 2rem 0;
    }

    .client-card {
        padding: 1rem;
        flex-direction: row;
    }

    .client-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .client-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
    }

    .client-info p {
        font-size: 0.8rem;
    }

    .client-info p i {
        font-size: 0.75rem;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInFromTop 0.3s ease-out;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.close {
    color: white;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    line-height: 1.7;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.modal-body p {
    margin-bottom: 25px;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: justify;
}

.service-subsection {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 5px solid #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-subsection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    pointer-events: none;
}

.service-subsection:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.18);
    border-left-color: #7c3aed;
}

.service-subsection h5 {
    color: #1e293b;
    margin-bottom: 18px;
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.service-subsection h5 i {
    color: #2563eb;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.service-subsection:hover h5 i {
    color: #7c3aed;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    transform: scale(1.1) rotate(5deg);
}

.service-subsection p {
    color: #334155;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.service-subsection ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-subsection li {
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 5px;
}

.service-subsection li:hover {
    color: #2563eb;
    transform: translateX(8px);
    background: rgba(37, 99, 235, 0.05);
    padding-left: 15px;
}

.service-subsection li i {
    color: var(--tertiary-color);
    font-size: 1.2rem;
    min-width: 22px;
    text-shadow: 0 1px 2px rgba(16, 185, 129, 0.3);
}

.biostimulants-table {
    margin: 25px 0;
    overflow-x: auto;
}

.expertise-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.expertise-table th {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.expertise-table th::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.expertise-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 1rem;
    vertical-align: top;
    line-height: 1.6;
    font-weight: 500;
}

.expertise-table tr:last-child td {
    border-bottom: none;
}

.expertise-table tr:nth-child(even) {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.expertise-table tr:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.expertise-table td strong {
    color: #2563eb;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
}

.expertise-table td:first-child {
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN FOR ABOUT AND SERVICES PAGES ===== */

/* Services Page Responsive */
@media (max-width: 768px) {
    .services-tabs {
        padding: 20px 0;
    }

    .tab-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .expertise-category {
        margin-bottom: 15px;
    }

    .clickable-category .category-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .category-info h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .expand-indicator {
        margin-left: 0;
        margin-top: 10px;
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
        max-height: calc(95vh - 100px);
    }

    .service-subsection {
        padding: 15px;
        margin: 20px 0;
    }

    .service-subsection h5 {
        font-size: 1.1rem;
    }

    .expertise-table {
        font-size: 0.8rem;
    }

    .expertise-table th,
    .expertise-table td {
        padding: 10px 12px;
    }
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .about-detailed {
        padding: 4rem 0;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-image-large {
        order: -1;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .about-text-main {
        width: 100%;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .experience-detailed {
        padding: 4rem 0;
    }

    .exp-card {
        padding: 2.5rem;
    }

    .achievements {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .about-detailed {
        padding: 3rem 0;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image-large {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .about-image-large .image-placeholder {
        width: 250px;
        height: 125px;
        margin: 0 auto;
    }

    .about-text-main {
        width: 100%;
    }

    .about-text-main h2 {
        font-size: 1.8rem;
    }

    .about-text-main p {
        font-size: 1rem;
    }

    .expertise-areas {
        margin-top: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expertise-item {
        padding: 1rem;
        font-size: 0.95rem;
        justify-content: center;
        text-align: center;
    }

    .vision-mission {
        padding: 3rem 0;
    }

    .vm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vm-card {
        padding: 2rem;
    }

    .vm-content {
        max-height: 400px;
        overflow-y: auto;
    }

    .experience-detailed {
        padding: 3rem 0;
    }

    .experience-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .exp-card {
        padding: 2rem;
    }

    .exp-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .exp-header h3 {
        font-size: 1.3rem;
    }

    .achievements {
        padding: 3rem 0;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .achievement-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-detailed {
        padding: 2rem 0;
    }

    .about-main {
        gap: 1.5rem;
    }

    .about-image-large .image-placeholder {
        width: 200px;
        height: 100px;
    }

    .about-text-main h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-text-main p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .expertise-areas h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .expertise-item {
        padding: 0.8rem;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .expertise-item i {
        font-size: 1.3rem;
    }

    .vision-mission {
        padding: 2rem 0;
    }

    .vm-card {
        padding: 1.5rem;
    }

    .vm-card h2 {
        font-size: 1.4rem;
    }

    .vm-content {
        max-height: 300px;
        font-size: 0.9rem;
    }

    .experience-detailed {
        padding: 2rem 0;
    }

    .exp-card {
        padding: 1.5rem;
    }

    .exp-header {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .exp-header h3 {
        font-size: 1.2rem;
    }

    .exp-icon {
        width: 50px;
        height: 50px;
    }

    .exp-icon i {
        font-size: 1.3rem;
    }

    .exp-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .exp-content li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .achievements {
        padding: 2rem 0;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .achievement-card {
        padding: 1.5rem;
    }

    .achievement-card h3 {
        font-size: 1.2rem;
    }

    .achievement-card p {
        font-size: 0.9rem;
    }

    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }
}

/* Address info styling */
.address-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.address-info p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-info p:first-child {
    font-weight: 600;
    color: white;
}

/* Gallery Image Modal Styles */
.clickable-image {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.clickable-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
    filter: brightness(1.1);
}

.clickable-image::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clickable-image:hover::after {
    opacity: 1;
}

.image-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    margin: 2.5vh auto;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-modal .close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.image-modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    min-height: 60vh;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.image-modal .modal-header {
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.image-modal .modal-header h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #1f2937;
}

/* Clickable service cards hover effect */
.clickable-service-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.clickable-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: inherit !important;
    text-decoration: none !important;
}

/* Responsive adjustments for image modal */
@media (max-width: 768px) {
    .image-modal .modal-content {
        max-width: 98vw;
        max-height: 98vh;
        margin: 1vh auto;
    }

    .modal-image {
        max-height: 85vh;
    }

    .image-modal .close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .image-modal .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .modal-image {
        max-height: 90vh;
    }

    .image-modal .close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

/* Expertise link hover effect */
.expertise-link:hover h3 {
    color: #2563eb !important;
    transition: color 0.3s ease;
}

.expertise-link:hover .fa-arrow-right {
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

/* =
==== MODERN AGRICULTURAL ENHANCEMENTS ===== */

/* Enhanced Service Cards with Agricultural Theme */
.service-card {
    position: relative;
}

.service-card:nth-child(1) .service-icon {
    background: var(--gradient-nature);
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-cool);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-earth);
}

.service-card:nth-child(4) .service-icon {
    background: var(--gradient-sky);
}

.service-card:nth-child(5) .service-icon {
    background: var(--gradient-harvest);
}

.service-card:nth-child(6) .service-icon {
    background: var(--gradient-warm);
}

/* Modern Agricultural Patterns */
.agricultural-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
}

/* Enhanced Hero Decorations */
.decoration-item:nth-child(1) {
    background: linear-gradient(135deg, var(--leaf-green) 0%, var(--primary-color) 100%);
    animation: leafSway 4s ease-in-out infinite;
}

.decoration-item:nth-child(2) {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--sky-blue) 100%);
    animation: leafSway 5s ease-in-out infinite reverse;
}

.decoration-item:nth-child(3) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--sun-yellow) 100%);
    animation: leafSway 6s ease-in-out infinite;
}

.decoration-item:nth-child(4) {
    background: linear-gradient(135deg, var(--flower-purple) 0%, var(--accent-color) 100%);
    animation: leafSway 4.5s ease-in-out infinite reverse;
}

/* Modern Button Enhancements */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-nature);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-primary:hover {
    background: var(--gradient-fresh);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Stats Cards */
.stat {
    background: linear-gradient(145deg, #ffffff 0%, var(--bg-accent) 100%);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.stat h3 {
    background: var(--gradient-nature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Section Headers */
.section-header h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-nature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Image Containers */
.hero-image-placeholder,
.image-placeholder {
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.hero-image-placeholder:hover,
.image-placeholder:hover {
    animation: growthPulse 2s ease-in-out infinite;
}

/* Modern Agricultural Icons */
.service-icon i,
.decoration-item i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Enhanced Contact Section */
.contact-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-2xl);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Modern Team Section Enhancements */
.leader-badge {
    background: var(--gradient-harvest);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.highlight-item {
    background: linear-gradient(145deg, rgba(22, 163, 74, 0.05) 0%, rgba(249, 115, 22, 0.03) 100%);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-xl);
}

.highlight-item:hover {
    background: linear-gradient(145deg, rgba(22, 163, 74, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-color: var(--primary-light);
}

/* Enhanced Navigation */
.nav-link::after {
    background: var(--gradient-nature);
    height: 3px;
    border-radius: var(--radius-sm);
}

/* Modern Footer Enhancements */
.footer-content {
    position: relative;
    z-index: 2;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-light);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .service-icon {
        width: 80px;
        height: 80px;
    }

    .decoration-item {
        padding: 0.5rem;
    }

    .hero-image-placeholder {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .hero-image-placeholder {
        width: 200px;
        height: 200px;
    }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-nature);
    border-radius: var(--radius-lg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-fresh);
}

/* Selection Styling */
::selection {
    background: var(--primary-light);
    color: white;
}

::-moz-selection {
    background: var(--primary-light);
    color: white;
}

/* 
===== NEW MODERN HERO SECTION ===== */

/* Hero Background Overlay */
/* Hero background overlay removed for direct image visibility */

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.floating-element i {
    font-size: 24px;
}

.element-1 {
    top: 15%;
    left: 10%;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    animation: floatUpDown 6s ease-in-out infinite;
}

.element-1 i {
    color: white;
}

.element-2 {
    top: 25%;
    right: 15%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    animation: floatUpDown 8s ease-in-out infinite reverse;
}

.element-2 i {
    color: white;
}

.element-3 {
    bottom: 30%;
    left: 8%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    animation: floatUpDown 7s ease-in-out infinite;
}

.element-3 i {
    color: white;
}

.element-4 {
    top: 40%;
    right: 8%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: floatUpDown 9s ease-in-out infinite reverse;
}

.element-4 i {
    color: white;
}

.element-5 {
    bottom: 15%;
    right: 20%;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    animation: floatUpDown 5s ease-in-out infinite;
}

.element-5 i {
    color: white;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Main Hero Content */
.hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Content */
.hero-left {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    animation: slideInLeft 1s ease-out;
}

/* Modern Badge */
.hero-badge-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(16, 185, 129, 0.8) 100%);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(34, 197, 94, 0.3);
    margin-top: 10px;
    margin-bottom: 1.5rem;
    width: fit-content;
    animation: fadeInUp 1s ease-out 0.2s both;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.badge-icon i {
    font-size: 14px;
    color: white;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
}

.badge-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Modern Title */
.hero-title-modern {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title-modern h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #2d5a3d;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

.title-line-1 {
    display: block;
    color: #2d5a3d;
}

.title-line-2 {
    display: block;
    color: #22c55e;
    font-weight: 900;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.title-line-3 {
    display: block;
    color: #374151;
    font-weight: 600;
    font-size: 0.8em;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-harvest);
    border-radius: 2px;
    margin-top: 1rem;
}

/* Modern Description */
.hero-description-modern {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 90%;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-nature);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 16px;
    color: white;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.feature-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Modern Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.btn-primary-modern,
.btn-secondary-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: var(--gradient-nature);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.4);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.btn-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-primary-modern:hover .btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

.btn-secondary-modern:hover .btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.social-proof-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Right Side - Visual Elements */
.hero-right {
    animation: slideInRight 1s ease-out;
}

.hero-visual-container {
    position: relative;
    height: 450px;
}

/* Profile Section */
.hero-profile-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
}

.profile-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.hero-profile-modern {
    width: 440px;
    height: 165px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    object-position: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-info {
    display: flex;
    justify-content: center;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 163, 74, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(22, 163, 74, 0.3);
    backdrop-filter: blur(10px);
}

.profile-badge i {
    color: var(--primary-color);
}

.profile-badge span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 140px;
    transition: all 0.4s ease;
}

.floating-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-1 {
    top: 10%;
    left: 0%;
    animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
    top: 20%;
    right: -10%;
    animation: floatCard 8s ease-in-out infinite reverse;
}

.card-3 {
    bottom: 25%;
    left: -5%;
    animation: floatCard 7s ease-in-out infinite;
}

.card-4 {
    bottom: 10%;
    right: 5%;
    animation: floatCard 9s ease-in-out infinite reverse;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-harvest);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 16px;
    color: white;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.card-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@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);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-main-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-right {
        order: -1;
    }

    .hero-visual-container {
        height: 400px;
    }

    .floating-cards {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 40px;
        min-height: 70vh;
        background-attachment: scroll; /* Better performance on mobile */
        background-position: center, 20% 80%, 80% 20%, center, center center;
    }

    .hero-badge-modern {
        display: none;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-visual-container {
        height: 250px;
    }

    .hero-profile-modern {
        width: 320px;
        height: 120px;
    }

    .floating-element {
        width: 35px;
        height: 35px;
    }

    .floating-element i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 40px;
        min-height: 65vh;
        background-attachment: scroll;
        background-position: center, 20% 80%, 80% 20%, center, center top;
    }
    
    .hero-badge-modern {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hero-title-modern h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description-modern {
        font-size: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-number {
        font-size: 1.2rem;
    }
}/* ===
== ENHANCED IMAGE FITTING FOR RECTANGULAR IMAGES ===== */

/* Ensure all profile images handle rectangular source properly */
.nav-logo-img,
.hero-profile-image,
.hero-profile-modern,
.about-profile-image,
.about-profile-image-large,
.leader-profile-image,
.member-profile-image {
    /* Enhanced object fitting for rectangular images */
    object-fit: cover !important;
    object-position: center top !important;
}

/* Special handling for navigation logo - smaller crop area */
.nav-logo-img {
    object-position: center center !important;
}

/* For very small profile images, use center positioning */
@media (max-width: 480px) {
    .hero-profile-modern,
    .about-profile-image,
    .about-profile-image-large {
        object-position: center center !important;
    }
}

/* Ensure containers maintain aspect ratio */
.profile-image-wrapper,
.image-placeholder,
.hero-image-placeholder,
.leader-photo,
.member-image {
    overflow: hidden;
}

/* Additional styling for better image presentation */
.hero-profile-modern,
.about-profile-image,
.about-profile-image-large {
    /* Add subtle filter for better presentation */
    filter: brightness(1.05) contrast(1.02);
}

.nav-logo-img {
    /* Ensure logo maintains clarity */
    filter: brightness(1.1) contrast(1.05);
}/*
 ===== MODERN CLIENT CARDS WITH GREEN & SAFFRON THEME ===== */

.clients-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card-modern {
    background: linear-gradient(145deg, #ffffff 0%, var(--bg-secondary) 100%);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.client-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-nature);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--green-vibrant);
}

.client-card-modern:hover::before {
    opacity: 1;
}

.client-card-modern.featured {
    background: linear-gradient(145deg, #ffffff 0%, #fff5f0 100%);
    border-color: var(--saffron-color);
    transform: scale(1.05);
}

.client-card-modern.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--saffron-color) 0%, var(--accent-color) 100%);
}

.client-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--saffron-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.client-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-nature);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.client-card-modern:hover .client-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--green-vibrant) 0%, var(--saffron-color) 100%);
}

.client-card-modern.featured .client-icon {
    background: linear-gradient(135deg, var(--saffron-color) 0%, var(--accent-color) 100%);
}

.client-icon i {
    font-size: 32px;
    color: white;
}

.client-card-modern h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.client-location {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.client-location i {
    color: var(--saffron-color);
}

.client-category {
    background: linear-gradient(135deg, var(--green-fresh) 0%, var(--green-vibrant) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.client-card-modern.featured .client-category {
    background: linear-gradient(135deg, var(--saffron-color) 0%, var(--accent-color) 100%);
}

/* Enhanced Colorful Gradients */
.gradient-green-saffron {
    background: linear-gradient(135deg, var(--green-vibrant) 0%, var(--saffron-color) 100%);
}

.gradient-saffron-green {
    background: linear-gradient(135deg, var(--saffron-color) 0%, var(--green-vibrant) 100%);
}

/* Update existing gradients with new colors */
.btn-primary {
    background: linear-gradient(135deg, var(--green-vibrant) 0%, var(--primary-color) 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--saffron-color) 0%, var(--accent-color) 100%);
}

.service-icon:nth-child(odd) {
    background: linear-gradient(135deg, var(--green-vibrant) 0%, var(--primary-color) 100%);
}

.service-icon:nth-child(even) {
    background: linear-gradient(135deg, var(--saffron-color) 0%, var(--accent-color) 100%);
}

/* Colorful Section Backgrounds */
.about-preview-modern {
    background: linear-gradient(135deg, #f0fff4 0%, #fff5f0 50%, #f0fff4 100%);
}

.services-overview {
    background: linear-gradient(135deg, #fff5f0 0%, #f0fff4 50%, #fff5f0 100%);
}

.clients-section {
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 50%, #fff5f0 100%);
}

/* Responsive Design for Client Cards */
@media (max-width: 768px) {
    .clients-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .client-card-modern {
        padding: 1.5rem;
    }
    
    .client-card-modern.featured {
        transform: none;
    }
    
    .client-icon {
        width: 60px;
        height: 60px;
    }
    
    .client-icon i {
        font-size: 24px;
    }
    
    .client-card-modern h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .client-card-modern {
        padding: 1.25rem;
    }
    
    .client-badge {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}/* =====
 ABOUT SECTION MOBILE RESPONSIVE ===== */

/* Tablet Responsive (768px and below) */
@media (max-width: 768px) {
    .about-preview {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat {
        padding: 1.25rem;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .stat h3 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .image-placeholder {
        width: 280px;
        height: 105px;
        margin: 0 auto;
    }
    
    .about-profile-image {
        width: 100%;
        height: 100%;
    }
}

/* Mobile Responsive (480px and below) */
@media (max-width: 480px) {
    .about-preview {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .stats {
        gap: 1rem;
        margin: 1.25rem 0;
    }
    
    .stat {
        padding: 1rem;
        border-radius: var(--radius-lg);
    }
    
    .stat h3 {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .stat p {
        font-size: 0.85rem;
        margin: 0;
    }
    
    .image-placeholder {
        width: 240px;
        height: 90px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .about-preview {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .stats {
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .stat {
        padding: 0.875rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.8rem;
    }
    
    .image-placeholder {
        width: 200px;
        height: 75px;
    }
    
    .btn {
        max-width: 240px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .about-preview {
        padding: 40px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .about-image {
        order: 0;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .image-placeholder {
        width: 200px;
        height: 75px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .stat {
        transition: none;
    }
    
    .stat:hover {
        transform: none;
    }
    
    .btn {
        min-height: 48px;
        touch-action: manipulation;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-profile-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    .about-text p {
        text-align: left;
    }
    
    .stat {
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .btn {
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .about-preview::before {
        opacity: 0.2;
    }
    
    .about-text,
    .about-image {
        animation: none;
    }
    
    .stat {
        will-change: auto;
    }
}