* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #080808;
  color: #fff;
}

/* HEADER */
#header {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.hero-font {
  font-family: 'Lexend Zetta', sans-serif;
  letter-spacing: 0.02em; /* from 0.12em → mas tight */
  
}
.container {
  width: 100%;
  padding: 0 10%;
  z-index: 5;
}
.back-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: -1;
}

/* NAVIGATION */
.logo {
  width: 130px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.logo:hover {
  transform: scale(1.05);
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 4px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
  z-index: 10;
  transition: background 0.3s ease;
}
nav:hover {
  background: rgba(8, 8, 8, 0.8);
}
nav ul {
  display: flex;
  list-style: none;
}
nav ul li {
  margin: 0 15px;
}
nav ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 5px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: #F9E900;
  transition: width 0.4s ease;
  border-radius: 2px;
}
nav ul li a:hover::after,
nav ul li a:focus::after {
  width: 100%;
}
nav ul li a:hover,
nav ul li a:focus {
  color: #F9E900;
  outline: none;
}

/* HEADER TEXT */
.header-text {
  padding-top: 120px;
  font-size: 20px;
}
.header-text h1 {
  font-size: 60px;
  margin-top: 10px;
}
.header-text h1 span {
  color: #F9E900;
}
.animated-title {
  font-size: 18px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards, shine 3s linear infinite;
  animation-delay: 0.3s;
  background:  #ffffff;
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInLeft 2s ease-out forwards;
}
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header-text h2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ===================== */
/* FRAMER STYLE BUTTONS  */
/* ===================== */
.hire-me-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 9999px;
  border: 1.5px solid #f9e900;
  color: #080808;
  background-color: #f9e900;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.hire-me-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 233, 0, 0.4);
}
.showreel-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 9999px;
  border: 1.5px solid #f9e900;
  color: #f9e900;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  background: transparent;
}

.hire-me-btn:hover,
.showreel-btn:hover {
  background-color: #f9e900;
  color: #080808;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 233, 0, 0.4);
}

.hire-me-btn::after,
.showreel-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.hire-me-btn:hover::after,
.showreel-btn:hover::after {
  opacity: 1;
}

/* SHOWREEL MODAL */
.showreel-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.showreel-content {
  position: relative;
}

.showreel-video {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-btn {
  position: absolute;
  top: -40px;
  right: -10px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #f9e900;
}

/* RESPONSIVE TWEAKS */
/* @media (max-width: 600px) {
  .header-text h1 {
    font-size: 36px;
  }
  .header-text h2 {
    gap: 12px;
    justify-content: center;
  }
  .hire-me-btn,
  .showreel-btn {
    font-size: 18px;
    padding: 12px 28px;
    min-width: 120px;
  }
} */

/* .hire-me-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 18px 50px;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.8s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hire-me-btn:hover {
  background-color: #F9E900;
  color: #000;
} */

/* ----------------About------------- */
#about{
  padding: 120px 0;
  color: #ababab;
}
.row{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  
}

