 /* ========================================
   CSS VARIABLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1A2F;
    --blue: #00A8E8;
    --white: #FFFFFF;
    --light-gray: #F4F6F9;
    --text-muted: #8892B0;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--navy);
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--navy);
    box-shadow: var(--shadow);
    padding: 12px 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.company-name {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--blue);
}

.quote-nav-btn {
    background: var(--blue);
    color: var(--navy) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.quote-nav-btn:hover {
    background: #0084b3;
    transform: scale(1.05);
    color: var(--white) !important;
}

.quote-nav-btn::after {
    display: none !important;
}

/* ========================================
   HERO SLIDESHOW
   ======================================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.65);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    animation: fadeUp 1s ease;
}

.hero-overlay h1 span {
    color: var(--blue);
}

.hero-overlay p {
    font-size: 22px;
    color: var(--light-gray);
    margin-bottom: 40px;
    letter-spacing: 1px;
    animation: fadeUp 1.2s ease;
}

.btn-hero {
    background: var(--blue);
    color: var(--navy);
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    animation: fadeUp 1.4s ease;
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    background: #0084b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.6);
    color: var(--white);
}

/* Slide Indicators (Dots) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots span.active-dot {
    background: var(--blue);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 168, 232, 0.7);
}

/* Animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ========================================
   FLOATING MARQUEE (BOTTOM)
   ======================================== */
.floating-section {
    background: var(--navy);
    padding: 25px 0;
    border-top: 3px solid var(--blue);
    border-bottom: 3px solid var(--blue);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 50px;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    animation: floatBounce 3s ease-in-out infinite;
    letter-spacing: 1px;
}

.marquee-item .icon {
    font-size: 28px;
    color: var(--blue);
}

/* Different delays for floating effect */
.marquee-item:nth-child(1) { animation-delay: 0s; }
.marquee-item:nth-child(2) { animation-delay: 0.5s; }
.marquee-item:nth-child(3) { animation-delay: 1s; }
.marquee-item:nth-child(4) { animation-delay: 1.5s; }
.marquee-item:nth-child(5) { animation-delay: 2s; }
.marquee-item:nth-child(6) { animation-delay: 2.5s; }
.marquee-item:nth-child(7) { animation-delay: 3s; }

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hover pause */
.floating-section:hover .marquee-track {
    animation-play-state: paused;
}
.floating-section:hover .marquee-item {
    animation-play-state: paused;
}

/* ========================================
   MODAL / POPUP FORM
   ======================================== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.modal {
    background: var(--white);
    border-radius: 20px;
    max-width: 550px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 45px 40px 35px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: var(--navy);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header .icon-big {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
}

.modal-header h2 {
    font-size: 28px;
    color: var(--navy);
    font-weight: 700;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 5px;
}

/* Form Groups */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 5px;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e4e8;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: var(--navy);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.15);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892B0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

/* Form Row (2 columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Action Buttons */
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-modal-email,
.btn-modal-whatsapp {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
}

.btn-modal-email {
    background: var(--navy);
    color: var(--white);
}

.btn-modal-email:hover {
    background: #0d2847;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 26, 47, 0.3);
}

.btn-modal-email:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-modal-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-modal-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-modal-whatsapp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success Message */
.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.modal-success .checkmark {
    font-size: 70px;
    color: #25D366;
    margin-bottom: 15px;
}

.modal-success h3 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
}

.modal-success p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Hide form when success is shown */
.modal-form-wrapper.hide {
    display: none;
}

/* Responsive Modal */
@media (max-width: 600px) {
    .modal {
        padding: 30px 20px 25px;
        width: 95%;
        border-radius: 16px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 14px;
    }

    .btn-modal-email,
    .btn-modal-whatsapp {
        font-size: 14px;
        padding: 12px 16px;
    }

    .modal-header .icon-big {
        font-size: 38px;
    }
}

/* Scrollbar styling for modal */
.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: #0084b3;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        background: var(--navy);
    }
    .navbar.scrolled {
        padding: 10px 20px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 13px;
    }
    .quote-nav-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    .logo img {
        height: 40px;
    }
    .company-name {
        font-size: 18px;
    }

    .hero-overlay h1 {
        font-size: 32px;
    }
    .hero-overlay p {
        font-size: 16px;
    }
    .btn-hero {
        padding: 14px 30px;
        font-size: 14px;
    }

    .marquee-item {
        font-size: 16px;
        padding: 0 25px;
        gap: 10px;
    }
    .marquee-item .icon {
        font-size: 20px;
    }
}