/* ============================
         Root Variables
      ============================ */
:root {
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent-color: #10b981;

  --dark-color: #1e293b;
  --gray-color: #64748b;
  --light-color: #f8fafc;
  --secondary-color: #f1f5f9;

  --border-color: #e2e8f0;
  --radius: 0.75rem;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
         Base Reset & Animations
      ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================
         Layout
      ============================ */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ============================
         Header / Navbar
      ============================ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  transition: var(--transition);
}

.logo img {
  height: 70px;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 60px;
}

.nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav ul li a {
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
  width: 100%;
}

.nav ul li a:hover,
.nav ul li a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================
         Page Header
      ============================ */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-in-out;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ============================
         Services Content
      ============================ */
.services-content {
  padding: 5rem 0;
}

.section {
  max-width: 1000px;
  margin: 0 auto 3rem;
  background: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out backwards;
}

.section:nth-child(1) {
  animation-delay: 0.1s;
}
.section:nth-child(2) {
  animation-delay: 0.2s;
}
.section:nth-child(3) {
  animation-delay: 0.3s;
}

.section:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.section h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  font-weight: 700;
}

.section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin-top: 0.8rem;
  border-radius: 2px;
  animation: slideIn 1s ease forwards;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
  line-height: 1.7;
  font-size: 1.05rem;
}

.section ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.1rem;
  top: 2px;
}

.section ul li strong {
  color: var(--dark-color);
  font-weight: 700;
}

.contact-cta {
  background: linear-gradient(135deg, var(--secondary-color), #e0f2fe);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.contact-cta p {
  font-size: 1.05rem;
  margin: 0;
}

.contact-cta strong {
  color: var(--primary-color);
  font-weight: 700;
}

.contact-cta a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition);
}

.contact-cta a:hover {
  color: var(--primary-dark);
}

/* ============================
         Footer
      ============================ */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, white, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.links-column h3 {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  color: var(--primary-light);
}

.links-column a {
  display: block;
  margin: 0.6rem 0;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
  padding-left: 0;
}

.links-column a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* ============================
         Responsive Design
      ============================ */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    background: white;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav ul li a {
    font-size: 1.1rem;
  }

  .page-header {
    padding-top: 8rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .section {
    padding: 1.5rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .section ul li {
    font-size: 1rem;
    padding-left: 2rem;
  }
}

/* Smooth Scroll Enhancement */
html {
  scroll-padding-top: 100px;
}
