@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #E1F1FD;
    --secondary-bg-color: #F8F9FA;
    --main-color: #86B6F6;
    --text-color: #176B87;
    --light-text-color: #FFFFFF;
    --dark-text-color: #6c757d;
    --card-bg-color: #FFFFFF;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

html, body {
    width: 100%;
    font-size: 65%;
    overflow-x: hidden;
    background: var(--bg-color);
    color: var(--text-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(134, 182, 246, .5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

.header.sticky {
    background: var(--main-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
    width: 6rem;
    height: auto;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--light-text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--text-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--light-text-color);
    cursor: pointer;
    display: none;
}

#announcement-bar {
    position: fixed;
    top: 7.8rem;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    padding: 5px;
    min-height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: .3s ease;
}

#announcement-bar.sticky {
    background-color: #4292fa;
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

#announcement-bar p {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

#closeBarBtn {
    position: absolute;
    right: 15px;
    background: transparent;
    font-size: 2.5rem;
    cursor: pointer;
    color: black;
}

#emoji-icons1 {
    padding-right: 1rem;
    font-size: 2rem;
    color: var(--text-color);
}

#emoji-icons2 {
    padding-left: 1rem;
    font-size: 2rem;
    color: var(--text-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

/* Home Section */
.home {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
}

.home-content {
    max-width: 60rem;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content h1 span {
    color: var(--main-color);
}

.home-content .text-h3 {
    font-size: 3.2rem;
    margin: 2rem 0 3rem;
}

.home-content .text-h3 span {
    color: var(--main-color);
}

.info-points {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 2.4rem;
    color: var(--main-color);
    margin-right: 1.5rem;
}

.info-item p {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.carousel {
    margin: 100px 2% 100px auto;
    width: 45%;   
    height: 30rem;
    display: flex;
    overflow: hidden;
    align-items: center;
    pointer-events: none;
    gap: 1rem;
    contain: strict;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}

.carousel::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    align-items: center;
    gap: 1rem; 
    flex-shrink: 0;
    width: max-content;
}

.card {
    flex: 0 0 28rem;
    min-width: 28rem;
    height: 28rem;
    border-radius: 4rem; 
    object-fit: cover;
    pointer-events: none;
}

/* Services Section */
.services {
    background: var(--secondary-bg-color);
}

.services h2 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.services h2 span {
    color: var(--main-color);
}

.services p.subtitle {
    text-align: center;
    font-size: 1.6rem;
    max-width: 600px;
    margin: 0 auto 5rem auto;
    color: var(--dark-text-color);
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.service-card {
    flex: 1 1 30rem;
    max-width: 35rem;
    background: var(--card-bg-color);
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    border-top: 5px solid var(--main-color);
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
    font-size: 6rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--dark-text-color);
}

/* About Section */
.about {
    background: var(--bg-color);
}

.section-title {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 5rem;
}

.section-title span {
    color: var(--main-color);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-embed {
    position: relative;
    flex: 1 1 40rem;
    max-width: 45rem;
    aspect-ratio: 1 / 1;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: transform .3s ease;
}

.about-embed:hover {
    transform: scale(1.03);
}

.about-embed a {
    display: block;
    width: 100%;
    height: 100%;
}

.about-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.about-embed:hover video {
    filter: blur(4px);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(134, 182, 246, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text-color);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

.about-embed:hover .video-overlay {
    opacity: 1;
    visibility: visible;
}

.about-content {
    flex: 1 1 50rem;
}

.about-content .story, .about-content .mission {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-content .story { 
    color: var(--text-color); 
}

.about-content .mission { 
    color: var(--main-color); 
}

.about-content .story span { 
    color: var(--main-color); 
}

.about-content .mission span { 
    color: var(--text-color); 
}

.about-content p {
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--dark-text-color);
}

.about-content p span {
    color: var(--text-color);
    font-weight: 600;
}

.social-media {
    margin-top: 3rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--main-color);
    margin-right: 1.5rem;
    transition: .4s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--light-text-color);
    box-shadow: 0 0 1.5rem var(--main-color);
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--secondary-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 0;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form {
    width: 100%;
    max-width: 1400px;
    background-color: var(--card-bg-color);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form {
    background-color: var(--main-color);
    position: relative;
}

.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, var(--text-color));
    position: absolute;
}

.circle.one {
    width: 200px;
    height: 200px;
    top: 150px;
    right: -50px;
}

.circle.two {
    width: 120px;
    height: 120px;
    top: 10px;
    right: 40px;
}

.contact-form:before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--main-color);
    transform: rotate(45deg);
    top: 60px;
    left: -15px;
}

