/* 
  Echos Solutions - Main Stylesheet
  Author: Echos Solutions Team
  Version: 1.0
*/

/* ===== CSS Variables ===== */
:root {
  /* Main color scheme */
  --primary-color: #0A1C3F; /* Navy Blue (from "ECHOS" text) */
  --secondary-color: #0E7AC4; /* Medium Blue (from the logo graphic elements) */
  --accent-color: #35B7E5; /* Light Blue (from the lighter blue sections in the logo) */
  --light-color: #FFFFFF; /* White (for backgrounds and contrast) */
  --dark-color: #333333; /* Dark Gray (for body text) */
  --gray-color: #6e7c91; /* Keep original gray */
  --light-gray-color: #F5F7FA; /* Light Gray (for subtle backgrounds) */
  
  /* Text colors */
  --text-primary: #333333; /* Dark Gray (for body text) */
  --text-secondary: #555555; /* Keep original secondary text color */
  --text-light: #FFFFFF; /* White (for contrast on dark backgrounds) */
  
  /* Font families */
  --font-primary: 'Poppins', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
}

/* ===== Base Styles ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  color: var (--dark-color);
  margin-bottom: 2rem;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

a:hover {
  color: var (--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ===== Utility Classes ===== */
.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius-md);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: #0E7AC4; /* Match to secondary color */
  color: var(--text-light);
}

.btn-secondary {
  background-color: transparent;
  color: var (--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.btn-accent:hover {
  background-color: var(--secondary-color); /* Changed from red e64a19 to secondary color */
  color: var(--text-light);
}

/* Update outline button to be white by default */
.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Improved Phone Button Styling */
.btn.btn-outline {
    border: 2px solid var(--text-light); /* Changed to white */
    background-color: transparent;
    color: var(--text-light); /* Changed to white */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color); /* Changed to primary color for better contrast */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn.btn-outline i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn.btn-outline:hover i {
    transform: scale(1.1);
}

/* Make phone button work better on mobile devices */
@media (max-width: 768px) {
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn.btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Add specific styling for hero-cta section */
.hero-cta .btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-fast);
}

.hero-cta .btn-secondary:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--text-light);
  transition: all var(--transition-fast);
  z-index: -1;
}

.hero-cta .btn-secondary:hover {
  color: var(--primary-color);
}

.hero-cta .btn-secondary:hover:before {
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 1.8rem;
  color: var(--gray-color);
}

.section-subtitle {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Header & Navigation ===== */
header {
  background-color: var(--text-light);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 6rem; 
  padding: 0.5rem 0; 
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav ul li a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark-color);
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-fast);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.nav-cta {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
}

nav ul li a.nav-cta:hover {
  background-color: #083b79; /* Darker shade of primary */
}

