/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--color-neutral-900);
    color: var(--color-neutral-100);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-primary-300));
}

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

.footer-about h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-about h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--color-primary-500);
    border-radius: 2px;
}

.footer-about p {
    color: var(--color-neutral-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary-500);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--color-neutral-400);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--color-primary-400);
    padding-left: 8px;
}

.footer-contact p {
    color: var(--color-neutral-400);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--color-primary-500);
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: var(--color-neutral-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--color-neutral-500);
    font-size: 0.9rem;
}

/* Social Media Icons in Footer */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-neutral-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-primary-500);
    color: white;
    transform: translateY(-3px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--color-primary-500);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.scroll-to-top:hover {
    background: var(--color-primary-600);
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-about h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Modern CSS Reset and Base Styles */
:root {
    /* Color System - Semantic Naming */
    /* Primary Colors */
    --color-primary-50: #eff6ff;
    --color-primary-100: #dbeafe;
    --color-primary-200: #bfdbfe;
    --color-primary-300: #93c5fd;
    --color-primary-400: #60a5fa;
    --color-primary-500: #3b82f6;
    --color-primary-600: #2563eb;
    --color-primary-700: #1d4ed8;
    --color-primary-800: #1e40af;
    --color-primary-900: #1e3a8a;
    --color-primary-950: #172554;
    
    /* Neutral Colors */
    --color-neutral-50: #f8fafc;
    --color-neutral-100: #f1f5f9;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1e293b;
    --color-neutral-900: #0f172a;
    --color-neutral-950: #020617;
    
    /* Semantic Colors */
    --color-text: var(--color-neutral-900);
    --color-text-muted: var(--color-neutral-600);
    --color-bg: var(--color-neutral-50);
    --color-surface: var(--color-neutral-100);
    --color-border: var(--color-neutral-200);
    
    /* Typography */
    --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    
    /* Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
    --text-3xl: clamp(1.875rem, 1.4rem + 1.8vw, 3rem);
    --text-4xl: clamp(2.25rem, 1.6rem + 2.5vw, 3.75rem);
    --text-5xl: clamp(3rem, 2rem + 4vw, 5rem);
    
    /* Spacing */
    --space-0: 0;
    --space-1: clamp(0.25rem, 0.2rem + 0.2vw, 0.35rem);
    --space-2: clamp(0.5rem, 0.4rem + 0.4vw, 0.7rem);
    --space-3: clamp(0.75rem, 0.6rem + 0.6vw, 1.05rem);
    --space-4: clamp(1rem, 0.8rem + 0.8vw, 1.4rem);
    --space-5: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    --space-6: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
    --space-8: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
    --space-10: clamp(2.5rem, 2rem + 2vw, 3.5rem);
    --space-12: clamp(3rem, 2.4rem + 2.4vw, 4.2rem);
    --space-16: clamp(4rem, 3.2rem + 3.2vw, 5.6rem);
    --space-20: clamp(5rem, 4rem + 4vw, 7rem);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* 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);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    
    /* Z-index */
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-auto: auto;
}

