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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.logo-text p {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* MAK Home Realty Header Logo */
.header-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo-header {
    max-height: 100px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo-header:hover {
    transform: scale(1.05);
}

.partner-logo-text-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle-header {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.company-name-header {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #e74c3c;
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 140px 0 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-family: 'Brush Script MT', 'Lucida Handwriting', 'Segoe Script', cursive;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.3rem;
    color: #f39c12;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Card Section */
.contact-card-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f39c12;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.profile-details h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 700;
}

.profile-details .title {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-weight: 500;
}

.contact-details {
    display: grid;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item .label {
    font-weight: 600;
    color: #f39c12;
    min-width: 70px;
    font-size: 0.95rem;
}

.contact-item .value {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item .value:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #E4405F, #833AB4);
}

.social-link.pinterest {
    background: #BD081C;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.linkedin {
    background: #0077B5;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cta-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #f39c12;
}

.cta-section p {
    margin-bottom: 25px;
    color: #ecf0f1;
}

.schedule-btn {
    background: #f39c12;
    color: white;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.schedule-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Contact Methods Section */
.contact-methods {
    padding: 80px 0;
    background: white;
}

.contact-methods h2 {
    text-align: center;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-family: 'Brush Script MT', 'Lucida Handwriting', 'Segoe Script', cursive;
    font-style: italic;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.method-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid #f8f9fa;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: #f39c12;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 2rem;
    color: white;
}

.method-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.method-card p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.method-btn {
    background: #f39c12;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.method-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Brush Script MT', 'Lucida Handwriting', 'Segoe Script', cursive;
    font-style: italic;
}

.form-header p {
    color: #555;
    font-size: 1.1rem;
}

.contact-form {
    display: grid;
    gap: 25px;
}

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

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

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #e74c3c;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-section i {
    margin-right: 8px;
    width: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.close:hover {
    opacity: 0.7;
}

.scheduling-form {
    padding: 30px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slots input[type="radio"] {
    display: none;
}

.time-slot {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.time-slots input[type="radio"]:checked + .time-slot {
    background-color: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.cancel-btn {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 10px;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: #7f8c8d;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Set minimum date to today */
input[type="date"] {
    min: attr(min);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-partner-logo {
        order: -1;
    }

    .partner-logo-header {
        max-height: 40px;
        max-width: 120px;
    }

    .logo-circle-header {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .company-name-header {
        font-size: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-image img {
        width: 100px;
        height: 100px;
    }

    .social-links {
        justify-content: center;
    }

    .contact-methods h2 {
        font-size: 2.5rem;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

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

    .form-header h2 {
        font-size: 2rem;
    }
}
