/* Root variables for blue and white theme */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --accent-blue: #60a5fa;
    --white: #ffffff;
    --off-white: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --shadow: rgba(30, 58, 138, 0.1);
}

/* 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: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

/* Background pattern with pen strokes */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 50%, var(--light-blue) 100%);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,50 Q30,20 50,50 T90,50' stroke='%233b82f6' stroke-width='2' fill='none' opacity='0.1'/%3E%3Cpath d='M20,70 Q40,40 60,70 T100,70' stroke='%231e3a8a' stroke-width='2' fill='none' opacity='0.1'/%3E%3Cpath d='M5,30 Q25,10 45,30 T85,30' stroke='%2360a5fa' stroke-width='1.5' fill='none' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header and Logo */
.header {
    text-align: center;
    padding: 0;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 40px;
}

.logo-container {
    max-width: 400px;
    margin: 0 auto;
}

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

/* Sections */
.section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

/* About section */
.about-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-picture-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--secondary-blue);
    box-shadow: 0 8px 30px var(--shadow);
}

.profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Contact section */
.contact-section h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light-blue);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-dark);
    font-size: 1.1rem;
    word-break: break-word;
}

/* Form section */
.form-section h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.form-description {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-container {
    width: 100%;
    min-height: 800px;
}

.form-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.form-note {
    margin-top: 15px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-gray);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-top: 40px;
}

.footer p {
    margin: 5px 0;
}

.footer-tagline {
    font-style: italic;
    color: var(--secondary-blue);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section {
        padding: 25px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-picture-container {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-content h1 {
        font-size: 2rem;
        text-align: center;
    }

    .description {
        font-size: 1rem;
    }

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

    .contact-section h2,
    .form-section h2 {
        font-size: 1.75rem;
    }

    .header {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .about-content h1 {
        font-size: 1.75rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}
