/* Global reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #f0f0f0;
  color: white;
  min-height: 100vh;
  text-align: center;
}

/* Top Bar Layout */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  position: relative;
}

/* Profile Picture */
.profile-pic {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

/* Centered Logo */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: #111;
  white-space: nowrap;
}

/* Hide horizontal buttons everywhere */
.buttons {
  display: none !important;
}

/* Hamburger icon always visible */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  cursor: pointer;
  z-index: 10001;
}

.menu-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: #000;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1),
.menu-toggle.open span:nth-child(3) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(2) {
  background: red;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
}

/* === Fullscreen Overlay Nav === */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 10000;
}

.overlay-menu.open {
  height: 100vh;
  opacity: 1;
}

.overlay-menu a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #111;
  font-weight: bold;
  padding: 15px 0;
  width: 100%;
  text-align: center;
  position: relative;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

/* Divider fade effect */
.overlay-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.2),
    transparent
  );
  transition: background 0.3s ease;
}

.overlay-menu a:first-child::before {
  content: none;
  display: none;
}

.overlay-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.overlay-menu a:hover,
.overlay-menu a.active {
  color: #5d74c7;
}

.overlay-menu a:hover::before,
.overlay-menu a.active::before {
  background: linear-gradient(
    to right,
    transparent,
    #5d74c7,
    transparent
  );
}
















/* Hero Container */
.hero-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.hero {
  position: relative;
  background-color: #5d74c7;
  border-radius: 60px;
  padding: 80px 30px;
  width: 100%;
  max-width: 1100px;
  text-align: center;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.103);
  overflow: hidden;
}

/* Bubble that follows mouse */
.bubble-follow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #f44336, #F44336);
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.3;
  pointer-events: none; /* Still ignore mouse events for this effect */
  transform: translate(-50%, -50%); /* Center the bubble initially */
  transition: transform 3s ease-in-out, opacity 1s ease; /* Longer, smoother transition for random movement */
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.5;
  color: white;
  position: relative;
  z-index: 1;
}
.location {
    font-family: 'Playfair Display', serif;
  margin-top: 30px;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0.9;
  color: #eee;
  position: relative;
  z-index: 1;
}
.projects {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}
.project-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1100px;
  width: 100%;
}

.project-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Removed background from here */
  will-change: transform;
  position: relative; /* Needed for absolute positioning of pseudo-element */
  z-index: 1; /* Ensures content is above pseudo-element */
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #6C7AAB, white);
  opacity: 0; /* Start with the gradient invisible */
  border-radius: 24px; /* Match the parent's border-radius */
  transition: opacity 0.3s ease; /* Transition the opacity of the gradient */
  z-index: -1; /* Place it behind the card content */
}

.project-card:hover {
  transform: rotate(-1deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-card:hover::before {
  opacity: 1; /* Make the gradient visible on hover */
}

/* If you have content inside .project-card, ensure it has a background if you want it to appear above the gradient */
.project-card > * {
    position: relative;
    z-index: 2; /* Make sure actual content is above the pseudo-element and has its own background if needed */
}
/* Aspect crop for photography image */
.image-aspect {
   padding: 10px;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.image-aspect img {
  position: absolute;
  top: 63%;
  left: 50%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(0.92); /* 👈 this is key */
  border-radius: 10px;
}




.project-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

.project-label {
  display: flex;
  align-items: center;
  /* Removed gap for now, we'll manage space with padding and text transform */
  padding: 16px;
  font-weight: 600;
  color: #151515;
  text-decoration: none;
  transition: color 0.2s ease; /* Only color transition on the label itself */
  position: relative;
  overflow: hidden; /* Crucial to hide the arrow when it's outside */
}

/* We'll apply the text shift and arrow appearance on hover */
.project-label:hover {
  color: #000;
}

.project-label span.text-content { /* Add a span around your label text in HTML */
  transition: transform 0.3s ease; /* Smooth transition for the text shift */
}

.project-label:hover span.text-content {
  transform: translateX(-20px); /* Shift text slightly to the left */
}

.project-label::after {
  content: '→';
  position: absolute;
  right: 20px; /* Start the arrow at the current right padding position */
  opacity: 0;
  transform: translateX(10px); /* Start further to the right, off-screen */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition for arrow */
}

.project-label:hover::after {
  opacity: 1;
  transform: translateX(0); /* Move arrow into its final position */
}


.project-label img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-label:hover img {
  opacity: 0; /* Make the image disappear */
  transform: translateX(-20px); /* Move it off to the left as it disappears */
}

/* Arrow appears only on hover */
.arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.project-label:hover .arrow {
  opacity: 1;
  transform: translateX(4px);
}


.project-badge {
  background: #e1e1e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #242424;
  font-size: 14px;

}

.project-badge img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}



.project-card-link {
    display: block;
    text-decoration: none; /* This is the key line */
    color: inherit;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}


















































/* Web Development Page Specific Styles */
.content-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    color: #333; /* Darker text for readability on a light background */
}

.content-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 1100px; /* <--- CHANGE THIS VALUE */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.content-container h2 {
    font-size: 2.2rem;
    color: #5d74c7;
    margin-bottom: 25px;
    text-align: center;
}

.content-container h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    color: #444;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.service-card {
    background: #eef2f9;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    
    /* --- Subtle Hover Effect Additions (copied from step-card) --- */
    position: relative; /* Needed for pseudo-element positioning */
    overflow: hidden; /* Ensures the glow stays within the rounded corners */
    z-index: 1; /* Ensures content is above the glow */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background 0.4s ease-in-out; 
    /* --- End Subtle Hover Effect Additions --- */

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    width: 100%; /* Make cards take full width of their container */
}

