:root {
  --primary: #0056b3;
  --secondary: #4c698d;
  --accent: #043d4d;
  --light: #f8f9fa;
  --dark: #343a40;
  --success: #28a745;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 5px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  transition: all 0.3s ease;
}

header.scrolled .header-container {
  padding: 5px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  margin-right: 0px;
}

header.scrolled .logo {
  font-size: 24px;
}

header.scrolled .logo-img {
  height: 30px;
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s;
}

.mobile-menu:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 180px 20px 100px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.hero .btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.hero.animated h1,
.hero.animated p,
.hero.animated .btn {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #102930;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
  background-color: var(--accent);
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

/* About Section */
.section {
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--secondary);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section-title.animated h2 {
  opacity: 1;
  transform: translateY(0);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent);
  transition: width 0.5s ease;
}

.section-title h2:hover::after {
  width: 120px;
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.about-image {
  flex: 1;
  min-width: 300px;
  perspective: 1000px;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.about-content.animated .about-text,
.about-content.animated .about-image {
  opacity: 1;
  transform: translateX(0);
}

.about-text h3 {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

.about-image:hover img {
  transform: rotateY(10deg) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
  background-color: var(--light);
}

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

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

.services-grid.animated .service-card {
  opacity: 1;
  transform: translateY(0);
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  background-color: var(--primary);
  color: white;
  font-size: 40px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background-color: var(--accent);
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  transition: color 0.3s;
}

.service-card:hover .service-content h3 {
  color: var(--primary);
}

/* Experience Section */
.experience {
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.experience p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.experience.animated p {
  opacity: 1;
  transform: translateY(0);
}

.highlight {
  color: var(--primary);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.highlight:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* FAQ Section */
.faq {
  background-color: var(--light);
}

.faq-item {
  background-color: white;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.faq-container.animated .faq-item {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background-color: var(--primary);
  color: white;
  transition: all 0.3s;
}

.faq-item:hover .faq-question {
  background-color: var(--secondary);
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-info {
  background-color: var(--secondary);
  color: white;
  padding: 30px;
  border-radius: 8px;
  transform: translateY(0);
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.contact-grid.animated .contact-info,
.contact-grid.animated .contact-form {
  opacity: 1;
  transform: translateX(0);
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item i {
  margin-right: 15px;
  font-size: 20px;
  color: var(--light);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse 2s infinite;
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(10deg);
  animation: none;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.footer-grid.animated .footer-col {
  opacity: 1;
  transform: translateY(0);
}

.footer-col:nth-child(1) { transition-delay: 0.1s; }
.footer-col:nth-child(2) { transition-delay: 0.2s; }
.footer-col:nth-child(3) { transition-delay: 0.3s; }
.footer-col:nth-child(4) { transition-delay: 0.4s; }

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s;
}

.footer-col:hover h3::after {
  width: 80px;
}

.footer-links li {
  margin-bottom: 10px;
  list-style: none;
  transition: all 0.3s;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 20px;
  transition: all 0.3s;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.4s;
}

footer.animated .copyright {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-content {
      flex-direction: column;
  }
  
  .about-text {
      padding-right: 0;
      margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
      padding: 15px;
  }
  
  nav {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 80%;
      height: calc(100vh - 70px);
      background-color: white;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      transition: left 0.3s;
  }
  
  nav.active {
      left: 0;
  }
  
  nav ul {
      flex-direction: column;
      padding: 20px;
  }
  
  nav ul li {
      margin: 15px 0;
  }
  
  .mobile-menu {
      display: block;
  }
  
  .hero {
      padding: 150px 20px 80px;
  }
  
  .hero h1 {
      font-size: 32px;
  }
  
  .section {
      padding: 60px 0;
  }
}