/* ============================================
   CSS Variables
   ============================================ */
   :root {
    --primary-color: #1E40AF;     
    --secondary-color: #1E3A8A;    
    --accent-color: #3B82F6;       
    --light-blue: #DBEAFE;        
    --text-color: #0F172A;         
    --dark-bg: #1E293B;            
    --dark-secondary: #0F172A;     
    --gray-text: #475569;        
    --light-gray: #F1F5F9;         
    --white: #FFFFFF;
    --font-heading: 'Antonio', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

h1 {
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
}

h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
}

h3 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

h4 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.section-divider {
    width: 100px;
    height: 6px;
    background-color: var(--primary-color);
    margin: 20px 0 30px;
}

/* ============================================
   Top Bar
   ============================================ */
   .top-bar {
    background-color: var(--text-color);
    padding: 15px 0;
}

.top-bar-content {
    width: 100%;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 350;
    font-size: 18px;
}

.contact-item:nth-child(1) {
    justify-self: start;
}

.contact-item:nth-child(2) {
    justify-self: center;
}

.contact-item:nth-child(3) {
    justify-self: end;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .contact-item {
        justify-self: center !important;
    }
}
/* ============================================
   Brand Logo
   ============================================ */
.logo a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo a:hover {
    color: var(--white);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    padding: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}



/* ============================================
   Hero Section
   ============================================ */
