.project-number{
    position:absolute;
    top:20px;
    right:20px;
    width:45px;
    height:45px;
    background:#1e8042;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:26px;
    z-index:4;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* Tablet */
@media (max-width:991px){
    .project-number{
        width:40px;
        height:40px;
        font-size:15px;
        top:15px;
        right:15px;
    }
}

/* Mobile */
@media (max-width:576px){
    .project-number{
        width:35px;
        height:35px;
        font-size:14px;
        top:12px;
        right:12px;
    }
}

/* Equal size only for project images */
.projects-grid .hover > img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Responsive */
@media (max-width:991px){
    .projects-grid .hover > img{
        height:240px;
    }
}

@media (max-width:576px){
    .projects-grid .hover > img{
        height:200px;
    }
}
/* Project Info Cards */

.project-box{
    border:1px solid #eaeaea;
    padding:30px 20px;
    border-radius:8px;
    text-align:center;
    height:100%;
    transition:all .3s ease;
    background:#fff;
}

.project-box:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* Icon */

.project-icon{
    width:60px;
    height:60px;
    line-height:60px;
    margin:0 auto 15px auto;
    border-radius:50%;
    background:var(--accent-color);
    color:#fff;
    font-size:22px;
}

/* Heading */

.project-box h4{
    font-size:16px;
    font-weight:600;
    margin-bottom:8px;
}

/* Text */

.project-box p{
    font-size:15px;
    margin:0;
    color:#555;
}
.info-card{
display:flex;
align-items:center;   /* start alignment */
gap:15px;
padding:25px;
border:1px solid #e5e5e5;
border-radius:8px;
height:100%;
background:#fff;
transition:0.3s;
}

.info-card:hover{
border-color:#1e8042;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.info-icon{
font-size:22px;
color:#1e8042;
min-width:35px;
margin-top:3px;
}

.info-content h4{
font-size:16px;
margin-bottom:5px;
font-weight:600;
}

.info-content p{
margin:0;
font-size:14px;
color:#555;
}

@media (max-width: 500px) {
  #subheader h1 {
    font-size: 34px;
   }
}

/* ===================== */
/* TABLET (768px–1024px) */
/* ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* spacing */
  .contact-color {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* center content properly */
  .grid-divider .d-flex {
    justify-content: flex-start !important;
  }

  /* icon size adjust */
  .fs-60 {
    font-size: 45px;
  }

  /* text spacing */
  .grid-divider h4 {
    font-size: 18px;
  }

  .grid-divider p {
    font-size: 14px;
    text-align: left;
  }
}


/* ===================== */
/* MOBILE (<768px) */
/* ===================== */
@media (max-width: 767px) {

  /* show stacked layout */
  .grid-divider {
    display: block !important;
  }

  .contact-color {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* center each item */
  .grid-divider .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 40px !important;
  }

  .grid-divider .ms-3 {
    margin-left: 0 !important;
    margin-top: 10px;
  }

  /* icon */
  .fs-60 {
    font-size: 40px;
  }

  /* spacing between items */
  .mb-sm-30 {
    margin-bottom: 20px;
  }

  .grid-divider h4 {
    font-size: 16px;
  }

  .grid-divider p {
    font-size: 14px;
  }
}


/* ===================== */
/* SMALL MOBILE (<480px) */
/* ===================== */
@media (max-width: 480px) {

  .fs-60 {
    font-size: 35px;
  }

  .grid-divider h4 {
    font-size: 15px;
  }

  .grid-divider p {
    font-size: 13px;
    text-align: center;
  }
}

