/* Global Styles */
:root {
    --primary-blue: #0033ff;
    --primary-blue-hover: #0022cc;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* --- Index Page (Landing) --- */
.landing-page {
    background: radial-gradient(circle at top left, #ffffff 0%, #ffe6f0 50%, #e6e9ff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}

.brand {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1b44ff;
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.lang-selector:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
    margin-top: 8px;
}

.lang-menu.hidden {
    display: none !important;
}

.lang-option {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.lang-option:hover {
    background-color: #f8f9fa;
}

.lang-option b {
    margin-right: 8px;
    display: inline-block;
    width: 24px;
}

.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-left {
    flex: 1;
    padding-right: 40px;
    min-width: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 20px;
}

.text-blue {
    color: #1b44ff;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #333;
    font-weight: 500;
}

.hero-cta {
    margin-top: 40px;
}

.hero-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 51, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.hero-btn:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 255, 0.4);
    color: var(--white);
}

.badges-marquee {
    margin-top: 50px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 20px;
    animation: scroll-left 15s linear infinite;
    padding: 5px 0 15px 0;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
    background-color: var(--white);
    padding: 6px 20px 6px 6px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    background-color: #f1f5f9;
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-img-wrapper {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .navbar {
        padding: 20px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 60px;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .badges-marquee {
        margin-top: 30px;
    }
}

/* --- Quote Page Form --- */
.form-container {
    max-width: 600px;
    margin: 40px auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f3f5;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #e9ecef;
}

.page-title,
.section-title {
    color: var(--primary-blue);
    margin-bottom: 24px;
    font-weight: 700;
}

.page-title {
    font-size: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-top: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    background-color: transparent;
    font-size: 1rem;
    outline: none;
    transition: border-bottom-color 0.3s ease;
}

.form-input::placeholder {
    color: #adb5bd;
}

.form-input:focus {
    border-bottom-color: var(--primary-blue);
    box-shadow: none;
}

.form-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.link {
    font-size: 0.85rem;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Radio Cards */
.radio-group {
    display: flex;
    gap: 16px;
}

.radio-card {
    flex: 1;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card .card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.radio-card .icon {
    font-size: 1.5rem;
}

.radio-card .text {
    font-weight: 600;
    color: var(--text-main);
}

.radio-card input[type="radio"]:checked+.card-content {
    border-color: var(--primary-blue);
    background-color: rgba(0, 51, 255, 0.05);
}

/* Checkboxes */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 30px;
    margin-top: 16px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--primary-blue);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label.fw-bold {
    font-weight: 600;
}

/* Input with icon (Phone) */
.input-with-icon {
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    background-color: transparent;
    transition: border-bottom-color 0.3s ease;
}

.input-with-icon:focus-within {
    border-bottom-color: var(--primary-blue);
    box-shadow: none;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px 12px 0;
    background-color: transparent;
    border-right: none;
    font-weight: 500;
}

.input-with-icon .form-input {
    border: none;
    border-bottom: none;
    padding: 12px 0;
}

.input-with-icon .form-input:focus {
    border-bottom-color: transparent;
    box-shadow: none;
}

/* Divider */
.divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 32px 0;
}

/* Terms text */
.terms-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 24px 0;
    line-height: 1.6;
}

.terms-text a {
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.submit-button:hover {
    background-color: var(--primary-blue-hover);
}

.submit-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 24px;
        min-height: 100vh;
    }
}