/* ===================================
   Infinity SACCOs - Main Stylesheet
   Corporate Colors: Green & Blue
   =================================== */

/* CSS Variables */
/* Language Switcher Styles */
.lang-switcher-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.lang-btn {
    background: var(--primary-green);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.lang-btn:hover {
    transform: translateY(-5px);
    background: var(--primary-blue);
}

.lang-btn i {
    font-size: 1.2rem;
}

/* Hide the ugly Google Translate Bar */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-te-gadget {
    color: transparent !important;
    font-size: 0;
}
.goog-te-gadget .goog-te-combo {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
}
:root {
    /* Primary Colors */
    --primary-green: #0a7f5c;
    --primary-blue: #1e5a8e;
    --secondary-green: #0d9e72;
    --secondary-blue: #2472b8;
    
    /* Accent Colors */
    --accent-green: #10c58d;
    --accent-blue: #3b8fd9;
    --light-green: #e8f5f1;
    --light-blue: #e6f2ff;
    
    /* Neutral Colors */
    --dark: #1a2332;
    --gray-dark: #4a5568;
    --gray: #718096;
    --gray-light: #cbd5e0;
    --white: #ffffff;
    --off-white: #f8fafb;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 127, 92, 0.9) 0%, rgba(30, 90, 142, 0.9) 100%);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-colored: 0 8px 24px rgba(10, 127, 92, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent-green);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10, 127, 92, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-white:hover {
    background: var(--light-green);
}

/* Header & Navigation - REDUCED SIZE */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.topbar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.4rem 0; /* Reduced from 0.75rem */
    font-size: 0.8rem; /* Slightly smaller text */
}

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

.topbar-contact {
    display: flex;
    gap: 2rem;
}

.topbar-contact a {
    color: var(--white);
    transition: var(--transition-fast);
}

.topbar-contact a:hover {
    opacity: 0.8;
}

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

.topbar-social a {
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.topbar-social a:hover {
    transform: scale(1.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0; /* Reduced from 1.25rem */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem; /* Reduced from 1.75rem */
    font-weight: 900;
    color: var(--primary-green);
}

.logo-icon {
    width: 40px; /* Reduced from 50px */
    height: 40px; /* Reduced from 50px */
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem; /* Reduced from 2.5rem */
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a7f5c 0%, #1e5a8e 100%);
    overflow: hidden;
}

/* Video Background Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 127, 92, 0.85) 0%, rgba(30, 90, 142, 0.85) 100%);
    z-index: 1;
}

/* Fallback for when video doesn't load */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a7f5c 0%, #1e5a8e 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation: float 18s infinite ease-in-out;
}

/* Video Control Button */
.video-control-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-control-btn:active {
    transform: scale(0.95);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

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

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

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

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-dark);
}

/* About Preview Section */
.about-preview {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-colored);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid var(--light-green);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 1rem;
}

/* News Section */
.news-grid {
    display: grid;
    /* This forces exactly 3 columns horizontally */
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; /* Slightly reduced gap to help 3 cards fit better on smaller screens */
}

/* Responsiveness: On tablets, show 2 columns */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsiveness: On mobile phones, show 1 column */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.news-image {
    position: relative;
    height: 220px; /* Slightly reduced height for better proportions in 3 columns */
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.news-content {
    padding: 1.5rem; /* Slightly reduced padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.news-meta i {
    margin-right: 0.3rem;
}

.news-card h3 {
    font-size: 1.25rem; /* Adjusted for 3-column layout */
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    transition: var(--transition-fast);
}

.read-more:hover {
    gap: 1rem;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--off-white);
}

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

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

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

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

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

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

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

.footer-contact i {
    color: var(--accent-green);
    font-size: 1.25rem;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--accent-green);
    transform: translateY(-5px);
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    
    /* Video adjustments for tablets */
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    .topbar-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 0;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        top: 100%;
    }
    
    .nav-menu li {
        margin-bottom: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .hero-buttons { flex-direction: column; }
    
    /* Hide video on mobile, show gradient background */
    .hero-video {
        display: none;
    }
    
    .hero-video-overlay {
        background: linear-gradient(135deg, rgba(10, 127, 92, 0.95) 0%, rgba(30, 90, 142, 0.95) 100%);
    }
    
    .video-control-btn {
        display: none;
    }
    
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid,
    .news-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons { flex-direction: column; }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .stat-number { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;

        display: none; /* hidden by default */
    }

    .nav-menu.active {
        display: flex; /* SHOW when clicked */
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
    }
}
/* --- CHATBOT WIDGET STYLES --- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Work Sans', sans-serif;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a7f5c 0%, #1e5a8e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(10, 127, 92, 0.3);
    transition: 0.3s;
    position: relative;
}

.chat-button:hover { transform: scale(1.1); }

.chat-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4d4d;
    color: white;
    font-size: 0.7rem;
    padding: 3px 7px;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-window {
    display: none; /* Hidden by default */
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: linear-gradient(135deg, #0a7f5c 0%, #1e5a8e 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-admin-info { display: flex; align-items: center; gap: 10px; }

.admin-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chat-header h4 { margin: 0; font-size: 1rem; color: white; font-family: 'Work Sans', sans-serif;}
.chat-header p { margin: 0; font-size: 0.75rem; opacity: 0.8; }

.online-dot {
    height: 8px; width: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
}

.chat-close { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    max-width: 85%;
}

.bot-msg { background: #e8f5f1; color: #1a2332; align-self: flex-start; }
.user-msg { background: #1e5a8e; color: white; align-self: flex-end; }

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 20px;
    outline: none;
}

.chat-footer button {
    background: #0a7f5c;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}
/* --- Cookie Banner Styling --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 20px;
    right: 20px;
    background: #ffffff;
    z-index: 99999;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 25px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 500px;
    border: 1px solid #eee;
}

/* Slide up when active */
.cookie-banner.show {
    bottom: 20px;
}

.cookie-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-icon {
    font-size: 2rem;
    color: #28a745;
}

.cookie-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-accept {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-accept:hover {
    background: #218838;
}

.btn-settings {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-settings:hover {
    color: #28a745;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        padding: 20px;
    }
}
/* --- AMAZING SOCIAL MEDIA SIDEBAR STYLES --- */
.social-sidebar {
    position: fixed;
    top: 25%;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: slideInRight 0.8s ease-out;
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #1e5a8e; /* Corporate Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-link:hover {
    transform: scale(1.2) rotate(360deg);
    color: #fff;
}

.social-link.fb:hover { background: #1877F2; }
.social-link.tw:hover { background: #000000; }
.social-link.ln:hover { background: #0077B5; }
.social-link.tg:hover { background: #0088cc; }

.social-close {
    width: 28px;
    height: 28px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    position: absolute;
    top: -10px;
    right: -5px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.social-close:hover {
    background: #ff6b81;
    transform: scale(1.1);
}

.social-sidebar.hidden {
    transform: translateX(120px);
    opacity: 0;
    pointer-events: none;
}

/* --- HERO & PAGE STYLES --- */
.hero {
    position: relative;
    height: 80vh; 
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #000; 
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.video-control-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 4;
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.video-control-btn:hover { background: white; color: black; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero { height: 60vh; }
    .social-sidebar { right: 10px; transform: scale(0.8); }
}