form {
    padding: 4rem 3.5rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
}

.contact-form .title {
    color: var(--light-text-color);
    font-weight: 500;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.input-container {
    position: relative;
    margin: 2rem 0;
}

.input {
    width: 100%;
    outline: none;
    border: 2px solid var(--light-text-color);
    background: none;
    padding: 1.3rem 2rem;
    color: var(--light-text-color);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: .5px;
    border-radius: 35px;
    transition: .3s;
}

textarea.input {
    padding: 1.3rem 2rem;
    min-height: 220px;
    border-radius: 30px;
    resize: none;
    overflow-y: auto;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    padding: 0 .4rem;
    color: var(--light-text-color);
    font-size: 1.2rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: .5s;
}

.input-container.textarea label {
    top: 1.3rem;
    transform: translateY(0);
}

.btn {
    padding: 1.3rem 2.2rem;
    background-color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1;
    border-radius: 35px;
    outline: none;
    cursor: pointer;
    transition: .3s;
    margin: 0;
    width: 100%;
    font-weight: 600;
}

.btn:hover {
    background-color: transparent;
    color: var(--light-text-color);
}

.input-container span {
    position: absolute;
    top: 0;
    left: 30px;
    transform: translateY(-50%);
    font-size: 1rem;
    padding: 0 .4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
}

.input-container span:before,
.input-container span:after {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: .3s;
    height: 5px;
    background-color: var(--main-color);
    top: 50%;
    transform: translateY(-50%);
}

.input-container span:before { 
    left: 50%; 
}

.input-container span:after { 
    right: 50%; 
}

.input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 30px;
    font-size: 1rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
    width: 50%;
    opacity: 1;
}

.contact-info {
    padding: 4rem 3.5rem;
    position: relative;
}

.contact-info .title {
    color: var(--text-color);
    font-size: 3rem;
}

.contact-info .text {
    color: var(--dark-text-color);
    margin: 2rem 0 2.5rem 0;
    font-size: 1.4rem;
    line-height: 1.6;
}

.info { 
    margin-bottom: 2.5rem;
}

.information {
    display: flex;
    color: var(--dark-text-color);
    margin: 1.5rem 0;
    align-items: center;
    font-size: 1.4rem;
}

.icon {
    font-size: 36px;
    color: var(--main-color);
    margin-right: 1.5rem;
}

.social-icons {
    display: flex;
    margin-top: 1.5rem;
}

.sci { 
    padding: 3rem 0 0 0;
}

.sci p { 
    color: var(--dark-text-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--main-color), var(--text-color));
    color: var(--light-text-color);
    text-align: center;
    line-height: 48px;
    margin-right: 1.5rem;
    transition: .3s;
    font-size: 1.6rem;
}

.social-icons a:hover { 
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 3rem 9% 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1 1 25rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--main-color);
}

.footer-links ul { 
    list-style: none; 
}

