/* ===========================================
   RESET & BASE STYLES
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors from Logo */
    --primary-color: #FF6B35; /* Vibrant Orange from "ACCESS A" */
    --primary-dark: #E55A2B; /* Darker orange for hover */
    --secondary-color: #1A3A5F; /* Navy Blue from "PROPERTIES LIMITED" */
    --accent-color: #2ECA6A; /* Keep green as accent for CTAs */
    --accent-blue: #2D5F8B; /* Lighter blue for accents */
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #F8F9FA;
    --bg-dark: #1A3A5F; /* Navy blue for dark sections */
    --bg-gray: #2C3E50;
    --bg-gray-light: #34495E;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Updated gradients */
    --gradient: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%); /* Orange gradient */
    --gradient-blue: linear-gradient(135deg, #1A3A5F 0%, #2D5F8B 100%); /* Blue gradient */
    --gradient-mixed: linear-gradient(135deg, #FF6B35 0%, #1A3A5F 100%); /* Orange to Blue */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% {
        width: 80px;
    }
    50% {
        width: 100px;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.text-center {
    text-align: center;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced Floating Animation */
.animate-float {
    animation: enhancedFloat 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes enhancedFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05);
    }
    75% { 
        transform: translateY(10px) rotate(-5deg) scale(0.95);
    }
}

/* ===========================================
   ENHANCED NAVBAR STYLES
=========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    transition: var(--transition);
    margin-left: 20px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: rotate(-5deg);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-profile {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 300;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(46, 202, 106, 0.3);
}

.btn-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-profile:hover::before {
    left: 100%;
}

.btn-profile:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-color);
}

/* ===========================================
   CONTACT HERO SECTION
=========================================== */
.contact-hero {
    height: 500px;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.8)),
                url('/img/hero-section/IMG-20240221-WA0064.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        90deg,
        transparent,
        rgba(46, 202, 106, 0.2),
        rgba(255, 107, 53, 0.2),
        rgba(46, 202, 106, 0.2),
        transparent
    ); */
    animation: mirrorWipe 8s infinite linear;
    z-index: 3;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 53, 0.2),
        rgba(46, 202, 106, 0.2),
        rgba(255, 107, 53, 0.2),
        transparent
    ); */
    animation: mirrorWipeReverse 8s infinite linear;
    animation-delay: 4s;
    z-index: 3;
}

@keyframes mirrorWipe {
    0% {
        left: -100%;
        opacity: 0.5;
    }
    50% {
        left: 0;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0.5;
    }
}

@keyframes mirrorWipeReverse {
    0% {
        right: -100%;
        opacity: 0.5;
    }
    50% {
        right: 0;
        opacity: 1;
    }
    100% {
        right: 100%;
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-container {
    animation: slideInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title {
    margin-bottom: 30px;
    line-height: 1.1;
    perspective: 1000px;
}

.hero-title-line {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 15px 0;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hero-title-animate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: textRotate 12s infinite;
}

.hero-title-animate:nth-child(1) {
    animation-delay: 0s;
}

.hero-title-animate:nth-child(2) {
    animation-delay: 4s;
}

.hero-title-animate:nth-child(3) {
    animation-delay: 8s;
}

@keyframes textRotate {
    0%, 33.33% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    36.33%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* ===========================================
   CONTACT SECTION
=========================================== */
.contact-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 202, 106, 0.1);
}

.contact-info-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.contact-info-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 202, 106, 0.1);
}

.contact-detail:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail:hover .detail-icon {
    transform: scale(1.1) rotateY(180deg);
}

.detail-content {
    flex: 1;
}

.detail-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.detail-content p {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-social h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.social-icon:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

/* Contact Form Styles */
.contact-form-container {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 202, 106, 0.1);
}

.form-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    padding-right: 50px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-submit:active {
    transform: translateY(-2px);
}

.form-note {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

/* ===========================================
   MAP SECTION
=========================================== */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 202, 106, 0.2);
}

.map-overlay h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-overlay h4 i {
    color: var(--primary-color);
}

.map-overlay p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-map:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.3);
}

/* ===========================================
   QUICK CONTACT SECTION
=========================================== */
.quick-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A3A5F 0%, #2D5F8B 100%);
    color: white;
}

.quick-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.quick-contact-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.quick-contact-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
}

.quick-contact-actions {
    display: flex;
    gap: 20px;
}

.btn-quick-call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: white;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
}

.btn-quick-call:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px) scale(1.05);
}

.btn-quick-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #25D366;
}

.btn-quick-whatsapp:hover {
    background: transparent;
    color: #25D366;
    transform: translateY(-5px) scale(1.05);
}

/* ===========================================
   UPDATED FOOTER WITH GRAY COLOR SCHEME
=========================================== */
.footer {
    background: var(--bg-gray);
    color: white;
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo img:hover {
    transform: scale(1.1) rotate(-5deg);
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
}

.footer-about {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    background: var(--bg-gray-light);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: white;
}

/* ===========================================
   FIXED MODAL STYLES
=========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid rgba(46, 202, 106, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    transform-origin: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
}

.modal-close:hover {
    color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 900;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Success Modal */
.success-modal .modal-body {
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    animation: successIcon 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successIcon {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-ok {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(46, 202, 106, 0.3);
}

.btn-ok:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
}

/* Profile Modal Styles */
.profile-modal .modal-body {
    padding: 30px;
    max-width: 900px;
    width: 100%;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
}

/* ===========================================
   WHATSAPP FLOAT BUTTON
=========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    text-decoration: none;
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseWhatsapp 2s infinite;
    backdrop-filter: blur(10px);
    border: none;
}

@keyframes pulseWhatsapp {
    0%, 100% {
        box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 55px rgba(37, 211, 102, 0.6);
        transform: scale(1.1);
    }
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.15) rotateY(180deg);
    box-shadow: 0 25px 65px rgba(37, 211, 102, 0.5);
}

/* ===========================================
   RESPONSIVE DESIGN
=========================================== */
@media (max-width: 1200px) {
    .hero-title-line {
        font-size: 2.8rem;
    }
    
    .contact-grid {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .quick-contact-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .hero-title-line {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .navbar.scrolled {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        align-items: flex-start;
        justify-content: flex-start;
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
        text-align: left;
    }
    
    .nav-item {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        text-align: left;
        border-radius: 10px;
        font-weight: 300;
        background: rgba(46, 202, 106, 0.05);
    }
    
    .nav-link:hover {
        background: rgba(46, 202, 106, 0.1);
        transform: translateX(10px);
    }
    
    .btn-profile {
        margin-top: 20px;
        align-self: flex-start;
    }
    
    .contact-hero {
        height: 400px;
        margin-top: 70px;
    }
    
    .hero-title-line {
        font-size: 1.8rem;
        letter-spacing: 2px;
        white-space: normal;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .quick-contact-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-quick-call,
    .btn-quick-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 350px;
    }
    
    .hero-title-line {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .detail-icon {
        margin: 0 auto;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 12px;
    }
    
    .btn-profile {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 300px;
    }
    
    .hero-title-line {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
}

/* Add this to your existing CSS */
.hero-title-animate {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
    margin: 15px 0 !important;
}