/* Global Variables */
:root {
    --primary-color: #003da5;
    /* Deep Blue similar to Remax */
    --secondary-color: #dc002e;
    /* Red accent */
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-heading: 'Inter', sans-serif;
    /* Unificada: Fuente para títulos */
    --font-body: 'Inter', sans-serif;
    /* Unificada: Fuente para cuerpo */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    /* Usar variable */
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

/* Shrinking Header on Scroll */
.header.scrolled {
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 200px;
    transition: height 0.3s ease;
}

.header.scrolled .logo img {
    height: 100px;
}

/* Nav links shrink effect */
.header.scrolled .nav-link {
    font-size: 15px;
}

.header.scrolled .contact-btn {
    padding: 8px 20px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-color);
    position: relative;
    /* For pseudo-element positioning */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: #002a7a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    padding-bottom: 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
    text-align: left;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Redefine contact-btn inside navigation to behave like a normal link */


.contact-btn:hover {
    background-color: #002a7a;
    color: var(--white);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 600px;
    background-image: url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Ligeramente más oscuro para mejor legibilidad */
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    /* Aplicar fuente premium */
    font-size: 56px;
    /* Aumentar tamaño para impacto */
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    /* Sombra más fuerte */
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Search Box */
.search-box {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-tab {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 5px;
    cursor: pointer;
    color: var(--light-text);
    border-bottom: 2px solid transparent;
}

.search-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 12px 15px;
    min-width: 200px;
}

.search-input-group i {
    color: var(--primary-color);
    margin-right: 10px;
}

.search-input,
.search-select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: var(--text-color);
    background: transparent;
}

.search-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: #b30026;
}

/* Search Suggestions */
.search-input-group {
    position: relative;
    /* Ensure absolute positioning works for children */
}

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    text-align: left;
    /* Override parent text-align center */
}

.suggestions-list.active {
    display: block;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    /* Align icon to top of multi-line text */
    line-height: 1.4;
    color: var(--text-color);
    text-align: left;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: var(--light-bg);
}

.suggestion-item strong {
    font-weight: 700;
    color: var(--text-color);
}

.suggestion-item:hover strong {
    color: var(--primary-color);
}

.suggestion-item i {
    color: var(--light-text);
    margin-right: 12px;
    font-size: 16px;
    margin-top: 3px;
    /* Align with first line of text */
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    /* Aplicar fuente premium */
    font-size: 38px;
    /* Aumentar tamaño para impacto */
    color: var(--primary-color);
    /* Cambiar a primary para que resalte */
    font-weight: 700;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Propiedad Card */
.property-title {
    font-family: var(--font-heading);
    /* Aplicar fuente premium */
    font-size: 22px;
    /* Ligeramente más grande */
    margin-bottom: 8px;
    font-weight: 700;
}

/* Favorites Heart Icon (Optimizado) */
.property-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border: 2px solid #ccc;
    /* Agregar un borde sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    color: #ccc;
}

.property-favorite:hover {
    transform: scale(1.1);
    background-color: #fff;
    border-color: var(--secondary-color);
}

.property-favorite.active {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    /* Cambiar color de borde al activo */
    animation: heartbeat 0.5s ease-in-out;
    /* Animación al activar */
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    min-height: 400px;
    /* Prevent collapse when empty */
}

.property-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    opacity: 0;
    /* For animation */
    transform: translateY(20px);
}

.property-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-tag.rent {
    background-color: var(--secondary-color);
}

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--text-color);
    font-size: 18px;
}

.property-content {
    padding: 20px;
}

.property-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.property-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    color: var(--light-text);
    font-size: 14px;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.modal-header h2 {
    font-size: 24px;
    color: var(--primary-color);
}

.modal-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.modal-body {
    padding: 0;
}

.modal-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    /* For carousel positioning */
    overflow: hidden;
}

/* Carousel Styles */
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    /* Backdrop for images */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.1);
}

.modal-info {
    padding: 25px;
}

.modal-location {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.modal-features {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.modal-features span {
    background-color: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-description {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact-agent-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.contact-agent-btn:hover {
    background-color: #002a7a;
}

/* Scroll Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-hidden.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    /* Usar el color secundario para diferenciarse del fondo */
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cccccc;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cccccc;
}

.contact-info i {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: #111111;
    padding: 20px 0;
    text-align: center;
    color: #888888;
    font-size: 14px;
}

/* Favorites Heart Icon */
.property-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border: none;
    font-size: 18px;
    color: #ccc;
}

.property-favorite:hover {
    transform: scale(1.1);
    background-color: #fff;
}

.property-favorite.active {
    color: var(--secondary-color);
}

/* Modal Contact Form */
.modal-form-container {
    display: none;
    /* Hidden by default */
    padding: 25px;
    animation: fadeIn 0.3s ease;
}

.modal-form-container.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text-color);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    color: #28a745;
}

.success-message i {
    font-size: 48px;
    margin-bottom: 20px;
}

.success-message h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 999;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Form Validation */
.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Loading States */
.loading-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    margin-left: -10px;
    margin-top: -10px;
    animation: spin 1s linear infinite;
}

/* Login Page Styles */
.login-page .header {
    margin-bottom: 0;
}

.login-section {
    background-color: var(--light-bg);
    min-height: calc(100vh - 100px);
    /* Fill viewport minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-color);
    text-align: left;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
}

.login-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1);
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    cursor: pointer;
}

.login-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
}

.login-btn:hover {
    background-color: #002a7a;
}

.forgot-password {
    display: block;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 25px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 25px 0;
    position: relative;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-social {
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social:hover {
    background-color: #f8f9fa;
}

.btn-social i {
    font-size: 20px;
}

.register-link {
    font-size: 14px;
    color: var(--text-color);
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.legal-text {
    margin-top: 15px;
    font-size: 12px;
    color: var(--light-text);
    line-height: 1.4;
}

.legal-text a {
    color: var(--primary-color);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-size: 20px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}