  /* Premium Projects Page Styles */
        :root {
            --gradient-primary: linear-gradient(135deg, #006bd6 0%, #1a8cff 100%);
            --gradient-secondary: linear-gradient(135deg, #dbae26 0%, #f7c948 100%);
            --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        
        .logo-image {
            max-height: 150px;
            width: auto;
            transition: var(--transition);
        }
        
        .header.sticky .logo-image {
            max-height: 150px;
        }
        
        .footer-logo-image {
            max-height: 150px;
            width: auto;
            margin-bottom: 20px;
        }
        
        /* Premium Hero Section */
        .projects-hero {
            height: 70vh;
            min-height: 500px;
            background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75)), 
                        url('image\ -\ 2026-01-04T072020.069.webp');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .hero-overlay-design {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0,50 Q25,25 50,50 T100,50" stroke="%23dbae26" stroke-width="1" fill="none" opacity="0.1"/></svg>');
            background-size: 200px;
            opacity: 0.3;
        }
        
        .projects-hero-content {
            max-width: 900px;
            position: relative;
            z-index: 2;
            text-align: center;
        }
        
        .hero-badge {
            display: inline-block;
            background: var(--gradient-secondary);
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 500;
            margin-bottom: 30px;
            font-size: 0.9rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            animation: badgePulse 2s infinite;
        }
        
        @keyframes badgePulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .projects-hero h1 {
            font-size: 4rem;
            margin-bottom: 25px;
            line-height: 1.1;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
        }
        
        .hero-subtitle {
            font-size: 1.4rem;
            opacity: 0.9;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 60px;
            margin-top: 50px;
            flex-wrap: wrap;
        }
        
        .hero-stat {
            text-align: center;
        }
        
        .hero-stat-number {
            font-size: 3rem;
            font-weight: 600;
            background: var(--gradient-secondary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
            line-height: 1;
        }
        
        .hero-stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* WhatsApp button positioning */
        .whatsapp-float {
            left: 30px;
            bottom: 30px;
            right: auto;
        }
        
        /* Projects Filter */
        .projects-filter {
            padding: 60px 0 40px;
            background: var(--gradient-light);
        }
        
        .filter-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .filter-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .filter-header h2 {
            margin-bottom: 15px;
        }
        
        .filter-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .filter-btn {
            padding: 12px 30px;
            background: white;
            border: 2px solid #ddd;
            border-radius: 30px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Jost', sans-serif;
            font-size: 1rem;
        }
        
        .filter-btn:hover,
        .filter-btn.active {
            background: var(--gradient-primary);
            color: white;
            border-color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 107, 214, 0.2);
        }
        
        .search-box {
            max-width: 500px;
            margin: 0 auto;
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border: 2px solid #ddd;
            border-radius: 30px;
            font-family: 'Jost', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 5px 15px rgba(0, 107, 214, 0.1);
        }
        
        .search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-color);
            font-size: 1.2rem;
        }
        
        /* Premium Projects Grid */
      /* ===============================
   PREMIUM PROJECTS (WIDER + LUXURY)
   =============================== */

.premium-projects{
  padding: 90px 0;
  background:
    linear-gradient(rgba(21, 17, 17, 0.92), rgba(35, 32, 32, 0.92)),
    url("HydroDrill-Solutions-favicon.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Wider cards */
.projects-masonry{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* ✅ wider */
  gap: 44px;
  margin-top: 60px;
  align-items: stretch;
}

/* Premium card */
.project-masonry-item{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  height: auto;
  min-height: 520px;

  /* premium depth */
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;

  /* clean luxury transition (no bounce) */
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

/* subtle premium border + glow ring */
.project-masonry-item::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events:none;
}

/* top highlight */
.project-masonry-item::after{
  content:"";
  position:absolute;
  left:-25%;
  top:-55%;
  width: 150%;
  height: 70%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0) 60%);
  transform: rotate(8deg);
  opacity: .55;
  pointer-events:none;
}

.project-masonry-item:hover{
  transform: translateY(-10px);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  filter: saturate(1.02);
}

/* featured layout */
.project-masonry-item.featured{
  grid-column: span 2;
  min-height: 620px;
}

