/* --Foundation-- */
html {
    scroll-behavior: smooth;
  
}

body {
    margin: 0;
    position: relative;
    font-style: normal;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Helvetica;
    background-color: #445952;

}



img {
    width: 100%;
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}


h1 {
    font-size: 2rem; /* Adjust size as needed */
    font-weight: 500;
    color: #ffffff; /* Keep visible contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Visibility on backgrounds */
    margin: 0; /* Remove extra margins */
    padding: 0; /* Remove unnecessary padding */
    height: 100%; /* Matches the height of the parent container */
    display: flex; /* Allows for vertical alignment */
    align-items: center; /* Vertically centers the text */
    padding-top: 15px;
}



h2 {
    font-size: 2rem; /* Slightly smaller for compactness */
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* Stronger shadow for visibility */
    text-align: left;
    margin: 10px 0; /* Reduce spacing */
}

h3 {
    font-size: 1.5rem; /* Slightly smaller than h2 for hierarchy */
    font-weight: 600;
    color: #E0B983; /* Theme highlight color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Similar visibility improvement */
    text-align: center;
    margin: 5px 0 15px; /* Compact spacing */
}


p {
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s, transform .3s;
    font-weight: 400;
}

a span {
    display: inline-block;
    transition: transform .3s;
}

a:hover {
    color: #969ca0;
}

a:hover span {
    transform: translateX(5px);
}


/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&family=Pacifico&family=Roboto:wght@300;400;500&display=swap');

/* Global Font Settings */
body {
    font-family: 'Raleway', sans-serif; /* Professional and clean for body text */
    color: #333333; /* Neutral text color for readability */
}

/* Headings */
h1 {
    font-family: 'Pacifico', cursive; /* Playful and bold for main headings */
    color: #29447a; /* Primary brand color for consistency */
}

h2 {
    font-family: 'Raleway', sans-serif; /* Professional yet prominent for subheadings */
    color: #85375e; /* Secondary color for differentiation */
}

h3 {
    font-family: 'Raleway', sans-serif; 
    color: #d59436; /* Accent color for a touch of vibrancy */
}

/* Paragraphs */
p {
    font-family: 'Roboto', sans-serif; /* Professional and easy to read */
}

/* Lists */
li {
    font-family: 'Roboto', sans-serif; /* Matches body text for consistency */
}

/* Buttons */
button, .primary-btn {
    font-family: 'Raleway', sans-serif; /* Clean and modern for action items */
    text-transform: uppercase; /* All caps for a strong call to action */
}

/* Additional Styling for Anchor Links */
a {
    font-family: 'Roboto', sans-serif; 
}




/* Typography Media Queries */
@media only screen and (min-width: 800px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 1500px) {
    body {
        font-size: 18px;
    }

    h2 {
        font-size: 3.75vw;
    }
}

/* Header and logo*/
header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 30px; /* Adjust padding as needed */
    z-index: 999;
    background-color: transparent; /* Keep header transparent */
    display: flex;
    justify-content: space-between; /* Space between logo+h1 and nav */
    align-items: center;
    transition: all 0.3s ease;
}

.logo-header {
    display: flex;
    align-items: center; /* Align logo and text vertically */
    text-decoration: none; /* Remove underline for clickable area */
    margin-top: -17px;
}

.logo {
    height: 70px;
    width: auto;
    margin-top: 15px;
}

h1 {
    font-size: 30px;
    color: #FFFFFF; /* Text color */
    margin-left: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Optional shadow */
}



/* Buttons */
.primary-btn {
    background-color: #333F36; /* Darker theme color */
    color: #FBCA72; /* Text matches theme highlight */
    border: 2px solid #FBCA72; /* Add a matching border */
    padding: 15px 40px; /* Spacing for a balanced look */
    font-size: 1.1rem; /* Slightly larger font size */
    font-weight: 600; /* Bold text for emphasis */
    border-radius: 8px; /* Rounded corners for aesthetics */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
}

.primary-btn:hover {
    background-color: #FBCA72; /* Brightens button on hover */
    color: #333F36; /* Inverts text color for contrast */
    transform: scale(1.05); /* Subtle zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6); /* Enhanced shadow */
}


