/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e88e5;
  --secondary-color: #e3f2fd;
  --dark-color: #121212;
  --text-color: #333;
  --light-text: #fff;
  --gray-text: #6c757d;
  --border-color: #e9ecef;
  --mint-color: #e3f2fd;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
  line-height: 1.3;
}

p {
  margin-bottom: 15px;
}

section {
  padding: 60px 0;
}

.section-label {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.line {
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  margin-right: 15px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background-color: #fff;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar .nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.navbar .nav-links a:hover {
  color: var(--primary-color);
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Expertise Hero Section */
.expertise-hero {
  background-color: var(--secondary-color);
  padding: 120px 0 80px;
  margin-top: 80px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
  min-height: 400px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.hero-text {
  flex: 1;
  position: relative;
}

.hero-text::before {
  content: "";
  position: absolute;
  top: -30px;
  right: 0;
  width: 120px;
  height: 120px;
  background-color: #90caf9;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
}

.hero-text h1 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gray-text);
}

/* Service Sections */
.service-section {
  padding: 80px 0;
}

.service-content {
  display: flex;
  align-items: center;
  gap: 50px;
  min-height: 400px;
}

.service-content.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
}

.service-number {
  font-size: 18px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-text h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 20px;
  font-weight: 700;
}

.service-text p {
  margin-bottom: 20px;
  color: var(--gray-text);
  line-height: 1.7;
}

.service-list {
  margin-bottom: 30px;
}

.service-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 0;
}

.bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.bullet.blue {
  background-color: var(--primary-color);
}

.btn-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-more:hover {
  background-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

.service-image {
  flex: 1;
}

.service-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #f8f9fa;
}

.cta-section h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--gray-text);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
}

.btn-contact {
  display: inline-block;
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 15px 35px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-contact:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(18, 18, 18, 0.3);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #ccc;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-column p {
  color: #ccc;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-column p i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #ccc;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero-content,
  .service-content,
  .service-content.reverse {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .hero-content,
  .service-content,
  .service-content.reverse {
    flex-direction: column;
    text-align: center;
  }

  .hero-image,
  .service-image {
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text::before {
    width: 80px;
    height: 80px;
    top: -20px;
    right: 20px;
  }

  .service-content.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar .nav-links {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .navbar .nav-links li {
    border-bottom: 1px solid var(--border-color);
  }

  .navbar .nav-links li:last-child {
    border-bottom: none;
  }

  .navbar .nav-links a {
    display: block;
    padding: 15px 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .expertise-hero {
    padding: 100px 0 60px;
  }

  .hero-text h1,
  .service-text h2,
  .cta-section h2 {
    font-size: clamp(20px, 5vw, 24px);
  }

  .hero-text p,
  .service-text p {
    font-size: clamp(14px, 3vw, 16px);
  }

  section {
    padding: 40px 0;
  }

  .service-section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero-content,
  .service-content {
    gap: 20px;
  }

  .hero-text::before {
    width: 60px;
    height: 60px;
    top: -15px;
    right: 10px;
  }

  .btn-more,
  .btn-contact {
    padding: 10px 20px;
    font-size: 13px;
  }

  .social-icons {
    justify-content: center;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .expertise-hero {
    padding: 90px 0 50px;
  }

  .service-section {
    padding: 50px 0;
  }

  .cta-section {
    padding: 60px 0;
  }

  footer {
    padding: 60px 0 20px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img:not([src]) {
  opacity: 0;
}