/* ===========================
   ROOT & GLOBAL STYLES
   =========================== */

:root {
  --primary-color: #2872af;
  --primary-dark: #1e5a8a;
  --primary-light: #3d8fd9;
  --secondary-color: #f5f5f5;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --spacing-unit: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.4s ease-out;
  padding: 2rem 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-image {
  height: 100px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.nav-phone {
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  white-space: nowrap;
}

.nav-phone:hover {
  background-color: var(--primary-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 60px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero-alt {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 100px var(--spacing-unit);
}

.hero-content {
  animation: fadeInLeft 0.6s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  animation: fadeInRight 0.6s ease-out;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(40, 114, 175, 0.15);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@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);
  }
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 114, 175, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
  padding: 80px var(--spacing-unit);
  background-color: #ffffff;
}

.services h2,
.services-list > h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(40, 114, 175, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   WHY CHOOSE SECTION
   =========================== */

.why-choose {
  padding: 80px var(--spacing-unit);
  background-color: #f5f5f5;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.why-text > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.feature-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-label {
  color: var(--text-light);
  font-weight: 500;
}

.why-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(40, 114, 175, 0.15);
}

/* ===========================
   FREE SERVICES SECTION
   =========================== */

.free-services {
  padding: 80px var(--spacing-unit);
  background-color: #ffffff;
}

.free-services h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-item:hover {
  background-color: #f0f0f0;
  transform: translateX(5px);
}

.service-check {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.service-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--text-light);
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
  padding: 80px var(--spacing-unit);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-section {
  padding: 80px var(--spacing-unit);
  background-color: #ffffff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(40, 114, 175, 0.15);
}

/* ===========================
   MISSION SECTION
   =========================== */

.mission-section {
  padding: 80px var(--spacing-unit);
  background-color: #f5f5f5;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.mission-text > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.values-list {
  display: grid;
  gap: 1.5rem;
}

.value-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.value-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--text-light);
}

/* ===========================
   EXPERTISE SECTION
   =========================== */

.expertise-section {
  padding: 80px var(--spacing-unit);
  background-color: #ffffff;
}

.expertise-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.expertise-card {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.expertise-card:hover {
  background-color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(40, 114, 175, 0.15);
}

.expertise-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.expertise-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   TECHNOLOGY SECTION
   =========================== */

.technology-section {
  padding: 80px var(--spacing-unit);
  background-color: #f5f5f5;
  text-align: center;
}

.technology-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.technology-section > p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.tech-feature {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.tech-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(40, 114, 175, 0.2);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tech-feature h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tech-feature p {
  color: var(--text-light);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
  padding: 80px var(--spacing-unit);
  background-color: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 114, 175, 0.1);
}

.form-message {
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-item p,
.info-item a {
  color: var(--text-light);
  line-height: 1.8;
}

.info-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.info-item a:hover {
  text-decoration: underline;
}

.services-checklist {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.services-checklist li {
  color: var(--text-light);
  padding-left: 1.5rem;
  position: relative;
}

.services-checklist li::before {
  content: "✓";
  color: var(--success-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.map-wrapper {
  margin-top: 3rem;
}

.map-wrapper h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* ===========================
   WHY CONTACT SECTION
   =========================== */

.why-contact {
  padding: 80px var(--spacing-unit);
  background-color: #f5f5f5;
}

.why-contact h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.contact-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.reason {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.reason:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(40, 114, 175, 0.2);
}

.reason-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.reason h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.reason p {
  color: var(--text-light);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px var(--spacing-unit) 20px;
}
.footer-logo-image {
  width: 250px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: white;
    gap: 0;
    padding: 1rem 0;
    transition: left 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    padding: 1rem;
    width: 100%;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background-color: #f5f5f5;
  }

  .nav-phone {
    margin: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 40px var(--spacing-unit);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .why-content,
  .mission-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .expertise-grid,
  .tech-features,
  .contact-reasons {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .services h2,
  .services-list > h2,
  .mission-section h2,
  .about-section h2,
  .expertise-section h2,
  .technology-section h2,
  .why-contact h2 {
    font-size: 1.8rem;
  }
  .logo-image {
    width: 300px;
    height: 60px;
  }

  .map-wrapper iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .services h2,
  .mission-section h2,
  .about-section h2 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .why-features {
    grid-template-columns: 1fr;
  }
}
