.page_header {
    padding: 30px 20px;
    text-align: center;
    background-color: #3498db; 
    color: white;             
    border-radius: 12px;       
    margin-bottom: 20px;       /* spacing below the header */
}

.page_header h1 {
    font-size: 1.8rem;
    margin: 0;
    color: white; /* ensures heading stays white */
}

.normal_buttons {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background-color: #3498db;
    color: white;
    font-size: 1rem;
    cursor: pointer;

    text-align: left;
    position: relative;
}

.normal_buttons::after {
    content: "›";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: white;
}


a {
    text-decoration: none;
}


.slabs_button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;      /* spacing from paragraphs */
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background-color:  #3498db; 
    color:white;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: background-color 0.2s, color 0.2s; 
}

/* Forward chevron */
.slabs_button::after {
    content: "›";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: white;
}

.slabs_button:hover {
    background-color: #00FFC4;  /* accent color */
    color: black;
}

.slabs_button:hover::after {
    color: black;
}

.external_link_container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border-radius: 16px;
}

.slabs_button {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


.page_header {
    padding: 30px 20px;
    text-align: center;
}

.page_header h1 {
    font-size: 1.8rem;
    color: white;
}

.content_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.content_container p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: white;
}

.content_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
    background-color: #3498db;
    border-radius: 16px;
}

.content_container p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    padding-bottom: 20px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


.home_button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 15px 20px 15px 50px;
    border: none;
    border-radius: 12px;
    background-color: #3498db;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.home_button::before {
    content: "‹";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: white;
}

.home_button:hover {
    background-color: #00FFC4;
    color: black;
}

.home_button:hover::before {
    color: black;
}

.external_link_container {
    max-width: 800px;
    margin: 10px auto;
    padding: 15px;
    background-color: white;
    border-radius: 16px;
}

/* Bring buttons closer to content container */
.content_container {
    margin-bottom: 10px;
}

/* Bring the two button containers closer together */
.external_link_container {
    margin: 3px auto;
    padding: 12px;
}

/* Reduce vertical space on the buttons themselves */
.slabs_button,
.home_button {
    margin: 4px auto;
}

.content_container p {
    transition: border-color 0.2s ease;
}

