/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --primary: #D49A00;
    --primary-hover: #B37E00;
    --primary-light: #FFF9E6;
    --secondary: #0062AF;
    --secondary-hover: #004c88;
    --secondary-light: #e6f0f7;
    --text-primary: #222222;
    --text-secondary: #555555;
    --text-light: #888888;
    --bg-light: #F4F6F8;
    --bg-dark: #1A1A1A;
    --bg-dark-accent: #252525;
    --white: #FFFFFF;
    --gold: #FFC107;
    --danger: #dc3545;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --header-height: 80px;
    
    /* Borders & Shadow */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-secondary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-green { color: var(--primary) !important; }
.text-blue { color: var(--secondary) !important; }
.w-full { width: 100%; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 154, 0, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 98, 175, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    background-color: var(--primary);
    color: var(--white);
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 5px 15px rgba(212, 154, 0, 0.2);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 154, 0, 0.4); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(212, 154, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 154, 0, 0); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* --- STICKY HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 800;
    border: 1.5px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.brand-name {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.brand-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: -3px;
}


/* Navigation Menu */
.nav-menu > ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 10px 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

/* Dropdown Content */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.dropdown-content li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dropdown-content li a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-call {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(212, 154, 0, 0.2);
}

.btn-call:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hamburger Menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 70px;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf2 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
}

/* Hero Right Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image-card:hover .hero-img {
    transform: scale(1.03);
}

/* Overlay Badge on Hero Image */
.hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 98, 175, 0.95);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100% - 40px);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
}

.badge-icon {
    color: #28a745;
    font-size: 1.05rem;
}

/* --- SECTION HEADERS --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--secondary-light);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- LOAN CALCULATOR SECTION --- */
.calculator-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Inputs Card */
.calc-inputs-card {
    padding: 40px;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group:last-child {
    margin-bottom: 0;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calc-label-row label, .calc-group > label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.calc-value {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
    background-color: var(--primary-light);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #E4E7EB;
    outline: none;
    margin: 15px 0 8px 0;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--primary-hover);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.calc-select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #E4E7EB;
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.calc-select:focus {
    border-color: var(--primary);
}

.calc-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.calc-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.calc-radio-label input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #C4CDD5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
    transition: var(--transition);
}

.calc-radio-label input:checked + .radio-custom {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.calc-radio-label input:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Results Card */
.calc-results-card {
    background-color: var(--bg-light);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid rgba(0,0,0,0.03);
}

.results-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.results-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.result-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.result-divider {
    height: 1px;
    background-color: #E4E7EB;
    margin: 5px 0;
}

.total-row {
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.total-row .result-label {
    color: var(--text-primary);
    font-weight: 700;
}

.total-value {
    font-size: 1.4rem;
    font-weight: 800;
}

.results-notice {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
}

.results-notice i {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-top: 2px;
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #F0F2F5;
    padding-top: 20px;
}

.service-features li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- IMAGE GALLERY SECTION --- */
.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 125, 58, 0.9) 0%, rgba(0, 98, 175, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateY(15px);
    transition: var(--transition);
}

.gallery-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-top: 5px;
    transform: translateY(15px);
    transition: var(--transition);
    transition-delay: 0.05s;
}

/* Hover Gallery Effects */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-sub {
    transform: translateY(0);
}

/* --- CONTACT & FORM SECTION --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
    background-color: var(--primary-light);
}

.info-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-highlight {
    font-size: 1.15rem !important;
    font-weight: 800;
    color: var(--primary) !important;
}

/* Registration Form Card */
.contact-form-wrapper {
    width: 100%;
}

.contact-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #D2D6DC;
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 125, 58, 0.1);
}

.required {
    color: var(--danger);
    font-weight: 700;
}

.card-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.text-gold {
    color: var(--gold);
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-dark);
    color: #B0B0B0;
    padding: 80px 0 0 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
}

.footer-logo .brand-name {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
}

.google-map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-details li i {
    margin-top: 3px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.trust-badge {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-dmca {
    background-color: #cb2027;
    color: var(--white);
}

.badge-trustpilot {
    background-color: #00b67a;
    color: var(--white);
}

.badge-scamadviser {
    background-color: var(--secondary);
    color: var(--white);
}

/* Footer Bottom (Socket) */
.footer-bottom {
    background-color: var(--bg-dark-accent);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    font-size: 0.8rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
}

.bottom-links a:hover {
    color: var(--white);
}

/* --- STICKY WIDGETS --- */

/* Left interest rates calculator widget */
.sticky-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.sticky-widget:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
}

.calculator-icon {
    font-size: 1.15rem;
}

/* Right Sticky Quick Contact Column */
.right-sticky-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-contact-btn {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.sticky-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.phone-btn {
    background-color: var(--primary);
    /* Pulse effect */
    animation: phone-pulse 1.8s infinite;
}

.zalo-btn {
    background-color: var(--secondary);
}

.zalo-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.messenger-btn {
    background-color: #0084FF;
}

/* Tooltip on Hover */
.sticky-contact-btn .tooltip {
    position: absolute;
    right: 60px;
    background-color: var(--text-primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.sticky-contact-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Tooltip indicator arrow */
.sticky-contact-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px 0 4px 4px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-primary);
}

@keyframes phone-pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 154, 0, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(212, 154, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 154, 0, 0); }
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-img {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-col.contact-col {
        grid-column: span 3;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .nav-menu {
        display: none; /* Hide menu desktop */
    }
    
    .social-icons {
        display: none; /* Hide social icons in header */
    }
    
    .hamburger-menu {
        display: flex; /* Show Hamburger menu button */
    }
    
    .header-container {
        position: relative;
    }
    
    .logo-area {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    #headerCallBtn {
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        color: var(--primary);
        font-size: 1.5rem;
    }
    
    #headerCallBtn span {
        display: none;
    }
    
    .site-header {
        height: 70px;
    }
    
    .brand-name {
        font-size: 1.05rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-results-card {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding: 30px;
    }
    
    .calc-inputs-card {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col.contact-col {
        grid-column: span 1;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    /* Modify sticky widgets for mobile */
    .sticky-widget {
        bottom: 15px;
        left: 15px;
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    .right-sticky-contact {
        right: 15px;
    }
    
    .sticky-contact-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-widget span {
        display: none; /* Hide text, show icon only on small screens */
    }
    
    .sticky-widget {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
        bottom: 15px;
        left: 15px;
    }
    
    .calculator-icon {
        font-size: 1.25rem;
    }
}

/* --- MOBILE NAVIGATION DRAWER --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 25px;
    transition: var(--transition);
}

.mobile-nav-overlay.open .mobile-menu-container {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #E4E7EB;
    padding-bottom: 15px;
}

.mobile-brand-name {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu-links a:hover {
    color: var(--primary);
}

.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid #E4E7EB;
    padding-top: 20px;
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.mobile-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.mobile-socials a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Custom helper utilities */
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* --- CONTACT MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 480px;
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.85);
    transition: var(--transition);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-action-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    color: var(--white);
    font-weight: 600;
    text-align: left;
}

.modal-call-btn {
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(212, 154, 0, 0.2);
}

.modal-call-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 154, 0, 0.3);
}

.modal-zalo-btn {
    background-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 98, 175, 0.2);
}

.modal-zalo-btn:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 98, 175, 0.3);
}

.modal-action-btn i {
    font-size: 1.8rem;
}

.btn-action-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-action-sub {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
    margin-top: 2px;
}

.modal-footer {
    margin-top: 30px;
    border-top: 1px solid #F0F2F5;
    padding-top: 20px;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}
