/* --- Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Global Resets & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding-top: 70px; /* Crucial: padding-top matches the navbar's height */
}


a {
    color: inherit;
    text-decoration: none;
}

.img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Headings & Subtitles --- */
h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #28767d;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(30, 64, 175, 0.5);
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #757575;
    text-align: center;
    margin-bottom: 32px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: linear-gradient(90deg, #176693, #2f6d91, #198754);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10000;
}


/* Navbar: Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    user-select: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-container:hover,
.logo-container:focus {
    opacity: 0.85;
}

.logo-container img {
    height: 50px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Navbar: Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 32px;
}

.nav-link {
    position: relative;
    padding: 22px 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: #a5d6a7;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #a5d6a4;
    outline: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Navbar: Hamburger Menu Toggle */
.menu-toggle {
    display: none; /* Hidden on desktop */
    margin-left: auto;
    margin-right: 40px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    transform: scale(1.1);
    color: #a5d6a7;
    outline: none;
}

/* Navbar: Mobile Menu */
.nav-menu-mobile {
    display: none; /* Hidden by default */
    position: fixed;
    top: 70px; /* Start below the fixed navbar */
    left: 0;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 70px); /* Fill remaining height */
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 9999;
}

.nav-menu-mobile.active {
    transform: translateX(0); /* Slide into view */
    display: flex; /* Display when active */
}

.nav-menu-mobile a {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu-mobile a:hover,
.nav-menu-mobile a:focus {
    background-color: #176693;
    color: #a5d6a4;
    outline: none;
}

/* Navbar: Language Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: linear-gradient(90deg, #176693, #2f6d91);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background: linear-gradient(90deg, #176693, #198754);
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
}

.dropdown-toggle img {
    height: 20px;
    width: auto;
    border-radius: 2px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px); /* Position below the toggle button */
    right: 0; /* Align to the right of the button */
    min-width: 160px;
    background: #176693;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background-color: #198754;
    color: #a5d6a4;
    outline: none;
}

.dropdown-content a img {
    height: 25px;
    width: auto;
    border-radius: 2px;
}

/* --- Hero Slider --- */
.slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1600px;
    height: 80vh; /* Consistent height for desktop */
    min-height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    overflow: hidden;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1.2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion, cropping as necessary */
    filter: brightness(1); /* Slightly darken images for text readability */
    display: block;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 5%; /* Aligned to the left */
    transform: translateY(-50%); /* Only translate Y, keep X fixed to left */
    width: auto;
    max-width: 45%; /* Adjusted max-width for left alignment, consider content */
    padding: 20px;
    border-radius: 15px;
    background-color:;
    color: white;
    text-align: left; /* Aligned to the left */
    box-shadow: ;
    z-index: 2;
}

.slider-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #28767d;
    font-weight: 700;
    margin-bottom: 10px;
}

.slider-text p {
    font-size: 1.3rem;
    line-height: 1.5;
    color: white;
    margin-bottom: 20px;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.8rem;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    z-index: 3;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

.slider-arrow.left {
    left: 15px;
}

.slider-arrow.right {
    right: 15px;
}

/* Slider Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* --- Sections --- */
section {
    padding: 64px 20px;
    max-width: 1200px;
    margin: auto;
}

/* --- About Section --- */
.about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.about-row img {
    max-width: 450px;
    width: 100%; /* Ensure image scales down on smaller screens */
    height: auto;
    border-radius: 8px;
}

.about-text {
    flex: 1;
    max-width: 600px; /* Default max-width for flex item */
    font-size: 1.1rem;
    line-height: 1.7; /* Enhanced readability */
    color: #555;
}

.about-text p {
    margin: 16px 0;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-text ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
}

.about-text .icon {
    font-size: 1.4rem;
    min-width: 25px;
    color: #198754;
    margin-right: 0.8rem;
}

/* --- Services (Plans) Section --- */
#services {
    background: #f0f0f0;
}

.plans-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.plan-card {
    display: flex;
    flex-direction: column; /* Allows content to distribute vertically */
    flex: 1;
    max-width: 320px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px); /* Lifts the card slightly */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); /* Enhanced shadow */
}

.plan-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.plan-card h3 {
    font-size: 1.8rem;
    color: #176693;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.plan-card p {
    min-height: 75px; /* Increased min-height for better alignment */
    padding: 0 15px; /* Add some padding to text within the card */
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin-top: 8px;
}

.plan-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #fa3d02;
    text-align: center;
    margin: 15px 0;
}

.plan-card .btn-primary {
    align-self: center;
    margin-top: auto;
    margin-bottom: 40px; /* Keep existing margin */
}

/* Call to Action Button */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #fa3d02;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(250, 61, 2, 0.4);
    cursor: pointer;
    outline: none; /* Remove default focus outline */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:focus {
    box-shadow: 0 0 0 4px rgba(250, 61, 2, 0.6);
}

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(250, 61, 2, 0.5);
}

.slider-btn {
    margin-top: 20px;
}

