:root {
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --text: #1e293b;
  --text-secondary: #475569;
  --muted: #64748b;
  --primary: #3293ac;
  --primary-2: #2563eb;
  --primary-3: #1d4ed8;
  --accent: #10b981;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --card-hover: #f8fafc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

main {
  flex: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.navbar-brand {
  flex-shrink: 0;
}

.logo img {
  width: 200px;
  display: block;
}

.nav-menu-wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  padding: 8px 6px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.cta-button .btn {
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
}

.cta-button .btn:hover {
  background: var(--primary-2);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
}

.dropdown-menu a:hover {
  background: var(--bg-3);
  color: var(--text);
}

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 60%);
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-2);
  border-color: var(--primary-2);
}

.btn-outline {
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--text-secondary);
}

.services {
  padding: 50px 0;
}

.services h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(50, 147, 172, 0.1);
}

.service-img-wrapper {
  overflow: hidden;
  height: 220px;
  width: 100%;
  background: #f1f5f9;
  position: relative;
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-img-wrapper::after {
  opacity: 1;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3, 
.service-card h4 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.service-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin-top: auto;
  transition: color 0.2s ease;
}

.read-more-link i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.read-more-link:hover {
  color: var(--primary-2);
}

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

.about {
  padding: 50px 0;
}

.about h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.about p {
  color: var(--muted);
}

.page-hero {
  padding: 70px 0 30px;
  background: var(--bg-2);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.page-content {
  padding: 40px 0;
}

.content-block h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.content-block p {
  color: var(--muted);
}

.contact-section {
  padding: 40px 0;
}

.contact-form {
  background: var(--card-bg);
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
}

.form-status.success {
  color: #22c55e;
}

.form-status.error {
  color: #ef4444;
}

.footer {
    background: #09191e;
    color: #ffffff;
    padding: 20px 0;
    margin-top: 80px;
}

.footer-bottom {
    border-top: none;
    padding: 0;
    color: #94a3b8;
}

.footer-policy .copyright {
    color: #94a3b8;
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #3293ac;
    transform: translateY(-1px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #3293ac;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(50, 147, 172, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Desktop Services Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 200px;
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

/* Spinner for button */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
  margin-right: 5px;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* Service Wide Card Design */
.service-wide-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-wide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.icon-box {
    width: 64px;
    height: 64px;
    background-color: #e0f2fe; /* Light blue */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.service-wide-card:hover .icon-box {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.service-wide-img {
    overflow: hidden;
}

.service-wide-img img {
    transition: transform 0.6s ease;
}

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

/* Service Cards Styling */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.service-card-content {
    padding: 30px 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(50, 147, 172, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: none;
}

.service-card .service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    transition: none;
}

/* Wave Divider Fix */
.wave-divider {
  z-index: -1;
  line-height: 0;
  pointer-events: none;
}

.hero-banner {
  padding-bottom: 100px !important;
}
