/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    color: #0f172a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* CSS Variables */
:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #1e40af;
    --accent: #059669;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #f8fafc;
    --muted-foreground: #64748b;
    --card: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --container-padding: 1rem;
    --container-max-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-all: all 0.3s ease;
    --transition-colors: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

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

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    50% {
        opacity: 0.5;
    }
}

/* Animation Classes */
.fade-in {
    animation: fade-in 1s ease-out;
}

.fade-in-up {
    animation: fade-in-up 1s ease-out;
}

.slide-in-left {
    animation: slide-in-left 1s ease-out;
}

.slide-in-right {
    animation: slide-in-right 1s ease-out;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: var(--transition-colors);
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1;
    user-select: none;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: #ffc107;
    color: white;
    border-color: #ffc107;
}

.btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

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

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

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

.btn .icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.btn-large .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background) 0%, var(--muted) 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.preloader-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.preloader-content {
    text-align: center;
    z-index: 1;
}

.logo-container {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 2rem;
}

.spinner-outer,
.spinner-inner {
    position: absolute;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

.spinner-outer {
    width: 128px;
    height: 128px;
    top: 0;
    left: 0;
}

.spinner-inner {
    width: 112px;
    height: 112px;
    top: 8px;
    left: 8px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    animation-duration: 2s;
    animation-direction: reverse;
}

.logo-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.logo-icon .logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.loading-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    animation: fade-in 1s ease;
}

.loading-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    animation: fade-in 1s ease 0.5s both;
}

.progress-container {
    width: 320px;
    max-width: 90vw;
    margin: 2rem auto 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--warning) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.loading-dots .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots .dot:nth-child(3) {
    animation-delay: 0s;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
}

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

.logo-text {
    color: #000000;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: var(--transition-colors);
    padding: 0.5rem 0;
    position: relative;
}

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

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: var(--transition-colors);
}

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

.phone-link .icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: var(--transition-colors);
}

.mobile-menu-btn:hover {
    background-color: var(--muted);
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    border-radius: 1px;
    transition: var(--transition-all);
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    background-color: var(--background);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-nav-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--muted-foreground);
    font-weight: 500;
    transition: var(--transition-colors);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary);
    background-color: var(--muted);
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1649083048337-4aeb6dda80bb?q=80&w=2371&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100vh;
    padding: 5rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-badge .icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-balance: balance;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .subtitle {
    color: #d1d5db;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 600px;
    text-pretty: pretty;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-top: 0.25rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.testimonial-content {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-item.active {
    opacity: 1;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.5rem;
}

.testimonial-item cite {
    color: var(--primary);
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-colors);
}

.testimonial-dots .dot.active {
    background-color: var(--primary);
}

.feature-cards {
    display: grid;
    gap: 1rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    padding: 0.75rem;
    background-color: rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    font-size: 0.875rem;
    color: #d1d5db;
}

/* ===== MODERN HERO SECTION ===== */
.hero-section-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.hero-background-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url("https://images.unsplash.com/photo-1649083048337-4aeb6dda80bb?q=80&w=2371&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-grid-modern {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100vh;
    padding: 5rem 0;
}

@media (max-width: 1024px) {
    .hero-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }
}

/* Modern Badge */
.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #ffc107;
    border-radius: 50%;
    animation: pulse-modern 2s infinite;
}

