/* ============================================
   ADDITIONAL RESPONSIVE IMPROVEMENTS
   Add these rules to your existing CSS
   ============================================ */

/* ===== BASE RESPONSIVE FIXES ===== */

/* Ensure images are responsive globally */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* ===== HEADER RESPONSIVE FIXES ===== */

@media (max-width: 991px) {
  .header__logo img {
    max-height: 60px;
    margin-top: 5px;
  }
  
  .header {
    padding: 10px 0;
  }
}

@media (max-width: 576px) {
  .header__logo img {
    max-height: 50px;
  }
}

/* ===== HERO SECTION RESPONSIVE ===== */

@media (max-width: 991px) {
  .hero__item {
    height: 500px;
    padding-top: 180px;
  }
  
  .hero__text h2 {
    font-size: 48px;
    line-height: 56px;
  }
  
  .hero__text h3 {
    font-size: 36px;
    line-height: 48px;
  }
}

@media (max-width: 767px) {
  .hero__item {
    height: 450px;
    padding-top: 150px;
  }
  
  .hero__text h2 {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 25px;
  }
  
  .hero__text h3 {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 20px;
  }
  
  .hero__text span {
    font-size: 13px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .hero__item {
    height: 400px;
    padding-top: 120px;
  }
  
  .hero__text h2 {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 20px;
  }
  
  .hero__text h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 15px;
  }
}

/* ===== WORK GALLERY FULLY RESPONSIVE ===== */
/* ===== WORK GALLERY RESPONSIVE FIX ===== */

/* Remove the conflicting responsive rules and add these: */

/* Base styles - keep these from your original code */
.work {
  overflow: hidden;
  background: #100028;
}

.work__gallery {
  margin-right: -10px;
}
/* 
.work__item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 311px !important;
  width: calc(33.33% - 10px);
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
} */



.fix-contain {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #000;
}

.centered-items-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
  clear: both;
}

.centered-items-wrapper .work__item {
  width: 500px;
  height: auto;
  float: none;
}

.work__item .play-btn {
  display: inline-block;
  color: #ffffff;
  font-size: 20px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.work__item:hover .work__item__hover {
  bottom: 0;
}

.work__item__hover {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  bottom: -300px;
  width: 100%;
  padding: 25px 30px 20px;
  transition: all 0.5s;
}

.work__item__hover h4 {
  font-size: 22px;
  color: #ffffff;
  font-weight: 700;
}

/* NEW RESPONSIVE RULES - Replace the old ones */

/* Tablets (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .work__item {
    width: calc(50% - 10px) !important;
    height: 280px !important;
  }
  /* .contact__widget__items {
    flex-wrap:nowrap;
   flex-direction: row;
  } */
  .work__item.wide__item {
    width: calc(50% - 10px) !important;
    height: 280px !important;
  }
  
  .centered-items-wrapper .work__item {
    width: calc(50% - 15px);
    max-width: 445.6px;
  }
  
  .centered-items-wrapper {
    gap: 20px;
    margin-top: 30px;
  }
}

/* Small tablets and large phones (576px - 767px) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
  .work__item {
    width: calc(50% - 10px) !important;
    height: 250px !important;
  }
  
  .work__item.wide__item {
    width: calc(50% - 10px) !important;
    height: 250px !important;
  }
  
  .centered-items-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
  }
  
  .centered-items-wrapper .work__item {
    width: 90%;
    max-width: 350px;
    height: 250px !important;
  }
}

/* Mobile devices (below 576px) */
@media only screen and (max-width: 575px) {
  .work__gallery {
    margin-right: 0;
  }
  
  .work__item {
    width: 100% !important;
    height: 220px !important;
    margin-right: 0 !important;
    float: none !important;
  }
  
  .work__item.wide__item {
    width: 100%;
    height: 220px !important;
  }
  
  .centered-items-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
  }
  
  .centered-items-wrapper .work__item {
    width: 100%;
    height: 220px !important;
  }
  
  .work__item .play-btn {
    height: 45px;
    width: 45px;
    line-height: 45px;
    font-size: 18px;
  }
  
  .work__item__hover {
    padding: 20px 25px 15px;
  }
  
  .work__item__hover h4 {
    font-size: 18px;
  }
}

/* Extra small devices (below 480px) */
@media only screen and (max-width: 479px) {
  .work__item {
    height: 200px !important;
  }
  
  .work__item.wide__item {
    height: 200px !important;
  }
  
  .centered-items-wrapper .work__item {
    height: 200px !important;
  }
  
  .work__item .play-btn {
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 16px;
  }
}

