/* SKY Connect Logistics - Modern Responsive Theme */

/* Root Variables (Light Mode Default) */
:root {
  --background: #f8fafc;
  --text: #1e293b;
  --accent: #0077b6;
  --card-bg: #ffffff;
  --footer-bg: #e2e8f0;
  --header-bg: #ffffff;
}

/* Dark Mode Overrides */
body.dark {
  --background: #0f172a;
  --text: #e2e8f0;
  --accent: #00bcd4;
  --card-bg: #1e293b;
  --footer-bg: #0f172a;
  --header-bg: #1e293b;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text);
  transition: background 0.4s ease, color 0.4s ease;
  line-height: 1.6;
}

/* Header & Navigation */
/* ===== HEADER STYLING ===== */
.main-header {
  background: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 65px;
  width: auto;
  border-radius: 8px;
}

.company-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 4px;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}



/* ===== THEME TOGGLE BUTTON ===== */
.theme-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.theme-btn:hover {
  transform: rotate(15deg) scale(1.1);
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}


/* Theme Toggle */
.theme-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-btn:hover {
  transform: rotate(15deg);
}

.theme-btn.fixed {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 2000;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(to right, rgba(0, 119, 182, 0.85), rgba(0, 180, 216, 0.65)),
              url('banner.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

.hero-inner {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #0096c7;
  transform: translateY(-2px);
}

/* Plane Animation */
.plane-animation {
  position: absolute;
  bottom: 0;
  left: -150px;
  width: 90px;
  animation: planeFly 20s linear infinite;
  opacity: 0.9;
}

@keyframes planeFly {
  0% { left: -150px; bottom: 0; transform: rotate(0deg); }
  50% { left: 60%; bottom: 40px; transform: rotate(3deg); }
  100% { left: 110%; bottom: 0; transform: rotate(0deg); }
}

/* Generic Content Sections */
.content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.content h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.content p {
  max-width: 750px;
  margin: 0 auto 24px;
  font-size: 1rem;
}

/* Services Grid */
.services, .industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* Industries Section */
.industries {
  background: rgba(0, 119, 182, 0.05);
  border-radius: 12px;
  padding: 60px 20px;
}

/* Testimonials */
.testimonials {
  background: var(--accent);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-grid {
  max-width: 900px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  font-style: italic;
}

/* Global Network Map */
.network {
  text-align: center;
  padding: 60px 20px;
}

.map-container {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
}

.world-map {
  width: 100%;
  border-radius: 12px;
  opacity: 0.95;
}

.pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--accent);
  cursor: pointer;
}

/* Pulse Keyframes */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* Tooltip */
.tooltip {
  position: absolute;
  background: var(--card-bg);
  color: var(--text);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 9999;
}

/* Position pulses roughly */
.pulse.north-america { top: 35%; left: 25%; }
.pulse.south-america { top: 65%; left: 30%; }
.pulse.europe { top: 30%; left: 48%; }
.pulse.africa { top: 55%; left: 50%; }
.pulse.middle-east { top: 45%; left: 55%; }
.pulse.south-asia { top: 55%; left: 60%; }
.pulse.east-asia { top: 40%; left: 68%; }
.pulse.southeast-asia { top: 60%; left: 68%; }
.pulse.australia { top: 75%; left: 80%; }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
footer {
  background: var(--footer-bg);
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Fade-up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  nav ul {
    gap: 14px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .plane-animation {
    display: none; /* Hide animation on small screens */
  }
}


/* ===== CONTACT PAGE ===== */
.contact-section {
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  color: var(--accent);
}

.contact-section p {
  color: var(--text);
  max-width: 800px;
  margin: 10px auto 30px;
}

/* Side-by-side layout */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
}

/* LEFT PANEL */
.contact-info {
  flex: 1;
  min-width: 300px;
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.contact-info h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.contact-info h4 {
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-info p, .contact-info a {
  color: var(--text);
  line-height: 1.6;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--accent);
}

.map-preview {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.map-preview iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 10px;
}

/* RIGHT PANEL (Form) */
.contact-form {
  flex: 1;
  min-width: 320px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.contact-form h3 {
  color: var(--accent);
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  background: var(--background);
  color: var(--text);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

.contact-form .btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn:hover {
  background: #005f83;
  transform: scale(1.05);
}

/* Responsive Layout */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-info, .contact-form {
    width: 100%;
  }
}

/* === HERO ICONS SECTION === */
.hero-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 60px;
  flex-wrap: wrap;
}

.icon-card {
  text-align: center;
  color: var(--text);
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-card i {
  font-size: 3rem;
  color: var(--accent);
  background: rgba(0, 150, 200, 0.1);
  padding: 20px;
  border-radius: 50%;
  transition: transform 0.4s ease, background 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 150, 200, 0.25);
}

.icon-card p {
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.icon-card:hover i {
  transform: scale(1.2) rotate(8deg);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 150, 200, 0.5);
}

@media (max-width: 768px) {
  .hero-icons {
    gap: 30px;
  }

  .icon-card i {
    font-size: 2.5rem;
    padding: 16px;
  }
}


/* ===== ABOUT PAGE ===== */
.about-section {
  text-align: center;
  max-width: 1100px;
  margin: 40px auto;
  color: var(--text);
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 20px 0 40px;
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.about-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.about-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.about-card h3 {
  margin-bottom: 10px;
  color: var(--accent);
}

.values {
  margin: 60px auto;
}

.values h2 {
  color: var(--accent);
  margin-bottom: 10px;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.values-list li {
  font-size: 1.05rem;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.values-list i {
  color: var(--accent);
  font-size: 1.2rem;
}

.cta {
  margin-top: 70px;
  background: var(--card-bg);
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.cta h2 {
  color: var(--accent);
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: var(--text);
}
/* ===== MISSION & VISION ===== */
.mission-vision {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.mv-card {
  flex: 1;
  min-width: 280px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.mv-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.mv-card p {
  color: var(--text);
  line-height: 1.6;
}

.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .mission-vision {
    flex-direction: column;
  }
}

/* ===== ABOUT GRID (4 cards in one row) ===== */
.about-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;           /* allows wrapping on smaller screens */
  gap: 25px;
  margin: 50px 0;
}

.about-card {
  flex: 1 1 calc(25% - 25px); /* 4 in a row */
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text);
  line-height: 1.6;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Mobile & tablet responsiveness */
@media (max-width: 992px) {
  .about-card {
    flex: 1 1 calc(50% - 25px); /* 2 per row on medium screens */
  }
}

@media (max-width: 600px) {
  .about-card {
    flex: 1 1 100%; /* 1 per row on small screens */
  }
}

/* ===== CORE VALUES SECTION ===== */
.values {
  text-align: center;
  padding: 60px 20px;
  background: var(--section-bg);
  border-radius: 20px;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.values h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.values-subtext {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.values-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
}

.value-card {
  flex: 1 1 calc(25% - 25px);
  background: var(--card-bg);
  padding: 25px 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.value-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.value-card h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

/* Hover Effects */
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.value-card:hover i {
  transform: scale(1.2);
  color: var(--accent-light);
}

/* Fade-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

/* Responsive */
@media (max-width: 992px) {
  .value-card {
    flex: 1 1 calc(50% - 25px);
  }
}

@media (max-width: 600px) {
  .value-card {
    flex: 1 1 100%;
  }
}

/* ===== COMMODITIES SECTION (Photo version) ===== */
.commodities {
  text-align: center;
  padding: 70px 20px;
  background: var(--section-bg);
  border-radius: 20px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.commodities h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.commodities-subtext {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 45px;
}

.commodities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.commodity-card {
  flex: 1 1 calc(25% - 25px);
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.commodity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.commodity-card h3 {
  color: var(--accent);
  margin: 15px 0 8px;
  font-size: 1.2rem;
}

.commodity-card p {
  color: var(--text);
  font-size: 0.95rem;
  padding: 0 15px 20px;
  line-height: 1.5;
}

/* Hover animation */
.commodity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.commodity-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Fade and float animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.9s forwards;
}

/* Responsive grid */
@media (max-width: 992px) {
  .commodity-card { flex: 1 1 calc(50% - 25px); }
}

@media (max-width: 600px) {
  .commodity-card { flex: 1 1 100%; }
}

/* ===== MODERN ICON-BASED COMMODITIES SECTION ===== */
.commodities.modern {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
  padding: 100px 30px;
}

.commodities.modern h2 {
  font-size: 2.4rem;
  color: var(--text);
  margin-bottom: 8px;
}

.commodities-subtext {
  color: #666;
  max-width: 650px;
  margin: 0 auto 50px;
}

.commodities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.commodity-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.commodity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-box {
  background: linear-gradient(135deg, #00aaff, #0078b7);
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0,122,255,0.25);
  transition: transform 0.4s ease;
}

.commodity-card:hover .icon-box {
  transform: scale(1.1);
}

/* Fade animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  font-weight: 500;
  z-index: 9999;
}

.popup.show {
  opacity: 1;
  transform: translateY(0);
}

.popup.success {
  background-color: #e6f9ee;
  color: #137333;
  border-left: 6px solid #28a745;
}

.popup.error {
  background-color: #fdecea;
  color: #a94442;
  border-left: 6px solid #dc3545;
}