/* Pseudo-element for the "subtle glow" effect on service cards (copied from step-card) */
.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0; /* Start with no width/height */
    height: 0; /* Start with no width/height */
    background: radial-gradient(circle, rgba(93, 116, 199, 0.15) 0%, rgba(93, 116, 199, 0) 70%); /* Softer blue glow */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Center the pseudo-element */
    opacity: 0; /* Start invisible */
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: -1; /* Place it behind the content */
}

.service-card:hover {
    transform: translateY(-8px); /* Less pronounced lift, no rotation */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Softer shadow */
    background: #e6eaf3; /* Subtle background color change on hover (copied from step-card) */
}

.service-card:hover::before {
    width: 120%; /* Smaller glow expansion */
    height: 120%; /* Smaller glow expansion */
    opacity: 0.8; /* Slightly less opaque glow */
}

.service-card h4 {
    font-size: 1.4rem;
    color: #5d74c7;
    margin-bottom: 12px;
    margin-top: 0;
    font-family: 'Inter', sans-serif;
    position: relative; /* Ensure text stays above glow */
    z-index: 2; /* Ensure text stays above glow */
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
    position: relative; /* Ensure text stays above glow */
    z-index: 2; /* Ensure text stays above glow */
}

/* --- Media Queries for Services (Simplified as they are already stacked) --- */
@media (max-width: 768px) {
    .service-card {
        padding: 25px;
        max-width: 100%; /* Ensure full width on smaller screens */
    }
    .service-card h4 {
        font-size: 1.3rem;
    }
    /* Adjust hover effect for smaller screens (copied from step-card) */
    .service-card:hover {
        transform: translateY(-5px); /* Even subtler lift on mobile, no rotation */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Even subtler shadow on mobile */
    }
}

/* Process Steps Styles with Mind-blowing Hover Effect */

.process-steps {
    display: grid;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
    grid-template-columns: repeat(2, 1fr); /* Explicitly 2 columns */
    margin-left: auto; /* Center the grid */
    margin-right: auto; /* Center the grid */
}

.step-card {
    background: #eef2f9;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    
    /* --- Subtle Hover Effect Additions --- */
    position: relative; /* Needed for pseudo-element positioning */
    overflow: hidden; /* Ensures the glow stays within the rounded corners */
    z-index: 1; /* Ensures content is above the glow */
    /* Smoother transition for transform, box-shadow, and background */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background 0.4s ease-in-out; 
    /* --- End Subtle Hover Effect Additions --- */
}

/* Pseudo-element for the "subtle glow" effect on step cards */
.step-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0; /* Start with no width/height */
    height: 0; /* Start with no width/height */
    background: radial-gradient(circle, rgba(93, 116, 199, 0.15) 0%, rgba(93, 116, 199, 0) 70%); /* Softer blue glow */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Center the pseudo-element */
    opacity: 0; /* Start invisible */
    /* Smoother transition for glow expansion */
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: -1; /* Place it behind the content */
}

.step-card:hover {
    transform: translateY(-8px); /* Less pronounced lift */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Softer shadow */
    /* Reverted to a subtle solid background color on hover */
    background: #e6eaf3; /* A slightly darker shade of the original background for subtle change */
}