/* MOBILE + TABLET */
@media (max-width: 1024px) {

  /* remove left border */
  .grid-divider > div {
    border-left: none !important;
  }

  /* add bottom border */
  .grid-divider > div {
    border-bottom: 1px solid rgba(255,255,255,0.2); /* adjust color if needed */
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  /* remove border from last item */
  .grid-divider > div:last-child {
    border-bottom: none;
  }
}
/* MOBILE + TABLET */
@media (max-width: 1024px) {

  /* remove any left border */
  .grid-divider > div,
  .grid-divider > div * {
    border-left: none !important;
  }

  /* 🔥 kill vertical divider (pseudo elements) */
  .grid-divider::before,
  .grid-divider::after,
  .grid-divider > div::before,
  .grid-divider > div::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
  }

  /* add bottom divider */
  .grid-divider > div {
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  /* remove last one */
  .grid-divider > div:last-child {
    border-bottom: none !important;
  }
}
/* ===================== */
/* TABLET (768px–1024px) */
/* ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* 🔥 force show */
  .sm-hide {
    display: block !important;
    visibility: visible !important;
  }

}
/* ===================== */
/* TABLET (768px–1024px) */
/* ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* show section */
  .grid-divider.sm-hide {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: left;
  }

  /* default: 2 columns */
  .grid-divider > div {
    width: 50%;
    border-left: none !important;
  }

  /* center content inside */
  .grid-divider .d-flex {
    justify-content: center;
    text-align: left;
  }

  /* 🔥 last item full width + centered */
  .grid-divider > div:last-child {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* optional: control inner width so it doesn't stretch too much */
  .grid-divider > div:last-child .d-flex {
    max-width: 300px;
    width: 100%;
  }

  /* bottom borders */
  .grid-divider > div {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  /* remove last border */
  .grid-divider > div:last-child {
    border-bottom: none;
  }
}


/* ===================== */
/* TABLET (768px – 1024px) */
/* ===================== */
@media (min-width: 900px) and (max-width: 1024px) {
  #subheader .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Target only this section */
@media (max-width: 768px) {

  section .col-lg-6:last-child .subtitle,
  section .col-lg-6:last-child h2 {
    text-align: center;
  }

}

/* ===================== */
/* 768px ONLY (all sides padding) */
/* ===================== */
@media (min-width: 768px) and (max-width: 991px) {
  #subheader .container {
    padding: 0px 50px 50px 50px; /* top right bottom left */
  }
}

/* ===================== */
/* MOBILE (<768px) */
/* ===================== */
@media (max-width: 767px) {
  #subheader .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ===================== */
/* SMALL MOBILE (<480px) */
/* ===================== */
@media (max-width: 480px) {
  #subheader .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===== SECTION TOP & BOTTOM PADDING ===== */
section {
    padding-top: 100px;   /* desktop top padding */
    padding-bottom: 100px; /* desktop bottom padding */
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Default font size for desktop */
.projects-grid h3 {
    font-size: 24px; /* you can adjust for desktop */
}

/* Make it responsive for tablets and mobile */
@media (max-width: 768px) {
    .projects-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px; /* spacing between cards */
    }

    .projects-grid .col-lg-4,
    .projects-grid .col-md-6 {
        flex: 0 0 100%; /* full width for mobile */
        max-width: 100%;
    }

    .projects-grid h3 {
        font-size: 20px; /* mobile font size */
    }

    .projects-grid p {
        font-size: 16px; /* optional: adjust paragraph text */
    }

    .hover .abs.p-40 {
        padding: 20px; /* reduce padding for smaller screens */
    }

    .hover img.w-100 {
        height: 300px; /* ensure images scale properly */
    }
}



/* Tablet 768px: 3 columns layout */
@media (min-width: 768px) and (max-width: 991px) {
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        gap: 20px;
    }

    .projects-grid > div {
        width: 100%; /* card fills its grid cell */
    }

    .hover img.w-100 {
        height: 300px; /* adjust for card height */
        object-fit: cover;
    }

    .projects-grid h3 {
        font-size: 16px;
    }

    .projects-grid p {
        font-size: 14px;
    }
}


/* ════════════════════════════════════════
   OUR WORK IN ACTION — VIDEO SECTION
════════════════════════════════════════ */
.proj-vid-section {
  padding: 80px 0 !important;
  background: #f8fdf9;
  clear: both;
  overflow: hidden;
}

.proj-vid-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.proj-vid-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.proj-vid-box-outer {
  flex: 0 0 48%;
  max-width: 48%;
  min-width: 0;
}

.proj-vid-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #000;
}

.proj-vid-box video {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.proj-vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(46, 158, 79, 0.85);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(46, 158, 79, 0.4);
}

.proj-vid-play i { margin-left: 3px; }

.proj-vid-play:hover {
  background: #2e9e4f;
  transform: translate(-50%, -50%) scale(1.1);
}

.proj-vid-play.is-playing {
  width: 48px; height: 48px; font-size: 16px;
  top: auto; bottom: 16px; left: auto; right: 16px;
  transform: none;
  background: rgba(255,255,255,0.9);
  color: #2e9e4f;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.proj-vid-play.is-playing i { margin-left: 0; }

.proj-vid-play.is-playing:hover {
  background: #2e9e4f; color: #fff; transform: scale(1.05);
}

.proj-vid-content {
  flex: 1;
  min-width: 0;
}

.proj-vid-content .subtitle {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.proj-vid-content h2 {
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.3;
}

.proj-vid-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .proj-vid-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .proj-vid-box-outer {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .proj-vid-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .proj-vid-section {
    padding: 50px 0 !important;
  }

  .proj-vid-box video {
    height: 320px;
  }

  .proj-vid-content h2 {
    font-size: 24px;
  }

  .proj-vid-play {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }
}

