@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "liga" 1;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.hero-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-overlay {
    background: linear-gradient(75deg, rgba(26, 42, 58, 0.85) 0%, rgba(26, 42, 58, 0.75) 100%);
}

.hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-text {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#main-header {
    background-color: transparent;
}

#main-header.bg-dark\/90 {
    background-color: rgba(26, 42, 58, 0.95);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.btn-primary {
    background: linear-gradient(90deg, #6C757D, #495057);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.2);
    color: white;
    font-weight: 500;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 16px rgba(73, 80, 87, 0.3);
    background: linear-gradient(90deg, #7D868F, #5A6268);
    color: white;
}

.btn-secondary {
    background: linear-gradient(90deg, #6C757D, #495057);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.2);
    color: white;
    font-weight: 500;
    border: none;
}

.btn-secondary:hover {
    box-shadow: 0 8px 16px rgba(73, 80, 87, 0.3);
    background: linear-gradient(90deg, #7D868F, #5A6268);
    color: white;
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-item {
    transition: transform 0.3s ease;
}

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

.stat-card {
    position: relative;
    transition: transform 0.3s ease;
}

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

.stat-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #6C757D, #495057);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

button[type="submit"], 
#contact-form button, 
#contact-form-page button {
    color: white;
    font-weight: 500;
    background: linear-gradient(90deg, #6C757D, #495057);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.2);
}

button[type="submit"]:hover, 
#contact-form button:hover, 
#contact-form-page button:hover {
    box-shadow: 0 8px 16px rgba(73, 80, 87, 0.3);
    background: linear-gradient(90deg, #7D868F, #5A6268);
    color: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #6C757D;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.15);
}

#contact-bubble {
    background: linear-gradient(90deg, #6C757D, #495057);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.2);
}

#contact-bubble:hover {
    box-shadow: 0 8px 16px rgba(73, 80, 87, 0.3);
    transform: scale(1.1);
}

.text-secondary-500 {
    color: #6C757D;
}

.bg-secondary-500\/90 {
    background-color: rgba(108, 117, 125, 0.9);
}

.bg-secondary-500\/10 {
    background-color: rgba(108, 117, 125, 0.1);
}

.text-secondary-400 {
    color: #ADB5BD;
}

.text-secondary-700 {
    color: #343A40;
}

.bg-primary-700 {
    background-color: #343A40;
}

.bg-primary-600 {
    background-color: #495057;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

@media (max-height: 800px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding-top: 80px;
        padding-bottom: 60px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        height: auto;
        min-height: 120vh;
    }
}

@supports (-webkit-touch-callout: none) {
    .hero-section {
        height: -webkit-fill-available;
    }
}

.hero-small {
    min-height: 60vh;
    height: 60vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-small .absolute.inset-0 {
    width: 100%;
    height: 100%;
}

.hero-small .absolute.inset-0 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hero-small .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .hero-small {
        min-height: 50vh;
        height: 50vh;
    }
    
    .hero-small .hero-content {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

.hero-medium {
    min-height: 60vh;
}

.iframe-border-0 {
    border: 0;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
    
    #contact-popup {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 85vh !important;
        border-radius: 1.5rem 1.5rem 0 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    #contact-popup.scale-100 {
        transform: translateY(0) scale(1) !important;
    }
    
    #contact-popup.scale-0 {
        transform: translateY(100%) scale(1) !important;
    }
    
    #contact-bubble {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    
    .hero-section {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 5rem 0 2rem 0;
    }
    
    
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    .text-5xl, .text-6xl, .text-7xl {
        font-size: 2rem !important;
    }
    
    .text-3xl, .text-4xl {
        font-size: 1.75rem !important;
    }
    
    .text-xl, .text-2xl {
        font-size: 1.125rem !important;
    }
    
    .px-6, .px-8, .px-12 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-16 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    
    .mb-12 {
        margin-bottom: 1.5rem !important;
    }
    
    .gap-8 {
        gap: 1.5rem !important;
    }
    
    .space-y-8 > * + * {
        margin-top: 1.5rem !important;
    }
    
    .service-card img, .feature-item img, .testimonial-card img {
        max-width: 100%;
        height: auto;
    }
    
    .service-card, .feature-item, .testimonial-card, .stat-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    iframe {
        max-width: 100%;
        width: 100%;
    }
    
    .flex-wrap {
        flex-wrap: wrap;
    }
    
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .grid.lg\:grid-cols-2,
    .grid.md\:grid-cols-2,
    .grid.lg\:grid-cols-3,
    .grid.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    
    #mobile-menu {
        padding: 2rem;
    }
    
    #mobile-menu a {
        font-size: 1.25rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
        width: 100%;
        justify-content: center;
    }
    
    form input, form textarea, form select {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .max-w-3xl, .max-w-4xl, .max-w-5xl, .max-w-6xl, .max-w-7xl {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    html {
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    #contact-popup {
        border-radius: 1rem 1rem 0 0 !important;
        max-height: 80vh !important;
    }
    
    #contact-popup form {
        padding: 1rem !important;
    }
    
    #contact-popup input,
    #contact-popup textarea,
    #contact-popup select {
        font-size: 16px !important;
    }
    
    .hero-section {
        min-height: calc(100vh - 60px);
    }
    
    .hero-section.hero-small {
        min-height: 55vh;
        height: 55vh;
    }
    
    .hero-section.hero-small .hero-content {
        padding-top: 90px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content {
        padding-top: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    
    #contact-popup {
        max-height: 75vh !important;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}