/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: 'Segoe UI', sans-serif;
    color: white;
    background-color: #111;
    scroll-behavior: smooth;
}
  
body.noscroll {
    overflow: hidden;
}
  
/* Section Base Styles */
.section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
  
/* Section Overlay */
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 12px;
}
  
/* Buttons */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #ff6347;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}
  
.btn:hover {
    background: #e5533d;
}
  
/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
  
ul li {
    margin: 0.3rem 0;
}
  
/* Section Backgrounds */
#home {
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80');
}
  
#about {
    background-image: url('https://images.unsplash.com/photo-1492724441997-5dc865305da7?auto=format&fit=crop&w=1200&q=80');
}
  
#works {
    background-image: url('https://images.pexels.com/photos/3874038/pexels-photo-3874038.jpeg?auto=compress&cs=tinysrgb&w=1200');
}
  
#contact {
    background-image: url('https://images.unsplash.com/photo-1517430816045-df4b7de11d1d?auto=format&fit=crop&w=1200&q=80');
}
  
/* Case Study Section */
.case-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
  
.case-btn {
    background-color: #ff7f50;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
  
.case-btn:hover {
    background-color: #e8663d;
}
  
/* Updated Case Study Page Styling */
.case-page {
    background-color: #111;
    font-family: 'Segoe UI', sans-serif;
    padding: 30px;
    color: #f2f2f2;
    min-height: 100vh;
}
  
.case-study-content {
    max-width: 800px;
    margin: 0 auto;
}
  
.case-study-content img {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
}
  
.back-button a {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #ff6347;
    font-size: 18px;
    transition: color 0.3s ease;
}
  
.back-button a:hover {
    color: #ffd700;
}
  
.case-study {
    background-color: #1a1a1a;
    color: #f9f9f9;
    padding: 2rem;
}
  
/* About Section */
.about-section {
    text-align: center;
    padding: 3rem 2rem;
}
  
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
}
  
.about-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #ddd;
}
  
.skills-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
}
  
.skills-list li {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #f2f2f2;
    position: relative;
    padding-left: 1.2rem;
}
  
.skills-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 2rem;
    line-height: 1rem;
}


/* ✅ Additions for scroll fix */
.section.active {
  overflow-y: auto;
}

/* ✅ Case study image layout */
.case-images img {
  width: 100%;
  max-width: 400px;
  margin: 15px auto;
  display: block;
  border-radius: 10px;
}
.case-images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
  }
  
  .case-images img {
    width: 32%;
    border-radius: 10px;
    object-fit: cover;
  }
  case-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap; /* Just in case on small screens */
  }
  
  .case-images img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }
  copyright {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin-top: 40px;
  }
  