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

:root {
    /* Brand Colors - Updated to match new logo */
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --primary-green: #059669;
    --secondary-green: #10b981;
    --accent-orange: #ea580c;
    --secondary-orange: #f97316;
    --dark-slate: #1e293b;
    --medium-slate: #334155;
    --light-slate: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    --gradient-orange: linear-gradient(135deg, var(--accent-orange) 0%, var(--secondary-orange) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, #6366f1 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-slate);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
}

/* Logo Image Styling */
.logo-image {
    height: 90px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.logo-image:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        height: 70px;
        max-width: 300px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 60px;
        max-width: 250px;
    }
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-slate);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu a:hover {
    color: var(--primary-blue);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: white;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Animated Mesh Background */
.mesh-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Cloud illustration and cost savings removed */

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-slate);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 64, 175, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(30, 64, 175, 0.2);
    border-color: rgba(30, 64, 175, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

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

/* About Section */
.about {
    padding: 6rem 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-slate);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-slate);
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.stat p {
    color: var(--light-slate);
    font-size: 0.9rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.05);
}

.feature:hover {
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.08) 0%, rgba(5, 150, 105, 0.02) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1);
}

.feature i {
    color: var(--secondary-green);
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: var(--dark-slate);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--medium-slate) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info-centered {
    max-width: 800px;
    text-align: center;
}

.contact-info-centered h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-centered p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--secondary-blue);
    width: 20px;
    font-size: 1.2rem;
    text-align: center;
}

/* Contact form removed */


/* Footer */
.footer {
    background: #ffffff;
    color: var(--dark-slate);
    padding: 3rem 0 1rem;
    border-top: 2px solid #e5e7eb;
}

.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: var(--primary-blue);
}

.footer-section p {
    color: var(--light-slate);
    line-height: 1.6;
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: transparent;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--light-slate);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: var(--light-slate);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info-centered {
        padding: 0 1rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services h2,
    .about-text h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Logo Enhancement Styles */
.nav-logo {
    cursor: pointer;
}

/* Removed duplicate - handled in main logo styling */

/* Navbar scrolled state */
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Mobile navigation adjustments for logo */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Enhanced Brand Styling - Additional button refinements handled above */

/* Service card icon enhancements */
.service-card:nth-child(1) .service-icon {
    color: var(--primary-blue);
}

.service-card:nth-child(2) .service-icon {
    color: var(--secondary-green);
}

.service-card:nth-child(3) .service-icon {
    color: var(--accent-orange);
}

.service-card:nth-child(4) .service-icon {
    color: var(--secondary-blue);
}

/* Stats color variations */
.stat:nth-child(1) h3 {
    color: var(--primary-blue);
}

.stat:nth-child(2) h3 {
    color: var(--secondary-green);
}

.stat:nth-child(3) h3 {
    color: var(--accent-orange);
}

/* Contact section enhancements */
.contact-item i {
    color: var(--secondary-blue);
}

/* Duplicate footer styling removed - handled above */

/* Logo animation enhancement */
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(30, 64, 175, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(30, 64, 175, 0.5)); }
}

/* Simplified logo hover - using main hover effect */

/* Logo styling complete - video styles removed */
