/* ==============================
   Social Enterprise CPT Styles
   ============================== */

body.single-social_enterprise .social-enterprise-wrapper {
    width: 100%;
    font-family: 'Helvetica', Arial, sans-serif;
}

/* Hero Wrapper */
body.single-social_enterprise .hero-wrapper {
    position: relative;
    margin-top: 150px;
    width: 100vw;
    /* height: 653px; */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

body.single-social_enterprise .hero-image {
    width: 100%;
    height: 665px;
    background: #ccc;
}


body.single-social_enterprise .hero-content {
    position: relative;
    margin-top: -120px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 85%;
    max-width: 1200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Eyebrow */
body.single-social_enterprise .eyebrow {
    position: absolute;
    top: -20px;
    left: 30px;
    display: inline-block;
    background: #007A09;
    color: #fff;
    padding: 10px 22px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
}

/* Hero Grid: Logo + Description */
body.single-social_enterprise .hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
    position: relative;
}

/* Logo */
body.single-social_enterprise .social-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 88px;
    align-items: start;
    gap: 21px;
}

/* Logo Image */
body.single-social_enterprise .social-logo img {
    display: block;
    height: 80px;
    margin-bottom: 15px; /* gap between logo and button */
}

/* Download Profile button below logo */
body.single-social_enterprise .download-profile {
    display: inline-block;
    padding: 6px 10px;
    background-color:#A78A30;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    font-size:12px;
}

body.single-social_enterprise .download-profile:hover {
    background-color: #07734F;
}


/* Full-width section backgrounds, content boxed */
body.single-social_enterprise .full-width-bg {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

/* Full-width section backgrounds, content boxed */
body.single-social_enterprise .full-width-bg {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

/* ============================
   Social Enterprise Responsive
   ============================ */

/* Default Desktop styles preserved from your code */

/* Tablet: 768px – 1024px */
@media (max-width: 1024px) {
    body.single-social_enterprise .hero-wrapper {
        margin-top: 100px;
    }
    body.single-social_enterprise .hero-image {
        height: 500px;
    }
    body.single-social_enterprise .hero-content {
        width: 90%;
        padding: 30px;
        margin-top: -100px;
    }
    body.single-social_enterprise .eyebrow {
        font-size: 16px;
        padding: 8px 18px;
        top: -15px;
        left: 20px;
    }
    body.single-social_enterprise .hero-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    body.single-social_enterprise .social-logo {
        margin-bottom: 50px;
        gap: 15px;
    }
    body.single-social_enterprise .social-logo img {
        height: 60px;
        margin-bottom: 10px;
    }
    body.single-social_enterprise .download-profile {
        font-size: 11px;
        padding: 5px 8px;
    }
}

/* Mobile: max-width 767px */
@media (max-width: 767px) {
    body.single-social_enterprise .hero-wrapper {
        margin-top: 80px;
    }
    body.single-social_enterprise .hero-image {
        height: 350px;
    }
    body.single-social_enterprise .hero-content {
        width: 95%;
        padding: 20px;
        margin-top: -80px;
    }
    body.single-social_enterprise .eyebrow {
        font-size: 14px;
        padding: 6px 14px;
        top: -12px;
        left: 15px;
    }
    body.single-social_enterprise .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    body.single-social_enterprise .social-logo {
        margin-bottom: 40px;
        align-items: center;
        text-align: center;
    }
    body.single-social_enterprise .social-logo img {
        height: 50px;
        margin-bottom: 10px;
    }
    body.single-social_enterprise .download-profile {
        font-size: 10px;
        padding: 4px 6px;
    }
}



/* Location Image */
body.single-social_enterprise .location-wrapper {
    position: relative;
    width: 100%;
    height: 789px;
    margin-top: -50px;
    border-radius: 6px;
    margin-left: 100px;
}

body.single-social_enterprise .location-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 87%;
    height: 100%;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
/* Location Image Hover Zoom-Out Effect */
body.single-social_enterprise .location-image {
    transition: transform 0.6s ease; /* smooth transition */
}

body.single-social_enterprise .location-wrapper:hover .location-image {
    transform: scale(0.95); /* slightly zooms out */
}




/* Black Section */
body.single-social_enterprise .black-section {
    background-color: #000;
    color: #fff;
    padding: 70px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

body.single-social_enterprise .black-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body.single-social_enterprise .black-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.8fr;
    gap: 50px;
    align-items: start;
}

body.single-social_enterprise .black-title h2 {
    font-size: 32px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 15px;
}

body.single-social_enterprise .black-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin: 0;
    text-align: justify;
}

/* Gray Section: Specialty Icons */
body.single-social_enterprise .specialty-icons-section .gray-background-full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #f5f5f5;
    padding: 60px 0;
}

