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

body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1abc9c;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

/* Hamburger Menu (Ensure it is visible) */
.hamburger {
    font-size: 2rem;
    color: white;
    display: none;
    cursor: pointer;
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide menu by default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #1abc9c;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links li {
        padding: 10px;
        display: block;
    }

    .hamburger {
        display: block; /* ✅ Ensure it's visible on small screens */
    }

    .nav-links.active {
        display: flex; /* Show menu when toggled */
    }
}
 



/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Hero Section Styling */
.hero {
    background-color: #535da1;
    position: relative;
    padding: 100px 20px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero .hero-text {
    max-width: 700px;
    margin: auto;
}

.hero svg {
    display: block;
    margin-top: 50px;
    width: 100%;
}

/* Responsive Hero Section */
@media (min-width: 991px) {
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
}

/* .css for dynamic cards is from here */
/* Center the title and add styling */
.blog-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1abc9c;
    padding: 10px 0; /* Reduced top and bottom padding */
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Flexbox Container */
.blog-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 45px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 610px;
    height: 80vh; /* Ensure full height of viewport */
    align-items: center; /*Centers the blog cards vertically*/
}
/* Flexbox Container */
/* .blog-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 45px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100vh; /* Ensure full height of viewport */
   
    /* justify-content: center; Centers the cards horizontally */
/* }  */


.blog-container::-webkit-scrollbar {
    display: none;
}

/* Blog Card Styling */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 400px; /* Ensure cards don't shrink */
    height: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto; /* Prevent resizing */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Image inside Blog Card */
.blog-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.blog-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background-color: #e0e0e0; /* Light gray background when no image is loaded */
    display: block; /* Prevent collapsing if image fails */
}

/* Ensure the image space is maintained even if the src is broken */
.blog-card .image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0; /* Light gray placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #555;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}


/* Content Area inside Blog Card */
.blog-card-content {
    padding: 15px; /* Reduced padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Scrollable Menu Section */
.menu-scroll {
    max-height: 215px; /* Adjust the height as needed */
    overflow-y: auto;  /* Allow vertical scrolling */
    padding-right: 0px; /* Prevent content being hidden behind scrollbar */
    background-color: #f1f1f1; /* Light background for the menu */
    border-radius: 8px;
    margin-top: 5px; /* Reduced top margin */
    padding-bottom: 10px; /* Added padding to prevent last items from being cut off */
    /* align-items: center; Centers the blog cards vertically */
    /* justify-content: space-between; */
    /* height: 80vh; Ensure full height of viewport */
}

/* Optionally, you can adjust max-height based on content or container size */
.menu-scroll::-webkit-scrollbar {
    width: 5px;
}

.menu-scroll::-webkit-scrollbar-thumb {
    /* background-color: #1abc9c; */
    border-radius: 10px;
}

.menu-scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
}

/* Menu List */
.menu-scroll ul {
    padding: 0;
    margin: 0;
    list-style: none;
    
}

/* Menu List Items */
.menu-scroll ul li {
    margin-bottom: 8px; /* Reduced margin between list items */
    font-size: 14px;
    color: #555;
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, box-shadow 0.3s;
    
}

/* .menu-scroll ul li:hover {
    background-color: #1abc9c; 
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
} */

/* Scrollbar Customization */
.scrollable-menu::-webkit-scrollbar {
    width: 5px;
}

.scrollable-menu::-webkit-scrollbar-thumb {
    background-color: #1abc9c;
    border-radius: 10px;
}

.scrollable-menu::-webkit-scrollbar-track {
    background: #e0e0e0;
}

/* Title in Blog Card */
.blog-card h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #1abc9c;
    text-transform: capitalize;
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel-wrapper {
    display: flex;
    height: 110%;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 1500px; /* (350px * 3 cards) + (20px * 2 gaps) */
}

.arrow {
    cursor: pointer;
    font-size:4rem;
    color: #1abc9c;
    user-select: none;
    padding: 0 10px;
}

.arrow.left {
    margin-right: 10px;
}

.arrow.right {
    margin-left: 10px;
}


/* Responsive Adjustments */
/* Adjust for smaller screens */
@media (max-width: 1200px) {
    .carousel-container {
        width: 740px; /* Show 2 cards */
    }
}

@media (max-width: 800px) {
    .carousel-container {
        width: 350px; /* Show 1 card */
    }
    .blog-card {
        width: 95%;
        height: auto;
    }

    .blog-card img {
        height: 300px;
    }

    .blog-card-content {
        height: auto;
    }
}

/* .css for dynamic cards is upto here */

/* Partner with Us, We Locate Section */

.partner-section {
    text-align: center;
    padding: 40px 30px;  /* Retain the current padding for the section itself */
    margin-bottom: 80px; /* Double the space between Partner section and Footer */
    background-color: #f8f9fa; /* Light background for contrast */
    margin-top: 30px;
    /* margin-bottom: 20px; */
}


.partner-card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Title section above each card */
.partner-title {
    margin-bottom: 50px; /* Adjusted margin for better spacing */
    color: #1abc9c;
}

.partner-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.partner-title p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 10px;
}

/* Card text and icons */
.partner-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.partner-card i {
    font-size: 4rem;
    color: #1abc9c;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.partner-card:hover i {
    color: #20c997;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .partner-card-container {
        flex-direction: column;
        align-items: center;
    }

    .partner-card {
        width: 90%;
    }
}

/* Footer Section */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 20px; /* Consistent padding for the footer */
}

.footer .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer .container div {
    margin: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer p, .footer a {
    font-size: 1rem;
    color: #bbb;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

/* Feedback Form Styling */
.feedback-form {
    margin: 20px;
    width: 100%;
    max-width: 400px;
}

.feedback-form h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feedback-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-form input,
.feedback-form textarea {
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    width: 100%;
}

.feedback-form textarea {
    resize: vertical;
}

.feedback-form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #1abc9c;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feedback-form button:hover {
    background-color: #16a085;
}

/* Responsive Feedback Form for smaller screens */
@media (max-width: 768px) {
    .feedback-form {
        max-width: 100%;
        width: 90%;
    }
}

/* Responsive styling */
@media (max-width: 768px) {
    .card {
        width: 90%;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
    }
}
