/* General Styling & Card Container */
body {
    font-family: sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
}

.cards-container {
    /* CSS Grid is used to create the responsive layout */
    display: grid;
    /* This makes the grid responsive: auto-fit creates as many columns as will fit, 
       and minmax ensures each column is at least 300px wide but not more than 1fr (equal share) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Space between the cards */
    max-width: 1200px; /* Limits the overall width */
    margin: 20px auto; /* Centers the container */
}

/* Individual Card Styling */
.card {
    background-color: #ffffff;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    overflow: hidden; /* Ensures the image corners are rounded */
    transition: transform 0.3s ease; /* Smooth hover effect */
    padding: 10px;
}

.card:hover {
    transform: translateY(-5px); /* Lifts the card slightly on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

.card-content {
    padding: 15px;
}

.card-title {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}

.card-text {
    color: #555; 
    margin-bottom: 15px;
    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 510;
    letter-spacing: 0.25em;
    line-height: 1.5em;

}

.card-link {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.card-link:hover {
    background-color: #0056b3;
}

.blog-image{
    width: 50%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-left: 20%;
}

  
                        /* --- CARD STYLING FOR AMDA - DECREASED SIZE (Gray Theme) --- */
                      

                        .card {
                            color: #555;

                            font-family: "Raleway", Helvetica, sans-serif;
                            font-size: 12px;
                            font-weight: 510;
                            letter-spacing: 0.25em;
                            line-height: 1.5em;
                            max-width: 350px;
                            max-height: 450px;
                            /* Reduced from 400px */
                            margin: 15px auto;
                            /* Reduced margin */
                            background-color: #ffffff;
                            border-radius: 8px;
                            /* Slightly smaller radius */
                            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.317);
                            /* Reduced shadow spread */
                            overflow: hidden;
                            border-top: 4px solid #007bff;
                            /* Reduced border thickness */
                            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;

                        }

                        .card-container {
                            display: flex;
                            /* flex-direction: column; */
                            /* align-items: center; */
                            gap: 20px;
                            /* Reduced gap between cards */
                            flex-wrap: wrap;

                        }

                        .card:hover {
                            transform: translateY(-3px);
                            /* Reduced lift on hover */
                            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
                        }

                        /* Header Section */
                        .card-header {
                            padding: 15px 15px 10px;
                            /* Reduced padding */
                            text-align: center;
                            background-color: #f0f0f0;
                            border-bottom: 1px solid #d0d0d0;
                            position: relative;
                        }

                        /* .card-header .overlay {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            background-color: rgba(255, 255, 255, .8);
                            z-index: 1;
                        } */

                        /* .usa-colleges .amda-header {
                         background-image: url(images/AMDA_Logo.png);
                          
                             background-size: cover; 
                        } */

                        .card-header h2 {
                            margin: 10px;
                            font-size: 1.4em;
                            /* Reduced font size from 1.6em */
                            color: #333333;
                            line-height: 1.2;
                        }

                        .card-header p {
                            margin-top: 3px;
                            /* Reduced margin */
                            /* font-style: italic; */
                            color: #777777;
                            font-size: 0.8em;
                            /* Reduced font size from 0.9em */
                        }

                        /* Bicoastal Locations */
                        .card-locations {
                            display: flex;
                            justify-content: center;
                            gap: 15px;
                            /* Reduced gap */
                            padding: 10px 0;
                            /* Reduced padding */
                            background-color: #f8f8f8;
                            border-bottom: 1px solid #d0d0d0;
                        }

                        .location-tag {
                            font-weight: bold;
                            color: #5a5a5a;
                            font-size: 0.8em;
                            /* Reduced font size */
                            text-transform: uppercase;
                            letter-spacing: 0.5px;
                        }

                        .location-tag::before {
                            content: "📍";
                            margin-right: 3px;
                            /* Reduced margin */
                        }

                        /* Key Disciplines */
                        .card-content {
                            padding: 10px;
                            /* Reduced padding */
                        }

                        .card-content h3 {
                            color: #444444;
                            margin-top: 0;
                            margin-bottom: 10px;
                            /* Reduced margin */
                            border-bottom: 1px solid #eee;
                            padding-bottom: 5px;
                            /* Reduced padding */
                            font-size: 1em;
                            /* Reduced font size */
                        }

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

                        .discipline-list li {
                            padding: 7px 0;
                            /* Reduced padding */
                            color: #666666;
                            border-bottom: 1px dotted #cccccc;
                            font-size: 0.9em;
                            /* Reduced font size */
                        }

                        .discipline-list li:last-child {
                            border-bottom: none;
                        }

                        .discipline-list li strong {
                            color: #333333;
                            margin-right: 3px;
                        }

                        /* Footer/Action Button */
                        .card-footer {
                            /* padding: 15px; */
                            /* Reduced padding */
                            /* background-color: #333333; */
                            text-align: center;
                            display: inline-block;
                            background-color: #007bff;
                            color: white;
                            padding: 8px 15px;


                            text-decoration: none;
                            border-radius: 4px;
                            transition: background-color 0.3s;
                        }

                        .card-header {
                            padding: 15px 15px 10px;
                            /* Reduced padding */
                            text-align: center;
                            background-color: #f0f0f0;
                            border-bottom: 1px solid #d0d0d0;
                        }

                        .card-container {
                            /* CSS Grid is used to create the responsive layout */
                            display: grid;
                            /* This makes the grid responsive: auto-fit creates as many columns as will fit, 
       and minmax ensures each column is at least 300px wide but not more than 1fr (equal share) */
                            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                            gap: 20px;
                            /* Space between the cards */
                            max-width: 1200px;
                            /* Limits the overall width */
                            margin: 20px auto;
                            /* Centers the container */
                        }

                        .info-button {
                            display: inline-block;
                            padding: 8px 20px;
                            /* Reduced padding */
                            background-color: #0d0d0d;
                            color: white;
                            text-decoration: none;
                            border-radius: 4px;
                            /* Reduced border radius */
                            font-weight: bold;
                            transition: background-color 0.2s ease-in-out;
                            text-transform: uppercase;
                            letter-spacing: 0.5px;
                            /* Reduced letter spacing */
                            font-size: 0.9em;
                            /* Reduced font size */
                        }

                        .info-button:hover {
                            background-color: #495057;
                        }
                    