/* --- Accepted Payments Section --- */
#accepted-payments {
    padding: 60px 20px;
    background-color: #f0f8ff;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

#accepted-payments .payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

#accepted-payments .payment-icon {
    font-size: 4rem;
    color: #176693;
    transition: transform 0.2s ease-in-out;
}

#accepted-payments .payment-icon:hover {
    transform: scale(1.1);
}

#accepted-payments p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 20px;
}

/* --- Contact Section --- */
.contact-info {
    font-size: 1.1rem;
    color: #444;
    text-align: center;
    margin-bottom: 24px;
}

.contact-info i {
    color: #176693;
    margin-right: 10px;
}

form {
    max-width: 60%;
    margin: auto;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #176693;
    box-shadow: 0 0 0 3px rgba(23, 102, 147, 0.2);
}

.contact-form-button {
    display: block;
    width: auto;
    padding: 12px 20px;
    margin: 0 auto;
    background: linear-gradient(90deg, #176693, #198754);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s ease;
}

.contact-form-button:hover {
    background: linear-gradient(90deg, #176693, #2e7d32);
}

.contact-form-button:focus {
    box-shadow: 0 0 0 4px rgba(23, 102, 147, 0.6);
}

/* --- Auth Modals (Pop-up) --- */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    position: relative;
    max-width: 380px;
    width: 90%;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal-overlay.active .auth-modal-content {
    transform: translateY(0);
}

.auth-modal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #176693;
    margin-bottom: 20px;
}

.auth-modal-content input {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-modal-content input:focus {
    border-color: #176693;
    box-shadow: 0 0 0 3px rgba(23, 102, 147, 0.2);
    outline: none;
}

.auth-modal-content button {
    display: block;
    width: 100%;
    padding: 12px 25px;
    margin-top: 15px;
    background: linear-gradient(90deg, #176693, #198754);
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s ease;
}

.auth-modal-content button:hover {
    background: linear-gradient(90deg, #176693, #2e7d32);
}

.auth-modal-content button:focus {
    box-shadow: 0 0 0 4px rgba(23, 102, 147, 0.6);
}

.auth-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    color: #555;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-modal-close:hover {
    color: #fa3d02;
}

.auth-message {
    text-align: center;
    font-size: 0.95rem;
    color: #176693;
    padding: 8px 12px;
    margin-top: 1rem;
    border-radius: 5px;
}

.auth-message.error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffeeee; /* Light red background for errors */
    border: 1px solid #ffccdd; /* Subtle red border */
    color: #d32f2f; /* Darker red for error text */
}

.auth-message.success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #e8f5e9; /* Light green background for success */
    border: 1px solid #c8e6c9; /* Subtle green border */
    color: #388e3c; /* Darker green for success text */
}

.forgot-password-link {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 0.8rem;
}

.forgot-password-link a {
    color: #176693;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password-link a:hover {
    color: #fa3d02;
    text-decoration: underline;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    font-size: 2.5rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 8px #777;
}

/* --- Utility Classes --- */
.hidden {
    display: none !important;
}

/* --- Footer Styles --- */
.main-footer {
    font-family: 'Open Sans', sans-serif;
    padding: 40px 20px;
    background: linear-gradient(90deg, #176693, #2f6d91, #198754);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: space-between; /* Spreads items evenly */
    align-items: flex-start; /* Aligns content to the top of each column */
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; /* Space between columns */
}

.footer-section {
    flex: 1; /* Each section takes equal flexible space */
    min-width: 200px; /* Minimum width before wrapping */
    margin-bottom: 20px; /* Space below sections on smaller screens */
    text-align: left; /* Align text within sections to the left */
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fa3d02; /* Accent color for headings */
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a,
.footer-section address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

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

.footer-section ul li a {
    transition: color 0.3s ease;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: #ffffff;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #fa3d02; /* Accent color on hover */
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #cccccc;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-right: 20px;
    }

    .about-row,
    .plans-grid,
    .templates-row {
        flex-direction: column;
        align-items: center;
    }

    .plan-card,
    .template-card {
        max-width: 90%;
    }

    /* Slider text adjustments for this breakpoint */
    .slider-text {
        left: 5%; /* Adjust left position for smaller screens */
        max-width: 90%; /* Allow more width for text */
        transform: translateY(-50%); /* Keep only Y translation */
        text-align: left; /* Ensure left alignment on mobile */
    }

    .slider-text h1 {
        font-size: 2.2rem;
    }

    .slider-text p {
        font-size: 1.1rem;
    }

    form {
        max-width: 90%;
    }

    .contact-form-button {
        width: 100%;
    }

    .about-text {
        max-width: 90%;
    }

    .slider-arrow {
        width: 40px; /* Smaller size for arrows */
        height: 40px;
        padding: 10px 5px;
        font-size: 1.2rem;
    }

    .slider-dots {
        bottom: 10px; /* Adjust dot position */
    }

    /* Language dropdown specific adjustments for mobile */
    .language-dropdown {
        display: none; /* Hide dropdown on mobile nav links */
    }

    .nav-menu-mobile .language-dropdown-mobile {
        display: flex; /* Make it visible in mobile menu */
        flex-direction: column;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-menu-mobile .language-dropdown-mobile a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 16px 24px;
        color: white;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .nav-menu-mobile .language-dropdown-mobile a img {
        height: 25px;
        width: auto;
        border-radius: 2px;
    }

    .nav-menu-mobile .language-dropdown-mobile a:hover,
    .nav-menu-mobile .language-dropdown-mobile a:focus {
        background-color: #176693;
        color: #a5d6a4;
        outline: none;
    }

    /* Mobile adjustments for WhatsApp button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .navbar {
        height: 60px;
        padding: 0 20px;
    }

    .navbar .logo-container img {
        height: 35px;
    }

    .navbar .logo-container span {
        font-size: 1.3rem;
    }

    .menu-toggle {
        margin-right: 20px;
    }

    .nav-menu-mobile {
        top: 60px;
        height: calc(100% - 60px);
    }

    .slider {
        height: 50vh; /* Adjusted for mobile: Shorter height for smaller screens */
        min-height: 250px;
    }

    .slider-text {
        left: 5%; /* Adjust left position for smaller screens */
        max-width: 90%;
        padding: 15px;
        text-align: left;
        transform: translateY(-50%);
    }

    .slider-text h1 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .slider-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .slider-btn {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
        align-self: flex-start; /* Align button to the left within the text block */
    }

    h2 {
        font-size: 2rem; /* Adjusted for smaller screens */
    }

    .subtitle {
        font-size: 1rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .plan-card h3 {
        font-size: 1.5rem;
    }

    .plan-card .price {
        font-size: 1.8rem;
    }

    .auth-modal-content {
        max-width: 95%;
        padding: 20px;
    }

    .auth-modal-content h3 {
        font-size: 1.5rem;
    }

    .auth-modal-content input {
        padding: 10px;
        font-size: 0.95rem;
    }

    .auth-modal-content button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    /* Responsive adjustments for footer */
    .footer-content {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center items when stacked */
        text-align: center; /* Center text within sections */
    }

    .footer-section {
        width: 100%; /* Full width for each section */
        min-width: unset; /* Remove min-width constraint */
        margin-bottom: 30px;
    }

    .footer-section h4 {
        margin-bottom: 10px;
    }

    .social-links {
        margin-top: 10px;
    }

    .social-links a {
        margin: 0 10px; /* Adjust spacing for social icons */
    }
}

@media (max-width: 480px) {
    .slider {
        height: 32vh; /* Even shorter height for very small screens */
        min-height: 100px;
    }

    .slider-text {
        left: 3%; /* Consistent left alignment */
        max-width: 40%;
        padding: 10px;
        text-align: center;
        transform: translateY(-50%);
    }

    .slider-text h1 {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }

    .slider-text p {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .slider-btn {
        padding: 0.6rem 1.9rem;
        font-size: 0.9rem;
        align-self: flex-start; /* Align button to the left within the text block */
    }

    .slider-arrow {
        display: none; /* Hide arrows on very small phones if space is critical */
    }

    .slider-dots {
        bottom: 5px; /* Adjust dot position for small screens */
    }

    h2 {
        font-size: 1.8rem;
    }

    /* --- Grid Specific Styles for Samples (Enhanced) --- */
.samples-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
padding: 40px 20px 80px 20px;
max-width: 1200px;
margin: 0 auto;
background-color: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
border-radius: 8px;
}
.sample-item { /* New class for individual sample containers */
display: block;
position: relative; /* Needed for text overlay */
overflow: hidden;
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0,0,0,0.15); /* More prominent initial shadow */
transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
border: 1px solid rgba(0,0,0,0.05); /* Subtle border for definition */
}
.sample-item:hover {
transform: translateY(-12px); /* Increased lift effect */
box-shadow: 0 15px 35px rgba(0,0,0,0.25); /* Enhanced shadow on hover */
}
.sample-item img {
width: 100%;
height: 200px;
object-fit: cover;
display: block;
transition: transform 0.4s ease; /* Smoother image zoom */
}
.sample-item:hover img {
transform: scale(1.08); /* More pronounced zoom on image hover */
}

/* Overlay for text/button on hover */
.sample-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(23, 101, 147, 0.85); /* Darker, themed overlay */
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.4s ease;
padding: 15px;
text-align: center;
}
.sample-item:hover .sample-overlay {
opacity: 1;
}
.sample-overlay-title {
font-family: 'Poppins', sans-serif;
font-size: 1.4rem;
margin-bottom: 10px;
color: #a5d6a7; /* Highlight color for title */
text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.sample-overlay-button {
background: #198754; /* Green button from navbar gradient */
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
transition: background 0.3s ease, transform 0.2s ease;
display: inline-flex; /* To align icon and text */
align-items: center;
gap: 8px;
}
.sample-overlay-button:hover {
background: #2e7d32; /* Darker green on hover */
transform: translateY(-2px);
}

}