html {
    scroll-behavior: smooth;
}
/* --- General Styles --- */
@font-face {
    font-family: 'Rakkas';
    src: url(../fonts/Rakkas-Regular.ttf); /* Adjust path if needed */
}
@font-face {
    font-family: 'Doto';
    src: url(../fonts/iceberg-latin-400-normal.ttf); /* Adjust path if needed */
}
body {
    margin: 0;
    font-family: 'Rakkas', sans-serif; /* Default font */
    background-color: white;
    background-image: radial-gradient(circle at 90% 50%, black 1px, transparent 1px),
    radial-gradient(circle at 50% 1%, black 1px, transparent 1px);
    background-size: 100px 50px;
    color: #333;
    line-height: 1.6;
    animation: moveBackground 60s linear infinite;
}

@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 200px 200px;
    }
}

a {
    color: rgb(245, 183, 26); /* Changed from purple to golden */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #fff;
    /* border-bottom: 1px solid #e0e0e0; */ /* MODIFIED: Removed this line */
}

.logo {
    font-family: 'Doto', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50; /* Dark blue/grey */
}

.login-btn {
    font-family: 'Rakkas', sans-serif;
    background-color: rgb(245, 183, 26); /* Changed from purple to golden */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: rgb(220, 165, 23); /* Darker golden */
}

/* --- Main Content Area --- */
main {
    padding-top: 40px; /* Increased from 40px to 80px for more space between header and main content */
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 5%; /* Padding remains to keep content from edges */
    max-width: 1200px; /* Content block remains centered */
    margin: 0 auto 40px auto;
    background-color: transparent; /* Will blend with body background */
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); */ /* MODIFIED: Removed shadow for unification */
}

.hero-content {
    flex: 1.2; /* Give a bit more space to text */
    padding-right: 40px; /* Space between text and image */
}

.main-title {
    font-family: 'Doto', sans-serif;
    font-size: 52px; /* Large title */
    color: white; /* Changed to white */
    background-color: black; /* Added black background */
    padding: 5px 15px; /* Padding for the background */
    margin-bottom: 10px;
    line-height: 1.2;
    display: inline-block; /* To make background wrap text */
    border-radius: 4px; /* Optional: slightly rounded corners for the background */
}

.sub-title {
    font-family: 'Rakkas', sans-serif;
    font-size: 24px;
    color: #e91e63; /* Pinkish color for subtitle */
    margin-bottom: 25px;
    font-weight: normal;
}

.stethoscope-icon {
    font-size: 20px; /* Adjust if needed */
    vertical-align: middle;
}

