:root {
    --ice-primary: #001f3f;
    --ice-accent: rgb(50, 249, 6);
    --ice-light: #f8f9fa;
    --ice-dark: #212529;
}

body {
    background-color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ice-dark);
}

.navbar {
    background-color: rgb(10, 26, 68) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.nav-tabs .nav-link {
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--ice-accent);
}

.nav-tabs .nav-link.active {
    color: var(--ice-accent);
    background: transparent;
    border-bottom: 2px solid var(--ice-accent);
}

.btn-ice {
    background-color: var(--ice-accent);
    color: #000;
    border: none;
    transition: transform 0.2s;
    font-weight: bold;
}

.btn-ice:hover {
    background-color: rgb(40, 200, 5);
    color: #000;
    transform: translateY(-1px);
}

.card {
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.04)!important;
}

.badge {
    font-weight: 600;
    padding: 0.5em 1em;
}

.bg-success-subtle {
    background-color: #e6f4ea;
}

.bg-warning-subtle {
    background-color: #fff8e1;
}

.bg-danger-subtle {
    background-color: #fce8e6;
}

/* --- Horizontal Gallery Styles --- */

.scroll-wrapper {
    position: relative;
    width: 100%;
}

.horizontal-scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: grab;
    width: 100%;
    padding-bottom: 1.5rem;
    gap: 1.5rem;
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll:active {
    cursor: grabbing;
}

.service-card {
    flex: 0 0 calc(33.333% - 1rem) !important; /* Shows 3 items minus gap */
    min-width: calc(33.333% - 1rem) !important;
    height: 320px; /* Increased height for better content fit */
    min-height: 300px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.scroll-btn:hover {
    background-color: var(--ice-accent);
    color: #fff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.prev {
    left: -24px;
}

.scroll-btn.next {
    right: -24px;
}

/* --- Lazy Loading Sections (Fade-In Support) --- */

.hero-section, .premium-section, .complimentary-section, .plans-section, .testimonials-section, .partner-section {
    position: relative;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Content layer - must be above gradient */
.hero-section > .container,
.premium-section > .container,
.complimentary-section > .container,
.plans-section > .container,
.testimonials-section > .container,
.partner-section > .container {
    position: relative;
    z-index: 2;
}

/* Gradient Layer (Always on top of images) */
.hero-section::after,
.premium-section::after,
.complimentary-section::after,
.plans-section::after,
.testimonials-section::after,
.partner-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Let clicks pass through */
    background-attachment: fixed;
}

/* High-Res Image Layer (Fades in) */
.hero-section::before,
.premium-section::before,
.complimentary-section::before,
.plans-section::before,
.testimonials-section::before,
.partner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.8s ease-in-out;
}

.hero-section.bg-loaded::before,
.premium-section.bg-loaded::before,
.complimentary-section.bg-loaded::before,
.plans-section.bg-loaded::before,
.testimonials-section.bg-loaded::before,
.partner-section.bg-loaded::before {
    opacity: 1;
}

/* --- Specific Section Styles --- */

.hero-section {
    background-color: #001f3f;
    color: white;
    padding: 100px 0;
    background-image: url('data:image/webp;base64,UklGRmwAAABXRUJQVlA4IGAAAAAQAgCdASoQAAkAAgA0JZQCdAEWnUVhGgKAAP78hqPeyD/LO68uzg+cd/fs2fJ97zFD571W2qvkvJnfe9S88I9a8rjfpRjOz2Tnj7NQfs4LoqDD6AhtM1UYVMTLnpieAAA=');
}
.hero-section::after {
    background: linear-gradient(rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.6));
}
.hero-section::before {
    background-image: url('/images/hero-background.webp');
}

.premium-section {
    background-color: #ffffff;
    padding: 80px 0;
    background-image: url('data:image/webp;base64,UklGRpIAAABXRUJQVlA4IIYAAABwAgCdASoQAAsAAgA0JZQC7AYqXgJ2wmBvFfcAAP729OCHyStarXLzOA4UvP8/+iIHaObtNyp3ay0A6t8SdX/xHTca2dsEDX4D6dEXQ8OYDldvf60dRENvz+QxSyYstgc35/mCgowMt/xGeuZ8jR2N9clVGrqrsJuS8QKvtVAfD4ZtTSAAAA==');
}
.premium-section::after {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6));
}
.premium-section::before {
    background-image: url('/images/premium-background.webp');
}

.complimentary-section {
    background-color: #001f3f;
    padding: 80px 0;
    background-image: url('data:image/webp;base64,UklGRnYAAABXRUJQVlA4IGoAAAAQAgCdASoQAAwAAgA0JYgCdAEe0ez527VAAP5b9mCg3d/YLqeJ6Xmqz2pcXjHiL51vD8nHJMu2Dp+HaADkdyVFU3I+Zza8cgejvTw7a01iayrOnTAC/IimjlhO3hBeXcnz3cGEv+pyAAAA');
}
.complimentary-section::after {
    background: linear-gradient(rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.6));
}
.complimentary-section::before {
    background-image: url('/images/complimentary_services.webp');
}

.plans-section {
    background-color: #ffffff;
    padding: 80px 0;
    background-image: url('data:image/webp;base64,UklGRoIAAABXRUJQVlA4IHYAAAAQAgCdASoQAAsAAgA0JZACdADPmZCPMVwAAP75YpjTBgDtcwLg+1CBL6EOHC7uBrGeiT6YANNhonrX0oQgNcmIJ5R8mN9ZklLIFMnWFL6BpE621m0ys2JHxJQqc2J2ufRvsgdatyL3TATdsYczh3f9Q/LRuhAA');
}
.plans-section::after {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6));
}
.plans-section::before {
    background-image: url('/images/packages.webp');
}

.testimonials-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    background-image: url('data:image/webp;base64,UklGRn4AAABXRUJQVlA4IHIAAADwAQCdASoQAAsAAgA0JZQCdAYvDNc6CwAA/ADPShgR7evQvukVo8erOYO3XiSBsfTUg90e++Cgxk95Httzn3pKJAIuD7Ntc5lDqTavQPJp2Vopx0R/fxbi8Q0SzYQjJ1P18QfduhJ/e1lG4qiG28MTuAA=');
}
.testimonials-section::after {
    background: linear-gradient(rgba(248, 249, 250, 0.6), rgba(248, 249, 250, 0.6));
}
.testimonials-section::before {
    background-image: url('/images/success_stories.webp');
}

.partner-section {
    background-color: #001f3f;
    padding: 10px 0;
    background-image: url('data:image/webp;base64,UklGRpoAAABXRUJQVlA4II4AAACwAgCdASoQAAsAAgA0JQBOgngFRD81zi+Bm2LfsgAA/ps9986vZzrvAibqgSb5uvVbSDQC//HEDRZubFSm1I1mrPAKuj8lFb7D/c2bu9jYz6ldzVTQY23v+2ZpBfTsjftJvlKdb1nDiCwqcgIpPdgSnRUSfG/MQmAhbn+IbA/5sQa+NcSDgUpaX4ZU0AAA');
}
.partner-section::after {
    background: linear-gradient(rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.6));
}
.partner-section::before {
    background-image: url('/images/supporting_partners.webp');
}

.partner-img {
    display: block;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    margin: 0 auto; /* Center horizontally */
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-btn.prev { left: -10px; }
    .scroll-btn.next { right: -10px; }
}
