/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d3b66;
    --primary-dark: #092c4c;
    --secondary: #f77f00;
    --accent-color: #f77f00;
    --text-dark: #1f2933;
    --text-light: #6b7280;
    --bg-light: #f6f8fc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
}

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

/* Bootstrap-like Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

[class*="col-"] {
    padding: 0 15px;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Main Content */
main {
    padding-top: 0;
}

/* Only add spacing to pages that actually need header clearance */
.page-hero {
    margin-top: 80px;
}

.page-header {
    margin-top: 80px;
}

.how-it-works-page {
    margin-top: 80px;
}

.services-page {
    margin-top: 80px;
}

/* Clickable Service Cards */
.service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.service-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-item-link:hover .service-item {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

.service-item-link:hover .service-item::before {
    transform: scaleX(1);
}

.service-cta {
    margin-top: 1rem;
    text-align: center;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-item-link:hover .learn-more {
    color: var(--secondary);
    transform: translateX(5px);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.service-item-link:hover .learn-more i {
    transform: translateX(3px);
}

.why-measura {
    margin-top: 80px;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link:hover::after {
    width: 80%;
}

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

.nav-link.active::after {
    width: 80%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* Beautiful Dropdown Menu - Hero Section Inspired */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 400px;
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(247, 127, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 1000;
    border: 1px solid rgba(247, 127, 0, 0.3);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" 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;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 127, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover {
    color: white;
    text-decoration: none;
    background: rgba(247, 127, 0, 0.2);
    border-color: rgba(247, 127, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 127, 0, 0.3);
}

.dropdown-item:hover::before {
    left: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: linear-gradient(120deg, var(--primary), var(--primary-dark));
        margin-top: 0.5rem;
        border-radius: 10px;
        min-width: 100%;
    }

    .dropdown-content {
        padding: 1rem;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* Service Page Professional Enhancements */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #004085 100%);
    position: relative;
    padding: 80px 0 60px 0;
}

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

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-hero .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.breadcrumb-section {
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-detail {
    padding: 60px 0;
}

.service-detail img {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-detail img:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.service-detail .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-detail .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-detail .card-body {
    padding: 2rem;
}

.service-detail .btn-primary {
    background: linear-gradient(135deg, var(--secondary), #e67300);
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.2);
}

.service-detail .btn-primary:hover {
    background: linear-gradient(135deg, #e67300, var(--secondary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 127, 0, 0.4);
}

.service-detail .accordion-button {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(247, 127, 0, 0.15);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.service-detail .accordion-button:hover,
.service-detail .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.08), rgba(247, 127, 0, 0.04));
    color: var(--primary);
    border-color: rgba(247, 127, 0, 0.2);
}

.service-detail .accordion-item {
    border: 1px solid rgba(247, 127, 0, 0.15);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.service-detail .accordion-item:first-child {
    border-radius: 12px;
}

.service-detail .accordion-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.service-detail h3, .service-detail h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-detail h3 {
    font-size: 2rem;
}

.service-detail h4 {
    font-size: 1.5rem;
}

.service-detail .fa-check {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.service-detail .content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.cta-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Service Information Cards */
.service-info {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 4rem 0;
    margin: 3rem 0;
}

.service-info .container {
    max-width: 1200px;
}

.service-info h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-info .lead {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card-custom {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(247, 127, 0, 0.1);
}

.info-card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.info-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(247, 127, 0, 0.2);
}

.info-icon-custom {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(247, 127, 0, 0.3);
}

.info-card-custom h4 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card-custom p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Professional CTA Section */
.cta-section-professional {
    background: linear-gradient(135deg, var(--primary), #004085);
    padding: 4rem 0;
    margin: 4rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.3;
}

.cta-section-professional .container {
    position: relative;
    z-index: 2;
}

.cta-section-professional h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section-professional .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.cta-buttons-professional {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero .lead {
        font-size: 1.1rem;
    }
    
    .service-info h2 {
        font-size: 2rem;
    }
    
    .cta-section-professional h2 {
        font-size: 2rem;
    }
    
    .cta-buttons-professional {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Service Page Styles */
.service-info .info-card {
    background: rgba(247, 127, 0, 0.05);
    border: 1px solid rgba(247, 127, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.service-info .info-card:hover {
    background: rgba(247, 127, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.2);
}

.service-info .info-card h6 {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-info .info-card p {
    color: var(--text-dark);
    font-size: 1rem;
}

.service-faq .accordion-item {
    border: 1px solid rgba(247, 127, 0, 0.1);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.service-faq .accordion-button {
    background: rgba(247, 127, 0, 0.05);
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.service-faq .accordion-button:hover,
.service-faq .accordion-button:not(.collapsed) {
    background: rgba(247, 127, 0, 0.1);
    color: var(--primary);
}

.service-faq .accordion-button::after {
    filter: invert(1);
}

.service-faq .accordion-body {
    background: white;
    color: var(--text-dark);
    line-height: 1.6;
}

.cta-button:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    /* color: white; */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: white;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" 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;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 127, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* About page specific button styling */
.about-section .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.about-section .btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
}

/* Services page specific button styling */
.services-page .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.services-page .btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
}

.services-page .text-center.mt-5 {
    margin-top: 5rem !important;
}

.trust-badges {
    display: flex;
    gap: 2rem;
}

.badge {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.badge-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.badge-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 480px;
}

.hero-img {
    max-width: 120%;
    max-height: 480px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

/* Preview Sections */
.services-preview,
.how-it-works-preview,
.projects-preview {
    padding: 80px 0;
}

.services-preview {
    background: var(--bg-light);
}

.how-it-works-preview {
    background: white;
}

.projects-preview {
    background: var(--bg-light);
}

.step-preview {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    background: var(--bg-light);
}

.step-preview:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.service-icon {
    margin-bottom: 1rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.project-body {
    padding: 1.5rem;
}

.project-body h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 80px 0;
}

.cta-section .section-title {
    color: white;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Page Hero */
.page-hero {
    padding: 100px 0 80px;
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" 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;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
}

.page-hero .page-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.about-section .text-center.mt-5 {
    margin-top: 3rem !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.1) 0%, rgba(247, 127, 0, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.about-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.about-card:hover .about-icon {
    transform: scale(1.1);
    background: var(--secondary);
}

.about-card:hover .about-icon i {
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.1) 0%, rgba(247, 127, 0, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--secondary);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 500;
}
.estimate-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary);
}

.estimate-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.estimate-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Measura Section */
.why-measura {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.why-measura .text-center.mt-5 {
    margin-top: 3rem !important;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Original Laravel Website Styles */
.py-5 {
    padding: 3rem 0;
}

.py-3 {
    padding: 1rem 0;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

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

.text-muted {
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.bg-primary {
    background-color: var(--primary);
}

.text-white {
    color: white;
}

.text-primary {
    color: var(--primary);
}

.text-orange {
    color: var(--secondary);
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 700;
}

.display-5 {
    font-size: 3rem;
    font-weight: 700;
}

.display-6 {
    font-size: 2.5rem;
    font-weight: 700;
}

.fw-bold {
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.small {
    font-size: 0.875rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-light {
    color: var(--text-dark);
    background-color: white;
    border-color: white;
}

.btn-outline-light {
    color: white;
    border-color: white;
}

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

.img-fluid {
    max-width: 100%;
    height: auto;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

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

.justify-content-between {
    justify-content: space-between;
}

.ms-auto {
    margin-left: auto;
}

.me-2 {
    margin-right: 0.5rem;
}
 

/* Services Page Styles */
.services-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

.service-item .service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-item .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-item .service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-item:hover .service-image::after {
    opacity: 1;
}

.service-item .service-content {
    padding: 2rem;
    position: relative;
    z-index: 5;
}

.service-item .service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-item:hover .service-content h3 {
    color: var(--secondary);
}

.service-item .service-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-item:hover .service-content p {
    color: #495057;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
}

.service-item:hover .service-features li {
    color: #495057;
}

/* Responsive Services Page */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .service-item .service-icon i {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .service-item .service-icon i {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    .service-item p {
        font-size: 0.85rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding-left: 1.2rem;
    }
}

/* Features Grid for Why Measura */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.feature-box .feature-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-box .feature-icon i {
    font-size: 2.5rem;
    color: var(--secondary);
    background: rgba(247, 127, 0, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.feature-box:hover .feature-icon i {
    background: var(--secondary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.feature-box p {
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-dismissible {
    position: relative;
    padding-right: 3rem;
}

.btn-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #155724;
}

/* Section Title Styling */
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Why Card Design */
.why-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    height: 100%;
}

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

.why-icon {
    margin-bottom: 1.5rem;
}

.why-icon i {
    font-size: 3rem;
    color: var(--secondary);
    background: rgba(247, 127, 0, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon i {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer .list-unstyled {
    list-style: none;
    padding: 0;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Contact Form Styling */
.contact-form-card {
    background: white !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

.form-label {
    display: block !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
}

.form-control {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    background: var(--bg-white) !important;
}

.form-control:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 3px rgba(247, 127, 0, 0.1) !important;
}

.form-select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: var(--bg-white) !important;
    cursor: pointer !important;
}

.contact-info-card {
    background: white !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    height: 100% !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    background: var(--bg-light) !important;
    transition: all 0.3s ease !important;
}

.contact-item:hover {
    background: var(--primary) !important;
    transform: translateY(-2px) !important;
}

.contact-icon {
    width: 50px !important;
    height: 50px !important;
    background: var(--primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
}

.contact-details h4 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    margin-bottom: 0.5rem !important;
}

.contact-details p {
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

.breadcrumb-section {
    background: var(--bg-light) !important;
    padding: 1rem 0 !important;
}

.breadcrumb {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.breadcrumb-item {
    position: relative !important;
    padding: 0.5rem 1rem !important;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/' !important;
    position: absolute !important;
    right: 0 !important;
    color: var(--text-light) !important;
}

.breadcrumb-item a {
    color: var(--text-light) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-item a:hover {
    color: var(--primary) !important;
}

.breadcrumb-item.active {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.alert {
    padding: 1rem !important;
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
}

.alert-success {
    background: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
}

.alert-dismissible {
    position: relative !important;
    padding-right: 3rem !important;
}

/* Map Section Styling */
.map-section {
    background: var(--bg-light);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.info-card .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
}

/* Responsive Map Section */
@media (max-width: 768px) {
    .map-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .map-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
}
.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-decoration-none {
    text-decoration: none;
}

.footer-brand {
    margin-bottom: 2rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Font Awesome icons fallback */
.fab::before, .fas::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fa-facebook-f::before { content: ""; }
.fa-twitter::before { content: ""; }
.fa-instagram::before { content: ""; }
.fa-linkedin-in::before { content: ""; }
.fa-phone::before { content: ""; }
.fa-envelope::before { content: ""; }
.fa-map-marker-alt::before { content: ""; }
.fa-paint-brush::before { content: ""; }
.fa-home::before { content: ""; }
.fa-image::before { content: ""; }
.fa-arrow-up::before { content: ""; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #e67300;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide Back to Top Button on Mobile */
    .back-to-top {
        display: none !important;
    }
    
    /* CTA Button Mobile Styling */
    .cta-button {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 4px !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .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(7px, -6px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .estimate-form {
        padding: 2rem 1.5rem;
    }
}

/* FAQ Page Styling */
.faq-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.faq-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.accordion {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F77F00'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-button:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-cta {
    margin-top: 3rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(247, 127, 0, 0.2);
    text-align: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-card .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta-card .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-card .btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-card h3 {
        font-size: 1.3rem;
    }
    
    .cta-card .btn-primary,
    .cta-card .btn-secondary {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .cta-card .btn-primary {
        margin-right: 0;
    }
}

/* Customer Reviews Section */
.customer-reviews {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(247, 127, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(247, 127, 0, 0.15);
    border-color: var(--primary);
}

.review-stars {
    margin-bottom: 1rem;
    color: #ffc107;
    font-size: 1.1rem;
}

.review-stars i {
    margin-right: 2px;
}

.review-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.review-author {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Review Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: fadeInUp 0.6s ease-out;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Reviews */
@media (max-width: 768px) {
    .reviews-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-card::before {
        font-size: 60px;
        top: -15px;
        left: 15px;
    }
    
    .review-content p {
        font-size: 0.95rem;
    }
    
    .author-info h5 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 1.25rem;
    }
    
    .review-stars {
        font-size: 1rem;
    }
    
    .review-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ================================
   SERVICES CAROUSEL (FINAL CLEAN)
   ================================ */

.services-carousel{
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}

.services-carousel .carousel-container{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Track */
.services-carousel .carousel-track{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 6px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services-carousel .carousel-track::-webkit-scrollbar{ display:none; }

/* Card */
.services-carousel .service-card{
  flex: 0 0 86%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: none !important;  /* IMPORTANT: prevents JS hover transform issues */
}

@media (min-width: 576px){
  .services-carousel .service-card{ flex-basis: 70%; }
}
@media (min-width: 768px){
  .services-carousel .service-card{ flex-basis: 360px; }
}
@media (min-width: 992px){
  .services-carousel .service-card{ flex-basis: 380px; }
}

/* Image */
.services-carousel .service-image{
  height: 210px;
  overflow: hidden;
  background: #f3f4f6;
}
.services-carousel .service-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content */
.services-carousel .service-content{
  padding: 16px 16px 18px;
}
.services-carousel .service-content h4{
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}
.services-carousel .service-content p{
  margin: 0;
  color: #6b7280;
  line-height: 1.55;
  font-size: .95rem;
}

/* Buttons */
.services-carousel .carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}
.services-carousel .prev-btn{ left: -60px; }
.services-carousel .next-btn{ right: -60px; }
.services-carousel .carousel-btn i{ color: var(--secondary); }

@media (max-width: 768px){
  .services-carousel .prev-btn{ left: 6px; }
  .services-carousel .next-btn{ right: 6px; }
}

@media (max-width: 480px){
  .services-carousel .carousel-btn{ width: 42px; height: 42px; }
}

/* Dots */
.services-carousel .carousel-indicators{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.services-carousel .indicator{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(247,127,0,0.25);
  cursor: pointer;
}
.services-carousel .indicator.active{
  background: var(--secondary);
}
