/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --green: #79B791;
    --white: #F4EDED;
    --jet: #2E2F2F;
    --red: #F03A47;
    --blue: #65AFFF
    ; 
  }

body {
    font-family: 'Poppins', sans-serif; /* Font for general text */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1 {
    font-size: 2.5rem; /* Adjust size as needed */
    font-weight: 600; /* Add emphasis with bold font weight */
    line-height: 1.2; /* Improve readability */
    color: #222; /* Ensure consistent color */
    margin: 1rem 0; /* Add spacing around */
}

.overlay h1 {
    font-family: 'Poppins', sans-serif; /* Font specifically for h1 */
    color: white;
    font-size: 4.5rem;
    text-align: center;
    animation: pulse 2s infinite;
}

h1, h2, h3 {
    margin: 0;
}

h2, h3 {
    font-family: 'Poppins', sans-serif; /* Use the default body font */
}

p {
    font-family: 'Poppins', sans-serif; /* Keep paragraphs consistent with the body font */
    color: #666;
    line-height: 1.6;
}

.image-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    transition: transform 5s ease-in-out;
}

.image-container:hover .background-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay h1 {
    color: white;
    font-size: 3.5rem;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    background-color: var(--green);
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #8ae6adb4;
    transform: translateY(-3px);
}

.email-link {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    background-color: var(--blue);
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.email-link:hover {
    background-color: #497db4;
    transform: translateY(-3px);
}

.content-section {
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.content-section p {
    text-align: justify;
}

.split-section {
    display: flex; /* Ensures the children are placed side by side */
    flex-wrap: wrap; /* Allows content to wrap on smaller screens */
    gap: 2rem; /* Adds space between the two sections */
    align-items: center; /* Vertically aligns items */
    justify-content: space-between; /* Ensures spacing between left and right */
    max-width: 1200px; /* Restricts the total width */
    margin: 2rem auto; /* Centers the section */
    padding: 2rem; /* Adds padding on the sides */
    border-top: 1px solid #e6e6e6; /* Subtle border for separation */
}

.left-content,
.right-content {
    flex: 1; /* Makes both sections take up equal space */
    min-width: 300px; /* Prevents shrinking too much on small screens */
}

.video-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Maintains a 16:9 aspect ratio */
    height: 0;
}

.video-box video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .split-section {
        flex-direction: column; /* Stacks the sections vertically */
    }

    .left-content,
    .right-content {
        text-align: left; /* Centers text and content for better aesthetics */
    }
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa; /* Light background for a clean look */
    color: #333; /* Neutral text color */
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #e6e6e6; /* Subtle border for separation */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Profile Picture */
.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Bio Section */
.bio h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #222; /* Slightly darker color for name */
}

.bio p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555; /* Neutral gray for text */
    margin: 0.5rem 0;
    padding-bottom: 10px;
}

