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

body{
    background-color: #9661ec; 
    font-family: Arial, Helvetica, sans-serif;
    padding: 0px;
    padding-top: 0px;
    

}

/* Navbar Styling */
.navbar {
    background-color: #ffffff !important; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    padding: 10px 20px;
}

.navbar-brand .logo-circle {
    width: 120px; 
    height: 80px;
    border-radius: 30%; 
    overflow: hidden; /* Hide overflow for circular image */
    display: flex;
    justify-content: center;
    border: 2px solid #17a2b8; 
    transition: transform 0.3s ease;
}

.navbar-brand .logo-circle:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.navbar-brand .logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the circle */
}

.navbar-nav .nav-link {
    color: #000000 !important; 
    font-weight: 700; 
    margin: 0 10px; 
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 15px; 
    border-radius: 5px; 
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #17a2b8 !important; /* Blue on hover */
    background-color: rgba(23, 162, 184, 0.1); 
}

.navbar-nav .dropdown-menu {
    background-color: #ffffff; 
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: #000000;
    font-weight: normal;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #e0f7fa; 
    color: #17a2b8; 
}

.btn-outline-success {
    color: #17a2b8;
    border-color: #17a2b8;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline-success:hover {
    background-color: #17a2b8;
    color: #ffffff;
    border-color: #17a2b8;
}
 /* Custom square modal with background image */
.modal-content {
    background-size: cover;
    color: white;
    width: 400px;
    margin: auto;
    border-radius: 10px;
}
.mail{
    margin: 30px;
}

.modal-body {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    padding: 20px;
    border-radius: 10px;
}

.modal-title {
    color: #ffffff;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* Style the image to be a background */
.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: fit-content;
    min-height: fit-content;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures the image covers the entire container */
}

/* Add a dark overlay to improve text readability */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity here */
    z-index: 0;
}

/* Style the text content */
.carousel-caption {
    position: absolute; /* Needed to make the caption relative to the carousel item */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* Place text above the overlay */
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-content {
    background-color: rgba(0, 0, 0, 0.2); 
    padding: 2rem;
    border-radius: 10px;
}

.carousel-caption h1 {
    font-weight: 700;
}

/* Optional: Fade effect for the carousel */
.carousel-fade .carousel-item {
    transition: opacity 1s ease-in-out;
}
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    opacity: 0;
}

/*styling main container*/
.main-container {
    height: 500px;
    width: 100%;
    background: #fff;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensures content respects border-radius */
}

.image-column {
    height: 100%; /* Ensure image column takes full height of its parent row */
    max-height: 500px;
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
    border-top-right-radius: 70px;
    border-bottom-right-radius: 70px;
}

.content-column {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; /* Align text to the start (left) */
    min-height: 400px; 
}

h1 {
    color: #2c3e50;
    text-align: left; /* Align heading to left */
    margin-bottom: 20px;
}

blockquote {
    font-style: italic;
    margin: 20px 0;
    padding: 10px 20px;
    border-left: 5px solid #3498db;
    background-color: #ecf0f1;
    color: #555;
}

p {
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) { /* For screens smaller than large (lg) breakpoint */
    .image-column {
        display: none; /* Hide the image column on smaller screens */
    }
    .content-column {
        padding: 20px; /* Adjust padding for smaller screens */
    }
    h1 {
        text-align: center; /* Center heading on smaller screens */
    }
    blockquote {
        text-align: left; /* Keep blockquote left-aligned */
    }
}

/*styling main middle section*/

.main-middle {
    height: 500px;
    width: 100%;
    background: #fff;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Image column on the right */
.image-column-right {
    height: 100%;
    max-height: 500px;
}

.image-column-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Apply border-radius to the left side */
    border-top-left-radius: 70px;
    border-bottom-left-radius: 70px;
}

/* Content column on the left */
.content-column-left {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 400px;
}

/* Reusing existing styles for h1, blockquote, and p */
.content-column-left h1 {
    color: #2c3e50;
    text-align: left;
    margin-bottom: 20px;
}
.content-column-left blockquote {
    font-style: italic;
    margin: 20px 0;
    padding: 10px 20px;
    border-left: 5px solid #3498db;
    background-color: #ecf0f1;
    color: #555;
}
.content-column-left p {
    margin-bottom: 15px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991.98px) {
    .image-column-right {
        display: none;
    }
    .content-column-left {
        padding: 20px;
    }
    .content-column-left h1 {
        text-align: center;
    }
}

