/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 20px 40px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.3em;
    font-weight: 300;
    opacity: 0.95;
}

/* Main Content */
main {
    padding: 40px 20px;
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 20px;
}

.profile-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.profile-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    border: 8px solid #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    aspect-ratio: 1;
}

.agent-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #667eea;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.profile-info {
    flex: 2;
    min-width: 300px;
}

.profile-info h2 {
    color: #667eea;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.profile-info p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

/* Contact Section */
.contact-section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.contact-section h2 {
    color: #667eea;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.contact-details h3 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.contact-details p {
    color: #555;
    line-height: 1.6;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
}

.cta-section h2 {
    color: #667eea;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .tagline {
        font-size: 1.1em;
    }

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

    .profile-info h2,
    .contact-section h2,
    .cta-section h2 {
        font-size: 1.8em;
    }

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

    main {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 40px 15px 30px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }
}
