/* ============================================
   Component Styles
   ============================================ */

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 60px;
    width: auto;
    max-height: 70px;
    object-fit: contain;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--fs-2xl);
    cursor: pointer;
    color: var(--text-primary);
    padding: var(--spacing-sm);
    line-height: 1;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .nav-list {
        position: static !important;
        transform: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: visible;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.7) 0%, rgba(15, 53, 84, 0.8) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-carousel {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    /* Define image reserved space at carousel level for dots positioning */
    --hero-image-reserved: clamp(220px, 32vh, 460px);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
}

.hero-slide-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Reserve responsive space for the bottom image */
    --hero-image-reserved: clamp(220px, 32vh, 460px);
    padding: var(--spacing-3xl) var(--spacing-lg) calc(var(--hero-image-reserved) + var(--spacing-2xl));
    box-sizing: border-box;
    min-height: 100%;
    position: relative;
}

.hero-content {
    flex: 0 0 auto;
    margin-bottom: var(--spacing-xl);
}

.hero-image-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hero-image-reserved);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 0;
    margin-top: 0;
    pointer-events: none;
}

.hero-slide-image {
    max-width: min(90%, 960px);
    max-height: calc(var(--hero-image-reserved) - var(--spacing-md));
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    object-position: center bottom;
    position: relative;
    bottom: 0;
}

@media (max-width: 767px) {
    /* Hero Section Height */
    .hero {
        min-height: 80vh;
    }
    
    .hero-carousel,
    .hero-slides {
        min-height: 80vh;
    }
    
    .hero-carousel {
        --hero-image-reserved: clamp(180px, 30vh, 320px);
    }
    
    /* Typography */
    .hero h1,
    .hero-title {
        font-size: var(--fs-3xl);
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }
    
    .hero p,
    .hero-description {
        font-size: var(--fs-base);
        line-height: 1.6;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Layout */
    .hero-slide-layout {
        --hero-image-reserved: clamp(180px, 30vh, 320px);
        padding: var(--spacing-xl) var(--spacing-md) calc(var(--hero-image-reserved) + var(--spacing-lg));
        justify-content: flex-start;
    }
    
    .hero-content {
        margin-bottom: var(--spacing-md);
    }
    
    /* Images */
    .hero-image-wrapper {
        height: var(--hero-image-reserved);
        padding-bottom: 0;
    }
    
    .hero-slide-image {
        max-height: calc(var(--hero-image-reserved) - var(--spacing-md));
        max-width: 90%;
        width: auto;
        height: auto;
    }
    
    /* Buttons */
    .hero .btn,
    .hero-btn {
        font-size: var(--fs-base);
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-slide-layout {
        --hero-image-reserved: clamp(220px, 30vh, 380px);
        padding-bottom: calc(var(--hero-image-reserved) + var(--spacing-2xl));
    }

    .hero,
    .hero-carousel,
    .hero-slides {
        min-height: 85vh;
    }
    
    .hero-carousel {
        --hero-image-reserved: clamp(220px, 30vh, 380px);
    }
    
    .hero-image-wrapper {
        height: var(--hero-image-reserved);
    }
    
    .hero-slide-image {
        max-height: calc(var(--hero-image-reserved) - var(--spacing-md));
        max-width: 85%;
    }
}

/* Desktop: ≥ 1024px */
@media (min-width: 1024px) {
    .hero,
    .hero-carousel,
    .hero-slides {
        min-height: 100vh;
    }
    
    .hero-slide-image {
        max-height: 450px;
        max-width: 90%;
    }
}

/* Large Desktop: ≥ 1200px */
@media (min-width: 1200px) {
    .hero,
    .hero-carousel,
    .hero-slides {
        min-height: 100vh;
    }
    
    .hero-slide-image {
        max-height: 500px;
        max-width: 85%;
    }
}

.hero h1 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-lg);
    font-size: var(--fs-6xl);
}

.hero p {
    font-size: var(--fs-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin-top: var(--spacing-lg);
}

/* Inner Page Hero - Reduced Height */
.hero-page {
    min-height: auto;
    padding: var(--spacing-2xl) 0;
}

/* Ensure h1 is white in hero sections */
.hero h1,
.hero-page h1,
.hero-page .container h1 {
    color: #ffffff !important;
    text-align: center;
}

/* Hero Caption Styling */
.hero-caption {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: var(--fs-xl);
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .hero-page {
        padding: var(--spacing-xl) 0;
    }
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 3;
    padding: 0;
    backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--bg-white);
}