.step-card:hover::before {
    width: 120%; /* Smaller glow expansion */
    height: 120%; /* Smaller glow expansion */
    opacity: 0.8; /* Slightly less opaque glow */
}

.step-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #5d74c7; /* Original color */
    margin-bottom: 10px;
    margin-top: 0;
    position: relative; /* Ensure text stays above glow */
    z-index: 2; /* Ensure text stays above glow */
    /* Smoother transition for text color */
    transition: color 0.4s ease-in-out; 
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555; /* Original color */
    margin-bottom: 0;
    position: relative; /* Ensure text stays above glow */
    z-index: 2; /* Ensure text stays above glow */
    /* Smoother transition for text color */
    transition: color 0.4s ease-in-out; 
}

/* Removed: Text color to white on hover */
/* .step-card:hover h3,
.step-card:hover p {
    color: white;
} */

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) { /* Adjust breakpoint if you want them to stack sooner */
    .process-steps {
        grid-template-columns: 1fr; /* Stack steps on small screens */
        max-width: 100%; /* Ensure it takes full width on small screens */
    }
    .step-card {
        padding: 20px; /* Slightly less padding on mobile */
    }
    .step-card h3 {
        font-size: 1.2rem; /* Smaller heading on mobile */
    }
    .step-card p {
        font-size: 0.9rem; /* Smaller paragraph text on mobile */
    }
    /* Adjust hover effect for smaller screens */
    .step-card:hover {
        transform: translateY(-5px); /* Even subtler lift on mobile */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Even subtler shadow on mobile */
    }
}

/* Existing styles for other sections (included for context if you combine files) */
.call-to-action {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #5d74c7;
    border-radius: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.call-to-action p {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.4;
    color: white;
}
.contact-button {
    display: inline-block;
    background: #ffffff;
    color: #5d74c7;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.contact-button:hover {
    background: #eef2f9;
    transform: translateY(-2px);
    color: #4a63a5;
}

.back-home-button {
    text-decoration: none;
    margin: 0 10px;
    background: #fff;
    color: #111;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: bold;
}

/* Ensure body background is light for content page */
body {
    background: #f8f8f8; /* A slightly lighter background for the content page */
    color: #333; /* Default text color for the body, overridden in .hero for hero section */
}

.hero {
    background-color: #5d74c7; /* Keep hero background consistent */
    color: white; /* Ensure text in hero remains white */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    /* ... (other responsive adjustments for top-bar, hero, etc.) ... */
    .content-container {
        padding: 25px;
    }
    .content-container h2 {
        font-size: 1.8rem;
    }
    .content-container h3 {
        font-size: 1.4rem;
    }
    .call-to-action p {
        font-weight: bold;
        font-size: 1.4rem;
    }
}


@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .buttons a {
        padding: 4px 10px;
        font-size: 0.9rem;
    }


    .hero {
        border-radius: 40px;
    }

    .tagline {
        font-size: 1.3rem;
    }
}
















/* Add this new rule for the direct contact buttons layout on the contact page */
.contact-options-direct {
    display: flex;
    flex-direction: column; /* Stack them vertically */
    gap: 15px;
    margin: 30px auto; /* Center the buttons and add vertical margin */
    max-width: 400px; /* Optional: limit the width of the buttons if they become too wide */
}

/* Ensure the existing .option-button styles are still present (they were copied from the modal) */
.option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5d74c7;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.option-button:hover {
    background: #4a63a5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.option-button .icon {
    font-size: 1.5rem;
    margin-right: 10px;
    line-height: 1;
}

/* Ensure these contact-info styles are still present and correct */
.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.6rem;
    color: #5d74c7;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info a {
    color: #5d74c7;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Optional: Add specific styles for the contact page hero if you used the contact-hero class */
.hero.contact-hero .tagline {
    font-size: 1.8rem; /* Slightly smaller or different for conciseness on contact page */
}
/* You could also change the background-color or add a background-image here */
/* .hero.contact-hero {
    background-color: #6a80cf;
} */

/* Remove any contact form styles if you are not using a form on the contact page */
/* .contact-form, .form-group, .submit-button, etc. */


.scroll-reveal {
    opacity: 0;
    transform: translateY(30px); /* Start slightly below its final position */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth transition */
}

/* State when the element is "visible" (triggered by JS) */
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0); /* Move to its final position */
}






















