/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: clip;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.container-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    width: 320px;
    box-shadow: 0px 0px 16px 4px #00000020;
}

/* Banner wrapper and collapsed behaviour */
.banner-wrapper {
    position: relative;
    width: 100%;
    display: block;
    contain: layout;
    height: 64px;
}

.container-banner {
    /* Positioning to allow sliding to the right while centered initially */
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    transition: left 0.45s cubic-bezier(.2,.9,.2,1), transform 0.45s cubic-bezier(.2,.9,.2,1);
    z-index: 5;
    cursor: default;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* When collapsed: move the banner to the right so only a small part remains visible (40px) */
.container-banner.banner-collapsed {
    left: 100%;
    transform: translateX(-40px);
    cursor: pointer;
}

/* Hide the title and subtitle text when the banner is collapsed to avoid clipped text */
.container-banner.banner-collapsed .hero-title,
.container-banner.banner-collapsed .hero-subtitle {
    display: none !important;
    visibility: hidden;
}

/* Slight visual tweak for the close button inside the banner */
.container-banner .btn-close {
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    font-size: 18px;
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

/* Improve the visible small part when collapsed (accessibility) */
.container-banner.banner-collapsed:focus, .container-banner.banner-collapsed:hover {
    transform: translateX(-36px);
}

/* Slim handle that remains visible when banner is collapsed */
.banner-handle {
    position: absolute;
    left: 0; /* leftmost part of banner will be visible when collapsed */
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 88px;
    display: none; /* only show when collapsed */
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    color: white;
    z-index: 6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.banner-handle i {
    font-size: 18px;
}

/* Show the handle only when the banner is collapsed */
.container-banner.banner-collapsed .banner-handle {
    display: flex;
}

/* Slight hover/tap feedback for handle */
.container-banner.banner-collapsed .banner-handle:hover {
    transform: translateY(-50%) translateX(2px);
}

.container-text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #2563eb;
    padding: 10px 20px;
    border: 2px solid #2563eb;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.nav-logo-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2rem;
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
    max-width: 120px;
}

.logo {
    height: 72px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    overflow: clip;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(37, 99, 235, 0.6));
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 
                 0 4px 8px rgba(0, 0, 0, 0.6),
                 0 0 20px rgba(0, 0, 0, 0.4);
}

.highlight {
    color: #60a5fa;
}

.hero-aircraft-icon {
    max-width: 75%;
    height: 96px;
    margin-bottom: -4px;

}

.hero-subtitle {
    font-size: 16px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 
                 0 4px 8px rgba(0, 0, 0, 0.6),
                 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #1d4ed8;
    gap: 12px;
}

/* Training Section */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.training-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.training-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.training-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.training-header {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    padding: 2rem;
    text-align: center;
}

.training-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.training-duration {
    opacity: 0.9;
    font-size: 0.9rem;
}

.training-content {
    padding: 2rem;
}

.training-features {
    list-style: none;
    margin-bottom: 2rem;
}

.training-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    color: #374151;
}

.training-features i {
    color: #10b981;
    font-size: 0.9rem;
}

.training-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Fleet Section */
.fleet {
    background: #f8fafc;
}

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

.aircraft-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aircraft-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.aircraft-image {
    height: 200px;
    overflow: hidden;
}

.aircraft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.aircraft-card:hover .aircraft-image img {
    transform: scale(1.1);
}

.aircraft-info {
    padding: 2rem;
}