/* Modern CSS Reset */
:where(*, *::before, *::after) {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Set core root defaults */
:where(html) {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--font-sans);
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Set core body defaults */
:where(body) {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.5;
}

/* Make media elements easier to work with */
:where(img, picture, video, canvas, svg) {
    display: block;
    max-width: 100%;
    height: auto;
    font-style: italic;
}

/* Inherit fonts for form elements */
:where(input, button, textarea, select, optgroup) {
    font: inherit;
    color: inherit;
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
}

/* Remove all animations, transitions and smooth scroll for reduced motion */
@media (prefers-reduced-motion: reduce) {
    :where(html:focus-within) {
        scroll-behavior: auto;
    }
    
    :where(*, *::before, *::after) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
:where(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
}

:where(h1) { font-size: var(--text-5xl); }
:where(h2) { font-size: var(--text-4xl); }
:where(h3) { font-size: var(--text-3xl); }
:where(h4) { font-size: var(--text-2xl); }
:where(h5) { font-size: var(--text-xl); }
:where(h6) { font-size: var(--text-lg); }

:where(p) {
    margin-bottom: var(--space-4);
    color: var(--color-text);
    line-height: 1.7;
}

:where(a) {
    color: var(--color-primary-600);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

:where(a:hover) {
    color: var(--color-primary-700);
    text-decoration: underline;
}

/* Buttons */
.btn {
    --btn-bg: transparent;
    --btn-color: currentColor;
    --btn-border: 1px solid transparent;
    --btn-hover-bg: var(--color-primary-700);
    --btn-hover-color: white;
    --btn-hover-border: 1px solid transparent;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: var(--btn-border);
    background-color: var(--btn-bg);
    color: var(--btn-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: var(--text-sm);
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.btn:hover {
    background-color: var(--btn-hover-bg);
    color: var(--btn-hover-color);
    border-color: var(--btn-hover-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 2px;
}

/* Button Variants */
.btn-primary {
    --btn-bg: var(--color-primary-600);
    --btn-color: white;
    --btn-hover-bg: var(--color-primary-700);
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-800) 100%);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    --btn-bg: transparent;
    --btn-color: var(--color-primary-700);
    --btn-border: 1px solid var(--color-primary-600);
    --btn-hover-bg: var(--color-primary-50);
    --btn-hover-color: var(--color-primary-800);
}

.btn-outline {
    --btn-bg: transparent;
    --btn-color: var(--color-neutral-700);
    --btn-border: 1px solid var(--color-neutral-300);
    --btn-hover-bg: var(--color-neutral-100);
    --btn-hover-color: var(--color-neutral-900);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* Layout Utilities */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Container responsive widths */
@container (min-width: 640px) { .container { max-width: var(--container-sm); } }
@container (min-width: 768px) { .container { max-width: var(--container-md); } }
@container (min-width: 1024px) { .container { max-width: var(--container-lg); } }
@container (min-width: 1280px) { .container { max-width: var(--container-xl); } }
@container (min-width: 1536px) { .container { max-width: var(--container-2xl); } }

/* Section Styling */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-primary-500);
    margin: var(--space-4) auto 0;
    border-radius: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text: var(--color-neutral-100);
        --color-text-muted: var(--color-neutral-400);
        --color-bg: var(--color-neutral-900);
        --color-surface: var(--color-neutral-800);
        --color-border: var(--color-neutral-700);
    }
    
    :where(img) {
        opacity: 0.9;
    }
    
    .btn-outline {
        --btn-color: var(--color-neutral-200);
        --btn-border: 1px solid var(--color-neutral-600);
        --btn-hover-bg: var(--color-neutral-800);
        --btn-hover-color: var(--color-neutral-100);
    }
}

/* Print Styles */
@media print {
    :root {
        --color-text: #000;
        --color-bg: #fff;
    }
    
    :where(body) {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    :where(h1, h2, h3, h4, h5, h6) {
        page-break-after: avoid;
    }
    
    :where(img) {
        page-break-inside: avoid;
    }
    
    :where(a) {
        text-decoration: underline;
    }
    
    .no-print {
        display: none !important;
    }
}

/* Services Section */
.services-preview {
    padding: 80px 0;
    background: #ffffff;
}

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

.services-preview .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.services-preview .section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.services-preview .section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f4f8;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2ecc71;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px 0 20px 0;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-content p {
    color: #6c7a89;
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

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

.service-features li {
    color: #4a5660;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.service-features i {
    color: #2ecc71;
    margin-right: 10px;
    font-size: 0.8rem;
}

.service-card .btn-outline {
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 25px;
    border: 2px solid #3498db;
    color: #3498db;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.service-card .btn-outline i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-card .btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.service-card .btn-outline:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .services-preview {
        padding: 60px 0;
    }
    
    .services-preview .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .services-preview .section-header {
        margin-bottom: 40px;
    }
    
    .services-preview .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-preview .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

.gallery .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.gallery .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.gallery .section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.gallery .section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.1), rgba(44, 62, 80, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .gallery {
        padding: 60px 0;
    }
    
    .gallery .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .gallery .section-header {
        margin-bottom: 40px;
    }
    
    .gallery .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .gallery .section-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
}

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

.gallery-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    background: #f9fbfd;
    padding: 100px 0;
    overflow: hidden;
}

.why-choose-us .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-us .section-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-us .section-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.why-choose-us .section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.why-choose-us .section-description {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    border: 1px solid #f0f4f8;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-badge i {
    font-size: 0.9rem;
}

.feature-content {
    padding: 40px 30px 30px;
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: 0;
    left: 0;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.feature-card:hover .feature-content h3::after {
    width: 80px;
}

.feature-content p {
    color: #6c7a89;
    margin: 20px 0 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

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

.feature-list li {
    color: #4a5660;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #2ecc71;
    font-weight: bold;
    width: 24px;
    height: 24px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 991px) {
    .why-choose-us {
        padding: 80px 0;
    }
    
    .why-choose-us .section-title {
        font-size: 2.5rem;
    }
    
    .feature-content {
        padding: 35px 25px 25px;
    }
}

@media (max-width: 767px) {
    .why-choose-us .section-title {
        font-size: 2.2rem;
    }
    
    .why-choose-us .section-description {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .why-choose-us {
        padding: 60px 0;
    }
    
    .why-choose-us .section-title {
        font-size: 2rem;
    }
    
    .why-choose-us .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-content h3 {
        font-size: 1.4rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
}

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

.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Branches Section */
.branches {
    position: relative;
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

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

.branches .section-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branches .section-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.branches .section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.branches .section-description {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.7;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.branch-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f4f8;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

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

.branch-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.branch-card:hover .branch-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #2ecc71, #3498db);
}

.branch-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.branch-card h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.branch-card:hover h3::after {
    width: 60px;
}

.branch-card p {
    color: #6c7a89;
    margin: 10px 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

.branch-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0e6ed;
}

.branch-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    color: #4a5660;
    font-size: 1rem;
}

.branch-contact i {
    color: #3498db;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.branch-card:hover .branch-contact i {
    color: #2ecc71;
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 991px) {
    .branches {
        padding: 80px 0;
    }
    
    .branches .section-title {
        font-size: 2.5rem;
    }
    
    .branch-card {
        padding: 35px 25px;
    }
}

@media (max-width: 767px) {
    .branches .section-title {
        font-size: 2.2rem;
    }
    
    .branches .section-description {
        font-size: 1.1rem;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .branches {
        padding: 60px 0;
    }
    
    .branches .section-title {
        font-size: 2rem;
    }
    
    .branches .section-subtitle {
        font-size: 1rem;
    }
    
    .branch-card h3 {
        font-size: 1.4rem;
    }
    
    .branch-card p {
        font-size: 1rem;
    }
    
    .branch-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

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

.branch-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* ======================
   About Page
   ====================== */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.92), rgba(44, 62, 80, 0.92)), 
                url('../img/optimized/hero-bg.webp') no-repeat center center/cover fixed;
    color: #fff;
    text-align: center;
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 25px auto 0;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-header {
    margin-bottom: 35px;
}

.about-content .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-content .section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -12px;
    left: 0;
    border-radius: 4px;
}

.about-content p {
    color: #6c7a89;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f9fbfd;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid #3498db;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.feature i {
    color: #3498db;
    font-size: 1.3rem;
    min-width: 25px;
}

.feature:hover i {
    color: #2ecc71;
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* About Image */
.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    border: 10px solid white;
}

.about-grid:hover .about-image {
    transform: perspective(1000px) rotateY(0);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    transform: rotate(5deg);
    transition: all 0.4s ease;
    border: 5px solid white;
}

.about-image:hover .experience-badge {
    transform: rotate(0) scale(1.05);
}

.experience-badge .years {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content .section-header {
        text-align: center;
    }
    
    .about-content .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 80px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .experience-badge {
        padding: 15px;
        bottom: -15px;
        right: -15px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-content .section-header h2 {
        font-size: 2rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: #f9fbfd;
    padding: 100px 0;
}

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

.testimonials .section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.testimonials .section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0 15px;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(52, 152, 219, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5660;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.author-info span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta .btn-light {
    background: white;
    color: #2c3e50;
    border: 2px solid white;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta .btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .about-grid {
        gap: 40px;
    }
    
    .testimonial {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content .section-header {
        text-align: center;
    }
    
    .about-content .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-features {
        max-width: 600px;
        margin: 30px auto;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-content .section-header h2,
    .testimonials .section-title,
    .cta h2 {
        font-size: 2rem;
    }
    
    .testimonial {
        padding: 25px 20px;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        justify-content: center;
    }
    
    .experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 12px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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