/* In Time Tec inspired palette and style */
:root {
  --primary-bg: #E6F6FE; /* very light blue */
  --primary-text: #222831;
  --accent: #65CDFD; /* main blue from logo */
  --secondary-bg: #B3E6FC; /* lighter blue */
  --header-bg: #E6F6FE; /* match primary-bg */
  --footer-bg: #1A4C6E; /* deep blue for footer */
  --footer-text: #fff;
  --card-bg: #fff;
  --card-shadow: 0 2px 16px 0 rgba(101,205,253,0.08); /* blue shadow */
  --border-radius: 16px;
  --font-main: 'Inter', 'Open Sans', system-ui, Arial, sans-serif;
}

body {
  background: var(--primary-bg);
  color: var(--primary-text);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
}

header {
  background: var(--header-bg);
  color: var(--primary-text);
  box-shadow: 0 2px 8px 0 rgba(34,40,49,0.04);
  border-bottom: 1px solid #e5e7eb;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header nav a {
  color: var(--primary-text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #fff;
}
header .text-yellow-300 {
  color: var(--accent) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--primary-text);
  margin-top: 0;
}

section {
  padding: 3rem 0;
}

.card, .bg-gradient-to-r {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

button, .btn, .bg-blue-800 {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover, .btn:hover, .bg-blue-800:hover {
  background: #e67c13;
}

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 3rem;
}
footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}
footer a:hover {
  text-decoration: underline;
}

input, select, textarea {
  font-family: var(--font-main);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  background: #fff;
  color: var(--primary-text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(34,40,49,0.04);
}

/* Hero section logo spin */
.rotating-earth {
  border-radius: 50%;
  animation: rotate 24s linear infinite;
  object-fit: cover;
  box-shadow: 0 4px 24px 0 rgba(34,40,49,0.10);
  background: #fff;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  header .flex.items-center.space-x-3 {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  header nav ul li {
    width: 100%;
  }
  header nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-radius: 8px;
    margin: 0;
  }
  header .ml-4 {
    margin-left: 0;
    margin-top: 0.25rem;
    align-self: flex-end;
  }
}

@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  header .flex.items-center.space-x-3 {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
  }
  h1 {
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
  }
  header nav ul {
    gap: 0.25rem;
  }
  header nav a {
    font-size: 1rem;
    padding: 0.6rem 0;
  }
  header .ml-4 {
    margin-left: 0;
    margin-top: 0.15rem;
    align-self: flex-end;
  }
}

.globe-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #000; /* fallback for globe */
    box-shadow: 0 0 40px 0 rgba(0,0,0,0.3);
    border: 8px solid #e0e7ef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flight-paths {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flight-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
    border: 2px solid #fff;
}

.flight-line {
    position: absolute;
    height: 2px;
    background: repeating-linear-gradient(90deg, #4CAF50 0 8px, transparent 8px 16px);
    z-index: 1;
}

.plane-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 2;
    /* Remove previous animation, will use JS for accurate path following */
}

/* Specific rotations for each route */
.plane-ny-london {
    transform: rotate(15deg);
}

.plane-shanghai-dubai {
    transform: rotate(-10deg);
}

.plane-mumbai-bogota {
    transform: rotate(5deg);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes dash {
    to { background-position: -1000px 0; }
}

@keyframes fly {
    from { 
        left: 0;
        transform: translateY(-50%);
    }
    to { 
        left: calc(100% - 20px);
        transform: translateY(-50%);
    }
} 