/* =========================
   AVIALINE WEBSITE STYLES
   ========================= */
:root {
  --navy: #29443d;
  --navy-dark: #172a25;
  --blue: #94b3a9;
  --secondary: #e97f24;
  --blue-light: #edf3f1;
  --text: #263d36;
  --muted: #64758a;
  --white: #fff;
  --light: #f5f8f6;
  --border: #e3eaf2;
  --container: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { font-family: "DM Sans", sans-serif; color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
h1,h2,h3,h4 { font-family: "Manrope", sans-serif; line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); letter-spacing: -2.5px; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -1.2px; }
h3 { font-size: 1.12rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 105px 0; }
.section-label { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.section-label::after { content: ""; width: 34px; height: 2px; background: var(--blue); }
.section-heading { max-width: 700px; margin-bottom: 20px; }
.section-description { max-width: 650px; font-size: 1rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 50px; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .25s,color .25s,transform .25s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #d96d16; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: white; }
.arrow { font-size: 1.2rem; line-height: 1; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; height: 82px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(41,68,61,.08); backdrop-filter: blur(16px); }
.nav { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-family: "Manrope",sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: 4px; white-space: nowrap; }
.logo-mark { position: relative; width: 37px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -5px; }
.logo-mark::after { content: ""; position: absolute; bottom: 3px; left: 7px; width: 24px; height: 3px; background: var(--navy); transform: skewX(-35deg); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: .87rem; font-weight: 600; color: var(--text); transition: color .2s; }
.nav-links a:hover,.nav-links a.active { color: var(--blue); }
.nav-cta { padding: 12px 22px; font-size: .82rem; }
.menu-toggle { display: none; width: 45px; height: 45px; background: var(--light); border: 0; border-radius: 10px; color: var(--navy); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(20, 39, 33, 0.91) 0%,
            rgba(20, 39, 33, 0.72) 38%,
            rgba(20, 39, 33, 0.12) 100%
        ),
        url("images/hero-avialine.jpg") center 55% / cover no-repeat;
    transform: scale(1.02);
}
.hero-content { position: relative; z-index: 1; padding-top: 85px; padding-bottom: 85px; max-width: 1200px; }
.hero .eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #e6f0ec; }
.hero .eyebrow::after { content: ""; width: 45px; height: 2px; background: var(--blue); }
.hero h1 { max-width: 760px; color: white; margin-bottom: 24px; }
.hero h1 span { color: var(--secondary); }
.hero-description { max-width: 550px; color: #e6f0ec; font-size: 1.05rem; line-height: 1.9; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.hero .btn-outline { color: white; border-color: rgba(255,255,255,.65); }
.hero .btn-outline:hover { background: white; color: var(--navy); }
.hero-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg,var(--blue) 0%,var(--secondary) 55%,transparent 100%); }

/* About */
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 85px; align-items: center; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { margin-bottom: 17px; }
.about-copy .btn { margin-top: 13px; }
.about-image { position: relative; min-height: 460px; }
.about-image img { width: 100%; height: 460px; object-fit: cover; border-radius: 110px 12px 12px 12px; }
.about-image::before { content: ""; position: absolute; top: -17px; right: -17px; width: 120px; height: 120px; border-top: 3px solid var(--blue); border-right: 3px solid var(--blue); border-radius: 0 15px 0 0; }
.about-stat { position: absolute; bottom: 24px; left: -30px; background: white; border-radius: 12px; box-shadow: 0 12px 40px rgba(41,68,61,.12); padding: 20px 26px; max-width: 230px; }
.about-stat strong { display: block; color: var(--navy); font-family: "Manrope",sans-serif; font-size: 1rem; }
.about-stat span { color: var(--muted); font-size: .83rem; }

/* Services */
.services { background: var(--light); }
.services-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.services-top .section-heading { margin-bottom: 20px; }
.services-top .section-description { max-width: 590px; }
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.service-card { padding: 32px 28px; border: 1px solid #edf1f6; border-radius: 10px; background: white; transition: transform .3s,box-shadow .3s,border-color .3s; }
.service-card:hover { transform: translateY(-7px); border-color: #e7b17e; box-shadow: 0 20px 50px rgba(41,68,61,.08); }
.service-icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; border-radius: 17px; color: var(--blue); background: var(--blue-light); }
.service-icon svg { width: 29px; height: 29px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 13px; color: var(--navy); }
.service-card p { font-size: .91rem; line-height: 1.8; }
.service-feature { position: relative; min-height: 300px; overflow: hidden; border-radius: 10px; background: var(--navy); display: flex; align-items: end; padding: 28px; color: white; }
.service-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(20,39,33,.92), transparent 85%),
        url("images/hero-avialine.jpg") center/cover no-repeat;
    transition: transform .5s;
}
.service-feature:hover::before { transform: scale(1.06); }
.service-feature-content { position: relative; z-index: 1; }
.service-feature h3 { font-size: 1.5rem; max-width: 240px; margin-bottom: 10px; color: white; }
.service-feature p { color: #e6f0ec; font-size: .9rem; }

/* Why choose us */
.why-us { position: relative; color: white; background: var(--navy); overflow: hidden; }
.why-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23,42,37,.98), rgba(23,42,37,.82)),
        url("images/bg-avialine.jpg") center/cover no-repeat;
    opacity: .95;
}
.why-us .container { position: relative; z-index: 1; }
.why-us .section-label { color: var(--secondary); }
.why-us .section-label::after { background: var(--secondary); }
.why-us h2 { max-width: 680px; margin-bottom: 20px; color: white; }
.why-intro { max-width: 620px; color: #d8e4df; margin-bottom: 55px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 38px; }
.benefit { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.benefit-icon { width: 58px; height: 58px; display: flex; justify-content: center; align-items: center; margin-bottom: 22px; border-radius: 50%; border: 1px solid rgba(233,127,36,.45); background: rgba(233,127,36,.16); color: var(--secondary); font-size: 1.5rem; }
.benefit h3 { color: white; margin-bottom: 12px; }
.benefit p { color: #d1dfd9; font-size: .9rem; line-height: 1.8; }

/* Locations */
.locations-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 75px; }
.locations-copy h2 { margin-bottom: 20px; }
.locations-copy > p { margin-bottom: 25px; }
.location-list { display: flex; flex-wrap: wrap; gap: 14px 20px; list-style: none; }
.location-list li { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 700; color: var(--navy); }
.location-pin { width: 29px; height: 29px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 1rem; }
.location-cta { margin-top: 28px; }
.locations-image { position: relative; height: 390px; }
.locations-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px 100px 12px 12px; }
.location-caption { position: absolute; left: -25px; bottom: 25px; padding: 17px 22px; color: white; background: var(--navy); border-radius: 8px; box-shadow: 0 10px 30px rgba(41,68,61,.15); }
.location-caption strong { display: block; font-size: .95rem; }
.location-caption span { color: #f4c69f; font-size: .82rem; }

/*logo image */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
/* Footer contact replaces the contact form section */
.footer { background: var(--navy-dark); color: white; padding: 65px 0 22px; }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 50px; padding-bottom: 45px; }
.footer .logo { color: white; margin-bottom: 17px; }
.footer .logo-mark::after { background: white; }
.footer-brand p { max-width: 300px; color: #b9cbc4; font-size: .87rem; }
.footer-brand .footer-tagline { margin-top: 18px; max-width: 360px; }
.footer-column h4 { margin-bottom: 20px; color: white; font-size: .95rem; }
.footer-links { display: grid; gap: 9px; list-style: none; }
.footer-links a { color: #c5d3ce; font-size: .87rem; transition: color .2s; }
.footer-links a:hover { color: var(--secondary); }
.footer-contact-line { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: #c5d3ce; font-size: .88rem; }
.footer-contact-line > span:first-child { color: var(--secondary); font-size: 1.05rem; }
.footer-contact-line a { color: #e6f0ec; overflow-wrap: anywhere; }
.footer-contact-line a:hover { color: var(--secondary); }
.footer-column .connect-heading { margin-top: 28px; margin-bottom: 14px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; font-size: .83rem; font-weight: 700; transition: background .2s; }
.social-links a:hover { background: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.16); color: #aebfb8; font-size: .78rem; }
.footer-bottom p { color: inherit; }
.footer-bottom a:hover { color: var(--secondary); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-content { animation: heroEnter .9s ease both; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1000px) {
  .section { padding: 80px 0; }
  .nav-links { gap: 20px; }
  .about-grid,.locations-grid { gap: 45px; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; }
  .footer-top { gap: 30px; }
}

/* Mobile */
@media (max-width: 760px) {
  .container { width: min(100% - 36px,var(--container)); }
  .header { height: 72px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .logo { font-size: 1.15rem; letter-spacing: 3px; }
  .logo-mark { transform: scale(.9); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1002; }
  .nav-cta { display: none; }
  .nav-links { position: fixed; top: 72px; right: 0; bottom: auto; left: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); z-index: 1001; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 20px 25px 40px; background: white; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s,transform .25s,visibility .25s; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 17px 5px; font-size: 1rem; }
  .hero { min-height: 610px; }
  .hero::before { background: linear-gradient(90deg,rgba(20,39,33,.88),rgba(20,39,33,.57)),url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat; }
  .hero-content { padding-top: 80px; padding-bottom: 80px; }
  h1 { font-size: clamp(2.5rem,10vw,4rem); letter-spacing: -1.6px; }
  .hero-description { font-size: .98rem; }
  .section { padding: 70px 0; }
  .about-grid,.locations-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { min-height: 350px; margin-left: 12px; margin-right: 10px; }
  .about-image img { height: 350px; border-radius: 65px 10px 10px 10px; }
  .about-stat { left: -12px; bottom: 15px; }
  .services-top { display: block; margin-bottom: 30px; }
  .services-top .section-description { margin-top: 15px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 24px; }
  .service-feature { min-height: 280px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-intro { margin-bottom: 35px; }
  .locations-image { height: 310px; margin-left: 10px; margin-right: 5px; }
  .locations-image img { border-radius: 10px 65px 10px 10px; }
  .location-caption { left: -10px; }
  .footer { padding-top: 50px; }
  .footer-top { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 400px) {
  .container { width: calc(100% - 28px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .location-list { flex-direction: column; }
}