.description {
    font-family: 'Rakkas', sans-serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.description .highlight {
    font-weight: bold;
    color: #333;
}

.cta-button {
    font-family: 'Rakkas', sans-serif;
    background-color: rgb(245, 183, 26);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.cta-button:hover {
    background-color: rgb(220, 165, 23); /* Darker golden */
}

.institution-link {
    font-family: 'Rakkas', sans-serif;
    font-size: 15px;
    color: #666;
}

.institution-link a {
    color: #4A4A4A; /* Un gris foncé pour un look sobre */
    text-decoration: underline; /* Le souligner pour montrer que c'est un lien */
    transition: color 0.3s ease; /* Animation douce pour le changement de couleur */
}

/* Change la couleur au survol de la souris */
.institution-link a:hover {
    color: rgb(245, 183, 26); /* Votre couleur dorée de marque */
}
.hero-image {
    flex: 0.8; /* Make image slightly smaller relative to text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Features Section --- */
.features-section {
    padding: 40px 5%; /* Padding remains to keep content from edges */
    max-width: 1200px; /* Content block remains centered */
    margin: 0 auto 40px auto;
    padding-top: 40px;

}

.feature-card {
    width: 100%; /* Cards take full width of .features-section content area */
    height: 350px; /* Adjust height as needed */
    background-color: #fff; /* Fallback background */
    border-radius: 12px; /* Slightly more rounded */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* Cards themselves have shadow, which is fine */
    position: relative;
    overflow: hidden; /* Crucial for the swipe effect */
    
    cursor: pointer; /* Indicate interactivity */
}

.card-interactive-area {
    display: flex;
    width: 200%; /* Two panels, each 100% of card's width */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-main-content {
    width: 50%; /* First panel - 50% of 200% parent = 100% of card width */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative; /* For pseudo-element background */
    color: white;
    text-align: center;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Pseudo-element for background image and blur */
.card-main-content::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0; /* Behind the text content */
    transition: filter 0.6s ease, transform 0.6s ease; /* Smooth blur and potential zoom */
}

#qcm-card .card-main-content::before {
    background-image: url('../images/medstudent-2.webp'); /* MODIFIED: Image for QCM card */
    background-color: #6a11cb; /* Fallback color if image doesn't load */
}
#radiology-card .card-main-content::before {
    background-image: url('../images/radiology.webp'); /* MODIFIED: Image for Radiology card */
    background-color: #fc5c7d; /* Fallback color if image doesn't load */
}
#soon-card .card-main-content::before {
    background-image: url('../images/soon-background.webp'); /* MODIFIED: Image for More Soon card */
    background-color: #000000; /* Fallback color if image doesn't load */
}



.card-main-content h3 {
    font-family: 'Doto', sans-serif;
    font-size: 48px;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    transition: transform 0.6s ease;
}

.card-details-content {
    width: 50%; /* Second panel */
    height: 100%;
    padding: 30px 40px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-details-content h4 {
    font-family: 'Doto', sans-serif;
    font-size: 22px;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
}

.card-details-content p {
    font-family: 'Rakkas', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.card-details-content span {
    font-family: 'Rakkas', sans-serif;
    font-weight: bold;
    color: rgb(245, 183, 26);
    font-size: 16px;
}

/* Hover effects */
.feature-card:hover .card-interactive-area {
    transform: translateX(0); /* This should be translateX(-50%) to show the second panel */
                               /* Correcting this common mistake for swipe panels if first is visible by default */
                               /* Actually, my original logic seems to imply the second panel is hidden and slides in from right. */
                               /* If .card-interactive-area starts at 0, and second panel is to its right, then translateX(-50%) would show it. */
                               /* Let's re-check the original hover intent for these cards if they are not sliding as expected. */
                               /* Ah, the description for .card-interactive-area: "width: 200%". .card-main-content and .card-details-content are each 50% OF THIS 200% (i.e. 100% of card width). */
                               /* So if they are side-by-side in a 200% wide container, default state shows the first one. */
                               /* To show the second one, the container needs to shift left by the width of one panel. */
                               /* If .card-interactive-area starts at transform: translateX(0); (showing first panel) */
                               /* Then on hover, it should be transform: translateX(-50%); -- Wait, this is % of ITS OWN width (200% of card) */
                               /* So it should be translateX(- (width of one panel / width of .card-interactive-area) * 100%) */
                               /* which is translateX(- (100%_card_width / 200%_card_width) * 100%) = translateX(-50%) OF THE .card-interactive-area's own width. */

                               /* Re-evaluating the existing hover: */
                               /* .feature-card:hover .card-interactive-area { transform: translateX(0); } */
                               /* This line implies the default state is NOT translateX(0). */
                               /* If it's meant to slide from right to left (details revealed on hover): */
                               /* Default state: .card-interactive-area { transform: translateX(0); } (main content visible) */
                               /* Hover state: .card-interactive-area { transform: translateX(-50%); } (details content visible, assuming details is the second child) */

                               /* The current CSS for hover on .card-interactive-area is: transform: translateX(0); */
                               /* This implies the *default* state must be different for a hover effect to occur. */
                               /* Let's assume the original intent was that the details panel is initially off-screen to the right. */
                               /* The card-main-content has width 50% and card-details-content has width 50%. */
                               /* They are inside card-interactive-area (width 200%). */
                               /* If card-interactive-area is at translateX(0), we see card-main-content. */
                               /* To see card-details-content, card-interactive-area must shift left by width of card-main-content. */
                               /* Which is 50% of card-interactive-area's width. So transform: translateX(-50%). */
                               /* The existing hover effect with card widths changing is a different effect, let's keep that as is. */
                               /* The original logic seems to be: */
                               /* Default: Main content takes full card view. Details are conceptually 'behind' or 'next to it' but hidden. */
                               /* Hover: Main content shrinks, details content becomes visible next to it. */
                               /* .card-interactive-area { width: 200%; transform: translateX(0); } */
                               /* .card-main-content { width: 50%; } details { width: 50%; } */
                               /* On hover: .card-main-content { width: 25%; } details { width: 25%; } */
                               /* This makes card-interactive-area effectively 50% of its original width. */
                               /* This specific animation is complex and might not be what the user has an issue with. */
                               /* The request was general unification. The hover effect on cards is a separate feature. */
                               /* The current hover effect seems to be about resizing panels, not sliding the whole 200% container. */
                               /* Let's assume the original complex card hover logic is intended. The current CSS seems to aim for a "peek" effect. */
}

.feature-card:hover .card-main-content {
    width: 25%; /* Shrinks to make space */
}

.feature-card:hover .card-details-content {
    width: 25%; /* Becomes visible alongside main content */
    /* To make this work, card-interactive-area should not translate, but the widths changing should reveal details */
    /* The current setup should work if details is the second child and interactive-area stays at translateX(0) */
}


.feature-card:hover .card-main-content::before {
    filter: blur(5px) brightness(0.8);
    transform: scale(1.05);
}

.feature-card:hover .card-main-content h3 {
    transform: scale(1.1);
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.pricing-section .section-title { /* General title for sections if you reuse */
    font-family: 'Doto', sans-serif;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.pricing-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: rgb(245, 183, 26); /* Golden accent */
    margin: 10px auto 0;
    border-radius: 2px;
}

.pricing-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Spacing between cards */
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    flex: 1 1 300px; /* Grow and shrink, base width 300px */
    max-width: 340px; /* Max width for each card */
    min-width: 280px; /* Min width before stacking */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; /* For potential badges */
    border-top: 4px solid transparent; /* For hover effect */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-top-color: rgb(245, 183, 26); /* Golden accent on hover */
}

.pricing-card .card-year-title {
    font-family: 'Doto', sans-serif;
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-card .card-subscription-details {
    font-family: 'Rakkas', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 70px; /* Helps align buttons if text length varies */
    flex-grow: 1; /* Pushes price and button down if details are short */
}

.pricing-card .card-price-container {
    margin-bottom: 30px;
    font-family: 'Rakkas', sans-serif;
}

.pricing-card .card-price-label {
    font-size: 15px;
    color: #777;
    display: block; /* Or inline with amount */
    margin-bottom: 5px;
}

.pricing-card .card-price-amount {
    font-family: 'Doto', sans-serif;
    font-size: 40px; /* Larger price */
    font-weight: bold;
    color: rgb(245, 183, 26); /* Golden color for price */
}

.pricing-card .card-price-term {
    font-size: 16px;
    color: #777;
    margin-left: 5px;
}

.pricing-card .pricing-cta {
    width: 90%;
    padding: 12px 20px;
    font-size: 16px;
    margin-top: auto; /* Ensures button is at the bottom */
}

/* Optional: Style for a "Popular" badge */
.pricing-card.popular-plan {
    border-top-color: rgb(220, 165, 23); /* Darker golden for popular */
    box-shadow: 0 8px 25px rgba(245, 183, 26, 0.2); /* Golden glow */
}

.popular-badge {
    position: absolute;
    top: -15px; /* Adjust to sit nicely above the card */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(245, 183, 26);
    color: white;
    font-family: 'Rakkas', sans-serif;
    padding: 6px 15px;
    font-size: 14px;
    border-radius: 15px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-image {
        flex: 1;
    }

    .main-title {
        font-size: 40px;
    }

    .sub-title {
        font-size: 20px;
    }

    .description {
        font-size: 16px;
    }

    .features-section {
        padding: 30px 3%;
    }
    .feature-card {
        height: 250px;
    }
    .card-main-content h3 {
        font-size: 36px;
    }
    .card-details-content {
        padding: 20px 25px;
    }
    .card-details-content h4 {
        font-size: 20px;
    }
    .card-details-content p {
        font-size: 15px;
    }
    .pricing-section .section-title {
        font-size: 30px;
    }

    .pricing-card {
        flex-basis: calc(50% - 15px); /* Aim for 2 cards per row, accounting for gap */
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    .logo {
        margin-bottom: 10px;
    }
    .login-btn {
        width: 100%;
        box-sizing: border-box;
    }
    
    main { /* Adjust main padding for smaller screens if header becomes taller */
        padding-top: 20px;
    }

    .main-title {
        font-size: 32px;
        padding: 5px 10px;
    }
    .sub-title {
        font-size: 18px;
    }
    .cta-button {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }

    .features-section {
        padding: 20px 2%;
    }
    .feature-card {
        height: auto;
        min-height: 220px;
        margin-bottom: 20px;
    }
    .card-main-content h3 {
        font-size: 30px;
    }
    .card-details-content {
        padding: 20px;
    }
     .card-details-content h4 {
        font-size: 18px;
    }
    .card-details-content p {
        font-size: 14px;
    }
    .pricing-section {
        padding: 40px 3%;
    }

    .pricing-section .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .pricing-cards-container {
        gap: 20px;
    }

    .pricing-card {
        flex-basis: 100%; /* 1 card per row */
        max-width: 100%;
        padding: 25px 20px;
    }

    .pricing-card .card-year-title {
        font-size: 20px;
    }

    .pricing-card .card-price-amount {
        font-size: 32px;
    }

    .popular-badge {
        font-size: 13px;
        padding: 5px 12px;
    }
}
.pricing-card .card-price-container {
display: none; /* Hides the original price container */
}

.card-beta-access {
margin-bottom: 30px;
padding: 15px;
background-color: #fff8e1; /* Light yellow background */
border: 1px dashed rgb(245, 183, 26);
border-radius: 8px;
text-align: center;
}

.card-beta-access .beta-label {
font-family: 'Doto', sans-serif;
font-size: 18px;
color: #2c3e50;
font-weight: bold;
display: block;
}

.card-beta-access .beta-info {
font-family: 'Rakkas', sans-serif;
font-size: 15px;
color: #555;
margin: 5px 0 0 0;
}

/* --- Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 30px 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    transition: color 0.2s;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    font-family: 'Doto', sans-serif;
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-intro {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgb(245, 183, 26);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: 'Doto', sans-serif;
    font-weight: bold;
}

.step-content h4 {
    font-family: 'Doto', sans-serif;
    font-size: 18px;
    color: #333;
    margin: 0 0 5px 0;
}

.step-content p {
    font-family: 'Rakkas', sans-serif;
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.modal-screenshot {
    text-align: center;
    margin-bottom: 30px;
}
.modal-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.modal-disclaimer {
    background-color: #ffebee; /* Light red background */
    border-left: 5px solid #e53935; /* Red accent line */
    padding: 15px 20px;
    border-radius: 4px;
}
.modal-disclaimer h4 {
    color: #c62828; /* Darker red text */
    margin: 0 0 10px 0;
    font-family: 'Doto', sans-serif;
}
.modal-disclaimer p {
    color: #424242;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    #modal-title {
        font-size: 22px;
    }
    .step-content h4 {
        font-size: 16px;
    }
    .step-content p {
        font-size: 14px;
    }
}
/* --- Footer Section --- */
footer {
    background-color: #2c3e50; /* Dark blue/grey, matches existing logo color for consistency */
    color: #e0e0e0; /* Light grey text, softer than pure white */
    padding: 60px 5% 30px; /* Top padding, LR padding, Bottom padding */
    font-family: 'Rakkas', sans-serif;
    margin-top: 60px; /* Space above the footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px; /* Increased gap for better separation */
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1 1 280px; /* Slightly smaller base for brand, allowing more space for links */
    margin-right: 30px; 
}

.footer-logo {
    font-family: 'Doto', sans-serif;
    font-size: 30px; /* Slightly smaller footer logo */
    font-weight: bold;
    color: #fff; /* White logo text */
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: #b0b0b0; /* Lighter grey for tagline */
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    flex: 2 1 500px; /* Adjust basis as needed */
    justify-content: flex-start; /* Align columns to the start */
}

.footer-column {
    flex: 1 1 160px; 
    min-width: 160px;
}

.footer-column h4 {
    font-family: 'Doto', sans-serif;
    font-size: 18px;
    color: #ffffff; 
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after { /* Underline effect for titles */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px; /* Shorter underline */
    height: 2px;
    background-color: rgb(245, 183, 26); /* Golden accent */
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a,
.footer-column p a { /* Style paragraph links too */
    color: #d0d0d0; 
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column p a:hover {
    color: rgb(245, 183, 26); 
    padding-left: 5px; 
}

.social-media {
    margin-top: 25px;
}

.social-media a {
    display: inline-block;
    color: #2c3e50; /* Icon color matching footer background */
    background-color: rgb(245, 183, 26); /* Golden background for icons */
    width: 38px;
    height: 38px;
    line-height: 38px; /* Vertically center text/icon */
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 18px; 
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-3px); /* Slight lift on hover */
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid #4a5c6d; /* Adjusted separator color */
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #b0b0b0;
}

.footer-bottom p {
    margin: 8px 0;
}

.footer-bottom a {
    color: #d0d0d0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: rgb(245, 183, 26);
    text-decoration: underline;
}

/* Responsive adjustments for footer */
@media (max-width: 900px) {
    .footer-main-content {
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }
    .footer-brand {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .footer-links {
        justify-content: center; 
        width: 100%;
    }
    .footer-column {
        text-align: center;
        flex-basis: 200px; /* Allow columns to be a bit wider on tablet */
    }
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%); /* Center the underline */
    }
}

@media (max-width: 767px) { /* Target smaller tablets and large phones */
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    .footer-column {
        width: 100%; 
        max-width: 300px; /* Max width for single column layout */
        margin-bottom: 25px;
        text-align: center;
    }
    .footer-column:last-child {
        margin-bottom: 0;
    }
    .social-media {
        text-align: center; /* Ensure social icons are centered */
    }
}

@media (max-width: 480px) { /* Small mobile devices */
    .footer-brand .footer-logo {
        font-size: 26px;
    }
    .footer-brand p {
        font-size: 14px;
    }
    .footer-column h4 {
        font-size: 17px;
    }
    .footer-column ul li a,
    .footer-column p a,
    .footer-bottom {
        font-size: 13px;
    }
    .social-media a {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 16px;
    }
}