.hero {
    background-image: url('imgs/hero.jpg');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    position: relative;
    padding: 210px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-secondary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(1deg, 
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(30, 64, 175, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-right: 1em;
}

.hero-title {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.1em;
}

.hero-subtitle {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .hero-divider {
    width: 344px;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 40px 0 30px;
    border-radius: 4px;
}

.hero-text {
    color: var(--light-blue);
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 700;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.1) 0%, 
        transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content {
    padding: 100px 50px 100px 0;
    color: var(--white);
}

.about-content h2 {
    font-size: 60px;
    color: var(--white);
}

.about-content .section-divider {
    background-color: var(--white);
    width: 134px;
    margin: 10px 0 30px;
}

.about-content p {
    font-family: var(--font-body);
    font-size: 16px;
    margin-bottom: 1.5em;
    color: var(--light-blue);
    line-height: 1.8;
    font-weight: 500;
}

.about-image {
    position: relative;
    z-index: 9;
    margin: -50px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-block;
    padding: 20px 45px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-secondary);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* ============================================
   Services Grid Section 
   ============================================ */
   .services-grid-section {
    background-color: var(--dark-secondary);
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.services-grid-section .container {
    max-width: 100%;
    padding: 0;
}

.services-grid-section .section-header {
    text-align: center;
    padding: 0 20px 50px;
    max-width: 1140px;
    margin: 0 auto;
}

.services-grid-section .section-header h2 {
    color: var(--accent-color);
    font-size: 48px;
}

.services-grid-section .section-divider {
    margin: 20px auto 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 100px;
    height: 4px;
}

.services-grid-section .section-header p {
    color: var(--light-blue);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

.services-grid-wrapper {
    width: 100%;
}

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

/* Service Card - Altura Reduzida */
.service-card {
    position: relative;
    height: 350px !important;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.6) 40%,
        rgba(30, 64, 175, 0.3) 100%
    );
    transition: background 0.4s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.75) 40%,
        rgba(30, 64, 175, 0.5) 100%
    );
}

/* Grayscale effect */
.service-card-bg {
    filter: grayscale(50%) brightness(0.5);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.service-card:hover .service-card-bg {
    filter: grayscale(0%) brightness(0.7);
}

/* Service Card Content */
.service-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 35px;
}

.service-title {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.service-card:hover .service-title {
    transform: translateY(-3px);
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-title::after {
    width: 80px;
    background: var(--white);
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease 0.1s, margin 0.3s ease;
    opacity: 0;
}

.service-card:hover .service-description {
    max-height: 150px; 
    opacity: 1;
    margin-bottom: 15px;
}

.service-link {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transition: opacity 0.3s ease 0.15s, color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-link {
    opacity: 1;
}

.service-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .services-grid-section {
        padding: 60px 0;
    }
    
    .services-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        height: 300px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .service-description {
        font-size: 12px;
    }
    
    .service-card-content {
        padding: 25px 30px;
    }
    
    .services-grid-section .section-header h2 {
        font-size: 40px;
    }
}

/* Mobile Landscape (576px - 767px) */
   @media (max-width: 767px) {
    .service-card {
        height: auto !important;
        min-height: 300px;
    }
    
    .service-card .service-description {
        max-height: 200px;
        opacity: 1;
        margin-bottom: 15px;
        display: block ;
        overflow: visible;
    }
    
    .service-card .service-link {
        opacity: 1 ;
        display: inline-block; 
    }
    
    .service-card.in-view {
        border: 2px solid var(--accent-color);
    }
    
    .service-card.in-view .service-title {
        transform: translateY(-3px);
    }
    
    .service-card.in-view .service-title::after {
        width: 80px;
        background: var(--white);
    }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575px) {
    .services-grid-section {
        padding: 50px 0;
    }
    
    .service-card {
        height: 260px;
    }
    
    .service-title {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    
    .service-title::after {
        width: 40px;
        height: 2px;
    }
    
    .service-card:hover .service-title::after {
        width: 60px;
    }
    
    .service-card-content {
        padding: 20px;
    }
    
    .service-description {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .service-card:hover .service-description {
        max-height: 120px;
    }
    
    .service-link {
        font-size: 12px;
    }
    
    .services-grid-section .section-header h2 {
        font-size: 30px;
    }
    
    .services-grid-section .section-header p {
        font-size: 15px;
    }
}
/* Whatspp Icone */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 35px;
    right: 35px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
}
/* ============================================
   Stats Section
   ============================================ */
.stats {
    background-color: var(--light-gray);
    padding: 50px 0;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-highlight {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
    margin: -50px 0;
    padding: 50px 0;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.stat-highlight .stat-number {
    color: var(--accent-color);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-text);
    margin-top: 10px;
}

.stat-highlight .stat-label {
    color: var(--light-blue);
}

/* ============================================
   Clients / Portfolio Section
   ============================================ */
.clients-carousel-section {
    background-color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.clients-carousel-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients-carousel-section .section-header h2 {
    color: var(--text-color);
    font-size: 48px;
}

.clients-carousel-section .section-divider {
    margin: 20px auto 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 100px;
    height: 4px;
}

.clients-carousel-section .section-header p {
    color: var(--gray-text);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
}

.clients-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.clients-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.clients-carousel-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.clients-carousel-track:hover {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.client-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   Carousel Responsive
   ============================================ */
@media (max-width: 1024px) {
    .clients-carousel-section {
        padding: 60px 0;
    }
    
    .clients-carousel-section .section-header h2 {
        font-size: 40px;
    }
    
    .clients-carousel-track {
        gap: 40px;
    }
    
    .client-logo-item {
        width: 140px;
        height: 70px;
    }
}

@media (max-width: 767px) {
    .clients-carousel-section {
        padding: 50px 0;
    }
    
    .clients-carousel-section .section-header h2 {
        font-size: 36px;
    }
    
    .clients-carousel-track {
        gap: 30px;
    }
    
    .client-logo-item {
        width: 120px;
        height: 60px;
    }
    
    .clients-carousel-wrapper::before,
    .clients-carousel-wrapper::after {
        width: 50px;
    }
}

@media (max-width: 575px) {
    .clients-carousel-section {
        padding: 40px 0;
    }
    
    .clients-carousel-section .section-header h2 {
        font-size: 30px;
    }
    
    .clients-carousel-track {
        gap: 25px;
    }
    
    .client-logo-item {
        width: 100px;
        height: 50px;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: linear-gradient(135deg, var(--dark-secondary), var(--dark-bg));
    padding: 124px 0 80px;
    text-align: center;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(59, 130, 246, 0.05) 0%, 
        transparent 70%);
    pointer-events: none;
}

.features h2 {
    color: var(--accent-color);
    position: relative;
}

.features .section-divider {
    margin: 30px auto 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 50px;
    position: relative;
}

.feature-item {
    padding: 0 40px;
    border-right: 1px solid rgba(59, 130, 246, 0.3);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item h3 {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--light-blue);
    opacity: 0.9;
}
/* ============================================
   Services Grid Section
   ============================================ */
   .services-grid-section {
    background-color: var(--dark-secondary);
    padding: 100px 0;
}

.services-grid-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid-section .section-header h2 {
    color: var(--accent-color);
}

.services-grid-section .section-divider {
    margin: 20px auto 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.services-grid-section .section-header p {
    color: var(--light-blue);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
}

.services-grid-wrapper {
    width: 100%;
}

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

.service-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(30, 64, 175, 0.3) 100%
    );
    transition: background 0.4s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(30, 64, 175, 0.5) 100%
    );
}

.service-card-bg {
    filter: grayscale(15%) brightness(0.9);
        transition: filter 0.6s ease, transform 0.6s ease;
}

.service-card:hover .service-card-bg {
    filter: grayscale(0%) brightness(0.8);
}

/* Service Card Content */
.service-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.service-title {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-title::after {
    width: 100px;
    background: var(--white);
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    opacity: 0;
}

.service-card:hover .service-description {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 20px;
}




/* Efeito de brilho no hover */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .services-grid-section {
        padding: 80px 0;
    }
    
    .services-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        height: 400px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-description {
        font-size: 13px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .nav-content {
        justify-content: center; /* Centers the logo */
        position: relative;
    }
    
    .logo {
        text-align: center;
    }
    .services-grid-section {
        padding: 60px 0;
    }
    
    .services-row {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 350px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .service-card-content {
        padding: 30px;
    }
    
    .service-description {
        font-size: 13px;
        max-height: 0;
    }
    
    .service-card:hover .service-description {
        max-height: 150px;
    }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575px) {
    .service-card {
        height: 300px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-title::after {
        width: 40px;
        height: 2px;
    }
    
    .service-card:hover .service-title::after {
        width: 80px;
    }
    
    .service-card-content {
        padding: 25px;
    }
    
    .service-description {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .service-card:hover .service-description {
        max-height: 120px;
    }
    
    .services-grid-section .section-header h2 {
        font-size: 32px;
    }
    
    .services-grid-section .section-header p {
        font-size: 16px;
    }
}


/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-image: url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-secondary);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(30, 64, 175, 0.7) 100%);
}

.contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-content h2 {
    color: var(--accent-color);
}

.contact-content .section-divider {
    margin: 20px auto 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-form {
    max-width: 700px;
    margin: 50px auto 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 2;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--white);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.contact-form .btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-loader {
    display: inline-block;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
    padding: 100px 0 0;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 20px;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--light-blue);
    font-size: 16px;
}

.footer-contact a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

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

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

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

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

.footer-map img {
    width: 100%;
    border-radius: 5px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

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

.copyright p {
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: 14px;
    color: var(--light-blue);
}

.back-to-top a {
    color: var(--accent-color);
    font-size: 16px;
    transition: color 0.3s;
}

.back-to-top a:hover {
    color: var(--white);
}

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

.footer-social .social-icon {
    color: var(--light-blue);
}

.footer-social .social-icon:hover {
    color: var(--accent-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 80px;
    }
    
    h2 {
        font-size: 48px;
    }
    
    h3 {
        font-size: 32px;
    }
    
    h4 {
        font-size: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        padding: 80px 30px;
    }
    
    .about-image {
        margin: -40px 30px -40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-highlight {
        margin: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 50px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0;
    }
    
    .hero .hero-divider {
        width: 120px;
    }
    
    .hero-text {
        font-size: 22px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding: 60px 20px;
        text-align: center;
    }
    
    .about-content .section-divider {
        margin: 10px auto 30px;
    }
    
    .about-image {
        margin: 0 20px -60px;
        padding: 100px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.3);
        padding: 30px 0;
    }
    
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}