.content_container p:hover {
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

.page_header {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.normal_buttons:hover,
.slabs_button:hover,
.home_button:hover {
    transform: translateY(-4px);
}

.application_steps {
    color: white;
    padding-left: 20px;
    line-height: 1.8;
}

.application_steps li {
    margin-bottom: 10px;
}

.university_rankings {
    padding-left: 0;
    margin: 0;
    color: white;
}

.university_rankings li {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.university_rankings img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.university_rankings span {
    font-size: 1rem;
    line-height: 1.4;
}
.university_rankings {
    padding-left: 0;
    margin: 0;
    list-style-position: inside;
}

.university_rankings li {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.university_rankings img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    padding: 4px;
}

.university_rankings {
    counter-reset: ranking;
}

.university_rankings li {
    counter-increment: ranking;
    position: relative;
    padding-left: 40px;
}

.university_rankings li::before {
    content: counter(ranking) ".";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: white;
    font-size: 1rem;
}
.ranking_source {
    background-color: white;
    color: black;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover effect */
.ranking_source:hover {
    background-color: #3498db; 
    color: white;
}
.content_container .ranking_source {
    background-color: white;
    color: black;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.content_container .ranking_source:hover {
    background-color: #3498db;
    color: white;
}

/* Province section spacing */
.province_section {
    margin-bottom: 30px;
}

/* Province heading */
.province_section h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    padding-bottom: 6px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* University list reset */
.university_list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* University list items */
.university_list li {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* University logos */
.university_list img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
}

/* University names */
.university_list span {
    font-size: 1rem;
    color: white;
    line-height: 1.4;
}


/* Container for the content */
.content_container {
    max-width: 800px;
    margin: 0 auto 15px auto;
    padding: 25px;
    background-color: #3498db; 
    border-radius: 16px;
}

/* College sections */
.college_section {
    margin-bottom: 30px;
}

/* College section heading */
.college_section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 6px;
}

/* Ordered list for colleges */
.college_list {
    list-style: decimal inside;
    padding-left: 0;
    margin: 0;
}

/* College list items */
.college_list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* College logos */
.college_list img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
}

/* College names */
.college_list span {
    font-size: 1rem;
    color: white;
    line-height: 1.4;
}

/* Ranking source citation */
.ranking_source {
    background-color: white;
    color: black;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.ranking_source:hover {
    background-color: #3498db; 
    color: white;
}

.ranking_source a {
    color: black;
    text-decoration: underline;
}

.ranking_source:hover a {
    color: white;
}

.college_list {
    list-style: decimal;       
    list-style-position: outside; 
    padding-left: 40px;        
    margin: 0;
}

.college_list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    counter-increment: college-counter;
}

.college_list li::marker {
    font-size: 1rem;
    color: #e0e0e0;
    font-weight: bold;
}

.college_list {
    counter-reset: college-counter;
    list-style: none; 
    padding-left: 0;
    margin: 0;
}

.college_list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    /* Increment counter */
    counter-increment: college-counter;
}

.college_list li::before {
    content: counter(college-counter) "."; /* e.g., 1., 2., 3. */
    color: white;
    font-weight: bold;
    font-size: 1rem;
    width: 28px;       /* fixed width for alignment */
    text-align: right; /* number aligned to right in its space */
}

.section_title {
    font-size: 1.4rem;
    color: white;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 8px;
}

.province_title {
    font-size: 1.15rem;
    color: #ffffff;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.college_list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.college_list li {
    display: flex;
    align-items: center;
    gap: 12px;

    background-color: rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    margin-bottom: 10px;

    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;

    transition: background-color 0.2s ease;
}

.college_list li:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.college_list img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.college_list li span {
    line-height: 1.4;
}

.section_title + .province_title {
    margin-top: 20px;
}

.Institution_list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
} 

/* Individual institution row */ 
.Institution_list li { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 12px 15px; 
    margin-bottom: 10px; 
    background-color: #f4f6f8; 
    border-radius: 10px; 
    transition: background-color 0.25s ease; 
} 

/* Hover effect on row */ 
.Institution_list li:hover { 
    background-color: #3498db; 
} 

/* Logos */ 
.Institution_list img { 
    width: 45px; 
    height: 45px; 
    object-fit: contain; 
    flex-shrink: 0; 
} 

/* Institution links */ 
.Institution_list a { 
    font-size: 16px; 
    font-weight: 600; 
    color: #1f2937; 
    text-decoration: none; 
    transition: color 0.25s ease; 
} 

/* Hover effect on text */ 
.Institution_list li:hover a { 
    color: white; 
} 

.Institution_list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
} 

.Institution_list li { 
    margin-bottom: 12px; 
} 

.Institution_list li a { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    width: 100%; 
    padding: 14px 18px; 
    text-decoration: none; 
    color: black; 
    background-color: white; 
    border-radius: 12px; 
    transition: background-color 0.25s ease, transform 0.15s ease; 
} 

/* Logo styling */ 
.Institution_list li a img { 
    width: 42px; 
    height: 42px; 
    object-fit: contain; 
    flex-shrink: 0; 
} 

/* Hover effect */ 
.Institution_list li a:hover { 
    background-color: #3498db; 
    color: white; 
    transform: translateX(4px); 
} 

/* Keep text clean */ 
.Institution_list li a span { 
    font-size: 1rem; 
    line-height: 1.4; 
}

/* Search input */
.search_input {
    width: 100%;
    max-width: 765px;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search_input:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}


.dropdown_container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

/* Menu button */
.dropdown_button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* Sliding panel */
.dropdown_panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-color: #f4f6f8;
    box-shadow: 4px 0 15px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
}

.dropdown_panel.open {
    transform: translateX(0);
}

/* Header */
.dropdown_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Close button */
.close_button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Menu list */
.dropdown_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Menu rows */
.dropdown_list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover */
.dropdown_list li a:hover {
    background-color: #3498db;
    color: white;
}

/* Icons */
.dropdown_list li a img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Privacy Policy Container */
.privacy_container {
    background-color: #3498db;
    color: white;              
    max-width: 900px;          
    margin: 40px auto;         
    padding: 30px 25px;       
    border-radius: 12px;       
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}


.privacy_container h2 {
    color: white;            
    font-size: 22px;          
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.4;
    border-bottom: 2px solid white; 
    padding-bottom: 4px;
}

/* Paragraphs inside Privacy container */
.privacy_container p {
    color: white;           
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Links inside Privacy container */
.privacy_container a {
    color: #3498db;           
    text-decoration: underline;
}

.privacy_container a:hover {
    color: white;           
    text-decoration: none;
}

.header_logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_logo h1 {
    margin: 0;
    flex: 1;
}

.header_logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