.about-col-1{
  flex-basis: 35%;
  justify-content: flex-end;
  
}
.about-col-1 img{
  width: 100%;
  border-radius: 15px;
}
.about-col-2{
  flex-basis: 60%;
  
}
.sub-title{
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
  color: rgb(186, 187, 188);
}
.tab-links{
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.tab-links::after{
  content: '';
  width: 0;
  height: 3px;
  background: #F9E900;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.8s;
}
.tab-links.active-link::after{
  width: 50%;
}
.tab-contents ul {
  padding: 0;
  margin: 0;  
}
.tab-contents ul li{
  list-style: none;
  margin: 10px 0;
  
}
.tab-contents ul li span{
  color: #d3c830;
  font-size: 14px;
}
.tab-contents {
  display: none;
  opacity: 0;
  animation: fadeInTab 0.8s ease forwards;
}

@keyframes fadeInTab {
  to {
    opacity: 1;
  }
}
.tab-contents.active-tab{
  display: block;
}
.skills-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.skills-grid ul {
  flex: 1;
  padding: 0;
  margin: 0;
}

.skills-grid li {
  list-style: none;
  margin-bottom: 10px;
}

.skills-grid li span {
  color: #d3c830;
  font-size: 14px;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-load {
  animation: fadeInLeft 2.2s ease-out both;
}


/* ---------------------service------------- */

/* --------------------- Services ------------- */
:root{
  --bg:#000;
  --card:#121212;
  --card-2:#1a1a1a;
  --ink:#ddd;
  --white:#fff;
  --gold:#f9e900;
  --gold-2:#e2d200;
  --muted:#9a9a9a;
}

@keyframes fadeInUp{
  from{opacity:0; transform:translateY(24px)}
  to{opacity:1; transform:translateY(0)}
}

@keyframes gradientShift{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

#services{
  padding:80px 20px;
  color:var(--ink);
  position:relative;
  overflow:hidden;
  z-index:1;
  background:var(--bg);
}
#services::before{
  content:"";
  position:absolute; inset:-50%;
  background:linear-gradient(135deg,#000,#222);
  background-size:800% 800%;
  animation:gradientShift 22s ease infinite;
  opacity:.15; z-index:-1; border-radius:30px;
}

.sub-title{color:var(--white)}
.services-tagline{
  margin-top:8px; color:var(--muted); font-size:14px;
}

/* Grid */
.services-list{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:28px;
  margin-top:36px;
}

/* Card */
.service-card{
  position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02)) padding-box,
             linear-gradient(120deg, rgba(249,233,0,.35), rgba(255,255,255,.05)) border-box;
  border:1px solid transparent;        /* gradient border */
  border-radius:16px;
  padding:28px 24px;
  min-height:360px;

  display:flex; flex-direction:column; align-items:center; text-align:center;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
  transition:transform .35s ease, box-shadow .35s ease, background .35s ease;
  opacity:0; transform:translateY(24px);
  animation:fadeInUp .6s ease forwards;
}
.service-card:nth-child(1){animation-delay:.05s}
.service-card:nth-child(2){animation-delay:.12s}
.service-card:nth-child(3){animation-delay:.18s}
.service-card:nth-child(4){animation-delay:.24s}
.service-card:nth-child(5){animation-delay:.30s}
.service-card:nth-child(6){animation-delay:.36s}

.service-card:hover{
  transform:translateY(-10px);
  box-shadow:0 18px 36px rgba(249,233,0,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03)) padding-box,
             linear-gradient(120deg, rgba(249,233,0,.65), rgba(255,255,255,.08)) border-box;
}

.service-card i{
  font-size:54px; margin-bottom:18px; color:var(--gold);
  filter: drop-shadow(0 2px 6px rgba(249,233,0,.25));
  transition: transform .35s ease;
}
.service-card:hover i{ transform:translateY(-2px) }

.service-card h2{
  font-size:22px; font-weight:700; color:var(--white);
  margin-bottom:10px; line-height:1.2;
  text-transform:uppercase; letter-spacing:.5px;
}
.service-card p{
  font-size:15.5px; line-height:1.6; color:var(--ink);
  margin: 6px 0 18px;
}

/* CTA row (two buttons) */
.service-cta{
  display:flex; gap:8px; margin-top:auto;
}
.service-cta a{
  display:inline-block; text-decoration:none; font-weight:700;
  font-size:12.5px; letter-spacing:.4px;
  padding:10px 18px; border-radius:28px; white-space:nowrap;
  transition:transform .2s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease;
}
.service-cta a:not(.ghost){
  background:linear-gradient(to right,var(--gold),var(--gold-2)); color:#121212;
  box-shadow:0 8px 20px rgba(249,233,0,.22);
}
.service-cta a:not(.ghost):hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(249,233,0,.32);
}
.service-cta .ghost{
  background:transparent; color:var(--ink);
  border:1px solid rgba(255,255,255,.14);
}
.service-cta .ghost:hover{
  color:var(--white);
  border-color:rgba(255,255,255,.28);
  transform:translateY(-2px);
}

/* Small screens */
@media (max-width: 1024px){
  .services-list{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .services-list{
    grid-template-columns: 1fr;
  }
}

/* ----------------portfolio-------------- */
#portfolio{
    padding: 90px 0 120px 0;
    
}

.main-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  margin: 60px 0 20px;
  color: #f9e900;
}

.video-section {
  margin-bottom: 40px;
}
.work-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px;
  margin-top: 50px;
}
.work{
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  
}

.work video {
  width: 100%;
  max-height: 400px; /* adjust */
  object-fit: cover; /* changed from contain */
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}
.work:hover video{
  transform: scale(1.1);
}
.work-list.square {
  grid-template-columns: repeat(3, 1fr);
}
.work-list.horizontal {
  grid-template-columns: repeat(4, 1fr);
}
.modal {
  display: flex;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 10px;
}