.primary-btn:hover span {
    color: #ffcc00; /* Highlight text with a contrasting color */
    transform: translateX(5px); /* Subtle movement for interactivity */
}


/* Layout */
section {
    box-sizing: border-box;
    position: relative;
    padding: 75px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
}


.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.hero button {
    margin: 15px 25px;
}

#project {
    padding-top: 50px;
}

.col-left {
    margin: auto;
    margin-bottom: 35px;
}

.col-right {
    margin: auto;
    margin-bottom: 35px;
}

.auto-width {
    width: 80%;
}

.col-30,
.col-40,
.col-50,
.col-60,
.col-80 {
    width: 80%;
}

.full-width {
    width: 100%;
}

.margin-auto {
    margin: auto;
}

.center-text {
    text-align: center;
}

.round-corners {
    border-radius: 10px;
}

/* Layout Media Queries */
@media only screen and (min-width: 800px) {
    section {
        flex-direction: row;
    }

    section.flex-reverse {
        flex-direction: row-reverse;
    }

    .col-left {
        margin: auto;
        margin-left: 10%;
        margin-right: 5%;
    }

    .col-right {
        margin: auto;
        margin-right: 10%;
        margin-left: 5%;
    }

    .auto-width {
        width: auto;
    }

    .col-30 {
        width: 30%;
    }

    .col-40 {
        width: 40%;
    }

    .col-50 {
        width: 50%;
    }

    .col-60 {
        width: 60%;
    }
}

@media screen and (min-width: 1025px) {
    section.full-height {
        min-height: 100vh;
        padding: 100px 0;
    }
}




/* Header & Navigation */
header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 30px; /* Adjust padding as needed */
    z-index: 999;
    background-color: transparent; /* Keep header transparent */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.header-solid {
    background-color: transparent;
}

/*Mobile Menu & Button Animation*/
.mobile-nav-input {
    display: none;
}

.menu--1 label {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: #121212; /* Matches the nav bar */
    border-radius: 50%;
    padding: 10px;
}

.menu--1 path {
    fill: none;
    stroke: #000;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: all .8s cubic-bezier(.645, .045, .355, 1);
}

.menu--1 circle {
    fill: #fff3;
    opacity: 0;
}

.menu--1 label:hover circle {
    opacity: 1;
}

.cross input:checked+svg .line--1,
.cross input:checked+svg .line--3 {
    --length: 22.627416998;
}

.cross input:checked+svg .line--2 {
    --length: 0;
}

.back input:checked+svg .line--1,
.back input:checked+svg .line--3 {
    --length: 8.602325267;
}


.menu--1 .line--1,
.menu--1 .line--3 {
    --total-length: 126.64183044433594;
}

.menu--1 .line--2 {
    --total-length: 70;
}

.menu--1 input:checked+svg .line--1,
.menu--1 input:checked+svg .line--3 {
    --offset: -94.1149185097;
}

.menu--1 input:checked+svg .line--2 {
    --offset: -50;
}



nav {
    display: flex;
    justify-content: center; /* Center the links */
    align-items: center;
    padding: 10px 20px;
    position: absolute; /* Position within the header */
    top: 0;
    right: 0;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust alignment */
    background-color: transparent; /* Transparent by default */
    border-radius: 35px; /* Round box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Add shadow */
    transition: background-color 0.5s ease, color 0.3s ease;
}



nav a {
    margin: 0 15px;
    margin-top: 5px;
    color: ghostwhite; 
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}


nav a:hover {
    color: #FF8A00; /* Teal for hover effect */
    transform: translateY(-3px); /* Lift effect */
}

nav a.active {
    color: #445952; /* Orange for active link */
}

nav a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #00BFA6; /* Teal underline */
    margin: 5px auto 0 auto;
    transition: width 0.3s ease-in-out;
}

nav a:hover::after {
    width: 50%; /* Underline grows on hover */
}



/* Navigation bar when scrolled */
#nav.scrolled {
    background-color: #ffffff; /* Solid background color */
    color: #000000; /* Dark text for visibility */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* Update link colors when scrolled */
#nav.scrolled a {
    color: #000000; /* Adjust link color */
}