/* Ensure clearfix for floated items */
.work__gallery::after {
  content: "";
  display: table;
  clear: both;
}

/* View More section styling */
.latest.spad .section-title.center-title {
  padding-top: 0px;
}

.latest.spad .section-title.center-title h2 {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
}

.latest.spad .section-title.center-title a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.latest.spad .section-title.center-title a:hover h2 {
  color: #00bfe7;
}
/*  */

/* ===== COUNTER SECTION RESPONSIVE ===== */

@media (max-width: 991px) {
  .counter {
    height: auto;
    padding: 80px 0 50px;
  }
  
  .counter__item {
    margin-bottom: 30px;
    height: auto;
    padding: 30px;
  }
  
  .counter__item__text h2 {
    font-size: 48px;
  }
}

@media (max-width: 576px) {
  .counter__item__text h2 {
    font-size: 40px;
  }
}

/* ===== TEAM SECTION RESPONSIVE ===== */

@media (max-width: 991px) {
  .team__item {
    height: 350px;
    margin-bottom: 30px;
  }
  
  .section-title.team__title {
    margin-bottom: 50px;
  }
}

@media (max-width: 576px) {
 .team__item {
  height: 350px;
  border-radius: 20px;
 
}


}

/* ===== SERVICES SECTION RESPONSIVE ===== */

@media (max-width: 767px) {
  .services {
    padding: 80px 0 40px;
  }
  
  .services__item {
    margin-bottom: 40px;
    text-align: center;
  }
  .services__item p{
    width: 100%;
    text-align: justify;
  overflow-wrap: break-word;
  white-space: normal;
  }
  
  .services__item__icon {
    margin: 0 auto 20px;
  }
  
  .services__item h4 {
    font-size: 20px;
  }
}

/* ===== YOUTUBE GALLERY RESPONSIVE ===== */

@media (max-width: 992px) {
  .youtube-gallery-yt5 {
    padding: 15px;
  }
  
  .row-yt5 {
    gap: 15px;
  }
  
  .video-box-yt5 img {
    width: 250px;
  }
}

@media (max-width: 576px) {
  .video-box-yt5 img {
    width: 100%;
    max-width: 350px;
  }
  
  .yt5-full-bg {
    padding: 40px 0;
  }
}

/* ===== FOOTER RESPONSIVE ===== */