.menu-toggle {
  display: none;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(to right, rgba(10, 28, 63, 0.9), rgba(14, 122, 196, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 60rem;
}

.hero-content h1 {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-content p {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.hero-cta {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}

.hero-credentials {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.credential {
  background-color: rgba(255, 255, 255, 1); /* Changed from semi-transparent to solid white */
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm); /* Added subtle shadow for depth */
  width: 120px; /* Fixed width for consistent appearance */
  height: 80px; /* Fixed height for consistent appearance */
}

.credential img {
  min-width: 60px; /* Minimum width to ensure visibility */
  max-width: 100px; /* Maximum width to prevent overflow */
  min-height: 30px; /* Minimum height to ensure visibility */
  max-height: 50px; /* Maximum height to prevent overflow */
  object-fit: contain; /* Ensures the logo maintains its aspect ratio */
  display: block; /* Removes any extra space below the image */
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ===== Stats Section ===== */
.stats {
  background-color: var(--text-light);
  padding: 4rem 0;
  transform: translateY(-5rem);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-md);
}

.stats .container {
  padding: 2rem;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-color: var(--light-gray-color);
}

.stat-number {
  font-size: 3.6rem;
  font-weight: 700;
  color: var (--secondary-color);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.stat-text {
  font-size: 1.6rem;
  color: var(--gray-color);
  display: block;
  font-weight: 500;
}

/* ===== Services Section ===== */
.services {
  background-color: var(--light-color);
  padding-top: 5rem;
}

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

.service-card {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--secondary-color);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  background-color: rgba(0, 162, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 2.5rem;
}

.service-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.service-card p {
  margin-bottom: 2rem;
}

.service-features {
  margin-bottom: 2.5rem;
}

.service-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--secondary-color);
  margin-right: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.read-more:hover i {
  transform: translateX(5px);
}

.services-cta {
  text-align: center;
  margin-top: 5rem;
}

/* ===== Services Carousel ===== */
.services-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.services-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.service-slide {
  min-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  gap: 2rem; /* Increased gap for better touch targets */
}

.service-nav-btn {
  width: 5rem; /* Increased size for better touch targets */
  height: 5rem; /* Increased size for better touch targets */
  border-radius: 50%;
  background-color: var(--text-light);
  border: none;
  box-shadow: var(--shadow-sm);
  color: var(--primary-color);
  font-size: 1.8rem; /* Increased size for visibility */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10; /* Ensure buttons are clickable */
  position: relative; /* Ensure proper z-index application */
}

.service-nav-btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  transform: scale(1.1); /* Added scale effect on hover */
}

/* Make the entire button clickable, not just the icon */
.service-nav-btn i {
  pointer-events: none;
}

.service-indicator {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.service-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--light-gray-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

@media screen and (min-width: 992px) {
  .service-slide {
    min-width: 33.333%;
  }
}

/* ===== Process Section ===== */
.process {
  background-color: var(--text-light);
  position: relative;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--light-gray-color);
  z-index: 1;
}

.process-step {
  display: flex;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* ===== Case Studies Section ===== */
.case-studies {
  background-color: var(--light-color);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.case-study-card {
  background-color: var(--text-light);
  border-radius: var (--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.case-img {
  height: 25rem;
  position: relative;
  overflow: hidden;
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.case-study-card:hover .case-img img {
  transform: scale(1.1);
}

.industry-tag {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
}

.case-content {
  padding: 2.5rem;
}

.case-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.case-results {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.result {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(0, 162, 255, 0.1);
  border-radius: var(--border-radius-sm);
}

.result-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.result-text {
  font-size: 1.4rem;
  color: var(--gray-color);
}

.case-studies-cta {
  text-align: center;
  margin-top: 5rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
  background-color: var(--dark-color);
  color: var(--text-light);
  position: relative;
}

.testimonials .section-header h2 {
  color: var(--text-light);
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-carousel {
  max-width: 90rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 4rem;
  margin-bottom: 3rem;
}

.testimonial-content {
  position: relative;
  margin-bottom: 3rem;
}

.testimonial-content i {
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.5;
  position: absolute;
  top: -1rem;
  left: -1rem;
}

.testimonial-content p {
  font-size: 1.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.client-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.client-info img {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}

.client-info h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.client-info p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.rating {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.prev-btn, .next-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-light);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.6rem;
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--secondary-color);
}

.carousel-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.dot.active {
  background-color: var(--secondary-color);
}

/* ===== Partners Section ===== */
.partners {
  background-color: var(--text-light);
  padding: 6rem 0;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5rem;
}

.partner {
  flex: 0 0 15rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner img {
  width: 100%;
  height: auto;
  min-width: 120px;  /* Added minimum width */
  max-width: 180px;  /* Added maximum width */
  object-fit: contain;  /* Ensures the image maintains its aspect ratio */
  display: block;  /* Removes any extra space below the image */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .partner img {
    min-width: 100px;
    max-width: 150px;
  }
}

/* ===== Blog Preview Section ===== */
.blog-preview {
  background-color: var(--light-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.blog-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  height: 22rem;
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
}

.blog-content {
  padding: 2.5rem;
}

.blog-date {
  display: block;
  color: var(--gray-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.blog-date i {
  margin-right: 0.5rem;
}

.blog-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.blog-cta {
  text-align: center;
  margin-top: 5rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.cta-content {
  flex: 2;
}

.cta-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cta-content h2 {
  color: var(--text-light);
  font-size: 3.6rem;
  margin-bottom: 2rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 8rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-company-info img {
  height: 5rem;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

.footer-company-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 5rem;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links ul li a,
.footer-services ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-contact i {
  color: var(--accent-color);
}

.footer-newsletter {
  margin-top: 3rem;
}

.footer-newsletter h4 {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
}

.form-group input {
  flex: 1;
  padding: 1.2rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  outline: none;
}

.form-group button {
  padding: 1.2rem 1.8rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--text-light);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.form-group button:hover {
  background-color: #0E7AC4; /* Match to secondary color */
}

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 1.5rem;
  transition: all var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 1200px) {
  html {
    font-size: 60%;
  }
  
  .hero-content h1 {
    font-size: 4.2rem;
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-credentials {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2n)::after {
    display: none;
  }
  
  .process-steps::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .cta-section .container {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  section {
    padding: 6rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    box-shadow: var(--shadow-md);
    height: 0;
    overflow: hidden;
    transition: height var(--transition-normal);
    z-index: 100;
  }
  
  nav.active {
    height: auto;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    align-items: flex-start;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: 1rem 0;
  }
  
  nav ul li a.nav-cta {
    display: inline-block;
    margin-top: 1rem;
  }
  
  .hero-content h1 {
    font-size: 3.6rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .hero-credentials {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .credential {
    width: 100px; /* Slightly smaller on mobile */
    height: 70px; /* Slightly smaller on mobile */
  }
  
  .credential img {
    min-width: 50px;
    max-width: 80px;
    min-height: 25px;
    max-height: 40px;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .stats {
    transform: translateY(0);
    border-radius: 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .case-studies-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .logo img {
    height: 5rem; /* Slightly smaller on mobile but still prominent */
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  .testimonial {
    padding: 3rem 2rem;
  }
  
  .client-info {
    flex-direction: column;
    text-align: center;
  }
  
  .client-info img {
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    margin-top: 1.5rem;
  }
  
  .footer-legal a {
    margin: 0 1rem;
  }
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(to right, rgba(10, 28, 63, 0.9), rgba(14, 122, 196, 0.8)), url('../images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 8rem 0;
  color: var(--text-light);
}

.page-header h1 {
  color: var(--text-light);
  font-size: 4.8rem;
  margin-bottom: 1.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto;
}

/* ===== Services Detail Page ===== */
.services-detail {
  padding: 8rem 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 8rem;
  align-items: center;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-content {
  order: 2;
}

.service-item.reverse .service-image {
  order: 1;
}

.service-content h2 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.service-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 3px;
  background-color: var(--secondary-color);
}

.service-content p {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.service-features {
  margin-bottom: 3rem;
}

.service-features li {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--secondary-color);
  margin-right: 1.5rem;
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.service-image:hover img {
  transform: scale(1.05);
}

/* Responsive styles for services page */
@media screen and (max-width: 992px) {
  .service-item, 
  .service-item.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-item.reverse .service-content,
  .service-item.reverse .service-image,
  .service-content,
  .service-image {
    order: 0;
  }
  
  .service-content {
    text-align: center;
  }
  
  .service-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .service-features li {
    justify-content: center;
  }
}

/* ===== Contact Form Styles ===== */
.contact-section {
  padding: 8rem 0;
  background-color: var(--light-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-form {
  background-color: var(--text-light);
  padding: 4rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray-color); /* Added border for better visibility */
}

.contact-form h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.contact-form h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 3px;
  background-color: var(--secondary-color);
}

.contact-form p {
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

.form-row {
  margin-bottom: 2.5rem;
}

.form-label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1.5rem;
  border: 2px solid #e0e5ec; /* Changed border color for better visibility */
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  background-color: #fcfcfd; /* Very subtle light background */
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(14, 122, 196, 0.1);
  background-color: white;
}

.form-textarea {
  resize: vertical;
  min-height: 15rem;
}

/* Add field highlights on hover for better UX */
.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: #c0c7d0;
}

.form-message {
  margin-bottom: 2rem;
}

.alert {
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 2rem;
}

.alert-success {
  background-color: rgba(46, 175, 109, 0.1);
  color: #2eaf6d;
  border: 1px solid rgba(46, 175, 109, 0.3);
}

.alert-error {
  background-color: rgba(239, 83, 80, 0.1);
  color: #ef5350;
  border: 1px solid rgba(239, 83, 80, 0.3);
}

.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
  padding: 1rem;
  background-color: #f7f9fc; /* Light background for Turnstile container */
  border-radius: var(--border-radius-sm);
  border: 1px dashed #d0d9e6; /* Dashed border for Turnstile section */
}

.form-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--secondary-color);
  margin-top: 1.5rem;
}

.form-loading i {
  animation: spin 1s linear infinite;
}

/* Submit button styling enhancement */
#submit-btn {
  padding: 1.5rem 3rem;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact-info {
  padding: 4rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-md);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/world-map.png') no-repeat center;
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.contact-info-content {
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: 3.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.6rem;
  margin-bottom: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 2.2rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.info-text h4 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.info-text p {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.map-section {
  padding: 0;
}

.map-container {
  height: 45rem;
  width: 100%;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    order: 2;
  }
  
  .contact-info {
    order: 1;
  }
}

@media screen and (max-width: 576px) {
  .contact-form, 
  .contact-info {
    padding: 3rem 2rem;
  }
}

/* ===== About Page Styles ===== */
.about-intro {
  padding: 8rem 0;
  background-color: var(--light-color);
}

.section-header.text-left {
  text-align: left;
  max-width: 100%;
}

.section-header.text-left h2 {
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-header.text-left h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 3px;
  background-color: var(--secondary-color);
}

@media screen and (max-width: 768px) {
  .section-header.text-left {
    text-align: center;
  }
  
  .section-header.text-left h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.about-stats-container {
  margin-top: 5rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: space-between;
  background-color: var(--text-light);
  padding: 4rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.about-stat {
  flex: 1;
  min-width: 15rem;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.about-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-color: var(--light-gray-color);
}

.about-stat-number {
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: block;
}

.about-stat-text {
  font-size: 1.6rem;
  color: var(--gray-color);
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .section-header.text-left {
    text-align: center;
  }
  
  .section-header.text-left h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-stats {
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-stat:not(:last-child)::after {
    content: none;
  }
}

/* Mission & Vision Section */
.mission-vision {
  background-color: var(--light-color);
  padding: 6rem 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.mission-box, 
.vision-box {
  background-color: var(--text-light);
  padding: 4rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal);
  border-bottom: 4px solid var(--secondary-color);
}

.mission-box:hover,
.vision-box:hover {
  transform: translateY(-10px);
}

.mission-icon,
.vision-icon {
  font-size: 3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.mission-box h2,
.vision-box h2 {
  margin-bottom: 2rem;
  font-size: 2.8rem;
}

/* Values Section */
.values-section {
  background-color: var(--text-light);
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3rem;
}

.value-item {
  background-color: #f9fbfd;
  padding: 4rem 3rem;
  border-radius: var (--border-radius-md);
  text-align: center;
  transition: all var(--transition-normal);
  border-bottom: 3px solid transparent;
}

.value-item:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: rgba(14, 122, 196, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.value-item h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
  background-color: var(--light-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 4rem;
}

.team-member {
  background-color: var(--text-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.member-img {
  height: 25rem;
  overflow: hidden;
}

.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-member:hover .member-img img {
  transform: scale(1.05);
}

.member-info {
  padding: 2.5rem;
  text-align: center;
}

.member-info h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.member-role {
  display: block;
  color: var(--secondary-color);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.member-info p {
  font-size: 1.6rem;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 3rem;
  }
}

/* ===== JavaScript Animation Classes ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}
