/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* ===== GLOBAL BACKGROUND STYLING ===== */
body {
    background: url('assets/full-bg.jpg') no-repeat center center/cover;
    background-size: cover;
    background-attachment: fixed; /* Keeps the background still while scrolling */
    color: #121212;
}

/* Adjust background for high-resolution screens */
@media (min-width: 2560px) {
    body {
        background: url('assets/full-bg-4k.jpg') no-repeat center center/cover;
    }
}

/* Adjust background for mobile devices */
@media (max-width: 768px) {
    body {
        background: url('assets/full-bg-mobile.jpg') no-repeat center center/cover;
    }
}

/* ===== HEADER STYLING ===== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    text-align: left;
    color: white;
    height: 100px;
}

/* Contact Info - Styled Like Navigation */
.contact-info {
    font-size: 16px;
    text-align: left;
    flex: 1;
}

/* LinkedIn Link Styling */
.contact-info a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.contact-info a:hover {
    color: #90e0ef;
}

/* Navigation - Aligned Right */
nav {
    flex: 1;
    text-align: right;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #90e0ef;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 100px 20px;
    color: white;
    height: 10vh; /* Adjusted height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Text Styling */
.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    max-width: 60%;
    line-height: 1.6;
}

/* ===== WORK SAMPLES SECTION ===== */
.work-samples {
    text-align: center;
    padding: 60px 20px;
    background-size: 1024px 1024px;
}

/* Work Samples Heading */
.work-samples h2 {
    font-size: 32px;
    color: #616580;
    margin-bottom: 10px;
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Work Card - Structured for Scrolling */
.work-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 400px; /* Adjust as needed */
    position: relative;
}

/* Card Header - Fixed at the Top */
.work-card-header {
    height: 150px; /* Adjust for appropriate height */
    background: #EFF7E3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: normal;
    color: #808080;
     position: relative;
    flex-shrink: 0;
}

/* Scrollable Content */
.work-card-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 15px;
   max-height: calc(100% - 100px); /* Adjusts to avoid overlapping */
}

/* Fix Button at the Bottom */
.work-card-footer {
   height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    flex-shrink: 0;
}

/* View Work Button - Properly Sized */
.view-work {
    width: 80%; /* Adjust width for better sizing */
    max-width: 150px;
    text-align: center;
    padding: 10px;
    background: #3580BB;
    color: white;
    font-weight: normal;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    display: inline-block;

}

.view-work:hover {
    background: #005f66;
    transform: scale(1.05);
}

/* Hover Effect */
.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* ===== ABOUT ME SECTION ===== */
.about {
    text-align: center;
    padding: 60px;
    background: white;
}

.about h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about p {
    font-size: 18px;
    width: 60%;
    margin: auto;
}

/* ===== FOOTER ===== */
footer {
    background: #006d77;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}
