/* ===================================
   AB Climatizers Pvt Ltd - Stylesheet
   Modern Construction Website
   =================================== */

/* ===== CSS Variables ===== */
:root {
    /* Construction-themed Color Palette */
    --primary: #D97706;
    /* Warm amber/orange - construction equipment */
    --primary-dark: #B45309;
    --primary-light: #FBBF24;

    --secondary: #1E3A5F;
    /* Deep steel blue */
    --secondary-dark: #0F2744;
    --secondary-light: #2D5584;

    --accent: #059669;
    /* Safety green */
    --accent-light: #10B981;

    --dark: #0F172A;
    /* Near black */
    --dark-gray: #1E293B;
    --gray: #475569;
    --light-gray: #94A3B8;
    --lighter-gray: #E2E8F0;
    --white: #FFFFFF;
    --off-white: #F8FAFC;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--secondary-dark) 100%);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--secondary-light);
    border-radius: 50%;
    position: relative;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    animation: innerPulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        border-color: var(--secondary-light);
    }

    50% {
        transform: scale(1.1);
        border-color: var(--primary);
    }
}

@keyframes innerPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn i {
    font-size: 14px;
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(217, 119, 6, 0.4);
    transform: translateY(-2px);
}

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

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

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Header ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 20px 0;
    transition: var(--transition-normal);
}

#header.scrolled .navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

#header:not(.scrolled) .company-name {
    color: var(--white);
}

.company-tagline {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#header:not(.scrolled) .company-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition-normal);
}

#header.scrolled .logo-img {
    height: 50px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

#header.scrolled .nav-link {
    color: var(--dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-weight: 500;
}

#header.scrolled .nav-phone {
    background: var(--gradient-primary);
    color: var(--white);
}

.nav-phone:hover {
    background: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

#header.scrolled .hamburger span {
    background: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&h=1080&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 95, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ===== About Section ===== */
.about {
    padding: var(--section-padding);
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
}

.about-text {
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text strong {
    color: var(--dark);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--accent);
    font-size: 18px;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark);
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--lighter-gray);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    background: var(--gradient-secondary);
    border: none;
}

.service-card.featured .service-title,
.service-card.featured .service-desc,
.service-card.featured .service-features span {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-light);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gray);
}

.service-features i {
    color: var(--accent);
    font-size: 10px;
}

/* ===== Projects Section ===== */
.projects {
    padding: var(--section-padding);
    background: var(--off-white);
}

.projects-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    background: var(--white);
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.project-location {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.project-location i {
    margin-right: 5px;
}

/* ===== Why Us Section ===== */
.why-us {
    padding: var(--section-padding);
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
}

.advantage-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 24px;
    color: var(--primary);
}

.advantage-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.advantage-text p {
    color: var(--gray);
    font-size: 15px;
}

.stats-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.stat-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-card .stat-icon i {
    font-size: 20px;
    color: var(--white);
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-card .stat-name {
    font-size: 14px;
    color: var(--gray);
}

/* ===== Clients Showcase ===== */
.clients-showcase {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.clients-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.client-logo {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition-normal);
}

.client-card:hover .client-logo {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.client-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.client-name {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&h=400&fit=crop') center/cover no-repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding);
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 22px;
    color: var(--primary);
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

.contact-details a {
    color: var(--gray);
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-group textarea+label {
    top: 20px;
    transform: none;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:valid+label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--primary);
    background: var(--white);
    padding: 0 8px;
}

/* ===== Footer ===== */
.footer {
    background: var(--gradient-dark);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: var(--gradient-primary);
}

.footer-logo .company-name {
    color: var(--white);
}

.footer-logo .company-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom i {
    color: var(--primary);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.4);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

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

    .nav-menu .nav-link {
        color: var(--dark);
        font-size: 18px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-phone span {
        display: none;
    }

    .about-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stats-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-img-secondary {
        right: 20px;
        bottom: -20px;
        width: 180px;
    }

    .about-experience-badge {
        left: 10px;
        top: 10px;
        width: 100px;
        height: 100px;
    }

    .about-experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-showcase {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .clients-showcase {
        padding: 25px;
    }

    .projects-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    /* Hero section fixes for small phones */
    .hero {
        padding-top: 100px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .logo-img {
        height: 50px;
    }

    #header.scrolled .logo-img {
        height: 45px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-plus {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 12px;
    }
}