@media (max-width: 991px) {
  .footer__option {
    padding: 40px 0 30px;
  }
  
  .footer__option__item {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .footer__top__social {
    text-align: center;
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  .footer__option__item {
    text-align: left !important;
  }
  
  .footer__option__item.address-center {
    text-align: left !important;
  }
  
  .whatsapp-container {
    margin: 0 auto;
  }
}

/* ===== CALL TO ACTION RESPONSIVE ===== */

@media (max-width: 767px) {
  .callto {
    padding-top: 80px;
  }
  
  .callto__text h2 {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 18px;
  }
  
  .callto__text p {
    font-size: 14px;
    margin-bottom: 35px;
  }
  
  .callto__text a {
    padding: 12px 25px 10px;
    font-size: 14px;
  }
}

/* ===== BREADCRUMB RESPONSIVE ===== */

@media (max-width: 767px) {
  .breadcrumb-option {
    padding-top: 120px;
  }
  
  .breadcrumb__text h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .breadcrumb__links a,
  .breadcrumb__links span {
    font-size: 14px;
    margin-right: 20px;
  }
  
  .breadcrumb__links a:after {
    right: -14px;
  }
}

/* ===== PORTFOLIO RESPONSIVE ===== */

@media (max-width: 767px) {
  .portfolio__filter {
    margin-bottom: 30px;
  }
  
  .portfolio__filter li {
    display: block;
    margin-bottom: 10px;
    padding: 8px 20px;
  }
  
  .portfolio__item {
    margin-bottom: 30px;
  }
  
  .portfolio__item__video {
    height: 200px;
    margin-bottom: 20px;
  }
  
  .portfolio__item__text h4 {
    font-size: 20px;
  }
  
  .portfolio__item__text ul li {
    font-size: 14px;
    margin-right: 15px;
  }
}

/* ===== BLOG RESPONSIVE ===== */

@media (max-width: 767px) {
  .blog__item {
    padding: 30px 25px 25px;
    margin-bottom: 30px;
  }
  
  .blog__item h4 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 15px;
  }
  
  .blog__item ul {
    margin-bottom: 15px;
  }
  
  .blog__item ul li {
    font-size: 13px;
    margin-right: 15px;
  }
  
  .blog__item p {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 18px;
  }
}

/* ===== CONTACT FORM RESPONSIVE ===== */

@media (max-width: 767px) {
  .contact__form h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .contact__form form input,
  .contact__form form textarea {
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .contact__widget__item {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .contact__widget__item__icon {
    float: none;
    margin: 0 auto 15px;
  }
  
  .contact__widget__item__text h4 {
    font-size: 20px;
  }
}

/* ===== PAGINATION RESPONSIVE ===== */

@media (max-width: 576px) {
  .pagination__option {
    padding-top: 15px;
  }
  
  .pagination__option .number__pagination {
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 16px;
    margin-right: 4px;
  }
  
  .pagination__option .arrow__pagination {
    font-size: 13px;
  }
  
  .pagination__option .arrow__pagination.left__arrow {
    margin-right: 10px;
  }
  
  .pagination__option .arrow__pagination.right__arrow {
    margin-left: 10px;
  }
}

/* ===== BUTTONS RESPONSIVE ===== */

@media (max-width: 576px) {
  .primary-btn,
  .site-btn {
    width: 100%;
    font-size: 13px;
    
    border-radius: 5px;
    /* letter-spacing: 1px; */
  }
}

/* ===== TESTIMONIAL RESPONSIVE ===== */

@media (max-width: 767px) {
  .testimonial__text {
    padding: 25px 30px 20px 25px;
    margin-bottom: 20px;
  }
  
  .testimonial__text p {
    font-size: 16px;
    line-height: 26px;
  }
  
  .testimonial__author {
    padding-left: 0;
    text-align: center;
  }
  
  .testimonial__author__pic {
    float: none;
    margin: 0 auto 15px;
    text-align: center;
  }
}

/* ===== ABOUT SECTION RESPONSIVE ===== */

@media (max-width: 991px) {
  .about {
    padding-bottom: 80px;
  }
  
  .about__pic__item {
    height: 200px;
  }
  
  .about__pic__item.about__pic__item--large {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .about__pic__item {
    height: 180px;
    margin-bottom: 15px;
    border-radius: 15px;
  }
  
  .about__pic__item.about__pic__item--large {
    height: 380px;
    border-radius: 15px;
  }
  
  .about__text__desc {
    margin-top: 0;
  }
}

/* ===== LOGO SECTION RESPONSIVE ===== */

@media (max-width: 767px) {
  .logo {
    padding: 60px 20px;
  }
}

/* ===== BLOG DETAILS RESPONSIVE ===== */

@media (max-width: 767px) {
  .blog-hero {
    padding: 200px 0 150px;
  }
  
  .blog__hero__text h2 {
    font-size: 28px;
    line-height: 36px;
  }
  
  .blog__hero__text ul li {
    font-size: 13px;
    margin-right: 15px;
  }
  
  .blog__details__text p {
    font-size: 16px;
    line-height: 26px;
  }
  
  .blog__details__quote {
    padding: 25px 30px 25px 25px;
  }
  
  .blog__details__quote p {
    font-size: 18px;
    line-height: 28px;
  }
  
  .blog__details__quote i {
    font-size: 28px;
    right: 20px;
    bottom: 20px;
  }
  
  .blog__details__tags span {
    display: block;
    margin-bottom: 15px;
  }
  
  .blog__details__tags a {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* ===== EXTRA SMALL DEVICES (320px - 480px) ===== */

@media (max-width: 480px) {
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 16px; }
  h6 { font-size: 14px; }

.about__text__desc p{
text-align: justify;
  }
  p {
    
    font-size: 15px;
    line-height: 24px;
  }
  
  .spad {
    padding-top: 100px;
    padding-bottom: 15px;
  }
  .about--page{
    padding-top: 0px;
    margin-top: 0px;
  }
  .section-title {
    margin-bottom: 35px;
  }
  
  .center {
    width: 90%;
  }
}


/* ===== LANDSCAPE ORIENTATION FIXES ===== */

@media (max-height: 500px) and (orientation: landscape) {
  .hero__item {
    height: 100vh;
    min-height: 400px;
  }
  
  .hero__text h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  
  .hero__text h3 {
    font-size: 24px;
    line-height: 32px;
  }
}

/* ===== VERY LARGE SCREENS (1920px+) ===== */

@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  .hero__text h2 {
    font-size: 80px;
    line-height: 90px;
  }
  
  .hero__text h3 {
    font-size: 54px;
    line-height: 70px;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #00bfe7;
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #00bfe7;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* ===== PRINT STYLES ===== */

@media print {
  .header,
  .footer,
  .slicknav_menu,
  .hero__slider.owl-carousel .owl-dots {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    text-decoration: underline;
  }
}