/* Main-button container styling */
.min-button-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 100%; 
    width: 100%; 
    margin: 0 auto; 
}

/* Heading styling */
h1 {
    color: #333; 
    margin-bottom: 50px; 
    font-weight: 700; 
    text-align: center; 
}

/* Styling for each country card */
.country-card {
    background-color: #e0f7fa; 
    border: 1px solid #b2ebf2; 
    cursor: pointer; 
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    display: flex;
    flex-direction: column; /* Arrange items vertically */
    justify-content: flex-start; 
    align-items: center; 
    min-height: 350px; 
    position: relative;
    padding: 15px; 
    overflow: hidden; 
}
/* Hover effect for country cards */
.country-card:hover {
    transform: translateY(-8px); /* Lift the card slightly on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    background-color: #c0f1f8; /* Slightly darker blue on hover */

    a:hover {
    color: #dc3545; /* Bootstrap's danger red color */
    }
}


/* Styling for the country name inside the card, at the bottom */
.country-name-inside {
    color: #0056b3; 
    font-weight: 600;
    font-size: 1.5rem; 
    text-align: center; 
    margin-top: auto; 
    margin-bottom: 0; 
}

/* Carousel specific styling (for the carousels inside the country cards) */
.carousel-inner {
    width: 100%;
    height: 250px; 
    border-radius: 8px; 
    overflow: hidden; 
}

.carousel-item img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    border-radius: 8px; 
}

/* Adjust carousel controls for better visibility */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4); 
    border-radius: 50%; 
    padding: 10px; 
}
/* Responsive adjustments for smaller screens (Bootstrap breakpoint for small devices) */
@media (max-width: 767.98px) {
    .min-button-container {
        padding: 25px; /* Reduce padding on smaller screens */
    }

    h1 {
        font-size: 2rem; /* Reduce heading font size */
        margin-bottom: 30px; /* Adjust margin below heading */
    }

    .country-card {
        min-height: 300px; /* Adjust height for smaller screens */
    }

    .carousel-inner, .carousel-item img {
        height: 200px; /* Adjust carousel height for smaller screens */
    }

    .favorite-icon {
        font-size: 1.5rem; /* Reduce icon size */
    }

    .country-name-inside { /* Updated class name */
        font-size: 1.3rem; /* Reduce text font size */
    }
}


.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden; /* Ensures content doesn't overflow */
}

/* Make the carousel full screen */
.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

/*bg-video styling*/
.bg-video {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.bg-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.content-overlay {
    position:relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 90%;
}
.logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.logo-text {
        font-size: 1.5rem;
        color: white;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 400;
    margin: 1rem 0 2rem;
    letter-spacing: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 5rem);
    }
    h2 {
        font-size: clamp(1rem, 4vw, 2rem);
        letter-spacing: 0.2rem;
    }
}
/* Footer Styling */

.main-footer {
    background-color: #474c51; 
    color: #f8f9fa; 
    padding: 40px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1); /* Shadow at the top of the footer */
}

.footer-heading {
    color: #17a2b8; /* Info blue for headings */
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #f8f9fa; /* Light text color for links */
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #17a2b8; /* Hover color for links */
}

.footer-bottom {
    background-color: black;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    text-align: center;
    color: white;
    justify-content: center;
    padding:5px;
}

/*styling for cookies*/

 #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #343a40; 
    color: white;
    padding: 1rem;
    z-index: 1050; /* A high z-index to ensure it's on top of other content */
    border-top: 1px solid #495057;
    display: none; /* Initially hidden, will be shown by JS if no cookie */
}
#cookie-banner .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
#cookie-banner .banner-text {
    flex-grow: 1;
    margin-right: 1rem;
}
#cookie-banner .btn-group {
    display: flex; /* Use flexbox for spacing */
    gap: 0.5rem;  /* Add space between buttons */
    white-space: nowrap;
}

/* --- Button Styling for circular shape and hover effect --- */
#cookie-banner .btn {
    border-radius: 9999px; /* This creates the pill-shaped "circular" buttons */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

#agree-btn:hover {
    background-color: #0d6efd; 
    border-color: #0d6efd;
}

#disagree-btn:hover {
    background-color: #5c636a;
    border-color: #5c636a;
}

