/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html{
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    line-height: 1.6;
    color: #5ae2e7;
    background-color: #403e41;
}

/* Header Section */
#header {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Prevents elements from overflowing */
}


/* Blurred Right Side */
#header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0; /* Positioned on the right side */
    width: 50%; /* Covers the right half of the screen */
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Ensures it layers above the background */
    backdrop-filter: blur(10px); /* Applies blur effect */
}

.overlay {
    position: relative;
    z-index: 2; /* Ensures content layers above the blur */
}

/* Container Layout */
.container {
    padding: 10px 10%;
}

/* Navigation Bar */
nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    z-index: 3;
}


nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 10px 20px;
}

nav ul li a {
    color: #34c9d6;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Centered Logo Styling */
.centered-logo {
    display: block;
    margin: 0 auto; /* Center the logo horizontally */
    max-width: 120px; /* Adjust the logo size */
    margin-bottom: 20px; /* Space between logo and "Data Analyst" text */
}


/* Header Text Styling */
.blur-text {
    position: absolute;
    top: 50%;
    right: 25%; /* Moves the text to the center of the blurred area */
    transform: translate(50%, -50%); /* Centers the text perfectly */
    color: #6eeae8;
    text-align: center;
    z-index: 3; /* Ensures it layers above the blur */
}

.blur-text p {
    font-size: 24px;
    margin-bottom: 10px;
}

.blur-text h1 {
    font-size: 48px;
    font-weight: bold;
}

#about {
    padding: 100px 10%; /* Adjust padding for better layout */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically align items */
    gap: 50px; /* Space between image and text */
    color: #fafafa;
    background: linear-gradient(135deg, #1e1e2f, #2d2d45); /* Gradient background */
    border-radius: 20px; /* Rounded corners for container */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

/* Image Styling */
.about-col-1.image-left img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 8px solid #e62b2b; /* Eye-catching border */
    transition: transform 0.4s ease-in-out; /* Hover animation */
}

.about-col-1.image-left img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Text Column */
.about-col-1.text-right {
    flex: 2;
    text-align: left;
    line-height: 1.8;
}

.about-col-1.text-right h1 {
    font-size: 36px;
    color: #e62b2b; /* Highlight color */
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif; /* Modern font */
}

.about-col-1.text-right p {
    font-size: 18px;
    color: #cccccc; /* Subtle contrast */
    margin-bottom: 30px;
    line-height: 1.8;
}

/* About Me Section - See More Button */
.see-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: linear-gradient(135deg, #5ae2e7, #34c9d6);
    color: #131212;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background: linear-gradient(135deg, #34c9d6, #5ae2e7);
    color: #fafafa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


/* Tab Titles */
.tab-title {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #cccccc;
    transition: color 0.4s;
}

.tab-links:hover {
    color: #e62b2b; /* Color on hover */
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #e62b2b;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: width 0.4s;
}

.tab-links.active-link::after {
    width: 100%;
}

/* Tab Content */
.tab-contents ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-contents ul li {
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #5ae2e7; /* Highlight color */
    font-size: 16px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* Add Media Query for Responsiveness */
@media (max-width: 768px) {
    #about {
        flex-direction: column; /* Stack on smaller screens */
        padding: 50px 5%;
    }

    .about-col-1.image-left img {
        width: 200px;
        height: 200px;
    }

    .tab-title {
        flex-wrap: wrap;
    }

    .tab-links {
        margin-right: 20px;
    }
}


/* Portfolio Section */
#portfolio {
    padding: 70px 0;
    background: linear-gradient(135deg, #1e1e2f, #2d2d45);
}

/* Grid Layout for Work Items */
.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased minimum size for cards */
    grid-gap: 30px;
    margin-top: 50px;
}

/* Individual Work Item */
.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px; /* Fixed height for consistent layout */
}

/* Hover Effect */
.work:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Work Image Styling */
.work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Overlay Layer (Sky Hover Effect) */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(135, 206, 235, 0.8), rgba(30, 144, 255, 0.6)); /* Sky gradient effect */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

/* Hover Effect for Overlay */
.work:hover .layer {
    opacity: 1; /* Make overlay visible */
}

/* Title in the Overlay */
.layer h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Paragraph in the Overlay */
.layer p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
}



#contact {
    padding: 100px 10%; /* Adjust padding for layout */
    color: #fafafa; /* Text color */
    background: linear-gradient(135deg, #1e1e2f, #2d2d45); /* Gradient background */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Soft shadow for a floating effect */
    display: flex; /* Flex layout for alignment */
    flex-wrap: wrap; /* Ensure layout adapts on smaller screens */
    gap: 30px; /* Space between columns */
}


.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}

.contact-left p i{
    color: #c7eff3;
    margin-right: 15px;
    font-size: 15px;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color:#fafafa;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: #5ae2e7;
    transform: translateY(-5px);

}

.btn.btn2{
    display: inline-block;
    color: #5ae2e7;
}


/* Add the animated download button styles here */
.download-btn {
    display: inline-block;
    padding: 14px 60px;
    font-size: 18px;
    text-decoration: none;
    color: #131212;
    background: linear-gradient(90deg, #34c9d6, #5ae2e7);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    text-align: center;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-45deg);
    transition: all 0.4s ease-in-out;
}

.download-btn:hover {
    background: linear-gradient(90deg, #5ae2e7, #34c9d6);
    color: #181717;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.download-btn:hover::before {
    left: 100%;
}

   

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #cde2e7;
    padding: 15px;
    margin: 15px 0;
    color: #2a282b;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    display: inline-block;
    padding: 14px 60px;
    font-size: 18px;
    text-decoration: none;
    color: #040404; /* Keep text clear and visible */
    background: linear-gradient(90deg, #34c9d6, #5ae2e7);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    text-align: center;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    border: none; /* Removes default button border */
}

form .btn2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Slightly more visible animation */
    transform: skewX(-45deg);
    transition: all 0.4s ease-in-out;
}

form .btn2:hover {
    background: linear-gradient(90deg, #5ae2e7, #34c9d6);
    color: #121111; /* Ensure text remains visible */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

form .btn2:hover::before {
    left: 100%;
}

#span{
    color: #34c9d6;
    margin-top: -40px;
    display: block;
}