#nav.scrolled a:hover {
    color: #FF8A00; /* Optional hover effect */
}



/* Mobile Menu Media Queries */
@media screen and (min-width: 800px) {
    .menu--1 {
        display: none;
    }

    nav {
        float: right;
        position: fixed;
        right: 0;
        top: 15px;
        width: 50%;
        padding: 10px 30px;
        background-color: transparent;
        z-index: 999;
        height: auto;
        width: auto;
        flex-direction: row;
        font-size: 1em;
    }

    nav a {
        margin-right: 35px;
        margin-bottom: 0;
    }

    nav a:last-of-type {
        margin-right: 0;
    }

    .overflow-mob {
        width: 40%;
    }
}


/* Style for the Download Resume Button */
.download-resume-btn .primary-btn {
    background-color: #ffa726; /* Accent color */
    color: #fff; /* White text for good contrast */
    border: none; /* Remove default button borders */
    padding: 10px 20px; /* Adjust padding for a balanced size */
    font-size: 1rem; /* Slightly larger font size for readability */
    font-weight: 600; /* Bold text for emphasis */
    border-radius: 25px; /* Make the button rounded */
    cursor: pointer; /* Add a pointer cursor */
    display: inline-flex; /* Align icon and text horizontally */
    align-items: center; /* Vertically center text and icon */
    justify-content: center; /* Center content horizontally */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    text-decoration: none; /* Remove underline from the link */
}

/* Hover Effects */
.download-resume-btn .primary-btn:hover {
    background-color: #ff8a00; /* Slightly darker shade on hover */
    transform: scale(1.05); /* Subtle zoom effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

/* Icon Styling */
.download-resume-btn .primary-btn i {
    font-size: 1.2rem; /* Slightly larger icon */
}


/* Grid */
.grid-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-wrapper a {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.grid-wrapper article img {
    width: 100%;
    display: block;
    transition: transform .3s;
}

.grid-item-text {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
}

.grid-wrapper article:hover .grid-item-text {
    opacity: 1;
}

.grid-wrapper article:hover img {
    transform: scale(1.5);
}

/* Grid Media Queries */
@media screen and (min-width: 800px) {
    .grid-wrapper a {
        width: 50%;
        border: 1px solid rgb(148, 149, 155);
    }
}

@media screen and (min-width: 1024px) {
    .grid-wrapper a {
        width: 33.333%;
    }
}






/* Slider */
.slider {
    width: 100%;
    aspect-ratio: 2/1;
    position: relative;
    overflow: hidden;
    /* <===  */
    border-radius: 15px;
}

.slide {
    width: 100%;
    aspect-ratio: 2/1;
    position: absolute;
    transition: all 0.5s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
}

.btn:active {
    transform: scale(1.1);
}

.btn-prev {
    top: 45%;
    left: 2%;
}

.btn-next {
    top: 45%;
    right: 2%;
}




/* Footer Styling */
footer {
    text-align: center;
    padding: 15px 0;
    padding-top: 30px;
    background-color: black; /* Dark footer background */
    color: #FBCA72; /* Footer text color */
    font-size: 1.2rem;
}

/* Icon Base Styles */
.linkedin-btn,
.twitter-btn,
.email-btn {
    position: relative;
    width: 35px; /* Icon size */
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 30px; /* Space between icons */
    transition: all 0.25s ease-in-out;
}





/* Copyright Text */
#copyright {
    margin-left: auto; /* Push copyright text to the far right */
    font-size: 0.85em;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    footer {
        flex-direction: column; /* Stack icons and email vertically */
        text-align: center;
    }

    .linkedin-btn,
    .twitter-btn,
    .email-container {
        margin: 10px 0; /* Add spacing for vertical layout */
    }

    #copyright {
        margin: 15px 0 0 0; /* Center align copyright text */
    }
}


/*------------------------------------------------------------------------------------*/
/* Background Video */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Hero Content */

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers text/buttons horizontally */
    justify-content: center; /* Centers text/buttons vertically */
    text-align: center;
    gap: 20px; /* Space between elements */
}

.hero-content h2, .hero-content h3, .hero-content p {
  margin-top: -5px;
}

