/* AJEEEZ TOURS & TRAVELS - Front Page Styles */

:root {
    --primary: #1c64e8;
    --primary-dark: #1558d6;
    --primary-hover: #1a56db;
    --btn-bg: #1c64e8;
    --btn-text: #ffffff;
    --btn-bg-hover: #1a56db;
    --dark: #1a2332;
    --text: #4a5568;
    --text-light: #718096;
    --nav-text: #1f2937;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    border: 1px solid var(--btn-bg);
    cursor: pointer;
    background: var(--btn-bg);
    color: var(--btn-text);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
}

.btn:hover,
.btn:focus-visible {
    background: var(--btn-bg-hover);
    border-color: var(--btn-bg-hover);
    color: var(--btn-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 100, 232, 0.35);
}

.btn:focus-visible {
    outline: 3px solid rgba(28, 100, 232, 0.35);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(28, 100, 232, 0.25);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.go-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    box-shadow: 0 8px 20px rgba(28, 100, 232, 0.3);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover,
.go-to-top:focus-visible {
    background: var(--primary-dark);
}

.go-to-top:focus-visible {
    outline: 3px solid rgba(28, 100, 232, 0.35);
    outline-offset: 3px;
}

.go-to-top img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Header */
.site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--header-height);
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-self: start;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    justify-self: center;
}

.nav-menu a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-close-item,
.mobile-nav-cta {
    display: none;
}

.btn-nav {
    justify-self: end;
    padding: 12px 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    justify-self: end;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nav-text);
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    margin-top: 0;
    height: calc(100vh - var(--header-height));
    min-height: 750px;
    overflow: hidden;
}

.hero-carousel,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: calc(40% + 20px);
    /* transform: translateY(70px); */
    color: #000;
}