.carousel-arrow-left {
    left: var(--spacing-xl);
}

.carousel-arrow-right {
    right: var(--spacing-xl);
}

/* Responsive Design for Carousel Arrows */
@media (max-width: 767px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-arrow-left {
        left: var(--spacing-md);
    }
    
    .carousel-arrow-right {
        right: var(--spacing-md);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-arrow {
        width: 44px;
        height: 44px;
    }
    
    .carousel-arrow svg {
        width: 22px;
        height: 22px;
    }
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.card-icon {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Services Section */
.services-section {
    background-color: var(--bg-light);
}

.service-card {
    text-align: left;
}

.service-card ul {
    display: block;
    margin-left: 0;
    padding-left: var(--spacing-lg);
}

.service-card .card-icon {
    margin: 0 auto var(--spacing-lg);
}

.service-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Unique Services Section Styling */
.services-unique {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 152, 0, 0.05) 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-4xl) 0;
}

.services-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 152, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 152, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services-unique .container {
    position: relative;
    z-index: 1;
}

.services-unique .section-title h2 {
    font-size: var(--fs-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-base) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-unique .section-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    font-weight: 500;
}

.services-unique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.service-card-enhanced {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange-base) 0%, var(--orange-dark) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-enhanced:hover::before {
    transform: scaleY(1);
}

.service-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange-base);
}

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

.service-card-enhanced h3 {
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: color 0.3s ease;
}

.service-card-enhanced:hover h3 {
    color: var(--orange-base);
}

.service-card-enhanced p {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.card-icon-enhanced {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

/* Responsive Design for Unique Services */
/* Mobile: 1 column */
@media (max-width: 767px) {
    .services-unique-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .service-card-enhanced {
        padding: var(--spacing-xl);
    }
    
    .card-icon-enhanced {
        width: 150px;
        height: 150px;
    }
    
    .services-unique .section-title h2 {
        font-size: var(--fs-4xl);
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .services-unique-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
    .services-unique-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-3xl);
    }
    
    .service-card-enhanced {
        padding: var(--spacing-2xl) var(--spacing-3xl);
    }
    
    .card-icon-enhanced {
        width: 200px;
        height: 200px;
        font-size: var(--fs-5xl);
        margin-bottom: var(--spacing-xl);
    }
    
    .service-card-enhanced h3 {
        font-size: var(--fs-3xl);
        margin-bottom: var(--spacing-lg);
    }
    
    .service-card-enhanced p {
        font-size: var(--fs-lg);
        line-height: 1.8;
    }
}

/* Large desktop optimizations */
@media (min-width: 1200px) {
    .services-unique-grid {
        gap: var(--spacing-4xl);
    }
    
    .service-card-enhanced {
        padding: var(--spacing-3xl) var(--spacing-4xl);
    }
}

/* Industries Section - Alternating Left-Right Layout */
.industries-section {
    background: var(--bg-light);
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.industries-section .container {
    position: relative;
    z-index: 1;
}

.industries-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.industry-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-3xl);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-3xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.industry-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

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

/* Even cards: reverse layout (content left, image right) */
.industry-card:nth-child(even) {
    flex-direction: row-reverse;
}

.industry-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.industry-image img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-image img {
    transform: scale(1.05);
}

.industry-content {
    flex: 1;
    text-align: left;
}

.industry-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--fs-2xl);
    font-weight: 600;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-content h3 {
    color: var(--primary-light);
}

.industry-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: var(--fs-base);
}

