/* ==================== VARIABLES ==================== */
:root {
    --header-height: 4.5rem;

    /* Colors - Dark Mode */
    --hue: 210;
    --sat: 28%;
    --lig: 12%;

    --first-color: #0b1120;
    /* Deep Black/Navy Background */
    --first-color-alt: #1e293b;
    /* Slightly lighter for cards/sections */
    --title-color: #f8fafc;
    /* White/Off-white for headings */
    --text-color: #cbd5e1;
    /* Light Gray for text */
    --text-color-light: #94a3b8;
    /* Dimmed text */
    --body-color: #0b1120;
    --container-color: #1e293b;
    --accent-color: #38bdf8;
    /* Brighter Sky Blue for dark mode contrast */
    --accent-color-hover: #0ea5e9;

    /* Typography */
    --body-font: 'Inter', sans-serif;
    --h1-font-size: 2.75rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Font Weights */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Z-Index */
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* Response Typography */
@media screen and (min-width: 968px) {
    :root {
        --h1-font-size: 3.5rem;
        --h2-font-size: 2.25rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
    }
}

/* ==================== BASE ==================== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== REUSABLE CSS CLASSES ==================== */
.section {
    padding: 5rem 0 2rem;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--accent-color);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1140px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

/* ==================== HEADER ==================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: .3s;
}

/* Scrolled Header State */
.header.scroll-header {
    background-color: rgba(11, 17, 32, 0.95);
    /* Dark background */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.header-container {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--title-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    position: relative;
}

.nav-list {
    display: flex;
    column-gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
    transition: .3s;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--container-color);
    width: 260px;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    margin-bottom: 0.5rem;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-link {
    display: block;
    padding: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    border-radius: 0.25rem;
}

.dropdown-link:hover {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    padding-left: 0.75rem;
}

.header-actions {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    border-color: var(--title-color);
    color: var(--title-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--title-color);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--small-font-size);
}

.btn-light {
    background-color: #fff;
    color: var(--accent-color);
}

.btn-light:hover {
    background-color: #f0f9ff;
    transform: translateY(-2px);
}

/* ==================== HERO ==================== */
.hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    background: radial-gradient(circle at top right, #1e293b 0%, #0b1120 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    /* text-align: center; on mobile, define in media query as needed. Default let's stick to left align for corporate */
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: var(--h1-font-size);
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

/* Underline effect for highlight */
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background-color: rgba(56, 189, 248, 0.2);
    z-index: -1;
}

.hero-description {
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    column-gap: 1rem;
}

.image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--container-color);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    background-color: #243046;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: .3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-color-light);
    font-size: 0.95rem;
}

/* ==================== ABOUT ==================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-text {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* ==================== PROCESS ==================== */
.process {
    background-color: #0f1525;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--container-color);
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-color-light);
}

/* ==================== INDUSTRIES ==================== */
.industries {
    background-color: var(--body-color);
}

.section-description {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.industry-card {
    background-color: var(--container-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
    background-color: #243046;
}

.industry-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.industry-card:hover .industry-icon {
    background: rgba(56, 189, 248, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.industry-name {
    font-size: 0.9rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    line-height: 1.3;
}

/* ==================== SEO CITY SERVICES ==================== */
.seo-cities {
    background-color: #0f1525;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.city-link {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    background-color: var(--container-color);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.city-link:hover {
    background-color: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--container-color);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.testimonial-card::before {
    content: '\201C';
    /* Quote mark */
    font-family: serif;
    font-size: 5rem;
    color: rgba(56, 189, 248, 0.2);
    position: absolute;
    top: -1rem;
    left: 1.5rem;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-color-light);
}

/* ==================== CTA ==================== */
.cta {
    background: linear-gradient(135deg, #1e293b 0%, #0b1120 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 4rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #020617;
    /* Very Dark */
    color: #94a3b8;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    column-gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: .3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-title {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 0.25rem;
    transition: .3s;
}

.contact-info li {
    display: flex;
    column-gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==================== MEDIA QUERIES ==================== */
@media screen and (min-width: 576px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 768px) {

    /* Tablet/Desktop Nav */
    .nav-menu {
        display: block;
    }

    .nav-toggle,
    .nav-close {
        display: none;
    }

    .nav-list {
        flex-direction: row;
        column-gap: 2.5rem;
    }

    .hero-container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .about-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {

    /* Mobile Nav - Hidden by default */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #0f1a2e;
        padding: 5rem 1.5rem 3rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
        transition: transform 0.4s ease, visibility 0.4s ease;
        z-index: calc(var(--z-fixed) - 1);
        transform: translateY(-110%);
        visibility: hidden;
        pointer-events: none;
    }

    /* When hamburger clicked - show menu */
    .nav-menu.show-menu {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        row-gap: 1.5rem;
        text-align: center;
    }

    .nav-link {
        color: #f8fafc;
        font-size: 1.1rem;
    }

    /* Dropdown inside mobile menu */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255,255,255,0.05);
        border-radius: 0.5rem;
        padding: 0.5rem;
        margin-top: 0.5rem;
        display: none;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item.active .dropdown-menu {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        display: block;
        font-size: 1.5rem;
        color: #f8fafc;
        cursor: pointer;
    }

    .nav-toggle {
        display: block;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }
}

/* ==================== FLOATING WIDGET ==================== */
.floating-widget {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    /* WhatsApp Green default */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    outline: none;
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: #008080;
    /* Teal/Blue for call */
}

.toggle-btn {
    background-color: #333;
    z-index: 1001;
}

.sub-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.sub-btns.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tooltip on hover */
.widget-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    pointer-events: none;
}

.widget-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: 80px;
}