.hero-content .button-container {
    margin-top: 5px; /* Adds spacing from the text */
    display: flex;
    gap: 20px; /* Adds spacing between buttons */
}

.hero-content .primary-btn {
  margin: 5px;
}

.hero-content h2 {
    color: #FBCA72; /* Existing color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Add text shadow */
    text-align: center;
}

.hero-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d49336; /* Theme highlight color */
    text-shadow: none; /* Remove text shadow */
    text-align: center;
}

.hero-content .primary-btn {
    background-color: #445952; /* Dark green for contrast */
    color: #FFFFFF; /* White text for readability */
    border: 2px solid #FBCA72; /* Ties to h2's color */
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hero-content .primary-btn:hover {
    background-color: #FBCA72; /* Matches h2 on hover */
    color: #445952; /* Invert text color for contrast */
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.primary-btn {
    cursor: pointer; /* Ensures pointer cursor on hover */
}
a {
    text-decoration: none; /* Ensures the link has no underline */
}
a:hover {
    cursor: pointer; /* Ensures the link also shows the pointer */
}


------------------------------------------------------------------------------
/* Section 1 General Setting*/

.about-section {
    padding: 0; /* Remove extra padding */
    margin: 0; /* Remove margin */
    height: 100vh; /* Ensure full height */
    display: flex; /* Flex for alignment */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    position: relative;
}

.about-section .content-wrapper {
    display: flex; /* Flex layout */
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: space-between; /* Space between columns */
    align-items: flex-start; /* Align items at the top */
    gap: 40px; /* Add spacing */
    max-width: 1200px; /* Restrict width */
    margin: 0 auto; /* Center the wrapper */
    width: 100%; /* Full width */
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    border-radius: 15px; /* Rounded corners */
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    border: 3px inset #FBCA72;

}


/* Left Column: Text Content */
.about-section p {
    color: #FBCA72;
}
.text-column {
    flex: 2; /* Take up 2x space compared to .right-column */
    max-width: 50%; /* Restrict width */
    margin-left: 50px;
}

.text-column h2 {
    font-size: 2rem; /* Emphasize the title */
    color: whitesmoke;
    margin-bottom: 20px; /* Spacing below the heading */
}

.text-column p {
    line-height: 1.6; /* Improve text readability */
    margin-bottom: 20px; /* Spacing between paragraphs */
}




/* Right Column: Skills and Additional Details */
.right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align everything to the left */
    justify-content: flex-start;
    gap: 10px; /* Adds spacing between child elements */
    margin-right: 70px;
}

.right-column h3 {
    font-size: 1.2rem;
    margin-bottom: 5px; /* Small space between the heading and the list */
    margin-top: 20px;   /* Add some space above each heading */
    color: #E0B983; /* Accent color */
    text-align: left; /* Align heading to the left */
}


/* Ensure consistency for all unordered lists in the right-column */
.right-column ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */

}

/* Ensure uniform styling for list items */
.right-column ul li {
    margin-bottom: 5px; /* Add spacing between list items */
    font-size: 1rem;
    color: #FBCA72; /* Text color */
    text-align: left; /* Align list items to the left */
}



/* Tablet (≤768px) */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column; /* Stack the columns */
        padding: 20px; /* Add consistent padding */
        text-align: center; /* Center-align for readability */
    }

    .content-wrapper {
        flex-direction: column; /* Ensure wrapper stacks vertically */
    }

    .text-column, .right-column {
        max-width: 100%; /* Full-width columns */
        margin: 0 auto; /* Center-align content */
    }

    .text-column h2 {
        font-size: 1.8rem; /* Adjust title size */
    }

    .text-column p {
        font-size: 1rem; /* Adjust paragraph size for readability */
        line-height: 1.5; /* Comfortable spacing */
    }

    .right-column h3 {
        font-size: 1.2rem; /* Adjust subheading size */
    }

    .right-column ul li {
        font-size: 1rem; /* Standardize list item size */
    }

    .about-illustration {
        margin: 0 auto 20px; /* Add spacing */
    }
}