/* Image container (premium backdrop) */
.project-image-container{
  position: relative;
  background: linear-gradient(180deg, #0b1220 0%, #070b14 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-masonry-item.featured .project-image-container{
  aspect-ratio: 16 / 9;
}

/* Show full image without crop */
.project-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transform: scale(1);
  transition: transform .45s ease, opacity .45s ease;
}

.project-masonry-item:hover .project-image{
  transform: scale(1.03);
  opacity: .98;
}

/* Overlay (classy, not too dark) */
.project-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events:none;
}

.project-masonry-item:hover .project-overlay{
  opacity: 1;
}

/* Category tags (glass + premium) */
.project-category,
.project-featured-tag{
  position:absolute;
  top: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  z-index: 2;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.project-category{ right: 18px; }
.project-featured-tag{ left: 18px; display:flex; gap:8px; align-items:center; }

/* Content (more luxury spacing + typography) */
.project-content{
  padding: 32px 30px 34px;
  display:flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta{
  display:flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: .9rem;
  color: rgba(15,23,42,0.65);
}

.project-title{
  font-size: 1.55rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #0f172a;
  font-weight: 700;
}

.project-description{
  color: rgba(15,23,42,0.72);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* Tech tags (pill + subtle gradient) */
.project-tech{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tech-tag{
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;

  background: rgba(0, 107, 214, 0.10);
  border: 1px solid rgba(0, 107, 214, 0.18);
  color: var(--primary-color);
}

/* CTA button (premium) */
.project-link{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;

  border: 1px solid rgba(0,107,214,0.35);
  color: var(--primary-color);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.project-link:hover{
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.project-image-container{
  background: #fff;
}

.project-image{
  object-fit: cover;
  background: #fff;
}

.project-overlay{
  opacity: 1; /* optional: keep it subtle always */
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,0.35) 100%);
}

/* Responsive */
@media (max-width: 980px){
  .projects-masonry{
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* still premium width */
    gap: 28px;
  }
  .project-masonry-item.featured{
    grid-column: auto; /* prevent awkward spans on tablets */
  }
}

@media (max-width: 768px){
  .projects-masonry{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .project-content{
    padding: 22px;
  }
  .project-title{
    font-size: 1.32rem;
  }
}

        /* Project Gallery Modal */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .gallery-modal.active {
            display: flex;
            opacity: 1;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }
        
        .modal-image {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 10px;
        }
        
        .modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .modal-close:hover {
            color: var(--secondary-color);
        }
        
        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .modal-nav:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .modal-prev {
            left: -70px;
        }
        
        .modal-next {
            right: -70px;
        }
        
        /* Project Testimonials */
        .project-testimonials {
            padding: 100px 0;
            background: var(--gradient-dark);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .project-testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('images/pattern-light.svg') repeat;
            opacity: 0.05;
        }
        
        .testimonial-slider {
            margin-top: 50px;
        }
        
        .testimonial-slide {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .testimonial-content {
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 30px;
            font-style: italic;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .author-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-info h4 {
            color: white;
            margin-bottom: 5px;
        }
        
        .author-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }
        
        .swiper-pagination-bullet {
            background: rgba(255, 255, 255, 0.5);
            opacity: 1;
        }
        
        .swiper-pagination-bullet-active {
            background: var(--secondary-color);
        }
        
        /* Project Impact Stats */
        .impact-stats {
            padding: 100px 0;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-top: 50px;
        }
        
        .stat-card {
            text-align: center;
            padding: 50px 30px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-primary);
        }
        
        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }
        
        .stat-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 25px;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 10px;
            line-height: 1;
        }
        
        .stat-label {
            color: var(--gray-color);
            font-size: 1.1rem;
        }
        
        /* CTA Section */
        .project-cta {
            padding: 100px 0;
            background: var(--gradient-primary);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .project-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('images/pattern-light.svg') repeat;
            opacity: 0.1;
        }
        
        .project-cta h2 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: white;
        }
        
        .project-cta p {
            font-size: 1.4rem;
            max-width: 700px;
            margin: 0 auto 50px;
            opacity: 0.9;
        }
        
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .btn-gold {
            background: var(--gradient-secondary);
            color: white;
            border: none;
        }
        
        .btn-gold:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(219, 174, 38, 0.3);
        }
        
        /* Mobile Menu Styles */
        .nav-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            z-index: 1001;
        }
        
        .nav-toggle span {
            width: 25px;
            height: 3px;
            background-color: black;
            transition: var(--transition);
            transform-origin: left center;
        }
        
        .header.sticky .nav-toggle span {
            background-color: var(--dark-color);
        }
        
        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(0px, 0px);
        }
        
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(0px, 0px);
        }
        
        @media (max-width: 1200px) {
            .projects-hero h1 {
                font-size: 3.5rem;
            }
            
            .project-masonry-item.featured {
                grid-column: span 1;
                height: 500px;
            }
            
            .project-masonry-item.featured .project-image-container {
                height: 300px;
            }
        }
        
        @media (max-width: 992px) {
            .projects-hero {
                height: 60vh;
                min-height: 400px;
            }
            
            .projects-hero h1 {
                font-size: 3rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .hero-stats {
                gap: 40px;
            }
            
            .hero-stat-number {
                font-size: 2.5rem;
            }
            
            .project-masonry {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .project-cta h2 {
                font-size: 2.8rem;
            }
            
            .nav-toggle {
                display: flex;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                max-width: 400px;
                height: 100vh;
                background: white;
                flex-direction: column;
                padding: 100px 30px 30px;
                transition: var(--transition);
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                z-index: 1000;
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .nav-list {
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
                width: 100%;
            }
            
            .nav-item {
                width: 100%;
                margin-bottom: 0;
            }
            
            .nav-link {
                color: var(--dark-color);
                display: block;
                padding: 15px 0;
                width: 100%;
                border-bottom: 1px solid #eee;
                font-size: 1.1rem;
            }
            
            .nav-link.active {
                color: var(--primary-color);
                border-left: 3px solid var(--primary-color);
                padding-left: 15px;
            }
            
            .cta-nav {
                margin-top: 20px;
                width: 100%;
            }
            
            .cta-nav .btn {
                width: 100%;
                text-align: center;
            }
        }
        
        @media (max-width: 768px) {
            .projects-hero h1 {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .hero-stats {
                gap: 30px;
                flex-direction: column;
                align-items: center;
            }
            
            .filter-buttons {
                gap: 10px;
            }
            
            .filter-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .projects-masonry {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .project-cta h2 {
                font-size: 2.3rem;
            }
            
            .project-cta p {
                font-size: 1.2rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .whatsapp-float {
                left: 20px;
                bottom: 20px;
            }
            
            .modal-nav {
                display: none;
            }
        }
        
        @media (max-width: 576px) {
            .projects-hero h1 {
                font-size: 2rem;
            }
            
            .hero-badge {
                font-size: 0.8rem;
                padding: 10px 20px;
            }
            
            .testimonial-slide {
                padding: 30px;
            }
            
            .testimonial-content {
                font-size: 1.1rem;
            }
            
            .project-cta h2 {
                font-size: 2rem;
            }
            
            .project-cta p {
                font-size: 1.1rem;
            }
        }

        /* ===== Solar Gallery – Full Image Premium Cards ===== */

.solar-gallery {
  padding: 90px 0;
}

.gallery-slider {
  margin-top: 40px;
}

/* Hide all text content completely */
.gallery-content {
  display: none !important;
}

/* Swiper slide reset */
.gallery-slider .swiper-slide {
  height: auto;
}

/* Card = image only */
.gallery-slide {
  position: relative;
  width: 100%;
  height: 360px; /* desktop height */
  border-radius: 22px;
  overflow: hidden;

  background: #000;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Image container fills card */
.gallery-image {
  width: 100%;
  height: 100%;
}

/* Image fills everything */
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.05);
  transition: transform 0.9s ease;
}

/* Premium hover effect */
.gallery-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
}

.gallery-slide:hover img {
  transform: scale(1.15);
}

/* Luxury gradient overlay */
.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.15) 40%,
      rgba(0, 0, 0, 0.05)
    );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-slide:hover::after {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .gallery-slide {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .gallery-slide {
    height: 260px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .gallery-slide {
    height: 220px;
    border-radius: 16px;
  }
}
