:root {
    --primary-navy: #0A192F;
    --secondary-white: #FFFFFF;
    --neutral-gray: #F3F4F6;
    --text-gray: #4B5563;
    --accent-blue: #0077B6;
    --border-light: #E5E7EB;

    --font-main: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-gray);
    background-color: var(--secondary-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.125rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    min-width: 44px;
    min-height: 44px;
    /* Touch target size */
}

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

.btn-primary:hover {
    background-color: #005f92;
    transform: translateY(-2px);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: padding var(--transition-smooth);
}

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

.logo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-navy);
    white-space: nowrap;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: none;
    /* Mobile first */
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -105%;
    width: 72%;
    max-width: 320px;
    height: auto;
    background-color: var(--secondary-white);
    box-shadow: -5px 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 0 16px;
    z-index: 999;
    padding: 24px 32px 32px;
    transition: right var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a:not(.btn) {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    padding: 10px 0;
    position: relative;
    width: fit-content;
    transition: color 0.3s ease;
}

.mobile-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.mobile-menu a:not(.btn):hover,
.mobile-menu a.active:not(.btn) {
    color: var(--accent-blue);
}

.mobile-menu a:not(.btn):hover::after,
.mobile-menu a.active:not(.btn)::after {
    width: 100%;
}

.mobile-menu .btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content Wrapper */
main {
    margin-top: 80px;
    /* Offset for fixed header */
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--secondary-white);
    max-width: 600px;
    animation: fadeIn 1s ease-out forwards;
}

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

.hero p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

/* Cards */
.card {
    background: var(--secondary-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--neutral-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-blue);
    font-size: 1.5rem;
}

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

/* Services Background */
.services-section {
    background-color: var(--neutral-gray);
}

/* Projects */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.project-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.project-info {
    padding: 24px;
    flex: 1;
}

.project-info h3 {
    margin-bottom: 8px;
}

/* Contact CTA */
.cta-section {
    background-color: var(--primary-navy);
    color: var(--secondary-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--secondary-white);
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Footer */
.footer {
    background-color: #050d1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

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

.footer h4 {
    color: var(--secondary-white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--secondary-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Map */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Headers */
.page-header {
    background-color: var(--primary-navy);
    color: var(--secondary-white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--secondary-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Page specific */
.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-detail:nth-child(even) .service-img-col {
    order: -1;
}

.service-img {
    border-radius: 12px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.service-content ul {
    list-style-type: none;
    margin-top: 20px;
}

.service-content ul li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.service-content ul li::before {
    content: '✓';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* About Page Specific */
.team-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Contact Info */
.contact-info-card {
    background: var(--neutral-gray);
    padding: 32px;
    border-radius: 12px;
}

.contact-info-item {
    margin-bottom: 24px;
}

.contact-info-item h4 {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 900;
    transition: transform var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive Design - Desktop First overrides */
@media (min-width: 768px) {
    .logo {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 20px;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail:nth-child(even) .service-img-col {
        order: 1;
        /* Reset on desktop so image is on right */
    }
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

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

    .nav-links a {
        font-weight: 600;
        color: var(--primary-navy);
    }

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

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

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Team Section */
.team-grid-top,
.team-grid-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    text-align: center;
    background-color: var(--secondary-white);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-smooth);
    flex: 1 1 300px;
    max-width: 340px;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-photo {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%; /* Perfect circular avatars */
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15); /* Stronger shadow to pop against the white card */
}

.team-name {
    font-size: 1.3rem; /* Slightly larger */
    color: var(--primary-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-role {
    font-size: 0.95rem;
    color: var(--accent-blue);
    font-weight: 600;
}