/* Phone (≤480px) */
@media (max-width: 480px) {
    .about-section {
        padding: 15px; /* Slightly reduce padding for smaller screens */
    }

    .text-column h2 {
        font-size: 1.5rem; /* Smaller title for compact screens */
    }

    .text-column p {
        font-size: 0.9rem; /* Smaller paragraph font */
    }

    .right-column h3 {
        font-size: 1rem; /* Smaller subheading font */
    }

    .right-column ul {
        padding-left: 0; /* Remove list padding */
        list-style: none; /* Clean look */
    }

    .right-column ul li {
        font-size: 0.9rem; /* Smaller list items */
        margin: 5px 0; /* Add space between items */
    }

    .primary-btn {
        font-size: 0.9rem; /* Adjust button font size */
        padding: 10px 15px; /* Resize button */
    }
}







/* Portfolio Section Styling ---------------------------------------------------------------*/
.portfolio-section {
  display: flex; /* Enables flexbox */
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  min-height: 100vh; /* Ensures it takes full viewport height */
  padding-top: 50px; /* Add some padding for breathing space */
  padding-bottom: -50px;
  background-color: #f8f9fa; /* Light gray for a clean look */
  text-align: center;
  box-sizing: border-box; /* Includes padding in calculations */
  background-color: #2C3E3B;
}

.portfolio-wrapper {
  padding-top: 25px;
}

/* Filter Buttons */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.filter-btn {
  background-color: #4E7072;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 25px;
  cursor: p;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.filter-btn:hover {
  background-color: #D9A857; /* Green hover effect */
  transform: translateY(-2px); /* Subtle lift */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.filter-btn.active {
  background-color: #D9A857; /* Active state */
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Smaller min size for items */
  gap: 20px; /* Reduce the gap between items */
  max-width: 1000px; /* Optional: limit the overall grid width */
  margin: 0 auto; /* Center the grid */
  padding: 0 10px;
  align-items: start;
}

/* Portfolio Item */
.portfolio-item {
  background-color: #FBCA72;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(0.85); /* Scale down to 85% of the original size */
  transition: all 0.3s ease-in-out;
  display: block;
}

.portfolio-item.hidden {
    display: none;
}

/* Hidden: Hide filtered-out items */
.hidden {
    display: none !important;
}

.portfolio-item:hover {
  transform: scale(1); /* Subtle zoom */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Portfolio Image */
.portfolio-item figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover figure img {
  transform: scale(1.1); /* Slight zoom on hover */
}

/* Portfolio Info */
.portfolio-info {
  padding: 20px;
  background-color: #4E7072;
  color: #ffffff;
  text-align: center;
  transition: background-color 0.3s ease;
}

.portfolio-info:hover {
  background-color: #5E8A75; /* Change background on hover */
}

.portfolio-info h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #FBCA72;
}

.portfolio-info p {
  font-size: 1rem;
  color: #dfe6e9;
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
  .portfolio-section {
    padding: 20px; /* Add padding for smaller screens */
    text-align: center; /* Center-align text */
  }

  .portfolio-filters {
    flex-wrap: wrap; /* Wrap filter buttons */
    gap: 10px; /* Reduce spacing between buttons */
    margin-bottom: 15px; /* Adjust spacing */
  }

  .filter-btn {
    font-size: 0.9rem; /* Reduce font size */
    padding: 8px 15px; /* Adjust padding */
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust column size */
    gap: 15px; /* Reduce gap between items */
  }

  .portfolio-item {
    transform: scale(1); /* Remove scale effect for smaller screens */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduce shadow intensity */
  }

  .portfolio-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle hover shadow */
  }

  .video-thumbnail {
    height: 150px; /* Adjust thumbnail height */
  }

  .portfolio-info h4 {
    font-size: 1.2rem; /* Adjust heading size */
  }

  .portfolio-info p {
    font-size: 0.9rem; /* Adjust paragraph size */
  }
}

/* Phone (≤480px) */
@media (max-width: 480px) {
  .portfolio-section {
    padding: 15px; /* Smaller padding for phones */
  }

  .portfolio-filters {
    gap: 5px; /* Minimize gap */
    margin-bottom: 10px; /* Adjust spacing */
  }

  .filter-btn {
    font-size: 0.8rem; /* Reduce button font size */
    padding: 6px 12px; /* Smaller padding */
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Smaller column size */
    gap: 10px; /* Minimize gap */
  }

  .portfolio-item {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Light shadow for phones */
  }

  .video-thumbnail {
    height: 120px; /* Smaller thumbnail height */
  }

  .portfolio-info h4 {
    font-size: 1rem; /* Smaller heading size */
  }

  .portfolio-info p {
    font-size: 0.8rem; /* Smaller paragraph size */
  }
}




/* Thumbnail Styling */
.video-thumbnail {
  width: 100%;
  height: 200px; /* Consistent thumbnail height */
  object-fit: cover; /* Keeps aspect ratio and fills container */
  transition: transform 0.3s ease; /* Smooth scaling effect */
}

.portfolio-item:hover .video-thumbnail {
  transform: scale(1.05); /* Slight zoom on hover */
  cursor: pointer; /* Indicate clickability */
}






/* Contact Section Styling ----------------------------------------------------------------*/
#section-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #445952; /* Background color */
    padding: 50px 20px;
    color: #FBCA72; /* Primary text color */
}

