:root {
  --primary: #0a192f;
  --secondary: #e63946;
  --secondary-hover: #d62828;
  --accent: #457b9d;
  --accent-light: #a8dadc;
  --bg-color: #f8f9fa;
  --text-main: #2b2d42;
  --text-light: #8d99ae;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  color: var(--text-main);
  background: var(--bg-color);
}

h1, h2, h3, h4, .logo, .badge, .btn {
  font-family: 'Outfit', sans-serif;
}

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background: var(--white);
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 24px;
}

.text-accent {
  color: var(--secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 24px 0;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}

#navbar.scrolled .logo,
#navbar.scrolled .nav-links a,
#navbar.scrolled .mobile-menu-btn {
  color: var(--primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: var(--transition);
}

.logo svg {
  stroke: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-content p {
  color: var(--accent-light);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(230, 57, 70, 0.2);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-item .icon {
  width: 20px;
  height: 20px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2;
}

/* Services */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

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

.service-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.service-icon {
  position: absolute;
  bottom: -24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.service-content {
  padding: 40px 32px 32px;
}

.service-link {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}

.service-link:hover {
  text-decoration: underline;
}

/* Why Us Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-list li {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(69, 123, 157, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.feature-text h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.feature-text p {
  margin-bottom: 0;
  font-size: 1rem;
}

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

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--secondary);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: rotate(-5deg);
}

.experience-badge .num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Contact */
.contact-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.contact-info {
  background: var(--primary);
  color: var(--white);
  padding: 64px 48px;
}

.contact-info p {
  color: var(--accent-light);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  align-items: flex-start;
}

.info-item .icon {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 4px;
}

.info-item h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.info-item p {
  margin-bottom: 0;
  color: var(--white);
}

.contact-form {
  padding: 64px 48px;
  background: var(--white);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #f8fafc;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--accent-light);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.footer-links a {
  display: block;
  color: var(--accent-light);
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--accent-light);
  font-size: 0.875rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .split-layout,
  .contact-card,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .experience-badge {
    left: 24px;
    bottom: 24px;
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links, .cta-btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
    color: var(--primary);
  }

  #navbar:not(.scrolled) .mobile-menu-btn {
    color: var(--white);
  }

  .hero-buttons {
    flex-direction: column;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .contact-info, .contact-form {
    padding: 40px 24px;
  }
}
