:root {
    /* Company Blue Color System #3268b2 */
    --primary-color: #3268b2;
    --primary-light: #4f7bc9;
    --primary-dark: #265399;
    --primary-ultra-light: #e8f0ff;

    --secondary-color: #2d5aa0;
    --secondary-light: #4a73c1;
    --secondary-dark: #1e4080;

    --accent-color: #1a4480;
    --accent-light: #2d5aa0;
    --accent-ultra-light: #d1e0ff;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --text-blue: #3268b2;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-blue: #3268b2;
    --bg-blue-light: #e8f0ff;
    --bg-blue-pattern: #d1e0ff;
    --bg-dark: #0f172a;

    /* Company Blue Gradients */
    --bg-gradient: linear-gradient(135deg, #3268b2 0%, #4f7bc9 50%, #6b8dd6 100%);
    --bg-hero: linear-gradient(135deg, #3268b2 0%, #4f7bc9 50%, #6b8dd6 100%);
    --bg-section: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    --bg-white-overlay: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 100%);

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-blue: #d1e0ff;

    /* Company Blue Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(50, 104, 178, 0.1), 0 1px 2px 0 rgba(50, 104, 178, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(50, 104, 178, 0.15), 0 2px 4px -1px rgba(50, 104, 178, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(50, 104, 178, 0.2), 0 4px 6px -2px rgba(50, 104, 178, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(50, 104, 178, 0.25), 0 10px 10px -5px rgba(50, 104, 178, 0.15);
    --shadow-blue: 0 20px 25px -5px rgba(50, 104, 178, 0.3);

    --border-radius: 0.75rem;
    --border-radius-lg: 1.25rem;
    --border-radius-xl: 2rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Grid Pattern */
    --grid-pattern: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="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.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-blue);
    background-image: var(--grid-pattern);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Enhanced Navigation */
.navbar {
    background: var(--bg-white-overlay);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(50, 104, 178, 0.1);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.navbar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--primary-ultra-light);
    box-shadow: var(--shadow-sm);
}

.navbar-toggler {
    border: none;
    background: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Modern Hero Section */
.hero {
    background: none;
    border-radius: 0;
    margin: 0;
    overflow: visible;
    position: relative;
    box-shadow: none;
    backdrop-filter: none;
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 3.5rem;
    max-width: 700px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.btn-group-hero {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-height: 400px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-slide.active {
    opacity: 1;
}

.hero-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.hero-media img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: none;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    border-radius: 50px;
}

/* Hero Media */
.hero-visual {
    position: relative;
    min-height: 400px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hero-icon {
    font-size: 4rem;
    color: white;
    z-index: 2;
}

/* Modern Sections */
.section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-xl);
    padding: 4rem 0;
    margin: 3rem 0;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.modern-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-xl);
    padding: 4rem 2rem;
    margin: 3rem 0;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

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

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
    margin: 0 auto 2rem;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

/* Modern Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-xl);
    padding: 0;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.service-card-image {
    width: 380px;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    border-radius: 0;
}

.service-card--left .service-card-image {
    border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl);
}

.service-card--right .service-card-image {
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
}

.service-card-content {
    flex: 1;
    padding: 2.5rem;
}

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

.service-card--left .service-card-content h2,
.service-card--left .service-card-content p,
.service-card--left .service-card-content ul,
.service-card--left .service-card-content .btn {
    text-align: left;
}

.service-card--right .service-card-content {
    text-align: right;
}

.service-card--right .service-card-content h2,
.service-card--right .service-card-content p,
.service-card--right .service-card-content ul,
.service-card--right .service-card-content .btn {
    text-align: right;
}

.service-card--left .service-card-content ul {
    list-style-position: inside;
    padding-left: 0;
}

.service-card--left .service-card-content .service-features li {
    justify-content: flex-start;
}

.service-card--right .service-card-content ul {
    list-style-position: inside;
    padding-right: 0;
}

.service-card--right .service-card-content .service-features li {
    justify-content: flex-end;
    flex-direction: row-reverse;
}


.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px -12px rgba(50, 104, 178, 0.25),
        0 20px 25px -5px rgba(50, 104, 178, 0.1);
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card h2,
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-size: 1.1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.section.section-services {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    margin: 5rem 0;
}

.section.section-services::before {
    content: none;
}

.services-main-title {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.section-header--centered {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.section-title--light {
    color: #ffffff;
    letter-spacing: -0.02em;
}

.section-subtitle--light {
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto;
}

.section-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.section-actions .btn {
    box-shadow: 0 18px 45px -18px rgba(15, 23, 42, 0.55);
}

.section-actions--bottom {
    margin-top: 2.5rem;
}

.section-actions .btn.btn-primary-outline {
    background: var(--primary-color);
    color: var(--text-white);
    border: 1px solid rgba(26, 54, 93, 0.15);
    box-shadow: 0 18px 45px -18px rgba(15, 23, 42, 0.45);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.section-actions .btn.btn-primary-outline:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: rgba(26, 54, 93, 0.25);
}

.services-grid-featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.service-card--feature {
    background: var(--bg-primary);
    border: 1px solid rgba(148, 163, 209, 0.25);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 25px 55px -35px rgba(15, 23, 42, 0.55);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card--feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 65px -40px rgba(37, 56, 88, 0.75);
}

.service-card--feature h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.service-icon-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-services .service-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.65;
    font-size: 1.1rem;
}

.section-services .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(50, 104, 178, 0.08);
    color: var(--primary-color);
    position: relative;
}

.section-services .service-icon svg {
    width: 32px;
    height: 32px;
    color: inherit;
}


.section-services .service-icon::before,
.section-services .service-icon::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 24px;
    background: radial-gradient(circle at center,
        rgba(50, 104, 178, 0.18) 0%,
        rgba(50, 104, 178, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.section-services .service-card:hover .service-icon::before,
.section-services .service-card:hover .service-icon::after {
    opacity: 1;
}

.section-services .service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-top: auto;
}

.section-services .service-link span {
    transition: transform 0.3s ease;
}

.section-services .service-link:hover span {
    transform: translateX(4px);
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.service-features li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features-section {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 6rem 2rem;
    box-shadow: none;
    border: none;
    margin: 0;
    position: relative;
    overflow: visible;
}

.features-section::before {
    display: none;
}

.features-section h2 {
    color: white;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

.features-section h4,
.features-section h5 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.features-section p {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.4rem;
    font-weight: 300;
}

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

.about-list li {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.3rem;
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

/* Metrics Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric-card {
    background: var(--bg-gradient);
    color: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

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

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    color: white;
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    margin: 6rem 0;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.cta-section h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    line-height: 1.6;
}

.btn-white {
    background: var(--bg-primary);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-white:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    width: 100%;
}

.contact-form h2 {
    color: var(--primary-color);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

.page-header {
    text-align: center;
    margin: 4rem auto 3rem;
    max-width: 760px;
}

.page-kicker {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-blue);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.page-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
    max-width: 620px;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.auth-card {
    background: var(--bg-section);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-blue);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(50, 104, 178, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.auth-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.auth-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.auth-form {
    position: relative;
}

.form-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-link:hover {
    text-decoration: underline;
}

.form-remember {
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.checkbox input {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-blue);
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-benefits {
    display: grid;
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 100%;
}

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

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--bg-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Professional Footer */
footer {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.3);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    box-shadow:
        0 -20px 25px -5px rgba(0, 0, 0, 0.1),
        0 -10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

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

.footer-section h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-section p,
.footer-section li {
    color: #4a5568;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-size: 1.05rem;
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #4a5568;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-section {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 2rem;
    }

    .auth-benefits {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .hero-media {
        min-height: 250px;
        border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
    }

    .btn-group-hero {
        flex-direction: column;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .service-card {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .service-card-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
        border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0 !important;
        margin: 0 !important;
    }

    .service-card-content {
        padding: 2rem;
    }

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

    .features-section {
        padding: 2rem 1rem;
    }

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

    .page-header {
        margin: 3rem auto 2rem;
        padding: 0 0.5rem;
    }

    .page-lead {
        font-size: 1.05rem;
    }

    .auth-card {
        padding: 1.75rem;
    }

    .btn {
        width: 100%;
    }

    .section-actions {
        width: 100%;
    }

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

    .section-header--centered {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .service-icon-group {
        width: 100%;
    }
}

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

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

    .metric-card {
        padding: 1.5rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
    }
}

/* Service Features */
.service-features {
    list-style: none;
    margin: 1rem 0 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.service-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgba(56, 178, 172, 0.1);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Contact Page Styles */
.contacts-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.contact-info-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-blue);
}

.contact-info-box h2 {
    color: var(--primary-color);
}

.contact-form-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-blue);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-ultra-light);
    border-radius: var(--border-radius);
    flex-shrink: 0;
    border: 2px solid var(--border-blue);
    color: var(--primary-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details strong {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

@media (max-width: 992px) {
    .contacts-container {
        flex-direction: column;
    }
}

.area-list {
    list-style: none;
    margin: 0;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.area-list li::before {
    content: '📍';
    font-size: 0.75rem;
}

/* Form Styles */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
    background: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    display: block;
    text-align: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.125rem;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

/* Emergency Section */
.emergency-section {
    margin: 4rem 0;
}

.emergency-card {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    flex-shrink: 0;
}

.text-md-right {
    text-align: right;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col-sm-4, .col-sm-6, .col-sm-8, .col-md-4, .col-md-6, .col-md-8, .col-lg-5, .col-lg-6, .col-lg-7 {
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 576px) {
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 768px) {
    .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%; }
    .d-md-none { display: none !important; }
}

@media (min-width: 992px) {
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
}

/* Mobile Navigation */
@media (max-width: 767.98px) {
    .navbar-collapse {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border: 1px solid var(--border-light);
        border-radius: var(--border-radius);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 4rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 2rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.col-span-full { grid-column: 1 / -1; }

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.alert-error {
    background-color: #fee;
    border-color: #fcc;
    color: #c33;
}

.alert-success {
    background-color: #efe;
    border-color: #cfc;
    color: #3c3;
}

.alert-warning {
    background-color: #ffeaa7;
    border-color: #fdcb6e;
    color: #d63031;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: #1976d2;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Carousel */
.carousel-container {
    max-width: 1200px;
    margin: 3rem auto;
}

.carousel-main {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 1.5rem;
}

.carousel-btn-next {
    right: 1.5rem;
}

.carousel-btn svg {
    color: var(--primary-color);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(50, 104, 178, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.carousel-counter {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding-bottom: 1rem;
}

.carousel-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-thumbnail {
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.carousel-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.carousel-thumbnail:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-slides {
        height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: 1rem;
    }

    .carousel-btn-next {
        right: 1rem;
    }

    .carousel-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }
}

/* Footer Legal Info */
.footer-legal-info {
    text-align: center;
    padding: 20px 0 10px;
}

.footer-legal-info p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-legal-links {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.footer-legal-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Legal Pages Styles */
.legal-page {
    background: transparent;
    padding: 40px 20px;
    margin: 20px 0;
}

.page-subtitle {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-heading {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.legal-subheading {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-section p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
    color: var(--text-white);
}

.legal-section ul,
.legal-section ol {
    margin: 15px 0 15px 30px;
    color: var(--text-white);
}

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-white);
}

.info-box {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.info-box p {
    margin-bottom: 8px;
    color: var(--text-white);
}

.highlight-box {
    background-color: var(--primary-ultra-light);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
    border-radius: var(--border-radius);
}

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

.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--border-radius);
}

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

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.legal-table th {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.legal-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.legal-footer-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-white);
}

.legal-footer-date p {
    color: var(--text-white);
}

/* Responsive per dispositivi mobili */
@media (max-width: 768px) {
    .legal-page {
        padding: 20px 15px;
    }

    .legal-heading {
        font-size: 1.3rem;
    }

    .legal-table {
        font-size: 0.85rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px;
    }

    .footer-legal-info p {
        font-size: 12px;
    }
}

/* GDPR Checkbox per form contatti */
.gdpr-checkbox {
    background-color: var(--bg-secondary);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin: 20px 0;
}

.gdpr-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
}

.gdpr-checkbox .form-check-label {
    cursor: pointer;
    margin-left: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.gdpr-checkbox .form-check-label a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.gdpr-checkbox .form-check-label a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Stile per checkbox non selezionata quando si tenta l'invio */
.gdpr-checkbox .form-check-input:invalid {
    border-color: #dc3545;
}

.gdpr-checkbox .form-check-input:valid {
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .gdpr-checkbox {
        padding: 12px;
    }

    .gdpr-checkbox .form-check-label {
        font-size: 0.9rem;
    }
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background-color: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.alert-success::before {
    content: "✓";
    font-size: 1.2rem;
    font-weight: bold;
}

.alert-error::before {
    content: "✕";
    font-size: 1.2rem;
    font-weight: bold;
}

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

/* Reviews Slider Section */
.reviews-section {
    padding: 5rem 0;
    margin: 3rem 0;
    overflow: hidden;
}

.reviews-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.reviews-section .text-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
}

.reviews-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scroll-reviews 60s linear infinite;
    width: fit-content;
}

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

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

.review-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    min-width: 380px;
    max-width: 380px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-blue);
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.review-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    flex-grow: 1;
    margin: 0;
}

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

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }

    .reviews-section .section-title {
        font-size: 2rem;
    }

    .review-card {
        min-width: 300px;
        max-width: 300px;
        padding: 1.5rem;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .reviews-track {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.25rem;
    }

    .review-stars {
        font-size: 1.25rem;
    }
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    margin: 3rem 0;
    overflow: hidden;
}

.certifications-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.certifications-section .text-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
}

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

.certification-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-blue);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.certification-card:hover .cert-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.certification-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cert-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    background: var(--bg-blue-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.cert-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cert-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.cert-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .certifications-section {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }

    .certifications-section .section-title {
        font-size: 2rem;
    }

    .certification-card {
        padding: 2rem 1.5rem;
    }

    .cert-icon {
        width: 70px;
        height: 70px;
    }

    .certification-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}
