/* =========================================
   1. CSS VARIABLES & RESET
   ========================================= */
   :root {
    --bg-main: #0a0f1c;
    --bg-surface: #131b2f;
    --primary-blue: #1d4ed8;
    --primary-hover: #2563eb;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }

/* Updated to include video tags */
img, video {
    max-width: 100%;
    display: block;
    border-radius: 8px;
    background-color: #1e293b; 
    object-fit: cover;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; position: relative; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.btn-primary { background-color: var(--primary-blue); color: #ffffff; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { background-color: transparent; border-color: var(--border-color); color: var(--text-light); }
.btn-outline:hover { background-color: var(--bg-surface); border-color: var(--text-muted); }
.btn-white { background-color: #ffffff; color: var(--primary-blue); }
.btn-white:hover { background-color: #f8fafc; color: var(--primary-hover); }
.btn-soft { width: 100%; background-color: rgba(29, 78, 216, 0.1); color: var(--primary-hover); border: 1px solid transparent; }
.btn-soft:hover { background-color: var(--primary-blue); color: #fff; }

/* Subtitle */
.subtitle {
    color: var(--primary-hover); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.5rem;
}

/* =========================================
   2. HEADER & NAV
   ========================================= */
header { padding: 1.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: relative; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text-light); }
.menu-toggle { display: none; cursor: pointer; color: var(--text-light); }

/* =========================================
   3. HOME PAGE STYLES
   ========================================= */
.hero { display: flex; align-items: center; gap: 4rem; padding: 6rem 0; }
.hero-content { flex: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: rgba(29, 78, 216, 0.1); color: var(--primary-hover);
    padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.75rem;
    font-weight: 700; letter-spacing: 0.5px; margin-bottom: 1.5rem;
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--primary-hover); }
.hero p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-image { flex: 1; }
.hero-image img { width: 100%; aspect-ratio: 4/3; border-radius: 12px; }

.services { padding: 5rem 0; text-align: center; }
.services .subtitle { justify-content: center; }
.services h2 { font-size: 2.5rem; margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background-color: var(--bg-surface); padding: 2.5rem 2rem; border-radius: 12px; text-align: left; transition: transform 0.3s ease; }
.service-card:hover { transform: translateY(-5px); }
.service-icon { width: 40px; height: 40px; background-color: rgba(29, 78, 216, 0.1); color: var(--primary-hover); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

.features { padding: 5rem 0; display: flex; align-items: center; gap: 4rem; }
.features-images { flex: 1; position: relative; display: flex; gap: 1rem; }
.features-images img { width: 48%; aspect-ratio: 1/1; }
.experience-badge { position: absolute; bottom: 20%; left: 45%; transform: translateX(-50%); background-color: var(--primary-hover); color: white; padding: 1rem; border-radius: 8px; text-align: center; font-weight: 700; }
.experience-badge span { display: block; font-size: 1.5rem; }
.experience-badge small { font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase; }
.features-content { flex: 1; }
.features-content h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 2rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { color: var(--primary-hover); margin-top: 0.2rem; }
.feature-item h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature-item p { color: var(--text-muted); font-size: 0.9rem; }

.portfolio { padding: 5rem 0; }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.portfolio-header h2 { font-size: 2rem; }
.portfolio-link { color: var(--primary-hover); font-size: 0.9rem; font-weight: 600; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-grid img { width: 100%; aspect-ratio: 1/1; }

.cta { padding: 0 0 5rem 0; }
.cta-banner { background-color: var(--primary-hover); border-radius: 16px; padding: 3rem 4rem; display: flex; justify-content: space-between; align-items: center; }
.cta-banner h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; }

/* =========================================
   4. OUR WORK PAGE STYLES 
   ========================================= */
.page-header { padding: 4rem 0 2rem 0; }
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 800px; }

.filters { display: flex; gap: 2rem; border-bottom: 1px solid var(--border-color); margin-bottom: 3rem; list-style: none; padding-bottom: 1px; }
.filters li { padding-bottom: 0.75rem; cursor: pointer; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; position: relative; top: 1px; }
.filters li.active { color: var(--text-light); border-bottom: 2px solid var(--primary-blue); }
.filters li:hover { color: var(--text-light); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
.project-card { background-color: var(--bg-surface); border-radius: 12px; overflow: hidden; }
.project-img-wrapper { position: relative; }

/* Updated to include video aspect ratios */
.project-img-wrapper img, 
.project-img-wrapper video { 
    width: 100%; 
    aspect-ratio: 16/9; 
    border-radius: 0; 
}

.project-badge { position: absolute; top: 1rem; right: 1rem; background-color: var(--primary-blue); color: white; padding: 0.3rem 0.6rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; z-index: 10; }
.project-content { padding: 1.5rem; }
.project-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-content p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; line-height: 1.5; }
.project-date { display: flex; align-items: center; gap: 0.5rem; color: var(--primary-blue); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.testimonials { padding: 3rem 0 5rem 0; }
.testimonials h2 { font-size: 2rem; margin-bottom: 2.5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.test-card { background-color: var(--bg-surface); padding: 2.5rem; border-radius: 12px; }
.stars { color: #facc15; font-size: 1.2rem; margin-bottom: 1.2rem; letter-spacing: 2px; }
.test-quote { font-style: italic; color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }
.author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 45px; height: 45px; background-color: rgba(29, 78, 216, 0.2); color: var(--primary-hover); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.author-info h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.author-info p { color: var(--text-muted); font-size: 0.8rem; }

.footer-cta { text-align: center; padding: 6rem 0; background-color: var(--bg-main); }
.footer-cta h2 { font-size: 2.2rem; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer-cta p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer-cta-btns { display: flex; justify-content: center; gap: 1rem; }

/* =========================================
   5. DETAILED SERVICES PAGE STYLES
   ========================================= */
.detailed-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: 5rem; }
.detailed-service-card { background-color: var(--bg-surface); padding: 3rem; border-radius: 16px; display: flex; flex-direction: column; }
.detailed-service-card .card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.detailed-service-card .card-tag { font-size: 0.75rem; font-weight: 700; color: var(--primary-blue); letter-spacing: 1px; text-transform: uppercase; }
.detailed-service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.detailed-service-card p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; flex-grow: 1; }
.service-checklist { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.service-checklist li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-muted); font-size: 0.9rem; }
.service-checklist li svg { color: var(--primary-blue); flex-shrink: 0; margin-top: 0.2rem; }

.cta-banner-center { background-color: var(--primary-blue); border-radius: 16px; padding: 4rem; text-align: center; margin-bottom: 5rem; }
.cta-banner-center h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-banner-center p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2.5rem auto; }
.cta-banner-center .hero-buttons { justify-content: center; }

/* =========================================
  /* =========================================
   6. CONTACT PAGE STYLES
   ========================================= */
.contact-hero { 
    position: relative; 
    padding: 8rem 0; /* Increased from 6rem to show more of the image */
    text-align: center; 
    background-color: var(--bg-surface); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.contact-hero h1 { font-size: 3.5rem; margin-bottom: 1rem; position: relative; z-index: 2; }
.contact-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1rem; max-width: 90%; }
.contact-method { display: flex; align-items: center; gap: 1.5rem; background-color: var(--bg-surface); padding: 1.5rem; border-radius: 12px; margin-bottom: 1rem; border: 1px solid var(--border-color); transition: transform 0.2s ease, border-color 0.2s ease; }
.contact-method:hover { transform: translateY(-3px); border-color: var(--primary-blue); }
.method-icon { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.method-icon.phone { background-color: rgba(255, 255, 255, 0.05); color: var(--text-muted); }
.method-icon.whatsapp { background-color: rgba(34, 197, 94, 0.1); color: #22c55e; }
.method-icon.email { background-color: rgba(29, 78, 216, 0.1); color: var(--primary-blue); }
.method-details h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.25rem; }
.method-details p { font-size: 1.1rem; font-weight: 600; color: var(--text-light); }
.location-card { background-color: var(--bg-surface); border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; }
.location-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); }
.location-header-title { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.location-badge { background-color: rgba(255, 255, 255, 0.1); font-size: 0.7rem; padding: 0.3rem 0.6rem; border-radius: 4px; font-weight: 700; letter-spacing: 0.5px; }

/* Real Google Map Styling */
.map-responsive { width: 100%; height: 250px; overflow: hidden; background-color: #0d1221; }
.map-responsive iframe { width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(180deg) contrast(100%) opacity(80%); }

.location-body { padding: 1.5rem; border-bottom: 1px solid var(--border-color); }
.location-body h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.location-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; }
.location-footer { padding: 1rem 1.5rem; display: flex; gap: 1.5rem; background-color: rgba(0,0,0,0.2); font-size: 0.8rem; color: var(--text-muted); }
.location-footer span { display: flex; align-items: center; gap: 0.5rem; }

/* Footers */
.main-footer { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 5rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--text-light); margin-bottom: 1.5rem; font-size: 1rem; }
.footer-col p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-hover); }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input { background-color: var(--bg-surface); border: 1px solid var(--border-color); padding: 0.75rem 1rem; border-radius: 6px; color: #fff; flex: 1; outline: none; }
.newsletter-form input:focus { border-color: var(--primary-blue); }
.newsletter-form button { padding: 0.75rem 1rem; background-color: var(--primary-blue); border: none; border-radius: 6px; color: white; cursor: pointer; font-weight: 600; }
.newsletter-form button:hover { background-color: var(--primary-hover); }
.micro-footer { text-align: center; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* =========================================
   7. RESPONSIVE DESIGN (INCLUDING HAMBURGER)
   ========================================= */
@media (max-width: 900px) {
    .hero, .features { flex-direction: column; text-align: center; gap: 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { margin: 0 auto 2rem auto; }
    .hero-buttons { justify-content: center; }
    .hero-badge, .subtitle { justify-content: center; }
    .services-grid, .portfolio-grid, .projects-grid, .testimonials-grid, .detailed-services-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .features-item { text-align: left; }
    .cta-banner { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; }
    .cta-banner-center { padding: 3rem 1.5rem; }
    .filters { overflow-x: auto; white-space: nowrap; padding-bottom: 0.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .location-footer { flex-direction: column; gap: 0.5rem; }

    /* Hamburger Menu Styles */
    .menu-toggle { display: block; } 
    nav > .btn { display: none; } 
    
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        flex-direction: column;
        gap: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        z-index: 100;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5);
    }
    .nav-links li { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
    .nav-links.nav-active { display: flex; } 
}