/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Image Protection Styles */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Allow text selection for forms and navigation */
input, textarea, select, button, a, .nav-link, .btn {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    pointer-events: auto;
}

/* Allow project images to be clickable for fullscreen */
.project-pipeline-image, .gallery-image, .hero-pipeline-image, .about-pipeline-image {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Basic image styles */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

 .container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 20px;
 }

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-symbol:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.logo-image {
    height: 150px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    object-fit: contain;
    max-width: 100%;
    border-radius: 8px;
}

.logo-symbol:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.footer-logo-image {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    object-fit: contain;
    max-width: 100%;
}

.logo-text h2 {
    color: #2E5BBA;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: #4A90E2;
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
}



.nav-logo h2 {
    color: #2E5BBA;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.nav-logo span {
    color: #4A90E2;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-menu-container {
    margin-top: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4A90E2;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #4A90E2, #2E5BBA);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu-container {
        margin-top: 1rem;
    }
    
    .logo-image {
        height: 100px;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 20px;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

               /* Hero Section */
    .hero {
        padding: 200px 0 80px;
        background: linear-gradient(135deg, rgba(74, 144, 226, 0.6) 0%, rgba(46, 91, 186, 0.6) 100%), url('hero-text-background.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        color: white;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        backdrop-filter: blur(3px);
    }

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 3rem;
}

    .hero-content {
     position: relative;
     z-index: 2;
     backdrop-filter: blur(8px);
     background: rgba(255, 255, 255, 0.05);
     padding: 3rem;
     border-radius: 20px;
     border: 1px solid rgba(255, 255, 255, 0.15);
     width: 600px;
     min-height: 500px;
     margin-left: 0;
     margin-right: auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 .hero-image-gallery {
     position: relative;
     width: 600px;
     height: 400px;
     flex-shrink: 0;
 }

 .gallery-container {
     position: relative;
     width: 100%;
     height: 100%;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
 }

 .gallery-item {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transform: scale(0.8) translateX(0);
     transition: all 0.6s ease;
     border-radius: 20px;
     overflow: hidden;
 }

 .gallery-item.active {
     opacity: 1;
     transform: scale(1) translateX(0);
     z-index: 3;
 }

 .gallery-item.prev {
     opacity: 0.7;
     transform: scale(0.85) translateX(-25%);
     z-index: 2;
 }

 .gallery-item.next {
     opacity: 0.7;
     transform: scale(0.85) translateX(25%);
     z-index: 2;
 }

 .gallery-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 20px;
     transition: transform 0.3s ease;
 }

 .gallery-controls {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 100%;
     display: flex;
     justify-content: space-between;
     padding: 0 20px;
     pointer-events: none;
     z-index: 10;
 }

 .gallery-nav {
     background: rgba(255, 255, 255, 0.9);
     border: none;
     border-radius: 50%;
     width: 45px;
     height: 45px;
     font-size: 22px;
     cursor: pointer;
     transition: all 0.3s ease;
     pointer-events: auto;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
 }

 .gallery-nav:hover {
     background: rgba(255, 255, 255, 1);
     transform: scale(1.1);
 }

 .gallery-indicators {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
     z-index: 10;
 }

 .indicator {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .indicator.active {
     background: rgba(255, 255, 255, 1);
     transform: scale(1.2);
 }
 
 .hero-content h1 {
     font-size: 3rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     line-height: 1.2;
 }

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4A90E2;
    transform: translateY(-2px);
}

 .hero-image {
     display: flex;
     justify-content: flex-end;
     align-items: center;
     position: relative;
     margin-left: auto;
     max-width: 55%;
 }

 .hero-gallery {
     position: relative;
     width: 100%;
     max-width: 1000px;
     height: 500px;
     overflow: visible;
     border-radius: 20px;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
     margin: 0 auto;
 }

 .gallery-item {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transform: scale(0.8) translateX(0);
     transition: all 0.6s ease;
     cursor: pointer;
     border-radius: 20px;
     overflow: hidden;
     display: block;
 }

 .gallery-item.active {
     opacity: 1;
     transform: scale(1) translateX(0);
     z-index: 3;
     display: block;
 }

 .gallery-item.prev {
     opacity: 0.7;
     transform: scale(0.85) translateX(-25%);
     z-index: 2;
     display: block;
 }

 .gallery-item.next {
     opacity: 0.7;
     transform: scale(0.85) translateX(25%);
     z-index: 2;
     display: block;
 }

 .gallery-item:hover {
     transform: scale(1.05);
     z-index: 4;
 }

 .hero-pipeline-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 20px;
     transition: transform 0.3s ease;
     display: block;
     max-width: 100%;
     max-height: 100%;
 }

 .gallery-controls {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 100%;
     display: flex;
     justify-content: space-between;
     padding: 0 20px;
     pointer-events: none;
 }

 .gallery-nav {
     background: rgba(255, 255, 255, 0.9);
     border: none;
     border-radius: 50%;
     width: 45px;
     height: 45px;
     font-size: 22px;
     cursor: pointer;
     transition: all 0.3s ease;
     pointer-events: auto;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
 }

 .gallery-nav:hover {
     background: rgba(255, 255, 255, 1);
     transform: scale(1.1);
 }

 .gallery-indicators {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
 }

 .indicator {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .indicator.active {
     background: rgba(255, 255, 255, 1);
     transform: scale(1.2);
 }

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2, #2E5BBA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

 /* Services Section */
 .services {
     padding: 80px 0;
     background: white;
 }
 
 /* Pipeline Installation Section */
 .pipeline-installation {
     padding: 80px 0;
     background: #f8f9fa;
 }
 
 .pipeline-content {
     display: grid;
     grid-template-columns: 2fr 1fr;
     gap: 4rem;
     align-items: start;
 }
 
 .pipeline-text h3 {
     font-size: 2rem;
     color: #2c3e50;
     margin-bottom: 1.5rem;
     font-weight: 700;
 }
 
 .pipeline-text h4 {
     font-size: 1.3rem;
     color: #4A90E2;
     margin: 2rem 0 1rem 0;
     font-weight: 600;
 }
 
 .pipeline-text p {
     color: #7f8c8d;
     margin-bottom: 1.5rem;
     line-height: 1.8;
     font-size: 1.1rem;
 }
 
 .pipeline-text ul {
     list-style: none;
     margin-bottom: 2rem;
 }
 
 .pipeline-text li {
     color: #7f8c8d;
     margin-bottom: 0.8rem;
     padding-left: 1.5rem;
     position: relative;
     line-height: 1.6;
 }
 
 .pipeline-text li::before {
     content: '✓';
     position: absolute;
     left: 0;
     color: #27ae60;
     font-weight: bold;
     font-size: 1.1rem;
 }
 
 .pipeline-text li strong {
     color: #2c3e50;
     font-weight: 600;
 }
 
 .pipeline-features {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }
 
 .pipeline-features .feature-item {
     background: white;
     padding: 2rem;
     border-radius: 15px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }
 
 .pipeline-features .feature-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
 }
 
 .pipeline-features .feature-item .feature-icon {
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #e74c3c, #c0392b);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 1rem;
 }
 
 .pipeline-features .feature-item .feature-icon i {
     font-size: 1.5rem;
     color: white;
 }
 
 .pipeline-features .feature-item h4 {
     color: #2c3e50;
     margin-bottom: 0.5rem;
     font-size: 1.2rem;
     font-weight: 600;
 }
 
 .pipeline-features .feature-item p {
     color: #7f8c8d;
     line-height: 1.6;
     font-size: 0.95rem;
 }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid #4A90E2;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4A90E2, #2E5BBA);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

 /* References Section */
 .references {
     padding: 80px 0;
     background: white;
 }
 
   .references-grid {
      display: flex;
      overflow-x: auto;
      gap: 2rem;
      margin-top: 3rem;
      padding: 1rem 0;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      width: 100%;
      max-width: 100%;
  }
  
  .references-grid::-webkit-scrollbar {
      height: 8px;
  }
  
  .references-grid::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 4px;
  }
  
  .references-grid::-webkit-scrollbar-thumb {
      background: #4A90E2;
      border-radius: 4px;
  }
  
  .references-grid::-webkit-scrollbar-thumb:hover {
      background: #2E5BBA;
  }
 
   .reference-item {
      background: #f8f9fa;
      padding: 2.5rem;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid #e9ecef;
      width: calc(33.333% - 1.33rem);
      min-width: 300px;
      flex-shrink: 0;
  }
 
 .reference-item:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
     background: white;
 }
 
   .reference-logo {
      width: 180px;
      height: 120px;
      margin: 0 auto 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: white;
      border-radius: 15px;
      padding: 1.5rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
 
 .reference-image {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
     transition: transform 0.3s ease;
 }
 
 .reference-item:hover .reference-image {
     transform: scale(1.1);
 }

 .plus-symbol {
     width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     background: linear-gradient(135deg, #4A90E2, #2E5BBA);
     border-radius: 15px;
     color: white;
     font-size: 3rem;
     font-weight: 700;
     transition: transform 0.3s ease, background 0.3s ease;
 }

 .plus-symbol:hover {
     transform: scale(1.05);
     background: linear-gradient(135deg, #2E5BBA, #1e3a8a);
 }
 
 .reference-item h3 {
     color: #2c3e50;
     margin-bottom: 1rem;
     font-size: 1.3rem;
     font-weight: 600;
 }
 
 .reference-item p {
     color: #7f8c8d;
     line-height: 1.6;
     font-size: 1rem;
 }
 
 /* About Section */
 .about {
     padding: 80px 0;
     background: #f8f9fa;
 }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    background: linear-gradient(135deg, #4A90E2, #2E5BBA);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25);
}

.stat h3 {
    font-size: 3rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat p {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-pipeline-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-pipeline-image:hover {
    transform: scale(1.03);
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 280px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-pipeline-image {
    width: 1800px;
    height: 900px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    max-height: 100%;
}

.project-pipeline-image:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-content p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-category {
    background: linear-gradient(135deg, #4A90E2, #2E5BBA);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90E2, #2E5BBA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4A90E2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #4A90E2;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
}

/* Responsive Design */
 @media (max-width: 768px) {
     .hero {
         background-attachment: scroll;
     }
     
     .hero-content {
         width: 100%;
         height: auto;
         min-height: 300px;
         margin-right: 0;
         margin-bottom: 2rem;
     }
     
     .hero-image {
         max-width: 100%;
         margin-left: 0;
         justify-content: center;
     }
     
     .hero-gallery {
         height: 350px;
         max-width: 700px;
     }
     
     .gallery-item.prev {
         transform: scale(0.8) translateX(-25%);
     }
     
     .gallery-item.next {
         transform: scale(0.8) translateX(25%);
     }
     
     .gallery-nav {
         width: 35px;
         height: 35px;
         font-size: 18px;
     }
     
     .hamburger {
         display: flex;
     }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 160px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .logo-text h2 {
        font-size: 1.4rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

         .services-grid,
     .projects-grid {
         grid-template-columns: 1fr;
     }
     
     .pipeline-content {
         grid-template-columns: 1fr;
         gap: 2rem;
     }
     
     .pipeline-text h3 {
         font-size: 1.8rem;
     }
     
     .pipeline-text h4 {
         font-size: 1.2rem;
     }
     
                 .references-grid {
          gap: 1.5rem;
          padding: 0.5rem 0;
      }
      
      .reference-item {
          width: calc(50% - 0.75rem);
          min-width: 280px;
          padding: 2rem;
      }
 }

 /* Responsive styles for hero section */
 @media (max-width: 1200px) {
     .hero-container {
         gap: 2rem;
     }
     
     .hero-content {
         width: 500px;
         min-height: 450px;
         padding: 2.5rem;
     }
     
     .hero-image-gallery {
         width: 500px;
         height: 350px;
     }
 }

 @media (max-width: 992px) {
     .hero-container {
         flex-direction: column;
         gap: 3rem;
         text-align: center;
     }
     
     .hero-content {
         width: 100%;
         max-width: 600px;
         min-height: auto;
         padding: 2rem;
     }
     
     .hero-image-gallery {
         width: 100%;
         max-width: 500px;
         height: 350px;
     }
 }

 @media (max-width: 768px) {
     .hero {
         padding: 150px 0 60px;
     }
     
     .hero-content h1 {
         font-size: 2.2rem;
     }
     
     .hero-content p {
         font-size: 1rem;
     }
     
     .hero-image-gallery {
         height: 300px;
     }
     
     .gallery-nav {
         width: 40px;
         height: 40px;
         font-size: 18px;
     }
 }

 @media (max-width: 480px) {
     .container {
         padding: 0 15px;
     }
     
     .reference-item {
         width: 100%;
         min-width: 250px;
         padding: 1.5rem;
     }
     
     .hero-gallery {
         height: 280px;
         max-width: 400px;
     }
     
     .gallery-item.prev {
         transform: scale(0.75) translateX(-20%);
     }
     
     .gallery-item.next {
         transform: scale(0.75) translateX(20%);
     }
     
     .hero-content {
         padding: 1.5rem;
         width: 100%;
         height: auto;
         min-height: 250px;
     }
     
     .hero-content h1 {
         font-size: 1.5rem;
     }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .feature-card,
    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .logo-text h2 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}
