/*
Theme Name: GeneratePress Child Theme
Theme URI: 
Description: คำอธิบาย
Author: ชื่อของคุณ
Author URI: URL ของคุณ 
Version: 1.0.0
Template: generatepress 
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --- Animation Zone --- */
@keyframes Inside {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


@keyframes fadeIn-2 {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}


@keyframes slideleft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes putleft {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes dropAndBounce {
    0% { opacity: 0; transform: translateY(-100px); }
    60% { opacity: 1; transform: translateY(10px); }
    80% { transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadePopup {
	0%{
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

body {
    font-family: "Prompt", sans-serif;
    font-style: normal;
    color: #333;
}

:root {
    --main-bg: #FFCB61;
    --main-color: #F8F8F8;
    --main-color-2: #333;
    --main-btn: #77BEF0;
    --main-btn-2: #EA5B6F;
    --dropdown-bg: #f9f9f9;
    --dropdown-text-color: #333;
    --dropdown-hover-bg: #ddd;
    --border-color: #e0e0e0;
}

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

.full-zone {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}


.box-zone {
  width: 100%;
  max-width: 1400px; 
  margin-left: auto;
  margin-right: auto;
}

.top-bar {
    height: 35px;
}

.inside-top-bar {
    padding: 8px 40px;
}

.main-navigation .main-nav ul li a {
    font-size: 16px;
}

.site-title a {
    color: #ff6600;
}

.site-main .wp-block-group__inner-container {
    padding: 10px;
}

.wp-block-group {
    padding: 2px;
}

.gb-text a {
    text-decoration: none;
}

/* --- Banner Section --- */
.banner-area {
    display: flex;
    justify-content: center;
}

.banner-main {
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 1920px;
    max-height: 1080px;
    height: 100%;
    overflow: hidden;
}

.banner-main::before {
    content: '';
    position: absolute;
    bottom: -7%;
    left: 0;
    background-image: url('https://mu.ac.th/wp-content/uploads/2025/08/object-scaled.png');
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
    width: 1000px;
    height: 1000px;
    animation: Inside 1s ease-in forwards;
}

.banner-wrapper {
    padding: 10px 10px 80px 10px;
    max-width: 1400px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.banner-wrapper::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 37%;
    width: 100%;
    height: 100%;
    background-image: url(https://mu.ac.th/wp-content/uploads/2025/07/ต้นฉบับโลโก้-2021-2.png);
    background-size: 25%;
    background-repeat: no-repeat;
    z-index: 3;
    animation: Inside 1s ease-in forwards;
}

.banner-topic {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-header,
.banner-text,
.banner-social-text {
    text-align: center;
}

.banner-header {
    font-size: 3rem;
    font-family: "Nunito", sans-serif;
    line-height: 5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-100px);
    animation: dropAndBounce 1s ease-out forwards;
}

.banner-text {
    font-family: "Prompt", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0;
    animation: Inside 1s ease-in forwards 0.3s;
}

.banner-social-text {
    font-family: "Prompt", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 5;
    opacity: 0;
    animation: Inside 0.5s ease-in forwards 1s;
}

.banner-social-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://mu.ac.th/wp-content/uploads/2025/08/bruch_yellow.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideleft 0.5s ease-in forwards 1.5s;
}

.banner-social {
    display: flex;
    gap: 30px;
    overflow:hidden;
}

.banner-social a{
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    animation: fadeIn-2 0.6s ease-out forwards;
}

.banner-social a .fa-brands,
.banner-social a .fa-solid {
    font-size: 1.5rem;
    color: #333;
}

.banner-social a:hover {
    color: #FF90BB;
    transform: scale(1.2);
}

.banner-social a:hover .fa-brands,
.banner-social a:hover .fa-solid {
    color: #FF90BB;
}

.banner-social a:nth-child(1) { animation-delay: 2.3s; }
.banner-social a:nth-child(2) { animation-delay: 2.4s; }
.banner-social a:nth-child(3) { animation-delay: 2.5s; }
.banner-social a:nth-child(4) { animation-delay: 2.6s; }
.banner-social a:nth-child(5) { animation-delay: 2.7s; }

.banner-photo {
    max-width: 600px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-photo::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 100%;
    height: 100%;
    background-image: url('https://mu.ac.th/wp-content/uploads/2025/08/bruch1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}

.banner-photo::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 10%;
    width: 100%;
    height: 100%;
    background-image: url('https://mu.ac.th/wp-content/uploads/2025/08/bruch2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}

.banner-photo img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    z-index: 1;
    opacity: 0;
    transform: translateY(0) ;
    animation: fadeIn-2 1s ease-out forwards 1s;
}


/* --- Post Image Styles --- */
.one-container .inside-article > .featured-image {
    display: flex;
    justify-content: center;
}

.post-image:not(:first-child) {
    display: flex;
    justify-content: center;
}

/* --- Card Container (Directors/Executives) --- */
.card-area {
 margin-bottom: 50px;   
}

.card-container {
    padding: 20px;
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    grid-template-columns: 1fr; 
}

.card-topic {
    text-align: center;
    padding: 20px 0 20px 0;
    font-size: 2.5rem;
    text-decoration: underline;
    color: #FF90BB;
}

.card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    height: 250px; 
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.card img {
    display: block;
    width: 100%;
    object-fit: cover;
    filter: brightness(80%);
    transition: filter 0.3s ease;
}

.card:hover img {
    filter: brightness(60%);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 15px 20px 10px;
    text-align: left;
    transition: opacity 0.3s ease;
}

.overlay-text h3 {
    margin: 0;
    font-size: 14px; 
    font-weight: 600;
    line-height: 1.2;
}

.overlay-text p {
    margin: 5px 0 0;
    font-size: 12px; 
    line-height: 1.4;
    opacity: 0.9;
}

.hover-boxtext {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.card:hover .hover-boxtext {
    opacity: 1;
    pointer-events: auto;
}

.hover-boxtext h4 {
    margin-top: 0;
    font-size: 16px; 
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hover-boxtext p {
    font-size: 0.95em;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- Brand Section (Schools in Network) --- */
.brand-area {
    background-color:#FF90BB;
    padding: 50px 0;
}

.brand-title {
    text-align: center;
    font-size: 2rem; 
    color: #ffffff;
    text-shadow: 0 2px 4px rgb(0, 0, 0,0.07);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

.main-brand {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

.brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.brand a {
    text-decoration: none;
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 4px rgb(0, 0, 0,0.07);
    transition: all 0.3s ease;
}

.brand p {
    font-size: 10px; 
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.brand:hover {
    transform: translateY(-5px);
}
.brand:hover a {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 4px 8px rgb(0, 0, 0,0.1);
}

.brand:hover p {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 4px 8px rgb(0, 0, 0,0.1);
}

/* --- Widget Zone --- */
.widget-area {
    max-width: 1400px;
    margin: 0 auto;
}

.bg-widget-area {
    background-color: #F8F8F8;
}

.main-widget {
    width: 100%;
    display: flex;
    flex-wrap: nowrap; 
    flex-direction: column; 
    gap: 20px;
    padding: 30px 0;
}

.left-widget {
    flex: 2;
    min-width: 300px;
}

.left-widget h4 ,
.right-widget h4  {
    text-align: center;
    font-size: 2rem;
    padding: 20px 0 20px 0;
}

.right-widget {
    flex: 1;
    min-width: 250px;
}

/* Calendar*/
.calendar-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    height: 0;
}

.calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Facebook Zone --- */
.facebook-zone {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 0;
    padding-top: 50%;
    overflow: hidden;
    cursor: pointer;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.image-wrapper .image-title {
    font-size: 16px; 
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 5px 5px;
    margin: 0;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.image-wrapper .image-title i {
    color: white;
}

.image-wrapper .text-overlay {
    padding: 10px 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.image-wrapper .text-overlay h3,
.image-wrapper .text-overlay p {
    margin: 0;
    text-align: center;
    font-size: 16px; 
}

.image-wrapper:hover .image-title {
    opacity: 0;
}

.image-wrapper:hover .text-overlay {
    opacity: 1;
    z-index: 2;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.slide-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 10px 20px; 
    border-radius: 10px;
    font-size: 14px; 
    font-weight: bold;
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
}

.slide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #6495ED;
    transition: left 0.3s ease;
    z-index: -1;
}

.slide-button:hover::before {
    left: 0;
}

.slide-button:hover {
    color: #fff;
}

/* --- Footer Section --- */


.footer-area {
    margin-top: 50px;
    padding: 10px 15px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}

.footer-title {
    min-width: 0;
    word-break: break-all;
    text-align: center;
    color: #333;
}

.footer-title h2 {
    font-size: 20px; 
}

.footer-title p {
    font-size: 12px;
    opacity: 90%;
    line-height: 16px;
}

.footer-menu {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px 0 10px 0;
    flex-direction: column; 
    align-items: center; 
}

#main-menu {
    color: #FF90BB;
}

.footer-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #FF90BB;
}

.footer-social {
    display: flex;
    justify-content: center;
    padding: 10px 0 30px 0;
    gap: 30px;
}

.fa-brands,
.fa-solid {
    font-size: 22px;
    color: #333;
    transition: all 0.3s ease;
}

.fa-brands:hover,
.fa-solid:hover {
    color: #FF90BB;
    transform: scale(1.2);
}

.site-footer .footer-widgets-container .inside-footer-widgets {
    margin-left: 0px;
}

.site-footer .footer-widgets-container .inner-padding {
    padding: 0;
}

/* --- Contact Zone --- */
.area-contact {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    flex-direction: column; 
}

.main-contact {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 0;
}

.left-contact {
    flex: 1;
    min-width: 300px;
    padding-right: 0; 
}

.left-contact h4 {
    text-align: center;
    padding-bottom: 10px;
}

.right-contact h4 {
    text-align: center;
    padding-bottom: 10px;
}

.right-contact {
    flex: 2;
    min-width: 300px;
    padding-top: 35px;
}

/* Calendar*/
.contact-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    height: 0;
}

.contact-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.text-contact {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.text-contact img {
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

.text-title h4 {
    font-size: 16px; 
}

.text-title p {
    font-size: 14px; 
}

/* --- Teacher Cards --- */
.body-card-teacher {
    text-align: center;
}

.body-card-teacher h3 {
    display: inline-block;
    font-size: 24px;
    padding: 20px 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.main-card-teacher {
    display: flex;
    justify-content: center;
    gap: 10px; 
    margin-bottom: 20px;
}

.card-teacher {
    width: 140px; 
    display: flex;
    flex-direction: column;
    padding: 10px 5px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-teacher:hover {
    transform: translateY(-5px);
}

.card-teacher img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-teacher:hover img {
    transform: scale(1.1);
}

.card-teacher-title {
    position: static; 
    top: auto; 
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
    color: white;
    padding: 10px 20px;
}

.card-teacher-title h4 {
    margin: 2px 0;
    padding: 0;
    font-size: 10px; 
}

.card-teacher-title p {
    margin: 2px 0;
    padding: 0;
    font-size: 8px; 
}

.card-teacher-title-2 { 
    position: static; 
    top: auto; 
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
    color: white;
    padding: 10px 20px;
}

.card-teacher-title-2 h4 {
    margin: 2px 0;
    padding: 0;
    font-size: 10px; 
}

.card-teacher-title-2 p {
    margin: 2px 0;
    padding: 0;
    font-size: 8px; 
}

/* ส่วนของ CSS สำหรับป๊อปอัป */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 9999; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
	opacity: 0;
	animation: fadePopup 0.5s ease-in-out forwards 3s;
}

.popup-content {
    background-color: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    max-width: 1400px; 
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}


@media (min-width: 480px) {
    .banner-wrapper {
        padding: 10px 10px 80px 10px;
    }

    .banner-wrapper::before {
        top: 36%;
        left: 40%;
        background-size: 20%;
    }

    .banner-topic {
        margin-top: 60px;
    }

    .card-container {
        grid-template-columns: repeat(2, 1fr); 
    }
    .overlay-text h3 {
        font-size: 11px; 
    }
    .overlay-text p {
        font-size: 9px; 
    }
    .hover-boxtext h4 {
        font-size: 16px; 
    }

    .footer-menu {
        flex-direction: column; 
        align-items: center;
    }
    .footer-title h2 {
        font-size: 20px;
    }

    .image-wrapper .image-title {
        font-size: 16px; 
    }
    .text-overlay p {
        font-size: 16px; 
    }
    .slide-button {
        padding: 10px 20px; 
        font-size: 14px; 
    }

    .main-widget {
        flex-wrap: nowrap;
        flex-direction: column; 
    }

    .area-contact {
        flex-direction: column; 
    }
    .left-contact {
        padding-right: 0; 
    }
    .text-title h4 {
        font-size: 16px; 
    }
    .text-title p {
        font-size: 14px; 
    }

    .main-card-teacher {
        gap: 10px; 
    }
    .card-teacher {
        width: 140px; 
    }
    .card-teacher-title, .card-teacher-title-2 {
        position: static; 
        top: auto;
    }
    .card-teacher-title h4, .card-teacher-title-2 h4 {
        font-size: 10px;
    }
    .card-teacher-title p, .card-teacher-title-2 p {
        font-size: 8px;
    }

    .main-brand {
        gap: 20px;
    }
    .brand-title {
        font-size: 24px;
    }
    .brand a {
        font-size: 16px;
    }
    .brand p {
        font-size: 10px;
    }
    .footer-area {
        margin-top: 0;
    }
	

}


@media (min-width: 768px) {
    .banner-wrapper::before {
        top: 45%;
        left: 40%;
        background-size: 20%;
    }

    .banner-topic {
        margin-top: 60px;
    }
    .banner-header {
        font-size: 3.5rem; 
    }
    .banner-photo {
        max-width: 700px; 
    }

    .card-container {
        grid-template-columns: repeat(2, 1fr); 
    }
    .overlay-text h3 {
        font-size: 20px; 
    }
    .overlay-text p {
        font-size: 16px; 
    }
    .hover-boxtext h4 {
        font-size: 20px; 
    }

    .footer-menu {
        flex-direction: row; 
        align-items: center;
    }
    .footer-title h2 {
        font-size: 24px; 
    }

    .image-wrapper .image-title {
        font-size: 24px; 
    }
    .text-overlay p {
        font-size: 24px; 
    }
    .slide-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .main-widget {
        flex-wrap: wrap;
        flex-direction: row; 
    }

    .main-brand {
        gap: 70px; 
    }
    .brand-title {
        font-size: 48px; 
    }
    .brand a {
        font-size: 24px; /
    }
    .brand p {
        font-size: 14px; 
    }

    .area-contact {
        flex-direction: row; 
    }
    .left-contact {
        padding-right: 50px; 
    }
    .text-title h4 {
        font-size: 20px; 
    }
    .text-title p {
        font-size: 16px; 
    }

    .main-card-teacher {
        gap: 20px; 
    }
    .card-teacher {
        width: 250px; 
    }
    .card-teacher-title, .card-teacher-title-2 {
        position: absolute; 
        top: 75%;
    }
    .card-teacher-title h4, .card-teacher-title-2 h4 {
        font-size: 14px;
    }
    .card-teacher-title p, .card-teacher-title-2 p {
        font-size: 12px;
    }
    .footer-area {
        margin-top: 0;
    }


}


@media (min-width: 834px) {
    .banner-wrapper::before {
        top: 45%;
        left: 40%;
        background-size: 20%;
    }

    .banner-topic {
        margin-top: 60px;
    }
    .banner-header {
        font-size: 3.5rem; 
    }
    .banner-photo {
        max-width: 750px; 
    }
    .footer-area {
        margin-top: 0;
    }


}

@media (min-width: 1024px) {
    .banner-wrapper::before {
        top: 0;
        left: 44%;
        background-size: 12%;
}
    .banner-wrapper {
        padding: 80px 20px;
        flex-direction: row; 
    }
    .banner-main {
        height: 700px;
    }
    .banner-main::before {
        bottom: -7%;
        background-position: bottom;
        width: 100%;
        height: 100%;
    }
    .banner-topic {
        justify-content: flex-start;
        align-items: flex-start;
    }
    .banner-header,
    .banner-text,
    .banner-social-text {
        text-align: left;
    }
    .banner-header {
        font-size: 5rem; 
    }
    .banner-text {
        font-size: 1.5rem;
    }
    .banner-social-text {
        font-size: 1.5rem;
    }
    .banner-social-text::before {
        width: 100%;
    }
    .banner-social a .fa-brands,
    .banner-social a .fa-solid {
        font-size: 2rem;
    }
    .banner-photo {
        margin-top: 40px;
        max-width: 600px;
    }
    .banner-photo::after {
        top: 50%;
    }

    .card-container {
        grid-template-columns: repeat(4, 1fr); 
    }

    .image-wrapper .image-title {
        font-size: 18px; 
    }
    .text-overlay p {
        font-size: 14px; 
    }
    .slide-button {
        padding: 5px 10px;
        font-size: 12px; 
    }

    .footer-area {
        margin-top: 0;
    }
	
	.popup-content {
    padding: 20px;

}

}
