:root {
    --primary-color: #00111b; 
    --accent-color: #00d4ff;  
    --text-color: #e0e0e0;
    --bg-color: #021a29;      
    --card-bg: #05263b;
    --white: #ffffff;
    --whatsapp-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0, 17, 27, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo img {
    height: 40px; /* Adjust size as needed */
    width: auto;
}

/* .logo i { ... } removed as it is replaced by img */

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--accent-color) !important;
}

.btn-nav:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, var(--bg-color) 0%, var(--primary-color) 100%);
    padding: 0 20px;
    padding-top: 60px; /* Offset for fixed navbar */
}

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

.highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--whatsapp-green);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #1ebe57;
}

.btn-secondary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block; /* Prevent full-width stretch issues */
    transition: 0.3s;
}

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

/* Services Section */
.services-section, .reviews-section, .work-section, .contact-section {
    padding: 80px 5%;
    text-align: center;
}

.services-section h2, .reviews-section h2, .work-section h2, .contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--white);
}

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

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.card .icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

/* Before & After (Work Section) */
.work-section {
    background-color: var(--bg-color);
}

.subtitle {
    color: #888;
    margin-top: -30px;
    margin-bottom: 50px;
}

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

.comparison-card {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.comparison-card .before, .comparison-card .after {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.comparison-card .before {
    background-color: #333;
    border-right: 2px solid var(--primary-color);
}

.comparison-card .after {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.label, .label-after {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.label-after {
    background: rgba(255,255,255,0.9);
    color: #000;
}

/* Reviews */
.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border-left: 4px solid var(--whatsapp-green);
}

.stars {
    color: #ffd700;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.review-card h4 {
    color: var(--white);
    text-align: right;
}

.reviews-cta {
    margin-top: 40px;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-color);
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
    justify-content: center;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column; /* Stack vertically next to map */
    gap: 20px;
    min-width: 250px;
}

.info-box {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.info-box:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.info-box i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0; /* Override previous centered style */
    width: 40px;
    text-align: center;
}

.info-box h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-box p {
    margin: 0;
    color: #ccc;
}

/* Social Footer */
.social-links-footer {
    margin-top: 60px;
    margin-bottom: 30px;
}

.social-links-footer p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.social-icons a {
    width: 50px;
    height: 50px;
    flex-shrink: 0; /* Prevent shrinking into ovals */
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    padding-top: 20px;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .hero-section {
        padding-top: 180px; /* Offset for taller stacked navbar */
        height: auto;       /* Allow growing content */
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    /* Fixed Button Wrapping */
    .reviews-cta .btn-secondary {
        width: 90%;
        font-size: 0.9rem;
        padding: 12px 10px;
    }

    /* Tighter Spacing */
    .services-section, .reviews-section, .work-section, .contact-section {
        padding: 50px 5%;
    }
    
    /* Stack Contact Section */
    .contact-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .map-container {
        width: 100%;
        height: 300px;
    }
    
    .contact-info {
        width: 100%;
    }
}