.badge-text {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Modern Title */
.hero-title-modern {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-highlight {
    color: #ffc107;
}

.title-subtitle {
    font-size: 2.4rem;
    color: #e5e5e5;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 3rem;
    }
    .title-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    .title-subtitle {
        font-size: 1.5rem;
    }
}

/* Modern Description */
.hero-description-modern {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e5e5e5;
    margin-bottom: 2rem;
    max-width: 32rem;
}

@media (min-width: 768px) {
    .hero-description-modern {
        font-size: 1.5rem;
    }
}

/* Modern Buttons */
.hero-buttons-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons-modern {
        flex-direction: row;
    }
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary-modern {
    background: #ffc107;
    color: #000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary-modern:hover {
    background: #e0a800;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid #ffc107;
    color: #ffc107;
}

.btn-outline-modern:hover {
    background: #ffc107;
    color: #000;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Modern Features List */
.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-check {
    width: 1.25rem;
    height: 1.25rem;
    color: #ffc107;
}

/* Stats Grid */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card-modern {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-modern:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    color: #ffc107;
    margin: 0 auto 0.75rem auto;
    display: block;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Testimonial Card Modern */
.testimonial-card-modern {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-filled {
    width: 1rem;
    height: 1rem;
}

.testimonial-content-modern {
    transition: all 0.5s ease;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.testimonial-author {
    color: #ffc107;
    font-weight: 600;
}

/* Animations */
@keyframes pulse-modern {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Fallback styles for older browsers */
.hero-section-modern .container {
    position: relative;
    z-index: 10;
}

/* Ensure compatibility */
.hero-grid-modern > * {
    position: relative;
    z-index: 2;
}

.stat-card-modern,
.testimonial-card-modern {
    /* Fallback for backdrop-filter */
    background: rgba(0, 0, 0, 0.6);
}

@supports (backdrop-filter: blur(0.5rem)) {
    .stat-card-modern,
    .testimonial-card-modern {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(0.5rem);
    }
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .hero-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem 0 !important;
    }
    
    .hero-title-modern {
        font-size: 3rem !important;
    }
    
    .title-subtitle {
        font-size: 1.8rem !important;
    }
    
    .hero-buttons-modern {
        flex-direction: column !important;
    }
    
    .hero-features-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
    text-balance: balance;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 768px;
    margin: 0 auto;
    text-pretty: pretty;
}

/* About Section */
.about-section {
    background-color: var(--muted);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

.about-story h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-text p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.story-highlight {
    color: var(--primary);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
}

.badge-content {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.badge-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Certificate Sections */
.certificate-section {
    margin-bottom: 4rem;
}

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

.certificate-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.certificate-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 672px;
    margin: 0 auto;
    line-height: 1.6;
}

.certificate-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.certificate-content.reverse {
    grid-template-columns: 1fr;
}

.certificate-image {
    position: relative;
}

.certificate-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.certificate-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border: 4px solid rgba(245, 158, 11, 0.2);
}

.certificate-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.certificate-info {
    display: flex;
    flex-direction: column;
}

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

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

.info-icon {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
    stroke-width: 2;
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.info-content p {
    color: var(--muted-foreground);
    line-height: 1.5;
}

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

.milestone {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.achievement {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.mission-card,
.vision-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.mission-card p,
.vision-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-all);
    animation: fade-in-up 1s ease both;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-item .feature-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    padding: 0.75rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item .feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
    stroke-width: 2;
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Modern Features Grid */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card-modern {
    background-color: var(--card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fade-in-up 1s ease both;
}

.feature-card-modern:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.feature-icon-container {
    background-color: rgba(245, 158, 11, 0.1);
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    stroke-width: 2;
}

.feature-title-modern {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-description-modern {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Responsive adjustments for modern grid */
@media (max-width: 640px) {
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card-modern {
        padding: 1.25rem;
    }
}

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

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

/* Search and Filter Controls */
.services-controls {
    margin-bottom: 3rem;
}

.services-search-filter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 384px;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    stroke: var(--muted-foreground);
    stroke-width: 2;
}

.search-input {
    width: 100%;
    height: 2.25rem;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: transparent;
    color: var(--foreground);
    font-size: 0.875rem;
    transition: var(--transition-colors);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-input::placeholder {
    color: var(--muted-foreground);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2rem;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--muted-foreground);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-colors);
    cursor: pointer;
}

.filter-btn:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

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

.filter-icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-all);
    animation: fade-in-up 1s ease both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-all);
}

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

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    z-index: 1;
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.service-content p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-description {
    display: inline;
}

.description-text {
    display: inline;
}

.see-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
    display: inline;
    vertical-align: baseline;
}

.see-more-btn:hover {
    color: #e6ac00;
    text-decoration: underline;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-features-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    flex-grow: 1;
}

.service-features-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.service-features-list li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.feature-icon {
    width: 0.75rem;
    height: 0.75rem;
    stroke: var(--primary);
    stroke-width: 2;
    flex-shrink: 0;
}

.service-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-colors);
}

.service-btn:hover {
    background-color: var(--primary-dark);
}

/* FDA Notice */
.fda-notice {
    margin: 3rem 0;
}

.notice-content {
    background-color: var(--muted);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    max-width: 1024px;
    margin: 0 auto;
    text-align: left;
}

.notice-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

.notice-content strong {
    color: var(--foreground);
    font-weight: 600;
}

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

.service-process h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--foreground);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

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

.step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.step p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact-section {
    background-color: var(--muted);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

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

.info-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
    stroke-width: 2;
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.info-link {
    color: var(--primary);
    transition: var(--transition-colors);
}

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

.info-text {
    color: var(--muted-foreground);
    line-height: 1.5;
}

.phone-numbers {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.phone-numbers h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition-colors);
}

.phone-item:hover {
    background-color: var(--muted);
    border-color: var(--primary);
}

.phone-number {
    font-weight: 600;
    color: var(--foreground);
}

.phone-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: var(--transition-all);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn.whatsapp {
    background-color: #25d366;
}

.social-btn.whatsapp:hover {
    background-color: #1da851;
}

.social-btn.viber {
    background-color: #665cac;
}

.social-btn.viber:hover {
    background-color: #5a4e9a;
}

.social-btn.call {
    background-color: #3b82f6;
}

.social-btn.call:hover {
    background-color: #2563eb;
}

.social-btn svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.contact-form-container {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--background);
    color: var(--foreground);
    transition: var(--transition-colors);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

/* Footer */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

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

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: #000000;
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted-foreground);
}

