/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0047AB;
    --secondary-blue: #007BFF;
    --light-blue: #4A90E2;
    --violet: #8B5CF6;
    --light-violet: #D8B4FE;
    --white: #FFFFFF;
    --light-bg: #F5F7FF;
    --dark-text: #1A1A2E;
    --light-text: #555555;
    --border-color: #E0E7FF;
    --shadow: 0 2px 12px rgba(74, 144, 226, 0.12);
    --shadow-lg: 0 8px 24px rgba(74, 144, 226, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   SIMPLE LOADER
   ======================================== */

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0047AB 0%, #8B5CF6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: loaderFadeOut 0.8s ease-in-out 0.5s forwards;
}

@keyframes loaderFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loader-text {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-align: center;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar-logo i {
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0047AB, #8B5CF6);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0047AB 0%, #007BFF 50%, #8B5CF6 100%);
    padding: 80px 20px 40px;
    margin-top: 60px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    color: var(--white);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: #E6F2FF;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 71, 171, 0.3);
}

.btn-secondary {
    background: var(--light-blue);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.4);
}

.btn-tertiary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */

section {
    padding: 60px 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--light-bg);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 15px;
    text-align: center;
    color: var(--light-text);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--light-blue);
    background: linear-gradient(135deg, rgba(4, 71, 171, 0.02), rgba(139, 92, 246, 0.02));
}

.service-icon {
    font-size: 48px;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    display: block;
}

.service-card h3 {
    font-size: 19px;
    color: var(--dark-text);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.why-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--light-blue);
}

.why-icon {
    font-size: 42px;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: inline-block;
}

.why-card h3 {
    font-size: 17px;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.why-card p {
    color: var(--light-text);
    font-size: 13px;
    line-height: 1.6;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 71, 171, 0.85), transparent);
    color: var(--white);
    padding: 18px;
    font-size: 13px;
    font-weight: 700;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.stat {
    background: linear-gradient(135deg, rgba(4, 71, 171, 0.1), rgba(139, 92, 246, 0.1));
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
}

.stat:hover {
    border-color: var(--light-blue);
    background: linear-gradient(135deg, rgba(4, 71, 171, 0.15), rgba(139, 92, 246, 0.15));
}

.stat h3 {
    font-size: 32px;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat p {
    color: var(--light-text);
    font-size: 12px;
    margin: 0;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 71, 171, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--white);
    color: var(--dark-text);
}

.form-error {
    display: block;
    color: #E74C3C;
    font-size: 12px;
    margin-top: 4px;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--light-blue);
}

.info-icon {
    font-size: 36px;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: inline-block;
}

.info-card h3 {
    color: var(--dark-text);
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-card p {
    color: var(--light-text);
    font-size: 13px;
    margin: 0;
}

.info-card a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 700;
}

.info-card a:hover {
    color: var(--violet);
}

.social-section {
    background: linear-gradient(135deg, rgba(4, 71, 171, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.social-section h3 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0047AB, #8B5CF6);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   MAP SECTION
   ======================================== */

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, #0047AB 0%, #003D82 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 0 25px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* ========================================
   FLOATING ACTION BUTTONS
   ======================================== */

.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #20BA5C);
    color: var(--white);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.call-btn {
    background: linear-gradient(135deg, #0047AB, #007BFF);
    color: var(--white);
}

.call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.35);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: left;
        transition: 0.2s;
        padding: 15px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero {
        min-height: 60vh;
        padding: 70px 20px 35px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

    .services-grid,
    .why-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    section {
        padding: 45px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 55vh;
        padding: 65px 15px 30px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .service-card,
    .why-card,
    .info-card {
        padding: 20px 15px;
    }

    .service-icon,
    .why-icon,
    .info-icon {
        font-size: 36px;
    }

    .about-text h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 25px;
    }

    .stat {
        padding: 18px;
    }

    .stat h3 {
        font-size: 26px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}