/* Hero Section Styles */
.hero .carousel-inner {
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

.hero .carousel-item {
    height: 100%;
}

.hero .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.hero .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    padding: 0 15px;
}

.hero .carousel-caption h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    color: #fff;
    line-height: 1.2;
}

.hero .carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: #fff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero .carousel-caption .btn {
    display: inline-block;
    white-space: nowrap;
}

.hero .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero .carousel-fade .carousel-item.active {
    opacity: 1;
}

/* About Section Styles */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: -30px;
}

.about-images-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 1.5rem;
    height: 500px;
}

.about-image-main {
    grid-column: 1 / 9;
    grid-row: 1 / 9;
    z-index: 2;
}

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

.about-image-main:hover img {
    transform: scale(1.02);
}

.about-image-secondary {
    grid-column: 7 / 13;
    grid-row: 7 / 13;
    z-index: 1;
}

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

.about-image-secondary:hover img {
    transform: scale(1.02);
}

.about-images-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(47, 79, 170, 0.1) 0%, rgba(12, 121, 149, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
}

.about-images-grid::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(12, 121, 149, 0.08) 0%, rgba(47, 79, 170, 0.08) 100%);
    border-radius: 50%;
    z-index: 0;
}

.about-content .sub-heading {
    background: linear-gradient(135deg, #2f4faa 0%, #0c7995 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-stats {
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-info .sub-heading {
    background: linear-gradient(135deg, #2f4faa 0%, #0c7995 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-form-wrapper {
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form-wrapper .form-control:focus {
    border-color: #2f4faa;
    box-shadow: 0 0 0 0.2rem rgba(47, 79, 170, 0.15);
}

/* Destinations Section */
.hottest-destinations .sub-heading {
    background: linear-gradient(135deg, #2f4faa 0%, #0c7995 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-sub-heading {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    height: 264px;
}

.bg-sub-heading .sub-heading-right-bg {
    position: absolute;
    top: 0;
    right: 0;
}

.bg-sub-heading .sub-heading-left-bg {
    position: absolute;
    top: 0;
    left: 0;
}

/* Header Style */
header {
    transition: background-color 0.3s ease;
}

header.scrolled {
    /* background-color: rgba(255, 255, 255, 0.8); */
    background-color: #F7F9FE;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo switching between full and mobile */
.navbar-brand .logo-full {
    display: inline-block;
}

.navbar-brand .logo-mobile {
    display: none;
}

header .nav-item a.nav-link {
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-weight: 500;
    font-size: 16px;
    color: #1D2C4E;
    line-height: 1.5;
}

header .nav-item a.nav-link:focus {
    border-color: #86b7fe;
}

header .nav-item a.nav-link:hover,
header .nav-item a.nav-link.active {
    color: var(--bs-menu-color);
}

/* Banner Style */
.banner-text {
    background-image: url('/static/images/banner-text-graphic.png');
    background-image: url('/static/images/banner-text-graphic.png'), linear-gradient(263.55deg, #E0EAFE 0%, rgba(191, 210, 252, 0.9) 63.5%, rgba(169, 191, 242, 0.9) 99.29%);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.banner-text p {
    color: #023047;
    font-size: 16px;
}

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

.banner-image-right img {
    border-radius: 10px;
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: -440px 0;
}

.sub-page-banner {
    background-color: #F7F9FE;
    padding: 100px 0;
}

/* Sub Pages Style */

.sub-header {
    height: 264px;
    background: linear-gradient(88.07deg, #E0EAFE 0%, rgba(191, 210, 252, 0.9) 64%, rgba(169, 191, 242, 0.9) 100%);
}

.sub-header h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 72px;
    color: #023047;
}

#introduction h2 {
    font-size: 16px !important;
    line-height: 24px !important;
    color: #1f1f1f !important;
}

.sub-page-content {
    font-size: 14px;
    line-height: 24px;
    color: #1f1f1f;
}

.sub-page-content a.link {
    color: blue!important;
    text-decoration: underline!important;
}

.sub-page-content p {
    font-weight: 400;
    line-height: 20px;
}

.sub-page-content h2 {
    font-size: 20px!important;
    line-height: 32px!important;
    font-weight: 600!important;
    color: #1f1f1f!important;
    margin: 30px 0 15px;
}

.sub-page-content ul li {
    list-style: none;
}

.sub-page-links {
    top: 50px;
}

.sub-page-links ul li {
    list-style: none;
}

.sub-page-links ul li a {
    padding: 15px;
    border-left: 3px solid #DFE4EA;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #6B7280;
    text-decoration: none;
    display: block;
}

.sub-page-links ul li a.active {
    color: #1F1F1F;
    font-weight: 500;
    border-left: 3px solid #2F4FAA !important;
}

.new-window-icon {
    width: 14px;
    height: 14px;
    margin: -8px 0 0 2px;
}

/* Main Content Style */
.main-content {
    color: #414141;
}

.main-content .details {
    padding-top: 80px;
    padding-bottom: 80px;
}

.main-content p {
    font-size: 16px;
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #6c757d;
}

.sub-heading {
    font-size: 0.9rem;
    line-height: 24px;
    color: #0c7995;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ipad-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: -45px;
}

.counter {
    text-align: center;
}

.counter h2 {
    font-size: 36px;
    font-weight: 600;
    /* color: #0297BF; */
    color: #0F5D71;
}

.counter span {
    font-size: 14px;
    font-weight: 400;
    color: #62636C;
}

.our-solutions-heading p {
    width: 25%;
}

details {
    padding: 5px 15px;
    border-left: 2px solid #E9ECEF;
    margin-bottom: 15px;
}

details summary {
    color: #6B7280;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details p {
    font-size: 16px;
    font-weight: 400;
    color: #1f1f1f !important;
    margin-bottom: 0 !important;
}

details[open] {
    border-left: 2px solid #0F5D71;
}

details[open] summary {
    /* color: #0297BF; */
    color: #0F5D71;
}

/* details animation start */
details[name="our-solutions"] {
    transition: all 0.3s ease-in-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    20% {
        opacity: 0.2;
        transform: translateY(-8px);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-5px);
    }

    75% {
        opacity: 0.75;
        transform: translateY(-2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

details[name="our-solutions"] p {
    opacity: 0;
    transform: translateY(-10px);
    transition-delay: 0.1s;
}

details[name="our-solutions"][open] p {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

details[name="our-solutions"] summary {
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.our-solutions-image img {
    opacity: 0;
    transform: translateY(-10px);
    width: 100%;
}

.our-solutions-image img[style*="display: block"] {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* details animation end */

/* Compliance Logos Style */
.compliance-logos {
    background-color: rgba(47, 79, 170, 0.07);
    padding: 100px 0;
}

.compliance-logos .logo-item {
    text-align: center;
}

.compliance-logos .logo-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f1f1f;
    margin-top: 15px;
    margin-bottom: 0;
}

.compliance-logos .logo-item span {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: #595959;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2f4faa 0%, #0c7995 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #253a85 0%, #095d73 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 79, 170, 0.3);
}

.btn-outline-light {
    border: 2px solid #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: #2f4faa;
    transform: translateY(-2px);
}

/* Client Feedback Style */
.client-feedback {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 80px;
    text-align: center;
    margin: 100px 0;
}

.client-feedback .stars img {
    width: 22px;
    height: 22px;
}

.client-feedback .feedback-item {
    padding: 60px 45px 30px;
    background-color: #f5f5f5;
}

.feedbacks {
    text-wrap: pretty;
}

.client-profile .avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-profile .client-name {
    margin-left: 15px;
    text-align: left;
}

.client-profile .client-name p {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    /* color: #0297BF; */
    color: #0F5D71;
    margin-bottom: 0;
}

.client-profile .client-name span {
    font-size: 12px;
    font-weight: 400;
    color: #252B42;
}

.client-feedback .carousel-inner {
    margin: 80px 0;
}

.client-feedback .carousel-indicators {
    position: relative;
    margin: 0;
}

.client-feedback .carousel-indicators button {
    width: 10px;
    height: 10px;
    background-color: #8D92A1;
    border-radius: 50%;
}

.client-feedback .carousel-indicators .active {
    background-color: #0297BF;
}

/* Our Team Style */
.our-team {
    padding: 160px 0;
}

.our-team .card-wrapper {
    margin-top: 80px;
}

.our-team .card {
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0px 13px 19px 0px rgba(0, 0, 0, 0.07);
    border: none;
}

.our-team .card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.our-team .card-body {
    padding: 30px 0;
    min-height: 140px;
}

.our-team .card-title {
    font-size: 16px;
    font-weight: 700;
    /* color: #0297BF; */
    color: #0F5D71;
}

.our-team .card-text {
    font-size: 12px;
    font-weight: 400;
    color: #414141;
    margin-bottom: 0;
    margin-top: 8px;
}

.our-team .email-link {
    font-size: 12px;
    font-weight: 400;
    /* color: #0297BF; */
    color: #0F5D71;
    text-decoration: none;
}

/* Footer Style */
footer {
    background-color: #033a52;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 50px 0 35px;
}

footer .heading {
    font-size: 22px;
    font-weight: 500;
}

footer dt,
footer dd {
    margin-bottom: 20px;
}

footer .footer-links a {
    text-decoration: none;
    color: #fff;
}

/* newsletter style */

#newsletterForm .input-group button {
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

/* Tour Cards / Product Cards Style */
.owl-carousel .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.owl-carousel .card-img-top {
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.owl-carousel .card-body {
    min-height: 220px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.owl-carousel .card-body .card-subtitle {
    min-height: 24px;
}

.owl-carousel .card-body .card-title {
    min-height: 32px;
    margin-bottom: 0.75rem;
}

.owl-carousel .card-body .card-text {
    min-height: 40px;
    flex: 1;
}

.owl-carousel .card-body .fw-bold {
    margin-top: auto;
}

.owl-carousel .card-footer {
    margin-top: auto;
}

/* Ensure consistent card heights in grid layouts */
.main-content .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content .card-img-top {
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.main-content .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content .card-body .card-text {
    flex: 1;
}

.main-content .card-footer {
    margin-top: auto;
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-img-top {
    overflow: hidden;
}
