/* === GLOBAL === */
:root {
  --primary: #0b6efd;
  --dark: #111;
  --text: #444;
  --light: #f8fafc;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--dark);
  background: linear-gradient(to right, #00FA9A, #FEEF38);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* === NAVBAR === */
.nav-wrap {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  font-size: 3.3rem;
  color: var(--primary);
  text-decoration: none;
}

.desktop-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.btn-outline {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--primary);
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* === HERO === */
.hero {
  background: linear-gradient(to right, #00FA9A, #FEEF38);
  padding: 3rem 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-media img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-primary, .btn-light {
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #094dcf;
}

.btn-light {
  background: #fff;
  border: 1px solid #ccc;
  margin-left: 0.5rem;
  color: var(--dark);
}

.btn-light:hover {
  background: #f1f1f1;
}

/* === ABOUT === */
.about-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.9);
}

.about-section p {
  text-align: center;
  max-width: 800px;
  margin: auto;
  color: var(--text);
}

/* === SERVICES === */
.services-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}

/* Fading gradient animation overlay */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(11,110,253,0.05), rgba(254,239,56,0.05), rgba(11,110,253,0.05));
  animation: fadeGradient 6s infinite linear;
  pointer-events: none;
}

@keyframes fadeGradient {
  0% { transform: translateX(0); }
  50% { transform: translateX(50%); }
  100% { transform: translateX(0); }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1; /* above overlay */
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(11,110,253,0.05);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before {
  top: -20%;
  left: -20%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.service-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
  transform: rotate(15deg) scale(1.2);
  color: #094dcf;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text);
  font-size: 0.95rem;
}

/* === COUNTRIES === */
.countries-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.9);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.country-card {
  background: var(--light);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.country-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  background: #f0f8ff;
}

.country-card img {
  width: 80px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.country-card:hover img {
  transform: scale(1.1) rotate(3deg);
}

.country-card p {
  transition: color 0.3s ease;
}

.country-card:hover p {
  color: var(--primary);
}

/* === GALLERY === */
.gallery-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.85);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 90%;
  border-radius: 10px;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* === CONTACT === */
.contact-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-grid p i {
  color: var(--primary);
  margin-right: 6px;
}

form input, form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 0.8rem;
  font-family: inherit;
}
form button:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* === FOOTER === */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.footer-grid h3, .footer-grid h4 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-grid p, .footer-grid a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.socials a {
  font-size: 1.3rem;
  margin-right: 10px;
  color: #fff;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-media img {
    margin-top: 1.5rem;
  }

  .desktop-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .desktop-nav a {
    margin: 0.3rem 0.6rem;
  }

  .service-card {
    padding: 1rem;
  }
}

