/* Background video container (for Welcome Section) */
.background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Keeps the video behind content */
    pointer-events: none;  /* Disables user interaction */
    user-select: none;  /* Prevents selection */
    -webkit-user-drag: none;  /* Prevents dragging on Safari */
    
}

/* Ensures the video fully covers the section */
.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the area without distortion */
}

.welcome-title {
    font-size: 3rem; /* Slightly bigger for emphasis */
    font-weight: 800; /* Bolder for impact */
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

/* Overlay to ensure text is readable */
.welcome-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Optional: Darkens video slightly for better readability */
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures full viewport height */
    width: 100vw; /* Ensures it spans the entire width */
    color: #fff;
    text-align: center;
    padding: 0; /* Remove excessive padding */
    margin: 0 auto; /* Center it properly */
    overflow: hidden;
    min-height: auto; /* Allows it to grow */
    padding-bottom: 50px; /* Ensures space for the quote */
    
}


/* Container for Welcome Content */
.welcome-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

/* Circular Profile Image */
.welcome-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8); /* Brighter */
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5); /* Soft white border */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 
                0 0 40px rgba(255, 255, 255, 0.5) inset; /* Inner glow for depth */
    transition: all 0.3s ease-in-out;
}

.welcome-image img:hover {
    transform: scale(1.05);
}

/* Welcome Text */
.welcome-text {
    max-width: 600px;
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.welcome-title span {
    background: linear-gradient(90deg, #D1D1D1, #FFFFFF, #A9A9A9, #D1D1D1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.3);
}

.welcome-description {
    font-size: 1.4rem; /* Adjust as needed */
    font-weight: 500;
    font-style: italic; /* Makes the text italic */
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    max-width: 900px; /* Restricts width for better readability */
    margin: 10px auto 0; /* Centers it */
    white-space: normal; /* Allows text to wrap */
    overflow: visible; /* Ensures no text gets hidden */
    text-overflow: unset; /* Prevents ellipsis from appearing */
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Individual Social Icon Styling */
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Icon Images */
.social-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Icon-Specific Colors */
.email:hover { background: #ff4d4d; }
.linkedin:hover { background: #0077b5; }
.github:hover { background: #333; }

.glow-divider {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 50px rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Extra Spacer Below Welcome Content - Inherits Video Background */
.welcome-spacer {
    height: 500px; /* Adjust for extra space */
    width: 100%;
    position: relative;
    background: url('images/Wavewallpaper.mp4'); /* Use the same video background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Ensures it remains in place */
    z-index: -1; /* Aligns it with the background */
}

.welcome-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    text-align: left;
    padding: 50px 10%;
    overflow: hidden;
}



/* Centering the entire website in the viewport */
.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    width: 100%;
    height: 100vh; /* Ensures full height */
}

/* Background video container (for Welcome Section) */
.background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Keeps the video behind content */
    pointer-events: none;  /* Disables user interaction */
    user-select: none;  /* Prevents selection */
    -webkit-user-drag: none;  /* Prevents dragging on Safari */
}

/* Ensures the video fully covers the section */
.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the area without distortion */
}

/* Welcome Section */
.welcome-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Adjusted to match About Section */
    color: #fff;
    text-align: center;
    padding: 50px 5%;
    overflow: hidden;
    width: 100%;
    margin: 0 auto; /* Ensures centering */
}

/* Container for Welcome Content */
.welcome-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

/* Circular Profile Image */
.welcome-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8); /* Brighter */
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5); /* Soft white border */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 
                0 0 40px rgba(255, 255, 255, 0.5) inset; /* Inner glow for depth */
    transition: all 0.3s ease-in-out;
}

.welcome-image img:hover {
    transform: scale(1.05);
}

/* Welcome Text */
.welcome-text {
    max-width: 600px;
}

/* Default: Video Background (Large Screens) */
.background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide Image by Default */
.background-image-container {
    display: none;
}

/* Background Media Container */
.background-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

/* Video - Visible on Large Screens */
.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Default visibility */
}

/* Image - Visible on Small Screens */
.background-image {
    width: 100%;
    height: 100%;
    background: url('Images/Wavewallpaper.png') no-repeat center center;
    background-size: cover;
    display: none; /* Hidden by default */
}

/* ✅ MOBILE-ONLY STYLES (Hide Video, Use Image Background) */
@media (max-width: 1024px) {
    /* 🔥 Hide the Video Background */
    .background-video {
        display: none !important;
    }

    /* 🎯 Use the Image Background - FULLY STRETCHED */
    .background-image {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh; /* Extends fully */
        background: url('Images/Wavewallpaper.png') no-repeat center center;
        background-size: cover;
        background: #060606;
        padding-top: 10vh;
        z-index: -1;
    }

    /* 🚀 Welcome Section - Ensuring Proper Coverage */
    .welcome-section {
        position: relative;
        width: 100vw;
        height: 100vh; /* Full viewport height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    /* 🎯 Overlay for Readability */
    .welcome-overlay {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        background: rgba(0, 0, 0, 0.4); /* Slight dark overlay for contrast */
    }

    /* 📌 Welcome Content Container */
    .welcome-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 90%;
        padding: 10px 0;
    }

    /* 🖼️ Profile Image */
    .welcome-image img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    /* 🏆 Title Adjustments */
    .welcome-title {
        font-size: 1.8rem;
        font-weight: bold;
        word-wrap: break-word;
        max-width: 90%;
        line-height: 1.2;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    /* ✏️ Description Adjustments */
    .welcome-description {
        font-size: 1rem;
        max-width: 85%;
        padding: 5px 0;
        color: rgba(255, 255, 255, 0.9);
    }

    /* 🎯 Social Icons */
    .social-icons {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }

    /* 🚀 Remove Spacer (Prevent Overflow) */
    .welcome-spacer {
        height: 0px;
        width: 100%;
    }

}

/* ✅ Extra Small Screens (320px width) */
@media (max-width: 375px) {
    .welcome-title {
        font-size: 1.6rem;
    }

    .welcome-description {
        font-size: 0.9rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .social-icon img {
        width: 18px;
        height: 18px;
    }

    .welcome-spacer {
        height: 50px;
    }
}


