/* Global Styles */
:root {
    --primary-blue: #0066CC;
    --dark-blue: #003366;
    --accent-blue: #E6F0FA;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #ffffff;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

/* Typography Utilities */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--text-light);
    font-size: 1.1rem;
}

.left-align {
    text-align: left;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 102, 204, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.logo .dot {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 1rem;
}

.nav-links a:not(.btn):hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 80px;
    /* Space for navbar */
    padding-bottom: 120px;
    /* Space for widget overlap */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

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

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out;
}

.glass-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content h1 em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Search Widget Wrapper */
.search-container-wrapper {
    position: absolute;
    bottom: -50px;
    /* Rest between sections */
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 20px;
}

.search-widget {
    max-width: 900px !important;
    /* Limit width */
    margin: 0 auto;
}

.search-form {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 16px;
    /* More rounded */
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    border-right: 1px solid var(--border-color);
}

.input-box:last-child {
    border-right: none;
}

.input-box label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.input-box input,
.input-box select {
    width: 100%;
    border: 1px solid #e0e0e0;
    /* Explicit border for field look */
    border-radius: 8px;
    padding: 12px;
    /* Touch target size */
    background: #f8f9fa;
    /* Slight varying background */
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
    cursor: text;
    transition: 0.3s;
}

.input-box input:focus,
.input-box select:focus {
    background: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-btn {
    width: auto;
    height: auto;
    padding: 14px 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-weight: 600;
    margin-bottom: 0;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

/* Partners (Moved) */
.partners-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: 0.3s;
}

.partners-grid:hover {
    filter: grayscale(0%);
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    /* Clean, modern no-shadow default, prominent shadow on hover */
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

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

.rating {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-arrow {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* Storyteller Gallery - Adjusted Bento Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.story-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.story-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-item:hover img {
    transform: scale(1.1);
}

.story-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.story-item:hover .story-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Defined Bento Layout */
.story-item.large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Large left block */
.story-item.tall {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

/* Tall middle block */
.story-item.medium {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

/* Top right small */
.story-item.wide {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* Bottom right small */

/* Reverted Why Choose Us Styles */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-content {
    flex: 1;
}

.split-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.features-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.split-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--accent-blue);
}

.split-image img {
    border-radius: 0;
    /* Boxshadow handles shape */
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    font-family: serif;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 20px 0 30px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-info .name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.user-info .location {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter-section {
    background-color: var(--dark-blue);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-body);
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #9CA3AF;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: #9CA3AF;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #6B7280;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .item-1,
    .item-4 {
        grid-column: span 2;
        height: 300px;
    }

    .item-2,
    .item-3 {
        grid-column: span 1;
        height: 300px;
    }

    .item-5 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    /* Fix Search Widget Flow */
    .search-container-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .search-widget {
        margin: 0;
        padding: 0;
    }

    .search-form {
        flex-direction: column;
        /* Was grid, fixed to flex-col */
        gap: 15px;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .input-box {
        width: 100%;
        border-right: none;
        /* Remove side borders */
        border-bottom: none;
        /* Each box has its own full border now */
    }

    .search-btn {
        width: 100%;
        height: 56px;
        border-radius: 12px;
        margin-top: 10px;
    }

    /* Nav & Others */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .partners-grid {
        flex-direction: column;
        gap: 20px;
    }

    .split-layout {
        flex-direction: column;
        gap: 40px;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4 {
        grid-column: span 1;
        height: 250px;
    }
}