/* --- NEW: Featured Work Section Styles --- */
.featured-work-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333; /* For text within this section */
    background: #f8f8f8; /* Match body background */
}

.featured-work-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
}

.featured-work-header h2 {
    font-size: 2.5rem;
    color: #5d74c7;
    margin-bottom: 15px;
    font-family: 'Inter', serif; /* Or Inter, depending on your preference */
}

.featured-work-header p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.featured-work-grid {
    display: grid;
    gap: 40px; /* Space between featured project items */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    max-width: 1100px; /* Max width for the grid */
    width: 100%;
}

.featured-project-item {
    display: block; /* Make the whole link block-level */
    text-decoration: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    color: white; /* Default color for overlay text */
}

.featured-project-item:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.featured-project-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (height / width * 100%) */
    background-color: #eee; /* Placeholder background */
}

.featured-project-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease; /* Smooth zoom on hover */
}

.featured-project-item:hover .featured-project-image-wrapper img {
    transform: scale(1.05); /* Slightly zoom image on hover */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.8) 100%); /* Fades from transparent to dark */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 25px;
    opacity: 0; /* Start invisible */
    transition: opacity 0.4s ease, background 0.4s ease; /* Smooth transition for overlay */
    border-radius: 24px; /* Inherit border radius from parent */
    pointer-events: none; /* Allows clicks to pass through to the link */
}

.featured-project-item:hover .project-overlay {
    opacity: 1; /* Make visible on hover */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, #6C7AAB 100%); /* Change gradient on hover */
}

.project-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    
    color: white;
    transform: translateY(20px); /* Start text lower */
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.featured-project-item:hover .project-overlay h3 {
    transform: translateY(0); /* Move text up */
    opacity: 1;
}

.project-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    transform: translateY(20px); /* Start text lower */
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s; /* Slightly delayed */
    opacity: 0;
}

.featured-project-item:hover .project-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.view-project-button {
    display: inline-block;
    background: white;
    color: #5d74c7;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    transform: translateY(20px); /* Start button lower */
    transition: transform 0.4s ease 0.2s, opacity 0.4s ease 0.2s; /* Further delayed */
    opacity: 0;
}

.featured-project-item:hover .view-project-button {
    transform: translateY(0);
    opacity: 1;
    background: #eef2f9;
}

.view-project-button:hover {
    background: #e1e1e1;
    color: #4a63a5;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .featured-work-header h2 {
        font-size: 2rem;
    }
    .featured-work-header p {
        font-size: 1rem;
    }
    .project-overlay h3 {
        font-size: 1.4rem;
    }
    .project-overlay p {
        font-size: 0.9rem;
    }
    .view-project-button {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}













/* About Me Section Styles - Designed to fit adamfejfar.com/webdevelopment */

/* Container for the entire section, similar to .content-section */
/* About Me Section CSS */

.about-section-wrapper {
    padding: 60px 20px; /* Matches padding of other content sections */
    display: flex;
    justify-content: center;
    color: #333; /* Default text color for this section */
    background: #f8f8f8; /* Matches the body background of the webdevelopment page */
}

/* Inner container for the About Me content, similar to .content-container */
.about-content-container {
    background: #ffffff; /* White background */
    border-radius: 24px; /* Rounded corners */
    padding: 40px; /* Inner padding */
    width: 100%;
    max-width: 1100px; /* Adjust this max-width if you want it narrower, matching your .content-container */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    text-align: center; /* Center align content within the container */
    
    /* --- Subtle Hover Effect Additions (similar to step-card) --- */
    position: relative; /* Needed for pseudo-element positioning */
    overflow: hidden; /* Ensures the glow stays within the rounded corners */
    z-index: 1; /* Ensures content is above the glow */
    /* Smoother transition for transform, box-shadow, and background */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background 0.4s ease-in-out; 
    /* --- End Subtle Hover Effect Additions --- */
}

/* Pseudo-element for the "subtle glow" effect (similar to step-card) */
.about-content-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0; /* Start with no width/height */
    height: 0; /* Start with no width/height */
    background: radial-gradient(circle, rgba(93, 116, 199, 0.15) 0%, rgba(93, 116, 199, 0) 70%); /* Softer blue glow */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Center the pseudo-element */
    opacity: 0; /* Start invisible */
    /* Smoother transition for glow expansion */
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: -1; /* Place it behind the content */
}