.footer-links ul li a {
    display: block;
    color: var(--bg-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-links ul li a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

.info-footer {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.info-footer i {
    font-size: 2rem;
    color: var(--main-color);
    margin-right: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 1.2rem;
    color: #aaa;
}

.scroll-to-top {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--main-color);
    border-radius: .8rem;
    color: var(--light-text-color);
    font-size: 2.2rem;
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: #a1c8f8;
    transform: translateY(-5px);
}

/* RESPONSIVE DESIGN */
/* Large Desktops (1400px - 1600px) */
@media (min-width: 1400px) and (max-width: 1600px) {
    html {
        font-size: 68%;
    }
    
    .container {
        max-width: 1500px;
    }

    #announcement-bar {
        top: 7.7rem;
    }
    
    .carousel {
        width: 40%;
        height: 32rem;
    }
    
    .card {
        flex: 0 0 30rem;
        height: 30rem;
    }
}

/* Standard Desktops (1200px - 1399px) */
@media (max-width: 1399px) {
    html {
        font-size: 62%;
    }
    
    .home-content h1 {
        font-size: 5rem;
    }
    
    .carousel {
        width: 42%;
        height: 30rem;
    }
    
    .card {
        flex: 0 0 28rem;
        height: 28rem;
    }
    
    .form {
        max-width: 1200px;
    }
}

/* Large Tablets & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    html {
        font-size: 58%;
    }
    
    .header {
        padding: 2rem 5%;
    }
    
    section {
        padding: 10rem 5% 2rem;
    }
    
    .footer {
        padding: 2rem 5%;
    }
    
    .contact {
        padding: 10rem 5% 4rem;
    }
    
    .home-content h1 {
        font-size: 4.8rem;
    }
    
    .carousel {
        margin: 5rem 0 0 0;
        width: 80%;
        max-width: 50rem;
        height: 27rem;
    }

    .card {
        flex: 0 0 25rem;
        height: 25rem;
    }
    
    .service-card {
        flex: 1 1 28rem;
        max-width: 32rem;
    }
    
    .form {
        max-width: 1000px;
    }
    
    form {
        padding: 3.5rem 3rem;
    }
    
    .contact-info {
        padding: 3.5rem 3rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    .header {
        padding: 2rem 3%;
    }

    #announcement-bar {
        top: 7.7rem;
    }
    
    section {
        padding: 10rem 3% 2rem;
    }
    
    .services {
        padding-bottom: 7rem;
    }
    
    .footer {
        padding: 2rem 3%;
    }
    
    .contact {
        padding: 10rem 3% 4rem;
    }
    
    .home {
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding-top: 10rem;
        min-height: 100vh;
        justify-content: flex-start;
        align-items: center;
    }
    
    .home-content {
        max-width: 100%;
    }
    
    .home-content h1 {
        font-size: 4.5rem;
    }
    
    .home-content .text-h3 {
        font-size: 2.8rem;
    }
    
    .info-points {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .info-item {
        justify-content: center;
        max-width: 50rem;
    }
    
    .carousel {
        margin: 3rem 0 0 0;
        width: 100%;
        max-width: 100rem;
        height: 27rem;
    }

    .card {
        flex: 0 0 25rem;
        height: 25rem;
    }
    
    .services h2 {
        font-size: 4rem;
    }
    
    .service-card {
        flex: 1 1 40rem;
        max-width: 50rem;
    }
    
    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .about-embed {
        width: 70%;
        max-width: 55rem;
    }
    
    .about-content .story,
    .about-content .mission {
        font-size: 2.5rem;
    }
    
    .social-media {
        display: flex;
        justify-content: center;
    }
    
    .form {
        grid-template-columns: 1fr;
        max-width: 60rem;
    }
    
    .contact-form:before {
        top: -13px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }
    
    .contact-info {
        text-align: center;
    }
    
    .information {
        justify-content: center;
    }
    
    .sci {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .circle.one {
        width: 150px;
        height: 150px;
        top: 100px;
        right: -30px;
    }
    
    .circle.two {
        width: 90px;
        height: 90px;
        top: 5px;
        right: 30px;
    }
}

/* Mobile Landscape & Small Tablets (576px - 767px) */
@media (max-width: 767px) {
    html {
        font-size: 52%;
    }
    
    @keyframes slideInLeft {
        0% {
            opacity: 0;
            transform: translateX(-100%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

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

    #menu-icon {
        display: block;
    }

    #announcement-bar {
        top: 7.6rem;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--main-color);
        border-top: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        opacity: 0;
        transform: translateX(-100%);
        pointer-events: none;
    }

    .navbar.active {
        animation: slideInLeft 0.4s ease forwards;
        pointer-events: auto;
    }

    .navbar.closing {
        animation: slideOutLeft 0.4s ease forwards;
        pointer-events: none;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--light-text-color);
    }
    
    .navbar a:hover,
    .navbar a.active {
        color: var(--text-color);
    }
    
    .logo {
        width: 5rem;
    }
    
    .home {
        min-height: 100vh;
        padding: 10rem 3% 2rem;
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
    }
    
    .home-content {
        padding: 0 1rem;
    }
    
    .home-content h1 {
        font-size: 5rem;
        word-wrap: break-word;
    }
    
    .home-content .text-h3 {
        font-size: 3rem;
        margin: 4rem 0 2.5rem;
        word-wrap: break-word;
    }
    
    .info-item {
        padding: 0 1rem;
    }
    
    .info-item i {
        font-size: 2.7rem;
    }
    
    .info-item p {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .carousel {
        margin: 3rem 0 0 0;
        width: 85%;
        max-width: 70rem;
        height: 27rem;
    }

    .card {
        flex: 0 0 70vw;
        height: 70vw;
        min-width: unset;
    }
    
    .services h2 {
        font-size: 3.5rem;
        padding: 0 1rem;
    }
    
    .services p.subtitle {
        font-size: 1.5rem;
        padding: 0 2rem;
    }
    
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 3.5rem 2.5rem;
    }
    
    .service-card .icon {
        font-size: 5.5rem;
    }
    
    .service-card h3 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .about-embed {
        width: 80%;
        max-width: 48rem;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .about-content .story,
    .about-content .mission {
        font-size: 2.2rem;
        word-wrap: break-word;
    }
    
    .about-content p {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .social-media {
        margin-top: 2rem;
    }
    
    .social-media a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }
    
    .container {
        padding: 0;
        width: 100%;
    }
    
    form {
        padding: 3rem 2rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .contact {
        padding: 9rem 1rem 3rem;
    }
    
    .contact-form .title {
        font-size: 2.5rem;
    }
    
    .input-container {
        margin: 1.8rem 0;
    }
    
    .input {
        padding: 1.2rem 1.8rem;
        font-size: 1.3rem;
    }
    
    textarea.input {
        min-height: 180px;
    }
    
    .btn {
        padding: 1.2rem 2rem;
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 3rem 2.5rem;
    }
    
    .contact-info .title {
        font-size: 2.5rem;
    }
    
    .contact-info .text {
        font-size: 1.3rem;
    }
    
    .information {
        font-size: 1.3rem;
    }
    
    .icon {
        font-size: 30px;
    }
    
    .social-icons a {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 1.5rem;
    }
    
    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.7rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul li a {
        font-size: 1.3rem;
    }
    
    .info-footer {
        justify-content: center;
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Small Mobile (480px - 575px) */
@media (max-width: 575px) {
    html {
        font-size: 50%;
    }
    
    .header {
        padding: 1.5rem 4%;
    }

    #announcement-bar {
        top: 6.2rem;
    }
    
    section {
        padding: 9rem 4% 2rem;
    }
    
    .contact {
        padding: 9rem 4% 3rem;
    }
    
    .home {
        padding: 9rem 4% 4rem;
    }

    .home-content h1 {
        font-size: 4rem;
        display: flex;
        flex-direction: column;
    }
    
    .home-content .text-h3 {
        font-size: 2.9rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .carousel {
        margin: 3rem 0 0 0;
        width: 90%;
        max-width: 42rem;
        height: 24rem;
    }

    .card {
        flex: 0 0 22rem;
        height: 22rem;
        border-radius: 2rem;
    }
    
    .services h2 {
        font-size: 3.2rem;
    }
    
    .services p.subtitle {
        font-size: 1.4rem;
    }
    
    .service-card {
        padding: 3rem 2rem;
    }
    
    .service-card .icon {
        font-size: 5rem;
    }
    
    .service-card h3 {
        font-size: 1.9rem;
    }
    
    .service-card p {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .about-embed {
        width: 85%;
        max-width: 42rem;
    }
    
    .about-content .story,
    .about-content .mission {
        font-size: 2rem;
        margin-top: 1.5rem;
    }
    
    .social-media a {
        width: 3.8rem;
        height: 3.8rem;
        font-size: 1.8rem;
        margin-right: 1rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
    
    form {
        padding: 2.5rem 2rem;
    }
    
    .contact-form .title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .input-container {
        margin: 1.5rem 0;
    }
    
    .input {
        padding: 1.1rem 1.5rem;
        font-size: 1.2rem;
        border-radius: 30px;
    }
    
    textarea.input {
        min-height: 160px;
        border-radius: 25px;
    }
    
    .input-container label {
        font-size: 1.1rem;
        left: 18px;
    }
    
    .input-container.focus label {
        left: 25px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 1.1rem 1.8rem;
        font-size: 1.2rem;
        border-radius: 30px;
    }
    
    .contact-info {
        padding: 2.5rem 2rem;
    }
    
    .contact-info .title {
        font-size: 2.2rem;
    }
    
    .contact-info .text {
        font-size: 1.2rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .information {
        font-size: 1.2rem;
        margin: 1.2rem 0;
    }
    
    .icon {
        font-size: 28px;
        margin-right: 1.2rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.4rem;
        margin-right: 1.2rem;
    }
    
    .circle.one {
        width: 120px;
        height: 120px;
        top: 80px;
        right: -25px;
    }
    
    .circle.two {
        width: 70px;
        height: 70px;
        top: 5px;
        right: 20px;
    }
    
    .footer {
        padding: 2rem 4%;
    }
    
    .footer-section h3 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-links ul li a {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .info-footer {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .info-footer i {
        font-size: 1.8rem;
    }
    
    .scroll-to-top {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
        margin-top: 1.5rem;
    }
}

/* Extra Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    html {
        font-size: 50%;
    }
    
    .header {
        padding: 1.5rem 4%;
    }

    #announcement-bar {
        top: 5.8rem;
    }

    #announcement-bar p {
        font-size: 1.7rem;
    }
    
    section {
        padding: 8rem 4% 3rem;
    }

    .contact {
        padding: 8rem 4% 3rem;
    }
    
    .home {
        padding: 9rem 4% 4rem;
    }
    
    .carousel {
        margin: 3rem 0 0 0;
        width: 90%;
        max-width: 45rem;
        height: 24rem;
    }

    .card {
        flex: 0 0 22rem;
        height: 22rem;
        border-radius: 2rem;
    }

    .home-content {
        padding: 0;
    }

    .home-content h1 {
        font-size: 4.2rem; 
    }
    
    .home-content .text-h3 {
        font-size: 2.4rem;
        margin: 2.5rem 0;
    }
    
    .info-item {
        gap: 0.8rem;
    }

    .info-item i {
        font-size: 2.4rem;
    }

    .info-item p {
        font-size: 1.8rem;
    }
    
    .services {
        padding: 8rem 4% 5rem;
    }
    
    .services h2 {
        font-size: 3.6rem;
        margin-bottom: 1rem;
    }
    
    .services p.subtitle {
        font-size: 1.6rem;
        margin: 0 auto 4rem auto;
    }
    
    .services-container {
        gap: 2.5rem;
    }
    
    .service-card {
        padding: 3rem 2.5rem;
    }

    .service-card h3 {
        font-size: 2rem;
    }

    .service-card p {
        font-size: 1.6rem;
    }
    
    .about {
        padding: 8rem 4% 5rem;
    }
    
    .section-title {
        font-size: 3.6rem;
        margin-bottom: 3.5rem;
    }
    
    .about-embed {
        width: 90%;
        max-width: 45rem;
    }
    
    .about-content .story,
    .about-content .mission {
        font-size: 2.2rem;
    }
    
    .about-content p {
        font-size: 1.6rem;
        line-height: 1.7;
    }
    
    .container {
        padding: 1rem 0.5rem;
    }
    
    form {
        padding: 2.5rem 2rem;
    }
    
    .contact-form .title {
        font-size: 2.4rem;
    }
    
    .input {
        padding: 1.2rem 1.5rem;
        font-size: 1.4rem;
    }
    
    textarea.input {
        min-height: 140px;
    }

    .input-container label {
        font-size: 1.3rem;
    }

    .input-container.focus label {
        font-size: 1.1rem;
    }
    
    .contact-info {
        padding: 2.5rem 2rem;
    }
    
    .contact-info .title {
        font-size: 2.4rem;
    }
    
    .information {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .social-icons a {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 1.3rem;
        margin-right: 1rem;
    }
    
    .footer {
        padding: 3rem 4%;
    }
    
    .footer-container {
        gap: 2.5rem;
    }
    
    .copyright {
        font-size: 1.3rem;
    }
}

/* Landscape Mode Optimization (Mobile Landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    section {
        min-height: auto;
        padding: 8rem 3% 3rem;
    }
    
    .home {
        flex-direction: column;
        min-height: auto;
        padding: 8rem 3% 3rem;
        gap: 0;
        justify-content: flex-start;
        align-items: center;
    }
    
    .carousel {
        margin: 0;
        width: 60%;
        max-width: 38rem;
        height: 20rem;
    }

    .card {
        flex: 0 0 18rem;
        height: 18rem;
    }
    
    .home-content {
        max-width: 50rem;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
        margin-top: 2rem;
    }
    
    .home-content .text-h3 {
        font-size: 2rem;
        margin: 1rem 0 1.5rem;
    }
    
    .info-points {
        margin-top: 1.5rem;
    }
    
    .info-item {
        margin-bottom: 1rem;
        flex-direction: row;
        text-align: left;
    }
    
    .info-item i {
        margin-right: 1rem;
        margin-bottom: 0;
    }
}

/* High Resolution Displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .home-carousel,
    .about-embed {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .header,
    .navbar,
    #menu-icon,
    .social-media,
    .social-icons,
    .footer {
        display: none;
    }

    .carousel {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }
    
    .service-card,
    .about-container {
        page-break-inside: avoid;
    }
}