/* --- Root Variables & Global Reset --- */
:root {
    --primary-color: #0066cc;      
    --secondary-color: #001f4d;    
    --text-dark: #2d3748;          
    --text-light: #718096;         
    --bg-light: #f7fafc;           
    --white: #ffffff;
    --whatsapp-green: #25d366;     
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Floating WhatsApp Button Style --- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.whatsapp-floating:hover {
    transform: translateY(-4px);
    background-color: #20ba56;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Navigation Bar Layout --- */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #edf2f7;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px; 
    width: auto;  
    display: block;
    object-fit: contain;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 28px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

/* --- Reusable Section Typography --- */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* --- Polished Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25);
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.btn-whatsapp {
    background-color: transparent;
    color: var(--whatsapp-green);
    border: 2px solid var(--whatsapp-green);
    margin-left: 15px;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-block {
    width: 100%;
    display: block;
}

/* --- Hero Section --- */
.hero-section {
    background: radial-gradient(circle at 80% 20%, #f0f7ff 0%, #ffffff 100%);
    padding: 180px 0 140px 0;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--primary-color);
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 680px;
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-light);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* --- Niche Edge Section --- */
.edge-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

.edge-section h2 {
    color: var(--white);
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.edge-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #66b2ff;
}

.edge-item p {
    color: #a0aec0;
}

/* --- Contact Section --- */
.contact-form {
    max-width: 550px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* --- Footer Section --- */
footer {
    background-color: #0a1128;
    color: #a0aec0;
    padding: 80px 0 20px 0;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

footer h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

footer p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-details p {
    margin-bottom: 10px;
}

.footer-details strong {
    color: #e2e8f0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a202c;
    padding-top: 30px;
    font-size: 0.85rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 24px;
    }
    
    .logo-img {
        height: 42px; 
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 2px solid #edf2f7;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    nav a {
        margin: 0;
        padding: 15px 30px;
        font-size: 1.05rem;
        border-bottom: 1px solid #f7fafc;
    }
    
    nav a:last-child {
        border-bottom: none;
    }

    .menu-toggle:checked ~ nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .hero-section {
        padding: 150px 0 80px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .btn-whatsapp {
        margin-left: 0;
    }

    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.1rem;
    }
    .container {
        padding: 0 16px;
    }
}