.hero-content h1 {
    font-family: var(--font-body);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
    color: #1e2a42;
    animation: fadeUp 0.8s ease 0.1s both;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    max-width: 550px;
    margin-bottom: 32px;
    opacity: 0.95;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-content .btn {
    animation: fadeUp 0.8s ease 0.3s both;
    margin-bottom: 20px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: var(--btn-bg);
    border-color: var(--btn-bg);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
}

.dot.active,
.dot:hover {
    background: var(--btn-bg);
    border-color: var(--btn-bg);
}

/* Airline Partners */
.airline-partners {
    padding: 64px 0;
    background: #ffffff;
}

.airline-partners h2 {
    color: #000000;
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.airline-divider {
    width: 15%;
    height: 1px;
    margin: 20px auto 40px;
    background: #a9a9a9;
}

.airline-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 40px;
}

.airline-logos img {
    width: auto;
    max-width: 100%;
    height: 94px;
    object-fit: contain;
}

/* Sections */
.section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.light {
    color: #fff;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header.light .section-tag {
    color: #93c5fd;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--dark);
}

.section-header.light h2 {
    color: #fff;
}

/* About */
.about {
    background: var(--bg-alt);
    padding-top: 90px;
}

.about .section-tag {
    color: #000000;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.about .section-header h2 {
    color: #000000;
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

.about .section-header {
    margin-bottom: 24px;
    text-align: left;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    color: #000000;
    font-family: var(--font-body);
}

.about-text p {
    margin-bottom: 16px;
    color: #000000;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
}

.about-features {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-features li {
    padding-left: 24px;
    position: relative;
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.about-image img {
    /* border-radius: var(--radius); */
    box-shadow: var(--shadow);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Services */
.services {
    background: #eef2f7;
}

.services .section-tag,
.how-it-works .section-tag {
    color: #000000;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 0;
}

.services .section-header h2,
.how-it-works .section-header h2 {
    color: #000000;
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 600;
}

.how-it-works .section-intro {
    color: #000000;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
}

.section-intro {
    margin-top: 12px;
    color: #000000;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.service-card {
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 0 0 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.service-card h3 {
    margin: 20px 16px 16px;
    color: #000000;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
}

.service-card p {
    margin: 0 16px 20px;
    color: #000000;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.service-card .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* How It Works */
.how-it-works {
    background: var(--bg-alt);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 92px;
    left: 16.67%;
    right: 16.67%;
    height: 1px;
    background: #1c64e8;
}

.step-card {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #1c64e8;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-body);
    color: #000000;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    color: #000000;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 992px) {
    .steps-grid::before {
        display: none;
    }
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background: url('../images/testimonials.png') center / cover no-repeat;
}

.reviews .section-tag {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.reviews .section-header h2 {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 600;
}

.reviews .section-intro {
    color: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    padding: 24px 0;
}

.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    margin: 0;
}

.review-card::before {
    content: '"';
    display: block;
    color: #1c64e8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 80px;
    line-height: 0.7;
    margin-bottom: 20px;
}

.review-card p {
    font-size: 1rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.review-card footer {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* Contact */
.contact {
    background: var(--bg-alt);
    font-family: var(--font-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    color: #000000;
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
    margin: 10px 0 16px;
}

.contact-info .section-tag {
    color: #000000;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.contact-info>p {
    color: #000000;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.contact-details {
    list-style: none;
    margin-top: 24px;
}

.contact-details li {
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 14px;
}

.contact-form {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-status {
    min-height: 24px;
    margin: 0 0 16px;
    font-size: 14px;
}

.form-status.success {
    color: #15803d;
}

.form-status.error {
    color: #b91c1c;
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-row input {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-icon {
    font-size: 1.8rem;
}

.footer-brand strong {
    display: block;
    color: #fff;
    margin: 8px 0;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #93c5fd;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {

    .services-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 300px;
    }

    .nav-menu {
        gap: 18px;
    }

    .btn-nav {
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .navbar {
        grid-template-columns: 1fr auto;
        grid-template-areas: "logo toggle";
    }

    .logo {
        grid-area: logo;
    }

    .nav-toggle {
        display: flex;
        grid-area: toggle;
    }

    .btn-nav {
        display: none;
    }

    .nav-menu {
        position: fixed;
        z-index: 1100;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(88vw, 360px);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 24px;
        overflow-y: auto;
        background: var(--primary);
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.16);
        transform: translateX(-105%);
        transition: transform 0.3s ease;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu li {
        flex: 0 0 auto;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        background: transparent;
        color: #ffffff;
        text-align: left;
        transition: color 0.2s ease;
    }

    .nav-menu a:hover,
    .nav-menu a:focus-visible {
        background: transparent;
        color: rgba(255, 255, 255, 0.75);
    }

    .nav-close-item {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 8px;
    }

    .nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 0;
        background: var(--primary);
        color: #ffffff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        border-radius: 6px;
    }

    .nav-close:hover,
    .nav-close:focus-visible {
        background: var(--primary-dark);
    }

    .mobile-nav-cta {
        display: block;
        margin-top: 8px;
    }

    .mobile-nav-cta a {
        padding: 12px 16px;
        background: #ffffff;
        color: var(--primary);
        border-radius: 6px;
        text-align: center;
    }

    .mobile-nav-cta a:hover,
    .mobile-nav-cta a:focus-visible {
        background: #f3f4f6;
        color: var(--primary-dark);
    }

    .services-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row input {
        margin-bottom: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about .section-header {
        text-align: center;
    }

    .about-text {
        text-align: left;
    }

    .about-text .btn {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 9vw, 50px);
    }

    .airline-partners {
        padding: 48px 0;
    }

    .airline-partners h2 {
        font-size: 26px;
    }

    .airline-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .airline-logos img {
        height: 72px;
    }

    .section-header h2,
    .about .section-header h2,
    .services .section-header h2,
    .how-it-works .section-header h2,
    .reviews .section-header h2,
    .contact-info h2 {
        font-size: 36px;
    }

    .section-intro {
        font-size: 20px;
    }

}

.about-text .btn {
    margin-top: 28px;
    padding: 10px 20px;
    font-size: 14px;
}

.about-call-to-action {
    padding: 36px 0 0;
    text-align: center;
}

.about-call-to-action p {
    margin-top: 12px;
}
