/* Base Styles */
:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;
  --info: #2980b9;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  padding-top: 56px; /* For fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #191970;
}

.navbar-custom-color {
  background-color: midnightblue;
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  color: 191970;
}

.section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: 191970;
}

.section-subtitle {
  color: #777;
  font-size: 1.1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: red;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Sections */
.hero-section {
  padding: 100px 0;
  background: linear-gradient(135deg,  0%,  100%);
}

.hero-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.interactive-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 10;
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid rgba(0,0,0,0.05);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-icon i {
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
  
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: blue;
  border-color: #191970;
}

.btn-primary:hover {
  background-color: red;
  border-color: red;
  transform: translateY(-2px);
}

.btn-outline-light:hover {
  color: red;
  background-color: red;
}


/* Forms */
.form-control, .form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Testimonials */
.testimonial-item {
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-author img {
  border: 3px solid var(--secondary);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary);
  margin-left: -1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-date {
  position: absolute;
  left: 50%;
  width: 120px;
  text-align: center;
  background: var(--secondary);
  color: white;
  padding: 5px 10px;
  border-radius: 50px;
  font-weight: bold;
  transform: translateX(-50%);
}

.timeline-content {
  width: calc(50% - 30px);
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

/* Responsive adjustments */
@media (max-width: 767px) {
     .service-image {
    height: 150px;
  }
  
  .service-content h5 {
    font-size: 1rem;
  }
  .timeline:before {
    left: 30px;
  }
  
  .timeline-date {
    left: 30px;
    text-align: left;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    float: right !important;
    margin-left: 80px;
  }
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
}

footer a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: red;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: red;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Utility Classes */
.rounded-lg {
  border-radius: 15px;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.shadow {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.shadow-lg {
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Contact Page Specific */
.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: red;
  transform: translateY(-3px);
  color: white;
}

/* Careers Page Specific */
.accordion-button:not(.collapsed) {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--dark);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Policies Page Specific */
.policy-content h3 {
  color: var(--secondary);
  padding-top: 10px;
  margin-top: 20px;
  border-top: 1px solid #eee;
}

/* Service Page Specific */
.service-icon-lg {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-features {
  list-style-type: none;
  padding-left: 0;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
}

/* Service Card Styles */
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  text-decoration: none;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-card:hover .service-content {
  transform: translateY(0);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.image-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 82, 147, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.service-content {
  text-align: center;
  padding: 15px;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.service-content h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: white;
}

.service-link {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

/* Letter Section Styles */
.letter-section {
  position: relative;
  overflow: hidden;
}

.letter-card {
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid 191970; /* Baker Hughes blue */
  position: relative;
}


.letter-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}

.signature-img {
  filter: grayscale(100%);
  opacity: 0.9;
}

/* Stats Styles */
.stat-number {
  color: 191970;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Quote Card Styles */
.quote-card {
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-top-color: 191970;
}

.quote-icon {
  color: 191970;
  font-size: 1.8rem;
  opacity: 0.2;
}

blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #444;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid #eee;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .letter-text p {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .letter-card {
    padding: 2rem;
  }
}

/* News Slider Styles */
.news-section {
  position: relative;
}

.news-slider {
  padding: 20px 0;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: 191970;
  color: red;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.news-date .day {
  font-size: 1.2rem;
  font-weight: bold;
}

.news-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.news-content p {
  color: #666;
  margin-bottom: 15px;
}

.news-link {
  color: 191970;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.news-link:hover {
  text-decoration: underline;
}

.swiper-button-next, 
.swiper-button-prev {
  color: 191970;
  background: rgba(255,255,255,0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after, 
.swiper-button-prev::after {
  font-size: 1.2rem;
}

 /*CSS for the slider (add to your stylesheet) */
.swiper-container {
  padding: 20px 0;
}

.swiper-slide {
  height: auto;
}

.swiper-button-next, 
.swiper-button-prev {
  color: 191970;
  background: rgba(255,255,255,0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after, 
.swiper-button-prev::after {
  font-size: 1.2rem;
}

@media (max-width: 767px) {
  .swiper-button-next, 
  .swiper-button-prev {
    display: none;
  }
}




/* About Section Styles */
.about-image {
  position: relative;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #191970;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.experience-badge span {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.experience-badge small {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.feature-item {
  display: flex;
  margin-bottom: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 82, 147, 0.1);
  color: 191970;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #333;
}

/* Careers Section Styles */
.career-image {
  position: relative;
}

.career-stats {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
}

.stat-item {
  background: white;
  color: 191970;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 30%;
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  margin-bottom: 0;
  text-transform: uppercase;
}

.highlight-item {
  display: flex;
  margin-bottom: 20px;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.highlight-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: white;
}

/* Sustainability Timeline */
.sustainability-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #eee;
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 20px;
  position: relative;
}

.timeline-item.left {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
  padding-left: 60px;
}

.timeline-content {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item.left .timeline-content:after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #f8f9fa;
  transform: translateY(-50%);
}

.timeline-item.right .timeline-content:after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #f8f9fa;
  transform: translateY(-50%);
}

.timeline-content h3 {
  color: 191970;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.timeline-image {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-image img {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-right: 20px !important;
    padding-left: 60px !important;
  }
  
  .timeline-progress {
    left: 30px;
  }
  
  .timeline-item.left .timeline-content:after {
    right: auto;
    left: -10px;
    border-left: none;
    border-right: 10px solid #f8f9fa;
  }
}

@media (max-width: 768px) {
  .news-image {
    height: 150px;
  }
  
  .experience-badge {
    right: 10px;
    padding: 10px 15px;
  }
  
  .career-stats {
    position: relative;
    bottom: auto;
    margin-top: 20px;
  }
  
  .stat-item {
    width: auto;
    padding: 10px 15px;
  }
}


/* Improved Divider CSS */
.section-divider {
    width: 100%;
    height: 80px;
    background: #f8f9fa;
    position: relative;
    margin-top: -1px;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
}

/* For modern browsers */
@supports (mask-image: paint(smooth-corners)) {
    .section-divider {
        clip-path: none;
        mask-image: paint(smooth-corners);
        --smooth-corners: 4;
        height: 60px;
        border-radius: 0 0 50% 50%/0 0 30px 30px;
    }
}

/* Fallback for older browsers */
.services-overview {
    position: relative;
    z-index: 1;
}

.careers-section {
    position: relative;
    z-index: 2;
}