body.single-social_enterprise .gray-background-full .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom : 25px;
}


body.single-social_enterprise .section-title-left {
    font-size: 23px;
    /* font-weight: bold; */
    margin-bottom: 5px;
    text-align: left;
    color: #000;
}

body.single-social_enterprise .heading-line {
    width: 100%;
    height: 1px;
    background: #000;
    margin-bottom: 40px;
}


/* Icon Row */
/* Specialty Icons Row */
body.single-social_enterprise .specialty-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Individual Icon + Text Container */
body.single-social_enterprise .specialty-icon-item {
    display: flex; /* image + text side by side */
    align-items: center;
    gap: 0px;
    border: none; /* background/ border remove */
    padding: 0;
    background: none;
    margin-bottom: 15px;
}

/* Icon Image */
body.single-social_enterprise .specialty-icon-img {
    width: 120px; /* bigger icon */
    height: 120px;
    flex-shrink: 0;
}

/* Title */

body.single-social_enterprise .specialty-icon-text {
    margin-top: 20px;
   
}

body.single-social_enterprise .specialty-icon-title {
    margin: 0;
    font-size: 28px; /* bigger title */
    font-weight: 700;
    color: #000;
}

/* Subtitle */
body.single-social_enterprise .specialty-icon-subtitle {
    margin: -6px 0 0 0;
    font-size: 20px;
    color: #555;
}

/* Specialty Icons Hover Effect */
body.single-social_enterprise .specialty-icon-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

body.single-social_enterprise .specialty-icon-item:hover {
    transform: translateY(-5px) scale(1.05); /* icon slightly lifts and grows */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

body.single-social_enterprise .specialty-icon-item:hover .specialty-icon-title {
    color: #0A7D4F; /* title color change on hover */
    transition: color 0.3s ease;
}

body.single-social_enterprise .specialty-icon-item:hover .specialty-icon-subtitle {
    color: #07734F; /* subtitle color change on hover */
    transition: color 0.3s ease;
}



* Description full width white below gray */
body.single-social_enterprise .specialty-desc-white-full {
    background: #fff;
    box-sizing: border-box;
    
}

body.single-social_enterprise .specialty-desc-white-full .container {
    background: #fff;
    padding: 40px 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    width: 100%;
    box-sizing: border-box;
    text-align: justify;
    
}




/* Video Section - Black Background */
body.single-social_enterprise .video-section {
  background-color: #000;
    color: #fff;
    padding: 70px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 25px;
}

body.single-social_enterprise .video-section .container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

body.single-social_enterprise .video-heading .subheading {
  font-size: 22px;
  color: #fff;
  margin-bottom: 5px;
  text-align: left;
}

body.single-social_enterprise .underline-full {
  height: 1px;
  background-color: #fff;
  width: 100%;
  margin-bottom: 30px;
}



body.single-social_enterprise .video-info-grid {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 65px;
  margin-bottom: 33px;
}

body.single-social_enterprise .video-title {
  font-size: 37px;
  font-weight: bold;
  color: #fff;
  text-align: left;
}

body.single-social_enterprise .video-description {
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  text-align: justify;
}

body.single-social_enterprise .video-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: relative;
}

body.single-social_enterprise .video-box {
  width: 100%;
  max-width: 800px;
  height: 450px;
  position: relative;
  border: 2px solid #0A7D4F;
  border-radius: 8px;
  overflow: hidden;
}

body.single-social_enterprise .video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

body.single-social_enterprise .video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

body.single-social_enterprise .video-placeholder .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0A7D4F;
  color: #fff;
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

body.single-social_enterprise .video-placeholder .play-button:hover {
  background-color: #066e41;
}

body.single-social_enterprise .video-box iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media(max-width: 768px){
  body.single-social_enterprise .video-info-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  body.single-social_enterprise .video-box {
    height: 300px;
    max-width: 100%;
  }
  body.single-social_enterprise .video-title {
    font-size: 26px;
  }
  body.single-social_enterprise .video-description {
    font-size: 14px;
  }
  body.single-social_enterprise .video-placeholder .play-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}




/* Title Design */
.gallery-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.gallery-title .line {
  flex: 1;
  height: 1px;
  background: #000;
  margin: 0 15px;
}

.gallery-title h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  color: #000;
}

/* Gallery Grid */
.program-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* Square Shape Images */
.program-gallery .gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* square ratio */
  overflow: hidden;
}

.program-gallery .gallery-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
}

.program-gallery .gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item.hidden {
  display: none;
}

/* See More Button */
.see-more-wrap {
  text-align: center;
  margin-top: 30px;
}

#see-more-btn {
  background: #0A7D4F;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

#see-more-btn:hover {
  background: #066e41;
}