/* gallery.css - COMPLETELY FIXED VERSION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background-color: #f8faff;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* Header Styles */
  .sticky-header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 16px 0;
  }
  
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  
  .logo img {
    display: block;
    height: 40px;
    width: auto;
  }
  
  .nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
  }
  
  .nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #222;
    transition: 0.2s;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: #1a4a91;
    border-bottom: 2px solid #1a4a91;
    padding-bottom: 4px;
  }
  
  .call-btn {
    background: #d45d2c;
    color: white !important;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(212, 93, 44, 0.2);
  }
  
  .call-btn:hover {
    background: #b74a1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 93, 44, 0.3);
  }
  
  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a4a91;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .mobile-only {
    display: none;
  }
  
  /* Page Hero */
  .page-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: -1px;
  }
  
  .page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  
  .page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
  }
  
  /* Gallery Grid Section */
  .gallery-grid-section {
    padding: 80px 0;
    background: #fff;
  }
  
  .gallery-grid-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #d45d2c;
    border-radius: 2px;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* Gallery Grid - SIMPLIFIED AND FIXED */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
  }
  
  .gallery-grid-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a4a91, #d45d2c);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gallery-grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(212, 93, 44, 0.3);
  }
  
  .gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }
  
  .gallery-grid-item:hover img {
    transform: scale(1.1);
  }
  
  /* Loading state */
  .gallery-grid-item.loading {
    position: relative;
    background: linear-gradient(135deg, #f0f4fa, #e0e7f0);
  }
  
  .gallery-grid-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f0f4fa;
    border-top-color: #d45d2c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  /* Image overlay */
  .gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  
  .gallery-grid-item:hover .gallery-item-overlay {
    transform: translateY(0);
  }
  
  .gallery-item-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
  }
  
  .gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
  }
  
  /* Lightbox Modal */
  .lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    cursor: pointer;
  }
  
  .lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
  }
  
  .lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid #d45d2c;
    border-radius: 8px;
    background: #fff;
  }
  
  .lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .lightbox-close:hover {
    color: #d45d2c;
    transform: scale(1.1);
  }
  
  .lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.1rem;
  }
  
  /* CTA Section */
  .gallery-cta {
    background: linear-gradient(135deg, #1a4a91 0%, #0b1a33 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
  }
  
  .gallery-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
  }
  
  .btn-primary {
    background: #d45d2c;
    color: white;
    padding: 16px 48px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #d45d2c;
    box-shadow: 0 4px 15px rgba(212, 93, 44, 0.2);
  }
  
  .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 93, 44, 0.3);
  }
  
  /* Scroll Animation */
  .scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  
  .scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Footer */
  footer {
    background: #0b1a33;
    color: #fff;
    padding: 70px 0 20px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
  }
  
  .footer-description {
    color: #aaa;
    line-height: 1.6;
    margin-top: 15px;
  }
  
  footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
    border-left: 3px solid #d45d2c;
    padding-left: 15px;
  }
  
  footer ul {
    list-style: none;
  }
  
  footer ul li {
    margin-bottom: 12px;
  }
  
  footer a {
    color: #ddd;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
  }
  
  footer a:hover {
    color: #d45d2c;
    padding-left: 5px;
  }
  
  .accent-orange {
    color: #d45d2c;
    width: 24px;
    margin-right: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid #203a5e;
    padding-top: 25px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .page-hero h1 {
      font-size: 2.5rem;
    }
    
    .section-title {
      font-size: 2.2rem;
    }
    
    .gallery-cta h2 {
      font-size: 2.2rem;
    }
  }
  
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: flex;
    }
    
    .desktop-only {
      display: none;
    }
    
    .nav-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 350px;
      height: 100vh;
      background: white;
      box-shadow: -5px 0 30px rgba(0,0,0,0.1);
      transition: right 0.3s ease;
      padding: 80px 30px 30px;
      z-index: 1000;
    }
    
    .nav-menu.active {
      right: 0;
    }
    
    .nav-menu ul {
      flex-direction: column;
      gap: 20px;
    }
    
    .nav-menu a {
      font-size: 1.1rem;
      display: block;
      padding: 10px 0;
    }
    
    .mobile-only {
      display: block;
      margin-top: 20px;
    }
    
    .mobile-call-btn {
      background: #d45d2c;
      color: white !important;
      padding: 12px 20px;
      border-radius: 40px;
      text-align: center;
      font-weight: 600;
    }
    
    .page-hero {
      height: 300px;
    }
    
    .page-hero h1 {
      font-size: 2rem;
    }
    
    .page-hero p {
      font-size: 1rem;
    }
    
    .gallery-grid-section {
      padding: 60px 0;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .section-subtitle {
      font-size: 1rem;
      padding: 0 20px;
    }
    
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    
    .gallery-cta {
      padding: 60px 0;
    }
    
    .gallery-cta h2 {
      font-size: 2rem;
    }
    
    .gallery-cta p {
      font-size: 1rem;
    }
    
    .btn-primary {
      padding: 14px 40px;
      font-size: 1rem;
    }
    
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .page-hero h1 {
      font-size: 1.8rem;
    }
    
    .gallery-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
    
    .gallery-cta h2 {
      font-size: 1.6rem;
    }
    
    .gallery-item-overlay h3 {
      font-size: 1rem;
    }
    
    .gallery-item-overlay p {
      font-size: 0.85rem;
    }
  }
  
  /* DEBUG STYLES - REMOVE AFTER FIXING */
  .gallery-grid-item {
    border: 2px solid #d45d2c;
    background: linear-gradient(135deg, #1a4a91, #d45d2c);
    min-height: 200px;
  }