.aircraft-name {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.aircraft-type {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.aircraft-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #374151;
}

.spec-item i {
    color: #2563eb;
}

.aircraft-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.highlight-text h4 {
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.highlight-text p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stacked-photos {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    transform: translateX(-24px);
    cursor: pointer;
}

.stacked-photos a {
    position: absolute;
    cursor: pointer;
    display: block;
    width: 280px;
    height: 180px;
    border: 6px solid white;
    border-bottom: 12px solid white;
    border-radius: 2px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.stacked-photos a:hover {
    transform: translateY(-10px) scale(1.05) rotate(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.stacked-photo {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 15;
}

.photo-2 {
    top: 40px;
    left: 60px;
    transform: rotate(5deg);
    z-index: 3;
}

.photo-3 {
    top: 80px;
    left: 20px;
    transform: rotate(-3deg);
    z-index: 2;
}

.photo-4 {
    top: 120px;
    left: 80px;
    transform: rotate(7deg);
    z-index: 1;
}

.photo-5 {
    top: 10px;
    left: 40px;
    transform: rotate(-12deg);
    z-index: 5;
}

.photo-6 {
    top: 50px;
    left: 10px;
    transform: rotate(8deg);
    z-index: 6;
}

.photo-7 {
    top: 90px;
    left: 70px;
    transform: rotate(-4deg);
    z-index: 7;
}

.photo-8 {
    top: 130px;
    left: 30px;
    transform: rotate(11deg);
    z-index: 8;
}

.photo-9 {
    top: 20px;
    left: 90px;
    transform: rotate(-15deg);
    z-index: 9;
}

.photo-10 {
    top: 60px;
    left: 50px;
    transform: rotate(6deg);
    z-index: 10;
}

.photo-11 {
    top: 100px;
    left: 0px;
    transform: rotate(-9deg);
    z-index: 11;
}

.photo-12 {
    top: 140px;
    left: 60px;
    transform: rotate(4deg);
    z-index: 12;
}

.photo-13 {
    top: 30px;
    left: 20px;
    transform: rotate(-6deg);
    z-index: 13;
}

.photo-14 {
    top: 70px;
    left: 100px;
    transform: rotate(9deg);
    z-index: 14;
}

.photo-hint {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: -1rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.photo-hint i {
    color: #2563eb;
    margin-right: 0.5rem;
}

/* Weather Section */
.weather {
    background: #f8fafc;
    padding: 64px 0;
}

.weather-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.weather-card-single {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    transition: all 0.3s ease;
}

.weather-card-single:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.weather-data-container {
    margin: 1.5rem 0;
}

.weather-widget {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.metar-display,
.taf-display,
.weather-summary {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.data-title {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.weather-raw-data {
    padding: 1.5rem;
}

.weather-timestamp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.weather-code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-all;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

.weather-decoded {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.decoded-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.decoded-item:last-child {
    border-bottom: none;
}

.decoded-item .label {
    color: #64748b;
    font-weight: 500;
}

.decoded-item .value {
    color: #1e293b;
    font-weight: 600;
}

.taf-validity {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.validity-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.summary-grid {
    padding: 1.5rem;
}

.flight-conditions {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.flight-categories {
    margin: 1.5rem 0;
}

.category-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vfr-category,
.ifr-category {
    padding: 1.25rem;
    border-radius: 10px;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vfr-category::before,
.ifr-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

/* VFR Conditions */
.vfr-category.vfr {
    background: #dcfce7;
    border-color: #10b981;
    color: #065f46;
}

.vfr-category.vfr-twilight {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.vfr-category.mvfr {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.vfr-category.ifr,
.vfr-category.lifr {
    background: #fecaca;
    border-color: #ef4444;
    color: #991b1b;
}

.vfr-category.night {
    background: #f3e8ff;
    border-color: #8b5cf6;
    color: #5b21b6;
}

/* IFR Conditions */
.ifr-category.άριστες {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.ifr-category.κανονικές {
    background: #dcfce7;
    border-color: #10b981;
    color: #065f46;
}

.ifr-category.προκλητικές {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.ifr-category.δύσκολες {
    background: #fecaca;
    border-color: #ef4444;
    color: #991b1b;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.category-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0;
}

.category-links {
    margin-bottom: 1em;
}

.metar-icon {
    width: 32px;
    margin: 0 4px;
}

/* Vertical list styles */
.category-links.vertical-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-links.vertical-list li {
    margin: 0;
}

.category-links.vertical-list .link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category-links.vertical-list .link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.category-links.vertical-list .link-name {
    flex: 1;
    font-weight: 500;
    color: #374151;
}

.category-links.vertical-list .link-item:hover .link-name {
    color: #2563eb;
}

.category-links.vertical-list .fa-external-link-alt {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.category-links.vertical-list .link-item:hover .fa-external-link-alt {
    color: #2563eb;
}

/* Links Section - Main Container */
.links-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.links-card-single {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    transition: all 0.3s ease;
}

.links-card-single:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.links-data-container {
    margin: 1.5rem 0;
}

.links-widget {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Links Section - Card Style */
.links .link-category {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.links .link-category .data-title {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.links .link-category .weather-raw-data {
    padding: 1.5rem;
    background: #f8fafc;
}

.links .category-links.vertical-list {
    margin: 0;
}

.links .category-links.vertical-list .link-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.links .category-links.vertical-list .link-item:last-child {
    margin-bottom: 0;
}

.links .category-links.vertical-list .link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.links .category-links.vertical-list .link-name {
    flex: 1;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.links .category-links.vertical-list .link-item:hover .link-name {
    color: #2563eb;
}

.links .category-links.vertical-list .fa-external-link-alt {
    color: #9ca3af;
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.links .category-links.vertical-list .link-item:hover .fa-external-link-alt {
    color: #2563eb;
}

.category-status {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-details {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.vfr-requirements {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 1.5rem;
}

.requirements-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.requirements-list {
    display: grid;
    gap: 0.5rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    padding: 0.6rem;
    border-radius: 6px;
    background: #dcfce7;
    border-left: 3px solid #16a34a;
    color: #065f46;
    font-weight: 500;
}

.requirement-item i {
    color: #16a34a;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* VFR Status Section */
.vfr-status-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e2e8f0;
}

.vfr-main-status {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

.vfr-status-ok {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #16a34a;
    color: #065f46;
}

.vfr-status-not-ok {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border-color: #dc2626;
    color: #991b1b;
}

.vfr-status-night {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #8b5cf6;
    color: #5b21b6;
}

.vfr-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.vfr-detail-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #64748b;
    font-size: 0.85rem;
}

.vfr-detail-item strong {
    color: #374151;
}

/* Weather Error Styles */
.weather-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #991b1b;
}

.weather-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #eff6ff;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.weather-link:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.weather-source {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.weather-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 0.5rem;
    margin: 0.5rem 0;
    color: #92400e;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Flight Rules Colors */
.vfr {
    color: #059669 !important;
    font-weight: 600;
}

.mvfr {
    color: #d97706 !important;
    font-weight: 600;
}

.ifr {
    color: #dc2626 !important;
    font-weight: 600;
}

.lifr {
    color: #7c2d12 !important;
    font-weight: 600;
}

/* Simple Weather Display */
.weather-current {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.temperature-display {
    text-align: center;
}

.temp-current {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
}

.temp-range {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.temp-min, .temp-max {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.weather-description {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.weather-details {
    display: grid;
    gap: 0.75rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.detail-item i {
    color: #3b82f6;
    width: 16px;
    text-align: center;
}

.detail-item .label {
    font-weight: 500;
    color: #374151;
    min-width: 70px;
}

.detail-item .value {
    font-weight: 600;
    color: #1f2937;
}

/* Aviation Notice */
.aviation-notice {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.notice-content i {
    color: #d97706;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.notice-text p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
    line-height: 1.5;
}

.aviation-links {
    display: grid;
    gap: 0.75rem;
}

.metar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

.metar-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    background: #eff6ff;
}

.metar-link.secondary {
    border-color: #6b7280;
}

.metar-link.secondary:hover {
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.metar-link i {
    color: #3b82f6;
    font-size: 1rem;
    margin-left: auto;
}

.link-info {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.link-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Basic Weather Summary */
.basic-weather-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.summary-header h4 {
    margin: 0 0 1rem 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vfr-status-basic {
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid;
}

.vfr-status-basic.unknown {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.vfr-status-basic.night {
    background: #f3e8ff;
    border-color: #8b5cf6;
    color: #5b21b6;
}

.vfr-status-basic.marginal {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.vfr-status-basic.check-required {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.basic-conditions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    font-size: 0.9rem;
}

.condition-item i {
    color: #6b7280;
    width: 16px;
    text-align: center;
}

.condition-item .label {
    font-weight: 500;
    color: #4b5563;
}

.condition-item .value {
    font-weight: 600;
    color: #1f2937;
}

.important-notice {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #991b1b;
}

.important-notice i {
    color: #dc2626;
    margin-top: 0.125rem;
}

@media (max-width: 768px) {
    .detail-row {
        grid-template-columns: 1fr;
    }
    
    .basic-conditions {
        grid-template-columns: 1fr;
    }
    
    .temp-current {
        font-size: 2.5rem;
    }
}

/* Sun Information Styles */
.sun-info {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    color: #92400e;
}

.sun-times {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sun-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.sun-item.active {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    color: #065f46;
    font-weight: 600;
}

.sun-item.current-time {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    font-weight: 600;
}

.sun-item i {
    font-size: 1.2rem;
}

.sun-details {
    display: flex;
    flex-direction: column;
}

.sun-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.sun-time {
    font-size: 0.9rem;
    font-weight: 600;
}

.daylight-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.daylight-status.day {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.daylight-status.twilight {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.daylight-status.night {
    background: rgba(139, 92, 246, 0.9);
    color: white;
}

.daylight-status i {
    font-size: 1.5rem;
}

.condition-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

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

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.summary-item i {
    color: #2563eb;
    width: 20px;
    text-align: center;
}

.item-label {
    color: #64748b;
    font-weight: 500;
}

.item-value {
    color: #1e293b;
    font-weight: 600;
    margin-left: auto;
}

.weather-fallback {
    text-align: center;
    padding: 2rem;
}

.fallback-message {
    margin-bottom: 1.5rem;
}

.fallback-message i {
    color: #f59e0b;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fallback-message p {
    color: #64748b;
    margin: 0;
}

.fallback-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.weather-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weather-external-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.loading {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 2rem;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #64748b;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.weather-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.weather-note {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.weather-note i {
    color: #2563eb;
}

.weather-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Design for Weather Section */
@media (max-width: 768px) {
    .weather-card-single {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .weather-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .weather-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .summary-items {
        grid-template-columns: 1fr;
    }
    
    .fallback-links {
        flex-direction: column;
        align-items: center;
    }
    
    .category-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .legend-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .weather-card-single {
        padding: 1rem;
    }
    
    .weather-title {
        font-size: 1rem;
    }
    
    .data-title {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .weather-raw-data,
    .summary-grid {
        padding: 1rem;
    }
    
    .weather-code {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
    
    .vfr-category,
    .ifr-category {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 0.9rem;
    }
    
    .category-status {
        font-size: 1rem;
    }
    
    .sun-times {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .sun-item {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }
    
    .daylight-status {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

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

.weather-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.weather-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.weather-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.weather-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.weather-title {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.weather-location {
    color: #6b7280;
    font-size: 0.9rem;
}

.weather-content {
    text-align: center;
}

.weather-icon {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.weather-temp {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.weather-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.weather-detail i {
    color: #2563eb;
    width: 16px;
}

.flight-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.flight-status.excellent {
    background: #dcfce7;
    color: #166534;
}

.flight-status.good {
    background: #fef3c7;
    color: #92400e;
}

.flight-status.poor {
    background: #fecaca;
    color: #991b1b;
}

.weather-flight-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flight-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.flight-detail:last-child {
    border-bottom: none;
}

.detail-label {
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    color: #1e40af;
    font-weight: 600;
}

.weather-forecast {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forecast-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.forecast-day:last-child {
    border-bottom: none;
}

.forecast-day .day {
    color: #374151;
    font-weight: 500;
}

.forecast-day i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.forecast-day .temp {
    color: #1e40af;
    font-weight: 600;
}

/* METAR/TAF Styles */
.metar-taf-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metar-section,
.taf-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.report-title {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-title i {
    color: #2563eb;
}

.weather-report {
    padding: 1rem;
}

.weather-report-content {
    text-align: left;
}

.report-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.report-text {
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #374151;
    word-break: break-all;
    margin-bottom: 1rem;
}

.decoded-weather {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.weather-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.weather-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.weather-item .label {
    color: #6b7280;
    font-weight: 500;
}

.weather-item .value {
    color: #374151;
    font-weight: 600;
}

.taf-periods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.taf-period {
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 4px;
    border-left: 3px solid #2563eb;
}

.period-time {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.period-conditions {
    font-size: 0.9rem;
    color: #374151;
}

.weather-links {
    margin-top: 1.5rem;
    text-align: center;
}

.weather-fallback {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b7280;
}

.weather-fallback p {
    margin-bottom: 1rem;
}

.weather-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.weather-link:hover {
    color: #1d4ed8;
}

.loading {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 1rem;
}

.no-data {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 1rem;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    min-height: 20rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Contact copy button styles */
.contact-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #7299ed;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.copy-btn:hover {
    background: rgba(37, 99, 235, 0.08);
}

.copy-btn:focus {
    outline: 2px solid rgba(37, 99, 235, 0.18);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Map container/wrapper: ensure iframe doesn't collapse on small screens */
.map-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-wrapper {
    flex: 1 1 auto;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    min-height: 320px; /* ensures visible map on narrow screens */
    box-shadow: 0px 0px 16px 4px #00000020;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    margin-bottom: 2rem;
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
}

.footer-logo-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.0rem;
    font-weight: 700;
    color: white;
}

.footer-contact {
    margin-bottom: 0;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: #60a5fa;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.social-heading {
    color: #b4b4b4;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    text-align: center;
}



.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 100%;
        top: 104px;
        flex-direction: column;
        background-color: white;
        width: 144px;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 1.5rem;
        border-bottom-left-radius: 12px;
    }
    
    .nav-menu.active {
        left: calc(100% - 144px);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        justify-content: center;
    }
    
    .services-grid,
    .training-grid,
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .training-card.featured {
        transform: none;
    }
    
    .training-card.featured:hover {
        transform: translateY(-8px);
    }
    
    /* Links responsive */
    .links-card-single {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .container {
        padding: 0;
    }

    .container-text {
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    
    section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Links responsive for small screens */
    .links-card-single {
        padding: 1rem;
    }
    
    .links .link-category .data-title {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .links .link-category .weather-raw-data {
        padding: 1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus styles for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Weather fallback styling */
.weather-fallback {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #cbd5e1;
}

.fallback-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.fallback-header i {
    font-size: 1.2em;
    color: #f59e0b;
}

.fallback-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #475569;
}

.fallback-message {
    margin-bottom: 1rem;
}

.fallback-message p {
    color: #64748b;
    margin-bottom: 1rem;
}

/* Weather description icons */
.weather-description {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #374151;
    margin: 1rem 0;
}

.weather-description i {
    min-width: 2rem;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Weather icon animations */
.weather-description i.fa-sun {
    animation: sunny-glow 3s ease-in-out infinite alternate;
}

.weather-description i.fa-cloud-rain,
.weather-description i.fa-cloud-showers-heavy {
    animation: rain-bounce 2s ease-in-out infinite;
}

.weather-description i.fa-bolt {
    animation: lightning-flash 2s ease-in-out infinite;
}

@keyframes sunny-glow {
    0% { filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)); }
    100% { filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8)); }
}

@keyframes rain-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes lightning-flash {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.7; }
}