/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --electric-blue: #4db6bc;
    --charcoal: #28201d;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-6);
    }
}

/* Section Padding */
.section-padding {
    padding: var(--spacing-16) 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: var(--spacing-20) 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: var(--spacing-24) 0;
    }
}

/* ===== LOGO STYLING ===== */
/* Logo Container */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logo Image Styling */
.logo-image {
    height: 90px;
    width: auto;
    transition: var(--transition-normal);
    display: block; /* Add this to ensure proper display */
}

.nav-logo .logo-image:hover {
    transform: scale(1.05);
}

/* Footer Logo - FIXED */
.footer-logo .logo-image {
    height: 70px;
    width: auto;
    margin-bottom: var(--spacing-4);
    /* REMOVE this line - it's making logo white/invisible */
    /* filter: brightness(0) invert(1); */
}

/* Add this class if you need white logo in footer */
.footer-logo .logo-white {
    filter: brightness(0) invert(1);
}

/* Force footer images to display */
.footer-logo img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Hero Logo */
.hero-logo {
    height: 130px;
    width: auto;
    margin-bottom: var(--spacing-6);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(77, 182, 188, 0.1);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-8);
    list-style: none;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--electric-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--electric-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    margin: 3px 0;
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-4) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Responsive Logo */
    .logo-image {
        height: 55px;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--charcoal) 100%);
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.1;
}

.hero-elements {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.floating-element {
    position: absolute;
    background: var(--white);
    border-radius: 50%;
}

.element-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation: float 4s ease-in-out infinite reverse;
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-icon {
    margin-bottom: var(--spacing-6);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.highlight {
    color: var(--white);
    position: relative;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: var(--font-size-base);
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--white);
    border-color: var(--electric-blue);
}

.btn-primary:hover {
    background: rgba(77, 182, 188, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--charcoal);
}

.btn-secondary {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.btn-secondary:hover {
    background: rgba(40, 32, 29, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--spacing-4);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(77, 182, 188, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--electric-blue);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-4);
    display: block;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-3);
    color: var(--charcoal);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-4);
    line-height: 1.6;
}

.service-link {
    color: var(--electric-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
}

.service-link:hover {
    color: var(--charcoal);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--charcoal) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-8);
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    animation: fadeInUp 1s ease-out;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    text-align: center;
    padding: var(--spacing-6);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-4);
    display: block;
}

.feature-item h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-3);
    color: var(--charcoal);
}

.feature-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== LOGO/PARTNERS SECTION ===== */
.logo-section {
    background: var(--light-gray);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-8);
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .logo-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.logo-item img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--electric-blue);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: var(--spacing-6);
}

.testimonial-content p {
    font-style: italic;
    color: var(--medium-gray);
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: var(--charcoal);
    margin-bottom: var(--spacing-1);
}

.testimonial-author span {
    color: var(--electric-blue);
    font-size: var(--font-size-sm);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-16) 0;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--charcoal) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-8);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
    color: var(--electric-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-2);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-section ul li a:hover {
    color: var(--electric-blue);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
}

.social-links {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--electric-blue);
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-8);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--electric-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--charcoal);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }

.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Extra small logo */
    .logo-image {
        height: 50px;
    }
    
    .hero-logo {
        height: 110px;
    }
    
    /* Mobile footer logo adjustment */
    .footer-logo .logo-image {
        height: 60px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .nav-toggle,
    .hero-elements,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero {
        background: #fff;
        color: #000;
        min-height: auto;
        padding: 2rem 0;
    }
}