.contact-item svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
    stroke: var(--primary);
    flex-shrink: 0;
}

.contact-item a {
    color: inherit;
    transition: var(--transition-colors);
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--muted-foreground);
    transition: var(--transition-colors);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background-color: var(--muted);
    color: var(--muted-foreground);
    transition: var(--transition-all);
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.emergency-box {
    background-color: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.emergency-box h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.emergency-number {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    text-decoration: none;
}

.emergency-number:hover {
    color: var(--primary-dark);
}

.emergency-box p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: var(--transition-colors);
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 768px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
}

.modal-header p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.modal-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--muted);
    color: var(--muted-foreground);
    font-size: 1.25rem;
    transition: var(--transition-colors);
}

.modal-close:hover {
    background-color: var(--primary);
    color: white;
}

.modal-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.progress-step {
    flex: 1;
    height: 4px;
    background-color: var(--border);
    border-radius: 2px;
    position: relative;
}

.progress-step.active {
    background-color: var(--primary);
}

.quote-form {
    padding: 1.5rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
}

.float-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: fade-in-up 0.3s ease;
}

.float-menu.active {
    display: flex;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-all);
    min-width: 140px;
    justify-content: center;
}

.float-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.float-btn.whatsapp {
    background-color: #25d366;
}

.float-btn.viber {
    background-color: #665cac;
}

.float-btn.call {
    background-color: #3b82f6;
}

.float-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.float-main-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.float-main-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.float-main-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
    position: absolute;
    transition: var(--transition-all);
}

.float-main-btn .icon-close {
    opacity: 0;
    transform: rotate(90deg);
}

.float-main-btn.active .icon-message {
    opacity: 0;
    transform: rotate(-90deg);
}

