/* ===== VARIABLES ===== */
:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --secondary: #ff6b35;
  --accent: #00b4d8;
  --text: #2d3748;
  --text-light: #718096;
  --light: #f7fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

a:hover {
  color: var(--primary-dark);
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-pretitle {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-transform: capitalize;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 5rem 0 8rem;
  background-color: var(--light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 180px;
}

.hero-cta .btn i {
  margin-right: 8px;
  font-size: 1.1em;
}

.hero-cta .btn-primary {
  background: var(--secondary);
  border: 2px solid var(--secondary);
  color: white;
}

.hero-cta .btn-outline {
  background: var(--secondary);
  border: 2px solid var(--secondary);
  color: white;
  box-shadow: var(--shadow);
}

.hero-cta .btn-outline:hover {
  background: #e0661a; /* Slightly darker shade of the secondary color */
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.trust-item i {
  color: var(--secondary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

/* ===== TRUSTED BY SECTION ===== */
.trusted-by {
  padding: 3rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.clients-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.client-logo {
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
  max-width: 150px;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--light);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary);
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: var(--white);
}

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

.testimonial-card {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 4rem;
  color: rgba(0, 86, 179, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

.rating {
  color: #fbbf24;
  margin-top: 0.5rem;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-dots.svg') repeat;
  opacity: 0.1;
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.cta .btn {
  background-color: var(--white);
  color: var(--primary);
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
  color: var(--primary-dark);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 600px;
    margin: 0 auto;
    transform: none;
  }
  
  .hero-image:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    max-width: 100%;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
  
  .trust-item {
    justify-content: center;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* ===== TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.team-member {
  perspective: 1000px;
  margin-bottom: 2rem;
}

.member-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-member:hover .member-card {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.member-photo {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #f8f9fa;
}

.team-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.social-links {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 1.5rem 1rem 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.team-member:hover .social-links {
  opacity: 1;
  transform: translateY(0);
}

.social-links a {
  color: white;
  background: var(--primary-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.member-info {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-info h3 {
  margin: 0 0 0.3rem;
  color: var(--text);
  font-size: 1.4rem;
}

.position {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.member-details {
  margin: 0 0 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.member-details p {
  margin: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.member-details i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.member-bio {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== CLIENT CAROUSEL ===== */
.client-carousel {
  margin: 3rem 0;
  position: relative;
}

.client-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin: 0 1rem;
  transition: var(--transition);
  height: 100%;
  display: flex !important;
  flex-direction: column; 
}

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

.client-logo {
  
  width: 100%;
  max-width: 400px;
  height: 300px;
  margin: 0 auto 2rem;
  border-radius: 15px;
  background: #f8f9fa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  
}

.client-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 6px;
}

.client-card:hover .client-logo img {
  transform: scale(1.08); /* Slightly more zoom on hover */
}

.client-content {
  flex: 1;
  text-align: center;
}

.client-content h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.client-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

.client-category {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Slick Carousel Custom Styles */
.slick-slide {
  padding: 10px;
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 1;
  background: var(--primary);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.slick-prev:hover,
.slick-next:hover {
  background: var(--primary-dark);
}

.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

.slick-prev:before,
.slick-next:before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.2rem;
  opacity: 1;
}

.slick-prev:before {
  content: '\f053';
}

.slick-next:before {
  content: '\f054';
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .slick-prev {
    left: -20px;
  }
  
  .slick-next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .client-card {
    margin: 0 0.5rem;
    padding: 1.5rem;
  }
  
  .client-logo {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .slick-prev,
  .slick-next {
    width: 35px;
    height: 35px;
  }
  
  .slick-prev {
    left: -15px;
  }
  
  .slick-next {
    right: -15px;
  }
}
