:root {
    /* Color Palette */
    --primary-color: #059669; /* Emerald Green */
    --primary-hover: #047857;
    --secondary-color: #2563eb; /* Blue for trust/electricity */
    --secondary-hover: #1d4ed8;
    
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Typography Utilities */
.subtitle {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 14px 0 rgba(5, 150, 105, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.23);
    color: white;
}

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

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo,
.header.scrolled .nav-links a:not(.btn-primary) {
    color: var(--text-main);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    color: var(--bg-white);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 16px;
    display: block;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-content a::after {
    display: none; /* remove underline effect for dropdown items */
}

.dropdown-content a:hover {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--primary-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Internal Page Styles */
.page-header {
    padding: 120px 0 60px;
    background: var(--bg-dark);
    color: var(--bg-white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.page-content {
    padding: 80px 0;
    background: var(--bg-white);
}

.service-accordion {
    max-width: 800px;
    margin: 40px auto;
}

.accordion-item {
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
}

.accordion-content p {
    padding-bottom: 20px;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-box i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(5, 150, 105, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.contact-box h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-box p {
    color: var(--text-muted);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--bg-white);
    cursor: pointer;
}

.header.scrolled .menu-toggle {
    color: var(--text-main);
}

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

.hero-video {
    position: absolute;
    top: -5vh;
    left: -110vw;
    width: 220vw;
    height: 110vh;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

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

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--primary-color);
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
    font-weight: 500;
}

.about-list li i {
    color: var(--primary-color);
    background: rgba(5, 150, 105, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Client Logos */
.client-logos {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden; /* Prevents horizontal scrollbar */
}

.client-logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.client-logo-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
}

.client-logo-track:hover {
    animation-play-state: paused; /* Optional: pause on hover */
}

.client-logo-set {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px; /* Equal to gap to maintain seamless loop */
}

.client-logo-set img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo-set img:hover {
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.section-header {
    margin-bottom: 60px;
}

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

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(5, 150, 105, 0.2);
    position: absolute;
    top: 30px;
    right: 30px;
}

.testimonial-card p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.author h4 {
    color: var(--text-main);
    margin-bottom: 5px;
}

.author span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--primary-color);
}

.brand-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-col ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-col ul li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Floating Social */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.fab-btn.whatsapp {
    background-color: #25D366;
}

.fab-btn.phone {
    background-color: var(--primary-color);
}

.fab-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start; /* Left-align the menu items */
        gap: 15px; /* Space out the links vertically */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 20px 30px; /* Add nice padding on the sides */
        box-shadow: var(--shadow-md);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        color: var(--text-main) !important;
    }
    
    .dropdown-content {
        display: none; /* Hidden by default on mobile, toggled via JS */
        flex-direction: column;
        position: static;
        box-shadow: none;
        padding: 0 0 0 20px;
        background: transparent;
    }
    .dropdown-content a {
        padding: 10px 0 !important;
    }
    
    .menu-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-content, .about, .cta, .testimonials, .client-logos {
        padding: 50px 0;
    }
    
    .features {
        margin-top: 0;
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}
