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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 300;
}

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

:root{
  --hdr-bg:#414547e8;
  --hdr-h-desk:90px;
  --hdr-h-mob:70px;
}

.header{
  position:fixed;top:0;left:0;width:100%;
  background:var(--hdr-bg);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  z-index:1000;
}

.header-inner{max-width:1300px;margin:0 auto;padding:0 1rem}

.header-top-row{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--hdr-h-desk);position:relative;
}

/* logo (desktop centred with absolute trick) */
.logo{position:absolute;left:50%;transform:translateX(-50%)}
.logo img{height:74px;width:auto;filter:drop-shadow(0 2px 5px rgb(0 0 0 /.55))}

.contact-quick{display:flex;gap:1.25rem}
.contact-btn{color:#fff;text-decoration:none;font-size:.95rem;font-weight:500;
  display:flex;align-items:center;gap:.4rem}
.contact-btn i{font-size:1rem}

.navbar{display:flex}
.nav-links{display:flex;gap:2rem;list-style:none;margin:0;padding:0}
.nav-links a{color:#fff;font-weight:600;font-size:.95rem;text-decoration:none}

.burger{
  background:none;border:none;color:#fff;font-size:1.8rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}

/* drawer */
.mobile-menu{
  display:none;flex-direction:column;align-items:center;gap:1.2rem;
  padding:1rem 0 1.4rem;background:var(--hdr-bg);
}
.mobile-menu.active{display:flex}

/* breakpoints */
@media(max-width:768px){

  /* row shorter */
  .header-top-row{height:var(--hdr-h-mob)}

  /* logo goes flush left in flow */
  .logo{position:static;transform:none;margin-right:auto}
  .logo img{height:60px}

  /* burger stays right */
  .burger{margin-left:auto}

  .desktop-only{display:none!important}
  .mobile-only{display:flex!important}
}
@media(min-width:769px){
  .mobile-only,.mobile-menu{display:none!important}
}

/* push page below header */
main,.hero{margin-top:var(--hdr-h-desk)}
@media(max-width:768px){main,.hero{margin-top:var(--hdr-h-mob)}}
/* ===== /HEADER ===== */

.hero {
  margin-top: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('../images/background1.png') center center / cover no-repeat;
  padding: 4rem 2rem;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-cutout {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
    transform: translateY(1px);
}

.hero-cutout img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 4rem;
    color: #f1da40;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #E57A01;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #d06d00;
}

.hero-cutout {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 70px;
  }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .hero-cutout {
        display: none; /* Optional: Remove if it's causing layout issues */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    padding: 0 2rem;
}

.about-left {
    display: flex;
    align-items: center;
}

.about-left img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.about-center {
    padding: 2rem;
}

.about-center h2 {
    font-size: 2.5rem;
    color: #f1da40;
    margin-bottom: 2rem;
    text-align: center;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-btn {
  color: white;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-btn:hover {
    background-color: #d06d00;
}

.about-right {
    position: relative;
    overflow: visible; /* allow plane to escape its box */
    z-index: 3;
}

.flying-plane {
    position: absolute;
    bottom: -30px;        /* lower near paragraph bottom */
    right: -600px;        /* push to right edge of screen (outside container) */
    width: 320px;         /* large on entry */
    height: auto;
    transform: translate(0, 0) scale(0.8);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    z-index: 10;          /* on top of text */
}

@media (max-width: 1200px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-left {
        display: none;
    }
    
    .about-center {
        padding: 1rem;
    }
}

/* Search Section */
.search {
    padding: 5rem 0;
    background-color: #f8f9fa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.search h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #f1da40;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.search-card {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.search-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.search-row {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.search-field {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.search-field.search-button-container {
    flex: 0 0 auto;
    min-width: auto;
    align-self: flex-end;
}

.search-field label {
    margin-bottom: 6px;
}

.field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.field-input {
    padding: 0.8rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    color: #2c3e50;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.field-input:focus {
    outline: none;
    border-color: #f1da40;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(71, 196, 244, 0.1);
}

.field-input::placeholder {
    color: #adb5bd;
}

#checkInFromInput.flatpickr-input {
    height: 48px !important;
    padding: 0.8rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    vertical-align: middle;
    box-sizing: border-box;
    margin-top: 4px;
}

.search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background-color: #E57A01;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    min-width: 140px;
    justify-content: center;
    height: 48px;
}

.search-button:hover {
    background-color: #d06d00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 122, 1, 0.2);
}

.search-button i {
    font-size: 1rem;
}

/* Loading states for form fields */
.search-field.loading .field-input {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: wait;
}

.search-field.error .field-input {
    border-color: #dc3545;
    background-color: #fff5f5;
}

/* Unsupported destination state */
#checkInFromInput[placeholder*="nav atbalstīts"] {
    border-color: #ffc107;
    background-color: #fff8e1;
    color: #856404;
    cursor: not-allowed;
}

/* Status messages */
.status-msg {
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 500;
}

.status-msg.success {
    color: #28a745;
}

.status-msg.error {
    color: #dc3545;
}

.status-msg.warning {
    color: #ffc107;
}

.status-msg.info {
    color: #17a2b8;
}

.status-msg.loading {
    color: #6c757d;
}

@media (max-width: 1024px) {
    .search-row {
        gap: 1rem;
    }
    
    .search-field {
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .search-card {
        padding: 1.5rem;
    }
    
    .search-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .search-field {
        width: 100%;
        min-width: auto;
    }
    
    .search-button {
        width: 100%;
    }
    
    .search h2 {
        font-size: 2rem;
    }
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #f1da40;
    font-size: 2.5rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.social-bar {
    background: #2c3e50;
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #f1da40;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.member-quote {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 4.5rem;
}

.member-contact {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-contact i {
    color: #f1da40;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        height: 250px;
    }
}

/* Partners Section */
.partners {
    padding: 5rem 0;
    background-color: white;
}

.partners h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #f1da40;
    font-size: 2.5rem;
    font-weight: 700;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-item {
        padding: 1.5rem;
    }
    
    .partners h2 {
        font-size: 2rem;
    }
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: url('../images/whyus.png') center/cover no-repeat;
    position: relative;
}

.why-us-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.why-us h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reason-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reason-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.star {
    color: #EBFA6D;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(235, 250, 109, 0.3);
}

.reason-item h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.reason-item p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us h2 {
        font-size: 2rem;
    }
    
    .reason-item {
        padding: 1.5rem;
    }
}

/* Reviews Section */
.reviews {
    padding: 0;
    background-color: #051C35;
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.reviews-content {
    padding: 4rem;
    color: white;
}

.reviews h2 {
    text-align: left;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.review-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.review-slide.active {
    display: block;
}

.review-text {
    font-size: 1.8rem;
    line-height: 1.4;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
}

.review-author {
    margin-top: 2rem;
}

.review-author h4 {
    font-size: 1.2rem;
    color: #f1da40;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.review-author p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.carousel-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: white;
    color: #051C35;
}

.reviews-image {
    height: 100%;
    min-height: 600px;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-image {
        min-height: 400px;
    }
    
    .review-text {
        font-size: 1.5rem;
    }
    
    .reviews-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .reviews h2 {
        font-size: 2rem;
    }
    
    .review-text {
        font-size: 1.3rem;
    }
    
    .reviews-image {
        min-height: 300px;
    }
    
    .reviews-content {
        padding: 2rem;
    }
}

/* Gift Card Section */
.gift-card {
    padding: 4rem 0;
    background-color: white;
}

.gift-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
    padding: 0 2rem;
}

.gift-card-image {
    height: 100%;
    min-height: 400px;
}

.gift-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gift-card-content {
    padding: 2rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.gift-card-info {
    max-width: 600px;
}

.gift-card-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #f1da40;
}

@media (max-width: 1024px) {
    .gift-card-container {
        grid-template-columns: 1fr;
    }
    
    .gift-card-image {
        min-height: 300px;
    }
    
    .gift-card-content {
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .gift-card {
        padding: 2rem 0;
    }
    
    .gift-card-container {
        padding: 0 1rem;
    }
    
    .gift-card-image {
        min-height: 250px;
    }
    
    .gift-card-info p {
        font-size: 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 4rem 0;
    color: #2c3e50;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

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

.social-link {
    color: #2c3e50;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #f1da40;
}

.footer-center {
    padding: 0 2rem;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
}

.footer-center h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f1da40;
}

.footer-center p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bank-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.bank-info p {
    margin-bottom: 0.3rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-right h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1da40;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-right p {
    font-size: 0.95rem;
    color: #2c3e50;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-center {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-center {
        border-left: none;
        border-right: none;
        padding: 0;
    }
    
    .footer-left {
        align-items: center;
        text-align: center;
    }
    
    .footer-right {
        align-items: center;
        text-align: center;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact h2 {
    text-align: center;
    color: #f1da40;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    color: #f1da40;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-item h4 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #64748b;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.contact-item a {
    color: #f1da40;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0ea5e9;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

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

/* Form row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Kids ages container */
.kids-ages-container {
    margin-bottom: 1.5rem;
}

.kids-ages-label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.kid-age-group {
    display: flex;
    flex-direction: column;
}

.kid-age-group label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.submit-btn {
    background: #f1da40;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #0ea5e9;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .kids-ages-fields {
        grid-template-columns: 1fr;
    }
}

/* Policy Pages Styles */
.policy-page {
    margin-top: 150px; /* Account for fixed header */
    padding: 4rem 0;
    background: linear-gradient(135deg, #fafafa 0%, #f8f9fa 100%);
    min-height: calc(100vh - 150px);
}

.policy-page .container {
    max-width: 900px;
    background: white;
    padding: 3rem 4rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.policy-page h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f1da40;
    text-align: center;
}

.policy-page h2 {
    color: #f1da40;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #EBFA6D;
}

.policy-page h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-page p {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.policy-page ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.policy-page ul li {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    position: relative;
}

.policy-page ul li::before {
    content: "•";
    color: #f1da40;
    font-size: 1.2rem;
    position: absolute;
    left: -1.5rem;
    top: 0;
}

.policy-page a {
    color: #f1da40;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-page a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.policy-page strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Enhanced spacing for specific sections */
.policy-page p:first-of-type {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #6c757d;
}

.policy-page h2:first-of-type {
    margin-top: 2rem;
}

/* Responsive design for policy pages */
@media (max-width: 768px) {
    .policy-page {
        margin-top: 130px;
        padding: 2rem 0;
    }
    
    .policy-page .container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .policy-page h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .policy-page h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .policy-page h3 {
        font-size: 1.2rem;
        margin-top: 2rem;
    }
    
    .policy-page p {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 1.2rem;
    }
    
    .policy-page ul {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .policy-page .container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .policy-page h1 {
        font-size: 1.8rem;
    }
    
    .policy-page h2 {
        font-size: 1.3rem;
        padding-left: 0.5rem;
    }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #333;
}

.loader-content .spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #E57A01;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Enhanced Smart Loader Styles */
.loader-content .enhanced-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-width: 320px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loader-content .status-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.loader-content .progress-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loader-content .progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-content .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E57A01 0%, #f1da40 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.loader-content .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loader-content .progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.loader-content .offers-found {
    font-size: 1rem;
    color: #059669;
    font-weight: 500;
    background: #ecfdf5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
}

.loader-content .offers-count {
    font-weight: 700;
    color: #047857;
}

.loader-content .estimated-time {
    font-size: 0.9rem;
    color: #7c3aed;
    font-weight: 500;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.loader-content .time-remaining {
    font-weight: 600;
    color: #5b21b6;
}

/* Responsive design for smart loader */
@media (max-width: 768px) {
    .loader-content .enhanced-content {
        min-width: 280px;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .loader-content .status-text {
        font-size: 1.1rem;
    }
    
    .loader-content .offers-found,
    .loader-content .estimated-time {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .loader-content .enhanced-content {
        min-width: 260px;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .loader-content .status-text {
        font-size: 1rem;
    }
    
    .loader-content .progress-bar {
        height: 6px;
    }
}

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

/* === Load More Button & Loader === */
.custom-loader {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* === FILTER STYLES === */
.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f8f9fa;
}

.filters-header h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0;
}

.clear-filters-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clear-filters-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

.filters-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.filter-label {
  font-weight: 500;
  color: #2c3e50;
  font-size: 1rem;
}

/* Stars Filter */
.stars-filter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.star-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.3rem 0;
}

.star-checkbox input[type="checkbox"] {
  margin: 0;
}

.star-text {
  font-size: 0.9rem;
  color: #495057;
}

/* Price Filter */
.price-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-filter input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.9rem;
}

.price-separator {
  color: #6c757d;
  font-weight: 500;
}

/* Board Filter */
.board-filter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.board-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.3rem 0;
}

.board-checkbox input[type="checkbox"] {
  margin: 0;
}

.board-checkbox span {
  font-size: 0.9rem;
  color: #495057;
}

/* Sort Select */
.sort-select {
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.9rem;
  background: white;
  color: #495057;
  cursor: pointer;
  width: 100%;
}

.sort-select:focus {
  outline: none;
  border-color: #E57A01;
  box-shadow: 0 0 0 2px rgba(229, 122, 1, 0.2);
}

/* === BACKGROUND FIXES === */
body.results-page .search {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background-color: #f8f9fa !important;
}

.results-main {
  background-color: #fafafa !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* === REMOVE ANY CONFLICTING MARGINS/PADDING === */
.results-container > a {
  display: block;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none;
  color: inherit;
}

.hotel-card {
  margin: 0 !important;
  padding: 0 !important;
}

/* === FORCE FULL WIDTH === */
.container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 2rem;
}

/* === RESULTS LAYOUT - TWO COLUMN GRID === */
.results-layout {
  max-width: none !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
  align-items: start !important;
}

/* === FILTERS SIDEBAR === */
.filters-sidebar {
  background: white !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  position: sticky !important;
  top: 120px !important;
  z-index: 100 !important;
  max-height: calc(100vh - 140px) !important;
  overflow-y: auto !important;
  border-left: 4px solid #e8f4f8 !important;
  transition: all 0.3s ease !important;
}

/* === RESULTS MAIN AREA === */
.results-main {
  background-color: #fafafa !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* === RESULTS CONTAINER - 3 COLUMN GRID === */
.results-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* === HOTEL CARD STYLES - ENSURE PROPER SIZING === */
.results-container .hotel-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: white !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.2s ease !important;
  min-height: auto !important;
}

/* === FORCE GRID LAYOUT WITH HIGHER SPECIFICITY === */
body.results-page .results-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}

body.results-page .results-layout {
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
  align-items: start !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  .results-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .results-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filters-sidebar {
    position: static;
    order: 2;
    margin-top: 1rem;
  }
  
  .results-main {
    order: 1;
  }
  
  /* Mobile: Force single column layout with proper spacing */
  .results-container,
  body.results-page .results-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    grid-template-columns: none !important;
    padding: 0 1rem !important;
  }
  
  /* Mobile: Hotel cards take most of screen height */
  .results-container .hotel-card,
  body.results-page .results-container .hotel-card {
    min-height: calc(100vh - 400px) !important;
    margin-bottom: 0 !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .results-layout {
    margin-top: 1rem;
  }
  
  /* Even smaller screens: More compact layout */
  .results-container,
  body.results-page .results-container {
    padding: 0 0.5rem !important;
    gap: 0.75rem !important;
  }
  
  .results-container .hotel-card,
  body.results-page .results-container .hotel-card {
    min-height: calc(100vh - 350px) !important;
    border-radius: 12px !important;
  }
}

/* === LOAD MORE BUTTON - FORCE VISIBILITY === */
.load-more-wrapper {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  display: block !important;
}

.load-more-btn {
  padding: 1.25rem 3rem;
  background: linear-gradient(135deg, #E57A01 0%, #f1da40 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(229, 122, 1, 0.3);
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  overflow: hidden;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #d4690f 0%, #e6c635 100%);
  box-shadow: 0 8px 25px rgba(229, 122, 1, 0.4);
}

.load-more-btn:active {
  transform: translateY(-1px);
}

.load-more-btn i {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.loading-state {
  display: none;
  color: #6c757d;
  font-style: italic;
  margin-top: 1rem;
}

.loading-state.show {
  display: block;
}

.loading-state i {
  margin-right: 0.5rem;
  color: #E57A01;
}