/* Container Styling ------------------------*/
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; /* Vertically centers the columns */
    max-width: 1200px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    border-radius: 15px; /* Rounded corners */
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    gap: 20px;
    margin-top: 30px;
}

.contact-header {
    margin-bottom: 50px;
}

/* Left Column: Image */
.left-column {
    flex-basis: 45%; /* Occupies 45% of the container */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 50px;
}


.profile-photo {
    width: 100%;
    max-width: 400px; /* Increased size */
    border-radius: 50%; /* Circular shape */
    border: 5px solid rgba(255, 255, 255, 0.5); /* Subtle border */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); /* Depth effect */
    object-fit: cover; /* Ensures the image scales nicely */
}

/* Right Column: Contact Form */

.right-column h2 {
    font-size: 2rem;
    color: #FFFFFF; /* White for the header */
    margin-bottom: 10px;
}

.right-column p {
    font-size: 1rem;
    line-height: 1.6;
    color: #FBCA72; /* Primary text color */
    margin-top: -10px;
}

/* Contact Icons Container */
.contact-icons {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between items */
    margin-right: 70px;
}

/* Individual Contact Item */
.contact-item {
    display: flex;
    align-items: center; /* Align icon and text vertically */
    gap: 20px; /* Space between icon and text */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Icons */
.contact-icon {
    width: 40px; /* Adjust icon size */
    height: 40px;
    object-fit: contain; /* Maintain proportions */
}

/* Links */
.contact-item a {
    color: #FBCA72; /* Text color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.contact-item a:hover {
    color: #E0B983; /* Change color on hover */
    text-decoration: underline; /* Underline on hover */
}

.contact-header h2 {
    margin-left: 20px;
}

/* Tablet and Smaller Screens */
@media (max-width: 768px) {
  #section-3 {
    overflow-x: hidden; /* Prevent horizontal scroll for this section */
    padding: 20px; /* Adjust padding for smaller screens */
    box-sizing: border-box; /* Include padding in width */
    max-width: 100%; /* Limit to viewport width */
    margin: 0 auto; /* Center section */
  }

  .contact-container {
    max-width: 100%; /* Ensure it stays inside viewport */
    margin: 0 auto; /* Center horizontally */
    padding: 20px; /* Add breathing space */
  }

  .profile-photo {
    max-width: 80%; /* Adjust image size to fit */
    margin: 0 auto; /* Center image */
    display: block;
  }
}

/* Phone Screens */
@media (max-width: 480px) {
  #section-3 {
    padding: 15px; /* Further reduce padding */
  }

  .profile-photo {
    max-width: 70%; /* Smaller size for phone screens */
  }

  .contact-item {
    font-size: 0.9rem; /* Adjust text size */
  }

  .contact-icons {
    gap: 10px; /* Tighter spacing */
  }

  .contact-container {
    max-width: 100%; /* Ensure it doesn’t exceed viewport */
    box-sizing: border-box; /* Include padding in width */
    margin: 0 auto; /* Center horizontally */
    padding: 20px; /* Adjust padding for smaller screens */
  }
}