.industry-content ul {
    margin-top: var(--spacing-md);
    padding-left: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.industry-content ul li {
    margin-bottom: var(--spacing-xs);
}

/* Responsive Design for Industries Alternating Layout */
/* Mobile: Stack vertically */
@media (max-width: 767px) {
    .industries-section {
        padding: var(--spacing-3xl) 0;
    }
    
    .industries-grid {
        gap: var(--spacing-xl);
        margin-top: var(--spacing-2xl);
    }
    
    .industry-card {
        flex-direction: column !important;
        padding: var(--spacing-xl);
        gap: var(--spacing-lg);
    }
    
    .industry-image {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .industry-image img {
        width: 200px;
        height: 200px;
    }
    
    .industry-content {
        text-align: left;
        width: 100%;
    }
    
    .industry-content h3 {
        font-size: var(--fs-xl);
    }
    
    .industry-content p {
        font-size: var(--fs-sm);
    }
}

/* Tablet: Maintain alternating but adjust sizes */
@media (min-width: 768px) and (max-width: 1023px) {
    .industry-card {
        padding: var(--spacing-2xl);
        gap: var(--spacing-2xl);
    }
    
    .industry-image {
        flex: 0 0 45%;
    }
    
    .industry-image img {
        width: 220px;
        height: 220px;
    }
    
    .industry-content h3 {
        font-size: var(--fs-xl);
    }
}

/* Desktop: Full alternating layout */
@media (min-width: 1024px) {
    .industry-card {
        padding: var(--spacing-3xl) var(--spacing-4xl);
    }
    
    .industry-image {
        flex: 0 0 40%;
    }
    
    .industry-image img {
        width: 280px;
        height: 280px;
    }
    
    .industry-content {
        flex: 1;
    }
    
    .industry-content h3 {
        font-size: var(--fs-2xl);
    }
    
    .industry-content p {
        font-size: var(--fs-lg);
    }
}

/* Large desktop: Optimize spacing */
@media (min-width: 1400px) {
    .industry-card {
        padding: var(--spacing-4xl);
        gap: var(--spacing-4xl);
    }
    
    .industry-image img {
        width: 300px;
        height: 300px;
    }
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.testimonial-company {
    font-size: var(--fs-sm);
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--bg-white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    font-size: var(--fs-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-sm);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--bg-white);
}

/* Footer Map */
.footer-map {
    width: 100%;
    max-width: 100%;
    margin-top: var(--spacing-xl);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

/* Contact Map */
.contact-map {
    width: 100%;
    max-width: 100%;
    margin-top: var(--spacing-2xl);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .footer-map iframe {
        height: 250px;
    }
    
    .contact-map iframe {
        height: 350px;
    }
}

/* Contact Form */
.contact-section {
    background-color: var(--bg-light);
}

.contact-form {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-label .required {
    color: var(--error-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--fs-base);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--error-color);
}

.form-input.error:focus,
.form-textarea.error:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

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

.form-error {
    color: var(--error-color);
    font-size: var(--fs-sm);
    margin-top: var(--spacing-xs);
    display: none;
}

.form-error.show {
    display: block;
}

.char-counter {
    text-align: right;
    font-size: var(--fs-sm);
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.char-counter.warning {
    color: var(--error-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: var(--spacing-4xl) 0;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-lg);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: var(--orange-base);
    color: var(--bg-white);
}

.cta-section .btn:hover {
    background-color: var(--orange-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    pointer-events: none;
}

.floating-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.floating-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-button:active {
    transform: translateY(-2px) scale(1.02);
}

.floating-button svg {
    width: 28px;
    height: 28px;
    fill: var(--bg-white);
    transition: transform var(--transition-base);
}

.floating-button:hover svg {
    transform: scale(1.1);
}

/* WhatsApp Button */
.floating-button-whatsapp {
    background-color: #25D366;
}

.floating-button-whatsapp:hover {
    background-color: #20BA5A;
}

/* Email Button */
.floating-button-email {
    background-color: var(--primary-color);
}

.floating-button-email:hover {
    background-color: var(--primary-light);
}

/* Call Button */
.floating-button-call {
    background-color: var(--orange-base);
}

.floating-button-call:hover {
    background-color: var(--orange-dark);
}

/* Responsive Design for Floating Buttons */
@media (max-width: 767px) {
    .floating-buttons {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        gap: var(--spacing-sm);
    }
    
    .floating-button {
        width: 48px;
        height: 48px;
    }
    
    .floating-button svg {
        width: 24px;
        height: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .floating-buttons {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
    }
    
    .floating-button {
        width: 52px;
        height: 52px;
    }
    
    .floating-button svg {
        width: 26px;
        height: 26px;
    }
}