/* Heading for the About Me section (e.g., "About Me") */
.about-content-container h2 {
    font-size: 2.2rem; /* Matches .content-container h2 */
    color: #5d74c7; /* Primary blue color */
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif; /* Use Inter font as per other content */
    font-weight: bold; /* Keep it bold for a heading */
    position: relative; /* Ensure text stays above glow */
    z-index: 2; /* Ensure text stays above glow */
}

/* Paragraph text within the About Me section */
.about-content-container p {
    font-size: 1.1rem; /* Matches .content-container p */
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333; /* Darker text for readability on white background */
    font-family: 'Inter', sans-serif; /* Use Inter font */
    font-style: normal; /* Remove italic style to match other content sections */
    position: relative; /* Ensure text stays above glow */
    z-index: 2; /* Ensure text stays above glow */
}

/* Specific styling for the strong (bolded) text within the paragraph */
.about-content-container p strong {
    font-weight: bold; /* Ensure bold text remains bold */
    color: #333; /* Keep bold text color consistent with paragraph */
}

/* --- Subtle Hover Effect (similar to step-card) --- */
.about-content-container:hover {
    transform: translateY(-8px); /* Less pronounced lift, no rotation */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Softer shadow */
    /* Updated: Gradient from lighter color to white */
    background: linear-gradient(180deg, #eef2f9 0%, #ffffff 100%); 
}

.about-content-container:hover::before {
    width: 120%; /* Smaller glow expansion */
    height: 120%; /* Smaller glow expansion */
    opacity: 0.8; /* Slightly less opaque glow */
}
/* --- End Subtle Hover Effect --- */

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .about-content-container {
        padding: 25px; /* Smaller padding on mobile */
    }
    .about-content-container h2 {
        font-size: 1.8rem; /* Smaller heading on mobile */
    }
    .about-content-container p {
        font-size: 1rem; /* Smaller paragraph text on mobile */
    }
    /* Adjust hover effect for smaller screens if needed */
    .about-content-container:hover {
        transform: translateY(-5px); /* Even subtler lift on mobile, no rotation */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Even subtler shadow on mobile */
    }
}





/* CSS for the "Let's Connect!" button */

.lets-connect-button {
    display: inline-block;
    background: #ffffff;
    color: #5d74c7;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    /* Enhanced transition for a smoother animation */
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease-out, box-shadow 0.3s ease-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.lets-connect-button:hover {
    background: #eef2f9;
    /* More dynamic lift and subtle scale for a "pop" effect */
    transform: translateY(-5px) scale(1.02);
    color: #4a63a5;
    /* A more vibrant, blue-toned shadow for a "glow" effect */
    box-shadow: 0 8px 25px rgba(93, 116, 199, 0.4);
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .lets-connect-button {
        padding: 12px 25px; /* Smaller padding on mobile */
        font-size: 1.1rem; /* Slightly smaller font on mobile */
    }
  .call-to-action-container {
        padding: 30px 20px; /* Adjusted padding for smaller screens */
    }
    .call-to-action-container h2 {
        font-size: 1.8rem; /* Adjusted font size for smaller screens */
        margin-bottom: 15px; /* Adjust space for smaller screens */
    }
}

@media (max-width: 480px) {
    .lets-connect-button {
        font-size: 1rem; /* Even smaller font on very small screens */
    }
    .call-to-action-container h2 {
        font-size: 1.4rem; /* Adjusted font size for very small screens */
        margin-bottom: 10px; /* Further adjust space for very small screens */
    }
}

.call-to-action-section {
    padding: 40px 15px; /* Reduced padding */
    display: flex;
    justify-content: center;
    background: #f8f8f8; /* Matches body background */
    text-align: center;
}

.call-to-action-container {
    background: none; /* Removed background */
    border-radius: 20px; /* Slightly smaller border-radius */
    padding: 30px 25px; /* Reduced padding */
    width: 100%;
    max-width: 700px; /* Reduced max-width */
    box-shadow: none; /* Removed box-shadow as there's no background */
    color: #333; /* Changed text color to dark gray for visibility on transparent background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.call-to-action-container h2 {
    font-size: 2.2rem; /* Reduced font size */
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    margin-bottom: 20px; /* Reduced space below the heading */
    line-height: 1.2;
}






.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #5d74c7;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 9999;
}

.floating-contact i {
  font-size: 1.1rem;
}

/* Cool hover effect */
.floating-contact:hover {
  background-color: #4a61b0;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(93, 116, 199, 0.5);
}

