/* ============================================
   AR Finance & Properties - Modern Stylesheet
   ============================================ */

:root {
    --primary-color: #000181;
    --primary-dark: #000060;
    --primary-light: #0000a3;
    --secondary-color: #000181;
    --accent-color: #000181;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px;
}

/* ============================================
   NAVBAR
   ============================================ */

#main_navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1000;
}

#main_navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark) !important;
    text-decoration: none;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.brand-text {
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link-button {
    color: var(--bg-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nav .nav-link-button:hover {
    color: var(--bg-white) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .btn {
    margin-left: 0.5rem;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
}

.btn-white {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--bg-white) !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-link.btn-white {
    color: var(--bg-white) !important;
}

.nav-link.btn-white i {
    color: var(--bg-white) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero_section {
    background: linear-gradient(135deg, #000181 0%, #0000a3 100%);
    background-image: url('../images/home-bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero_overlay {
    background: linear-gradient(135deg, rgba(0, 1, 129, 0.95) 0%, rgba(0, 0, 163, 0.9) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero_content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    padding: 2rem 0;
}

.hero_subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.hero_title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.text_highlight {
    color: var(--bg-white);
    display: inline-block;
    font-weight: 800;
}

.hero_description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero_cta .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero_cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 5rem 0;
}

.section_header {
    margin-bottom: 3rem;
}

.section_title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section_subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section_description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services_section {
    background: var(--bg-light);
}

.service_card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service_card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service_icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
    font-size: 2rem;
}

.service_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service_list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service_list li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.service_list li:last-child {
    border-bottom: none;
}

.service_list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about_section {
    background: var(--bg-white);
}

.feature_box {
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.feature_icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-white);
    font-size: 2rem;
    transition: var(--transition);
}

.feature_box:hover .feature_icon {
    transform: scale(1.1) rotate(5deg);
}

.feature_title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature_text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact_section {
    background: var(--bg-light);
}

.contact_form_wrapper {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form_group {
    margin-bottom: 1.5rem;
}

.form_label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form_control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form_control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form_control::placeholder {
    color: var(--text-light);
}

.contact_info_wrapper {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact_info_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact_info_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact_info_item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact_info_icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact_info_content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact_info_content a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact_info_content a:hover {
    color: var(--primary-color);
}

.contact_social .social_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 10px;
    color: var(--bg-white);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact_social .social_link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */

.footer_section {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer_widget {
    margin-bottom: 2rem;
}

.footer_title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer_subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer_text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer_links {
    list-style: none;
    padding: 0;
}

.footer_links li {
    margin-bottom: 0.75rem;
}

.footer_links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer_links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer_contact {
    list-style: none;
    padding: 0;
}

.footer_contact li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer_contact li i {
    margin-right: 0.75rem;
    color: var(--bg-white);
}

.footer_contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer_contact a:hover {
    color: var(--bg-white);
}

.footer_social .social_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--bg-white);
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 0.5rem;
}

.footer_social .social_link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer_bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright_text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.copyright_text a {
    color: var(--bg-white);
    text-decoration: none;
}

.copyright_text a:hover {
    color: var(--bg-white);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--bg-white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--bg-white);
}

.btn-outline-light {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--bg-white);
}

/* ============================================
   MESSAGE SENT PAGE
   ============================================ */

.message_sent_section {
    padding: 8rem 0 5rem;
    background: var(--bg-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.message_sent_card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.success_icon {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--bg-white);
    font-size: 4rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.success_message {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.success_actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .message_sent_section {
        padding: 6rem 0 3rem;
    }

    .message_sent_card {
        padding: 3rem 2rem;
    }

    .success_icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .success_title {
        font-size: 2rem;
    }

    .success_message {
        font-size: 1rem;
    }

    .success_actions {
        flex-direction: column;
    }

    .success_actions .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp_float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--bg-white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp_float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    text-decoration: none;
    color: var(--bg-white);
}

.whatsapp_float i {
    margin-top: 4px;
}

.whatsapp_tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp_tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--text-dark);
}

.whatsapp_float:hover .whatsapp_tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp_float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }

    .whatsapp_tooltip {
        display: none;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .hero_title {
        font-size: 2.25rem;
    }

    .section_title {
        font-size: 2rem;
    }

    .section_subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero_section {
        min-height: 70vh;
    }

    .hero_title {
        font-size: 1.75rem;
    }

    .hero_description {
        font-size: 1rem;
    }

    .hero_cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero_cta .btn:last-child {
        margin-bottom: 0;
    }

    section {
        padding: 3rem 0;
    }

    .section_title {
        font-size: 1.75rem;
    }

    .service_card,
    .contact_form_wrapper,
    .contact_info_wrapper {
        padding: 1.5rem;
    }

    .navbar-nav .btn {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero_title {
        font-size: 1.5rem;
    }

    .section_title {
        font-size: 1.5rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 35px;
    }
}