/* Custom styles and color definitions */
body {
    font-family: 'Inter', sans-serif;
}
.bg-primary-blue { background-color: #3b5978; }
.text-primary-blue { color: #3b5978; }
.bg-secondary-blue { background-color: #8aa8c7; }
.text-secondary-blue { color: #8aa8c7; }
.border-secondary-blue { border-color: #8aa8c7; }
.bg-light-blue { background-color: #b9d1e9; }
.text-light-blue { color: #b9d1e9; }
.bg-accent-yellow { background-color: #f5b301; }
.text-accent-yellow { color: #f5b301; }
.border-accent-yellow { border-color: #f5b301; }
.text-dark-gray { color: #5e5a5c; }

/* Top Banner Hover Fix */
.top-bar a:hover {
    color: #f5b301;
}

/* Custom hover effect for packages */
.package-card:hover {
    border-top-color: #f5b301;
}

/* Header Dropdown Styles */
.dropdown-menu {
    display: none;
    position: absolute; /* Changed from fixed */
    top: 100%; /* Position relative to the header */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #e5e7eb;
    animation: fadeIn 0.3s ease-out;
    z-index: 100; /* Added this line to ensure it's on top */
}

.nav-item {
    position: static; 
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item:hover {
    background-color: #f0f4f8;
    color: #3b5978;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scrolling Banner Styles */
#scrolling-text-container {
    background-color: #3b5978; /* Using primary blue */
    color: white;
    overflow: hidden;
    white-space: nowrap;
}
#scrolling-text {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* NEW MOBILE MENU OVERLAY STYLES */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.mobile-menu-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}
.mobile-menu-body {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background-color: #ffffff;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
    box-shadow: -10px 0 25px rgba(0,0,0,0.1);
}
.mobile-menu-overlay.hidden .mobile-menu-body {
    transform: translateX(100%);
}
.mobile-submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid #e5e7eb; /* A nice visual indicator */
}
.mobile-menu-toggle.is-open + .mobile-submenu {
    display: block;
}
.mobile-menu-toggle .arrow {
    transition: transform 0.3s ease-in-out;
}
.mobile-menu-toggle.is-open .arrow {
    transform: rotate(180deg);
}


/* Hero Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 42.1875%; /* New Aspect Ratio (16:6.75) */
}
.slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slider-wrapper {
    display: flex;
    height: 100%;
}
.slider-wrapper.transitioning {
    transition: transform 0.5s ease-in-out;
}
.slider-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}
.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
.slider-dot.active {
    background-color: #f5b301;
}

/* REVISED HERO SLIDER PANEL STYLES - NOW STATIC */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
}

.slide-panel {
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better readability */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 2rem; /* Increased padding */
}

.hidden-description {
    opacity: 1;
    max-height: 150px; /* Ensure it has enough space */
    overflow: visible;
}

@media (max-width: 1023px) {
    .slide-overlay {
        position: relative;
        height: auto;
    }
    .slide-panel {
        padding: 0.75rem 1rem;
        position: relative;
        height: auto;
    }
    .slide-panel > .container {
        position: static;
        width: auto;
        padding: 0;
    }
    .hidden-description {
        display: block; /* Ensure description is visible on mobile */
        font-size: 0.75rem;
        line-height: 1rem;
        margin-top: 0.5rem;
    }
    .slide-interaction-btn span {
        display: none; /* Hide "See More" text on mobile */
    }
    .slide-overlay h3 {
        font-size: 1.125rem; /* text-lg */
        line-height: 1.5rem;
    }
    .slide-overlay .mt-1 { /* Targeting subtitle */
        font-size: 0.875rem; /* text-sm */
        line-height: 1.25rem;
    }
    .slide-interaction-btn {
        height: 2.25rem; /* h-9 */
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .slide-interaction-btn svg {
        width: 1rem; /* h-4, w-4 */
        height: 1rem;
    }
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Our Top Services Section Animation */
.service-item {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
    border-radius: 0.5rem; /* rounded-lg */
}

.service-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    background-color: #f9fafb; /* bg-gray-50 */
}


/* New Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #3b5978 0%, #5e5a5c 100%);
    color: #ffffff;
    padding: 60px 0 30px;
}
.footer-section h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    font-family: 'Poppins', sans-serif;
}
.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f5b301, #fbbf24);
    border-radius: 2px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-section ul li a:hover {
    color: #f5b301;
    padding-left: 10px;
}
.footer-section ul li i {
    width: 18px;
    color: #f5b301;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: #f5b301;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a {
    color: #f5b301;
    text-decoration: none;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.newsletter-form button {
    background: #f5b301;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}
.newsletter-form button:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* Vertical Contact Button */
.vertical-contact-btn {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.vertical-contact-btn.show {
    opacity: 1;
    visibility: visible;
}
.vertical-contact-link {
    display: block;
    background: linear-gradient(135deg, #f5b301, #d97706);
    color: #ffffff;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.vertical-contact-link:hover {
    background: linear-gradient(135deg, #d97706, #f5b301);
    color: #ffffff;
    transform: translateX(5px);
}
.vertical-contact-link span {
    display: block;
    white-space: nowrap;
}
 .vertical-contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.vertical-contact-link:hover::before {
    left: 100%;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 90px; /* Increased from 30px to move it up */
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b5a78, #5e5a5c);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    transform: translateY(-3px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 767.98px) {
    .newsletter-form {
        flex-direction: column;
    }
    .social-links {
        justify-content: center;
    }
    .vertical-contact-btn {
        display: none;
    }
}

/* Language Selector Styles */
.language-selector {
    position: relative;
}
.language-selector-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: background-color 0.3s;
}
.language-selector-button:hover {
    background-color: #f0f4f8;
}
.language-selector-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    min-width: 120px;
    z-index: 60;
    overflow: hidden;
}
.language-selector:hover .language-selector-dropdown {
    display: block;
}
.language-selector-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #5e5a5c;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}
.language-selector-item:hover {
    background-color: #f0f4f8;
    color: #3b5978;
}
.language-selector-item.active {
    background-color: #3b5978;
    color: white;
    font-weight: 600;
}



