.works-page{
position:relative;
padding:5px 0;
background:#ffffff;
z-index:1;
}

.works-container{
max-width:1080px;
margin:0 auto;
padding:0 24px;
}

.works-header{
margin-bottom:60px;
}

.works-header h1{
font-size:36px;
font-weight:700;
margin-bottom:10px;
}
.works-header h1{
text-shadow:none !important;
}
.works-meta{
display:flex;
justify-content:space-between;
align-items:center;
}

.btn-case{
background:#2FB3A3;
color:#fff;
padding:10px 22px;
border-radius:25px;
text-decoration:none;
font-weight:600;
font-size:14px;
transition:0.2s;
}

.btn-case:hover{
background:#239988;
}

.works-image {
  max-width:1290px;
  margin:10px auto;
  border-radius:5px;
  overflow:hidden;

  height:420px; /* ✅ fixed height */
}

.works-image > img{
  width:100%;
  height:100%; /* ✅ fill container */
  object-fit:cover; /* ✅ crop properly */
  display:block;
}
.works-container{
max-width:1135px;
margin:0 auto;
padding:0px 24px;
}

.works-title{
font-size:32px;
font-weight:700;
padding-bottom: 0px;
margin-bottom:8px;
}
.works-subtitle{
font-size:20px;
font-weight:500;
margin-top: -5px;
padding-bottom: 10px;
margin-bottom:8px;
}
.works-meta{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
font-size:15px;
}

.works-client{
color:#444;
}

.btn-case{
background:#2FB3A3;
color:#fff;
padding:10px 22px;
border-radius:25px;
text-decoration:none;
font-weight:600;
font-size:14px;
}

.works-block{
max-width:1100px;
margin:0 auto 30px auto;
}

.works-text{
margin-top:20px;
}

.works-text h3{
font-size:18px;
margin-bottom:2px;
}

.works-text p{
font-size:15px;
line-height:1.5;
color:#555;
margin:0px;
}

.works-info{
display:flex;
flex-direction:column;
gap:4px;
}

.works-client{
font-weight:500;
color:#444;
}

.works-industry{
font-size:14px;
color:#777;
line-height:1.9;
}

/* =====================================
HEADER DROPDOWN ICON FIX
Prevents page CSS from resizing icons
===================================== */

.main-navigation .submenu-icon img{
width:42px !important;
height:42px !important;
min-width:42px;
min-height:42px;

max-width:none !important;

object-fit:contain;
flex-shrink:0;
display:block;
}

/* =====================================
Image Play Button
===================================== */

/* Wrapper */
/* FIX: force consistent image size */
.media-wrapper {
  width: 100%;
  margin-bottom: 20px;
	position: relative; 
  overflow: visible; /* IMPORTANT */
}

.media-wrapper img {
  width: 100%;
  height: auto; /* ✅ original height preserved */
  display: block;
  border-radius: 8px;
}
/* Play Button Container */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 80px;
  height: 80px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s ease;
  z-index: 2; /* ✅ ensure above image */
}

/* Outer Ring */
.play-button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
}

/* Play Icon (Triangle) */
.play-button::after {
  content: "";
  display: block;

  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;

  margin-left: 4px;
}

/* Hover Effect */
.media-wrapper:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}


