:root {
  --primary: #0f243e;
  --accent: #ff0402;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --gray-100: #f1f5f9;
  --shadow: 0 10px 25px rgba(15, 36, 62, 0.08);
  --shadow-lg: 0 25px 50px rgba(15, 36, 62, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(15, 36, 62, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.logo {
  background-color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

nav ul li a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-left: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(
      135deg,
      rgba(15, 36, 62, 0.9) 0%,
      rgba(15, 36, 62, 0.7) 100%
    ),
    url("bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 200px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin: 0 auto 40px;
  max-width: 600px;
  font-weight: 300;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 4, 2, 0.3);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: #e00300;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 4, 2, 0.4);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  color: var(--primary);
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  max-width: 700px;
  margin: 30px auto 0;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* About Section */
.about {
  background-color: var(--light-bg);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 4, 2, 0.03) 0%,
    rgba(15, 36, 62, 0.05) 100%
  );
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
  animation: fadeInLeft 1s ease;
}

.about-text h3 {
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 2.2rem;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInRight 1s ease;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transition: height 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.service-card p {
  transition: all 0.4s ease;
  line-height: 1.7;
}

/* Process Section */
.process {
  background-color: var(--light-bg);
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 36, 62, 0.05) 0%,
    rgba(255, 4, 2, 0.03) 100%
  );
  z-index: 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(15, 36, 62, 0.2);
}

.step-content {
  flex: 1;
  background-color: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* Vision Section */
.vision-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.vision-content::before {
  content: '"';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.vision-content p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Why Choose Us */
.why-choose-us {
  background: linear-gradient(135deg, var(--primary) 0%, #1a365d 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 4, 2, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.why-choose-us::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 4, 2, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.why-choose-us .section-title h2 {
  color: var(--white);
}

.why-choose-us .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature {
  text-align: center;
  padding: 40px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.feature:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 25px;
}

.feature h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--light-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.contact-icon {
  color: var(--accent);
  margin-right: 20px;
  font-size: 1.5rem;
  margin-top: 5px;
}

.contact-social {
  display: flex;
  gap: 15px;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.contact-social a:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
}

.map-container {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo h2 {
  color: var(--white);
  font-size: 2rem;
}

.footer-logo span {
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1100px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .map-container {
    width: 100%;
  }

  .hero h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
  }

  .social-links {
    margin-left: 0;
    margin-top: 20px;
    justify-content: center;
    width: 100%;
  }

  .mobile-menu {
    display: block;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 150px 0 80px;
  }

  section {
    padding: 70px 0;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}
