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

body {
    font-family: Arial, sans-serif;
    background-color: #2C3E50;
    position: relative;
    color: #ECF0F1;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .home-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .text-content {
        padding-right: 0;
    }

    .profile-frame {
        width: 300px;
        height: 300px;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    /* Hamburger menu */
    .hamburger {
        display: block;
        position: relative;
        z-index: 200;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ECF0F1;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: #ECF0F1;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(44, 62, 80, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.4s ease-in-out;
        z-index: 100;
        backdrop-filter: blur(5px);
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Home section */
    .home {
        padding: 0 3%;
        padding-top: 100px;
        text-align: center;
        min-height: 90vh;
    }
    
    .home-content {
        flex-direction: column-reverse;
        margin-top: 0;
        gap: 40px;
        padding-bottom: 30px;
    }
    
    .text-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .text-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .text-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        display: none; /* Hide the h2 element (Business Strategist & Financial Analyst) on mobile */
    }
    
    .text-content p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    .profile-frame {
        width: 280px;
        height: 280px;
    }
    
    /* About section */
    .about {
        padding: 80px 3%;
        text-align: center;
    }
    
    .about h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-description p {
        text-align: center;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .text-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
    }
    
    .profile-frame {
        width: 240px;
        height: 240px;
    }
}

/* Contact form styles */
.contact-form-container {
    margin: 0 auto 50px;
    max-width: 600px;
    width: 100%;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.form-group {
    position: relative;
    width: 100%;
}

/* Contact form styles */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(236, 240, 241, 0.05);
    border: 1px solid rgba(236, 240, 241, 0.2);
    border-radius: 5px;
    color: #ECF0F1;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #3498DB;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.submit-btn {
    background: #34495E;
    color: #ECF0F1;
    border: 2px solid #7F8C8D;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin: 20px auto;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

/* Center align contact section */
.contact h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, #34495E, #7F8C8D);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}