.float-main-btn.active .icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    .nav-desktop {
        display: flex;
    }
    
    .header-cta {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .certificate-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .certificate-content.reverse {
        grid-template-columns: 1fr 1fr;
    }
    
    .certificate-content.reverse .certificate-info {
        order: 1;
    }
    
    .certificate-content.reverse .certificate-image {
        order: 2;
    }
    
    .mission-vision {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-milestones {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Services responsive */
    .services-search-filter {
        flex-direction: row;
    }
    
    .search-container {
        max-width: 384px;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-desktop,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 1rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius);
        backdrop-filter: blur(12px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Service Card Filtering */
.service-card.hidden {
    display: none;
}

/* Scroll animations */
.fade-in-up,
.slide-in-left {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    transform: translateX(-30px);
}

.fade-in-up.visible,
.slide-in-left.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left.visible {
    transform: translateX(0);
}

/* Icon Utilities */
.icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
    fill: none;
    stroke: currentColor;
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .modal {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-bg,
    .hero-overlay {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .section-title {
        font-size: 18pt;
    }
    
    .btn {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #d97706;
        --border: #64748b;
        --muted: #f1f5f9;
    }
    
    .btn-outline {
        border-width: 2px;
    }
    
    .nav-item.active::after {
        height: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-float,
    .animate-bounce,
    .animate-spin,
    .animate-ping,
    .animate-pulse {
        animation: none !important;
    }
}

/* Focus Styles */
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modern Contact Section Styles */
.contact-section-modern {
    padding: 5rem 0;
    background: #f8fafc;
    position: relative;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-modern {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333;
}

.highlight-block {
    display: block;
    color: #ffc107;
    margin-top: 0.5rem;
}

.section-description-modern {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1200px) {
    .contact-grid-modern {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

/* Contact Form Column */
.contact-form-column {
    order: 1;
}

.contact-form-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-header-icon {
    background: rgba(255, 193, 7, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-header-icon .icon-message {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffc107;
}

.form-header-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #333;
}

.form-header-text p {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
}

/* Modern Form Styles */
.contact-form-modern {
    margin-bottom: 2rem;
}

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

@media (min-width: 640px) {
    .form-row-modern {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-modern {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.form-input-modern,
.form-select-modern,
.form-textarea-modern {
    width: 100%;
    min-width: 0;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    background: transparent;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    transition: all 0.2s ease;
    outline: none;
    height: 3rem;
}

.form-textarea-modern {
    height: auto;
    min-height: 5rem;
    resize: vertical;
    font-family: inherit;
}

.form-input-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-input-modern::placeholder,
.form-textarea-modern::placeholder {
    color: #9ca3af;
}

.form-submit-btn {
    width: 100%;
    height: 3rem;
    background: #ffc107;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit-btn:hover {
    background: #e6ac00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Contact Methods */
.contact-methods {
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.contact-methods-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.methods-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #ffc107;
}

.instant-contact-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .instant-contact-buttons {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.instant-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: white;
    height: 3rem;
}

.instant-btn .btn-icon {
    width: 1rem;
    height: 1rem;
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.viber-btn {
    background: #665cac;
}

.viber-btn:hover {
    background: #574a95;
    transform: translateY(-1px);
}

.call-btn {
    background: #3b82f6;
}

.call-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Contact Info Column */
.contact-info-column {
    order: 2;
}

@media (min-width: 1200px) {
    .contact-info-column {
        order: 1;
    }
}

.contact-info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    background: rgba(255, 193, 7, 0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon .header-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #ffc107;
}

.contact-info-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

/* Phone Numbers Modern */
.phone-numbers-modern {
    margin-bottom: 1.5rem;
}

.phone-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.phone-item-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: white;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.phone-item-modern:hover {
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.05);
    transform: translateY(-1px);
}

.phone-item-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-icon {
    background: rgba(255, 193, 7, 0.1);
    padding: 0.375rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.phone-item-modern:hover .phone-icon {
    background: rgba(255, 193, 7, 0.2);
}

.phone-icon .phone-svg {
    width: 0.75rem;
    height: 0.75rem;
    color: #ffc107;
}

.phone-details {
    min-width: 0;
    flex: 1;
}

.phone-number {
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    margin: 0 0 0.125rem 0;
    transition: color 0.2s ease;
}

.phone-item-modern:hover .phone-number {
    color: #ffc107;
}

.phone-label {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

.phone-action {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.phone-item-modern:hover .phone-action {
    opacity: 1;
}

.phone-action .action-icon {
    width: 0.75rem;
    height: 0.75rem;
    color: #ffc107;
}

.phone-tip {
    padding: 0.5rem;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
    text-align: center;
}

.phone-tip p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

.tip-highlight {
    color: #ffc107;
    font-weight: 500;
}

/* Additional Contact Info */
.additional-contact-info {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    margin-bottom: 0.5rem;
}

.contact-detail-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.detail-icon {
    background: rgba(255, 193, 7, 0.1);
    padding: 0.375rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon .detail-svg {
    width: 0.75rem;
    height: 0.75rem;
    color: #ffc107;
}

.detail-content {
    min-width: 0;
    flex: 1;
}

.detail-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffc107;
    margin: 0 0 0.25rem 0;
}

.detail-link {
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-words;
    display: block;
}

.detail-link:hover {
    color: #ffc107;
}

.detail-text {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    word-break: break-words;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section-modern {
        padding: 3rem 0;
    }
    
    .section-header-modern {
        margin-bottom: 2rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
    }
    
    .instant-contact-buttons {
        grid-template-columns: 1fr;
    }
}