/* Non-critical CSS - loaded deferred */
/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(255,255,255,0.6);
    font-size: 24px;
    animation: floatIcon 10s linear infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Image Centering Fix */
.hero-image-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: clamp(30px, 5vw, 40px);
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
    .hero-image {
        width: auto;
        max-width: 100%;
    }
    .floating-icon {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .floating-icon {
        font-size: 18px;
    }
}

/* About Section */
.section {
    padding: clamp(40px, 8vw, 60px) 0;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 40px);
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
    padding: 0 15px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 30px);
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: center;
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: clamp(22px, 3vw, 28px);
    color: var(--teal);
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.services-btn {
    background-color: var(--teal);
    color: white;
    margin-top: 20px;
}

.services-btn:hover {
    background-color: #0f766e;
    color: white;
}

/* Services Section */
.services {
    background-color: var(--lighter-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(15px, 3vw, 20px);
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: clamp(32px, 5vw, 40px);
    color: var(--teal);
    margin-bottom: clamp(15px, 3vw, 20px);
}

.service-card h3 {
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 12px;
    color: var(--dark-blue);
}

.service-card p {
    margin-bottom: 15px;
    font-size: clamp(14px, 2vw, 16px);
}

.service-card .price {
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 700;
    color: var(--teal);
    margin: 15px 0;
}

/* Why Choose Us */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: clamp(15px, 3vw, 20px);
}

.feature {
    text-align: center;
    padding: clamp(20px, 3vw, 30px) clamp(15px, 2vw, 20px);
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.feature-icon {
    font-size: clamp(32px, 5vw, 40px);
    color: var(--primary-blue);
    margin-bottom: clamp(15px, 3vw, 20px);
}

.feature h3 {
    font-size: clamp(18px, 2.5vw, 20px);
    margin-bottom: 12px;
    color: var(--dark-blue);
}

.feature p {
    font-size: clamp(14px, 2vw, 16px);
}

/* Testimonials */
.testimonials {
    background-color: var(--lighter-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(15px, 3vw, 20px);
}

.testimonial-card {
    background-color: var(--white);
    padding: clamp(20px, 3vw, 30px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-size: clamp(14px, 2vw, 16px);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 15px);
}

.author-avatar {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--dark-blue);
}

.author-info p {
    font-size: clamp(12px, 2vw, 14px);
    color: var(--dark-gray);
}

/* Become Agent */
.agent-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    color: white;
    text-align: center;
    padding: clamp(40px, 8vw, 60px) 0;
}

.agent-section h2 {
    color: white;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-size: clamp(28px, 4vw, 36px);
}

.agent-section p {
    max-width: 700px;
    margin: 0 auto clamp(20px, 5vw, 40px);
    font-size: clamp(16px, 2.5vw, 18px);
    padding: 0 15px;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: clamp(15px, 3vw, 20px);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 16px);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 15px);
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 2vw, 16px);
}

.form-group textarea {
    height: 150px;
}

.submit-btn {
    background-color: var(--teal);
    color: white;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 3vw, 25px);
    font-weight: 700;
    font-size: clamp(14px, 1.8vw, 16px);
    font-family: 'Poppins', sans-serif;
    width: 100%;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #0f766e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Contact Info Section */
.contact-info {
    background-color: var(--lighter-gray);
    padding: clamp(40px, 8vw, 60px) 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.contact-info-icon {
    font-size: 36px;
    color: var(--teal);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.contact-info-card p {
    margin-bottom: 10px;
    font-size: 16px;
}
.contact-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-column {
    flex: 1;
    min-width: 300px;
}

.contact-info-column {
    flex: 1;
    min-width: 300px;
}

.contact-info-column h3 {
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 20px;
    color: var(--teal);
    margin-top: 3px;
}

.contact-info-content h4 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.contact-info-content p {
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .contact-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
}

/* Form Success/Error Messages */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #b91c1c;
    display: block;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: clamp(15px, 3vw, 20px);
    right: clamp(15px, 3vw, 20px);
    background-color: #25D366;
    color: white;
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(20px, 4vw, 24px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 99;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    background-color: white;
    color: var(--dark-gray);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: clamp(30px, 6vw, 50px) 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 30px);
    margin-bottom: clamp(20px, 4vw, 30px);
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(14px, 2vw, 16px);
}

.footer-links a:hover {
    color: var(--light-teal);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(20px, 4vw, 30px);
}

.social-links a {
    color: white;
    font-size: clamp(18px, 3vw, 20px);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--light-teal);
}

.copyright {
    font-size: clamp(12px, 2vw, 14px);
    opacity: 0.8;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .menu-toggle,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .contact-form {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}