.modal-content video {
  max-width: 95%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 5px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
#video-modal {
  display: none;
}
.video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 5px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1.90), transparent);
  color: #fbfbfb;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 5px #000000, 0 0 10px #323123, 0 0 15px #2f2e24;


  /* Optional extras */

}
.video-wrapper:hover .video-title-overlay {
  opacity: 0;
}

.close-button {
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  background: black;
  border-radius: 30%;
  padding: 2px 10px;
}
.preview-video::-internal-media-controls-download-button {
  display: none;
}
.preview-video::-webkit-media-controls-enclosure {
  overflow: hidden;
}
.preview-video::-webkit-media-controls-panel {
  display: none !important;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Keeps click on the wrapper, not this button */
  transition: background 0.3s;
}
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.video-wrapper .preview-video {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.video-wrapper:hover .play-button {
  background-color: rgba(0, 0, 0, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #f9e900;
  background-color: transparent;
  border: 2px solid #f9e900;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 233, 0, 0.2);
  
  /* Center it properly */
  margin: 60px auto 0 auto;
  display: block;
  width: fit-content;
}
.btn:focus,
.btn:active {
  background-color: transparent;
  color: #f9e900;
  border: 2px solid #f9e900;
  box-shadow: 0 0 10px rgba(249, 233, 0, 0.2);
  outline: none;
  transform: none;
}
.btn:hover {
  background-color: #f9e900;
  color: #000;
  box-shadow: 0 0 20px rgba(249, 233, 0, 0.6);
  transform: scale(1.05);
}


/* ----------------Contact------------ */
#contact {
  scroll-margin-top: 100px;
  padding-bottom: 80px; /* <-- Add this */
}
.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.contact-left{
  flex-basis: 35%;
}
.contact-right{
  flex-basis: 60%;
}
.contact-left p{
  margin-top: 30px;
}
.contact-left p i{
  color: #F9E900;
  margin-right: 15px;
  font-size: 25px;
}
.social-icons{
  margin-top: 30px;
}
.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover{
  color: #ecde21;
  transform: translateY(-5px);
}
.btn.btn2 {
  display: inline-block;
  background: linear-gradient(to right, #f9e900, #e2d200);
  color: #121212;
  padding: 14px 35px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(249, 233, 0, 0.25);
  transition: all 0.3s ease;
}
.btn.btn2:hover {
  background: linear-gradient(to right, #e6d900, #d3c830);
  box-shadow: 0 8px 24px rgba(249, 233, 0, 0.35);
  transform: translateY(-3px);
}
.contact-right form{
  width: 100%;
}

form input, form textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: #36393B;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}
form .btn2 {
  margin-top: 25px;
  float: none; 
  display: inline-block; 
}
.btn.btn2:focus,
.btn.btn2:active {
  background: linear-gradient(to right, #f9e900, #e2d200);
  box-shadow: 0 6px 20px rgba(249, 233, 0, 0.25);
  color: #121212;
  transform: none;
  outline: none;
}


/* ---------- FAQ Section (Dark Theme) ---------- */

.faq-section {
  width: 100%;
  background: #171819;
  /* background: linear-gradient(rgba(28,28,28,0.9), rgba(20, 20, 20, 0.9)); */
  padding: 80px 20px 120px;
  text-align: center;
  scroll-margin-top: 100px;
}

.faq-section .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.title {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 600;
  letter-spacing: 1px;
}

.accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px auto 0;
  text-align: left;
  width: 100%;
  align-items: start;
}

.accordion li {
  list-style: none;
  background: #292929;
  border-radius: 10px;
  box-shadow:
    6px 6px 12px -1px rgba(0, 0, 0, 0.5),
    -6px -6px 12px -1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.accordion input[type="checkbox"] {
  display: none;
}

.accordion label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 19px;
  font-weight: 600;
  color: #f8f8f8;
  background-color: transparent;
  transition: background 0.3s;
}

.accordion label:hover {
  background-color: #3a3a3a;
}

.accordion label::before {
  content: '+';
  font-size: 24px;
  margin-right: 10px;
  color: #f9e900;
  transition: 0.3s;
}

.accordion input[type="checkbox"]:checked + label::before {
  content: '-';
}

.accordion .content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: #222;
  color: #ddd;
  transition: max-height 0.5s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.accordion input[type="checkbox"]:checked ~ .content {
  max-height: 400px;
  padding: 15px 24px 20px;
  opacity: 1;
}

.faq-section {
  margin-bottom: 0;
}

.copyright {
  margin-top: 0px; /* Push copyright down further */
  padding: 20px 0;
  background: #121212;
  text-align: center;
  color: #fff;
}

/* ------------------------------------ CSS for Small Screens -------------- */

nav .fas {
  display: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
  touch-action: manipulation;
  transition: color 0.3s ease, transform 0.3s ease;
}

@media screen and (max-width: 600px) {

  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 5%;
    display: block;
  }

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo {
    height: 60px;
    object-fit: contain;
    margin-left: 20px;
  }

  nav .fas {
    display: block;
    font-size: 28px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1100;
  }
.showreel-content {
    width: 95%;
    height: auto;
    aspect-ratio: unset;
    padding: 10px;
  }

  .showreel-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 8px;
  }
   .close-btn {
    top: 5px;
    right: 5px;
    font-size: 28px;
    width: 36px;
    height: 36px;
  }
  #header {
    /*background-image: url(images/phone-background\ 2.png);*/
  }

  .header-text {
    margin-top: 70%;
    font-size: 16px;
    line-height: 1.5;
  }

  .animated-title {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: block;
  }

  .header-text h1 {
    font-size: 30px;
  }

  .hire-me-btn {
    font-size: 11px;
    padding: 11px 36px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  #sidemenu {
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    height: 100vh;
    background: #d3c830;
    padding: 2rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  
  #sidemenu::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  #sidemenu.open {
    transform: translateX(0%);
  }

  #sidemenu li {
    margin: 15px 0;
  }

  #sidemenu li a {
    color: white;
    font-size: 20px;
    text-decoration: none;
  }

  #sidemenu .fas {
    position: absolute;
    top: 13px;
    right: 83px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  #header, #about {
    padding-top: 60px;
    padding-bottom: 20px;
    margin-bottom: 10px;
  }

  .sub-title {
    font-size: 40px;
  }

  .about-col-1, .about-col-2 {
    flex-basis: 100%;
  }

  .about-col-1 {
    margin-bottom: 30px;
  }

  .about-col-1 img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .about-col-2 {
    font-size: 14px;
    line-height: 1.5;
  }

  .tab-links {
    font-size: 15px;
    margin-right: 15px;
  }

  .services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center; /* centers text inside */
  }

  .services-list > div {
    padding: 20px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers icon and headings */
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .services-list i {
    font-size: 28px; /* smaller icon */
    margin-bottom: 10px;
  }

  .services-list h2 {
    font-size: 1.4rem; /* optional smaller heading */
    margin-bottom: 10px;
  }

  .services-list p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .work-list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
  }

  .work-list.square {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-list.horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Additional tweaks for medium-small devices */
@media (max-width: 768px) {
  .accordion {
    grid-template-columns: 1fr; /* switch to single column */
    gap: 15px; /* reduce gap for smaller screens */
  }

  .faq-section {
    padding: 50px 15px 80px; /* less padding */
  }

  .title {
    font-size: 2rem; /* smaller heading */
  }

  .accordion label {
    font-size: 17px; /* slightly smaller text */
    padding: 20px 24px; /* more touch-friendly */
    cursor: pointer;
    user-select: none;
  }

  .accordion .content {
    padding: 12px 18px 16px;
    font-size: 14px;
  }

  .work-list {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .main-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .contact-left, .contact-right {
    flex-basis: 100%;
  }

  .copyright {
    font-size: 13px;
  }
}

/* Very small screens (<400px) */
@media (max-width: 400px) {
  .work-list, .services-list {
    grid-gap: 10px;
  }
  .services-list div a {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    display: block;
    text-align: center;
  }
  .services-list > div {
    padding: 15px;
  }
   .services-list {
    grid-template-columns: 1fr; /* single column */
    gap: 30px; /* increase gap between items (default was 2.5rem ~ 40px) */
    text-align: center;
  }
  
  /* Optional: add vertical margin between service cards */
  .services-list > div {
    margin-bottom: 20px; /* adds space below each card */
  }
}

/* Focus styles for accessibility */
a:focus, button:focus, input[type="checkbox"]:focus + label {
  outline: 2px solid #d3c830;
  outline-offset: 3px;
}

/* Inputs & buttons spacing */
input, textarea, button {
  font-size: 1rem;
  padding: 12px 16px;
  margin-bottom: 15px;
  border-radius: 6px;
}

