:root {
    --bg-main: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --secondary: #e2e8f0;
    --accent: #0284c7;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: rgba(0, 0, 0, 0.1);
    
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-heading: 'Outfit', system-ui, sans-serif;
    
    --container-width: 1200px;
    --nav-height: 80px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h1 span, h2 span {
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-glow {
    display: none;
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
}

.bg-glow-2 {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(255,255,255,0) 70%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-glow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    background-color: #ffffff;
    border-color: var(--text-main);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-main);
    border-bottom: var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-main);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
}

.logo-img {
    height: 120px;
    width: auto;
    display: block;
    margin: -30px 0;
    clip-path: inset(30px 0);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-main);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.4) 75%, rgba(255, 255, 255, 1) 100%), url('building.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #020617;
    font-weight: 600;
    margin-bottom: 2.5rem;
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 1px rgba(255, 255, 255, 0.95);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}


.services {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.service-features i {
    color: #4ade80;
    width: 18px;
    height: 18px;
}

.about {
    padding: 4rem 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    background: var(--bg-card);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

.contact {
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border: 1px solid var(--border-color);
}

.method-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.method-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

.glass-form {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}

.glass-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-group select option {
    background: var(--secondary);
    color: var(--text-main);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

footer {
    background: #f1f5f9;
    border-top: var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.facebook-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.facebook-link:hover {
    color: #1877F2; /* Facebook Blue */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.professional-licenses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    
    .section-header h2,
    .about-content h2,
    .contact-info h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    #floating-logo {
        transform: translate(-50%, -50%) scale(2);
    }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero p { margin: 0 auto 2rem; }

    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .services-grid { grid-template-columns: 1fr; }
}

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 2000;
    transition: background-color 0.5s ease;
    pointer-events: none;
}

#floating-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(3.5);
    z-index: 2001;
    transform-origin: center center;
    pointer-events: none;
    font-size: 1.5rem;
    will-change: transform;
}

body.logo-animating {
    overflow-x: hidden;
}

#main-content {
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

#main-content.visible {
    opacity: 1;
}

.target-logo {
    opacity: 0;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-anim {
    animation: pulse 3s infinite ease-in-out;
}

.pulse-anim-slow {
    animation: pulse 5s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-alt {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-anim {
    animation: float 6s infinite ease-in-out;
}

.floating-anim-alt {
    animation: float-alt 8s infinite ease-in-out;
}

.counter-anim {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.counter-anim.active {
    opacity: 1;
    transform: scale(1);
}

.particles {
    display: none;
}

@keyframes particle-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.dark-theme {
    --bg-main: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.85);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.15);
    --secondary: #1e293b;
    --accent: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.dark-theme .hero {
        background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.8) 75%, rgba(15, 23, 42, 1) 100%), url('building.jpg');
    }

    .dark-theme .hero p {
        color: var(--text-main);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .dark-theme .bg-glow-2 {
        background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
    }

    .dark-theme .btn-secondary {
        background-color: rgba(30, 41, 59, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dark-theme .btn-secondary:hover {
        background-color: rgba(51, 65, 85, 0.85);
    }

    .dark-theme .service-card:hover {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }


    .dark-theme .about {
        background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.8));
    }

    .dark-theme footer {
        background: #1e293b;
    }

    .dark-theme .form-group input,
    .dark-theme .form-group select,
    .dark-theme .form-group textarea {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
