/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@700&display=swap');

/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* === HEADER === */
header {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(12px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* HEADER SAAT DI-SCROLL */
header.scrolled {
    background: rgba(0, 122, 204, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.3);
}

/* === CONTAINER === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === LOGO === */
.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease-in-out;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

/* === NAVIGATION === */
.nav-links {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease-in-out;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    padding: 10px 15px;
    position: relative;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
}

/* ANIMASI UNDERLINE NAVIGATION */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #f9c419;
    left: 50%;
    bottom: -5px;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%) scaleX(0);
}

.nav-links a:hover {
    color: #f9c419;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* === BURGER MENU === */
.burger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    transition: transform 0.3s ease-in-out;
}

.burger-menu.active {
    transform: rotate(90deg);
}

/* === SPAN === */
span {
    font-weight: bold;
    color: #ffffff;
    font-size: 17px;
    transition: all 0.3s ease-in-out;
}

span:hover {
    color: #ddd;
    transform: scale(1.1);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    header {
        padding: 12px 0;
    }

    .nav-links a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .logo {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 220px;
        border-radius: 10px;
        text-align: right;
        padding: 15px;
        background: rgba(0, 0, 0, 0.6);
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(15px);
        transition: all 0.4s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        animation: slideIn 0.3s ease-in-out;
    }

    .nav-links a {
        display: block;
        padding: 12px;
        font-size: 18px;
    }

    .burger-menu {
        display: block;
    }
}

/* === ANIMASI NAV === */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; 
    background: url("/03-mar-25-Mieptakh/assets/hero/Untitled\ design.png") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    padding: 80px 10%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    text-align: left;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
    text-transform: capitalize;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

/* Tambahan efek hover untuk heading */
.hero h1:hover {
    transform: translateX(10px);
}

/* Parallax Effect on Hero Content */
.hero-content {
    animation: fadeInUp 1s ease-in-out;
}

/* Hero Paragraph */
.hero p {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 25px;
    animation: fadeIn 1.2s ease-in-out;
}

/* CTA Button */
.hero .cta {
    display: inline-block;
    background: #00aaff;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* CTA hover effect */
.hero .cta:hover {
    background: #ffff99;
    color: #005f99;
    transform: scale(1.05);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4);
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero .cta {
        font-size: 16px;
        padding: 12px 24px;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in-up animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SECTION ABOUT US === */
#about-us {
    max-width: 1100px;
    margin: 100px auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 1s ease-in-out;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* === BACKGROUND DEKORASI === */
#about-us::before, #about-us::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(10px);
}

#about-us::before {
    width: 100px;
    height: 100px;
    background: rgba(0, 95, 153, 0.2);
    top: -30px;
    left: -30px;
    animation: floating 6s infinite alternate ease-in-out;
}

#about-us::after {
    width: 120px;
    height: 120px;
    background: rgba(0, 95, 153, 0.15);
    bottom: -40px;
    right: -40px;
    animation: floating 6s infinite alternate-reverse ease-in-out;
}

/* === JUDUL SECTION === */
#about-us h2 {
    font-size: 32px;
    color: #005f99;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* GARIS BAWAH H2 */
#about-us h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: #005f99;
    margin: 10px auto;
    border-radius: 3px;
    animation: slideIn 1s ease-in-out;
}

/* === SUB-JUDUL === */
#about-us h3 {
    font-size: 24px;
    color: #333;
    margin-top: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 2px solid #005f99;
    display: inline-block;
}

/* === PARAGRAF === */
#about-us p {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

#about-us p:hover {
    color: #005f99;
}

/* === LIST STYLE === */
#about-us ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

/* LIST ITEM */
#about-us ul li {
    background: #ffffff;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* ICON DALAM LIST */
#about-us ul li::before {
    content: "✔";
    font-weight: bold;
    color: #005f99;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

/* EFEK HOVER LIST */
#about-us ul li:hover {
    background: #005f99;
    color: white;
    transform: translateX(6px);
}

#about-us ul li:hover::before {
    color: white;
}

/* === ANIMASI === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 120px; }
}

@keyframes floating {
    from { transform: translateY(-10px); }
    to { transform: translateY(10px); }
}

/* === RESPONSIVENESS === */
@media (max-width: 1024px) {
    #about-us {
        padding: 50px 25px;
        margin: 80px auto;
    }

    #about-us h2 {
        font-size: 28px;
    }

    #about-us h3 {
        font-size: 22px;
    }

    #about-us p {
        font-size: 17px;
    }

    #about-us ul li {
        font-size: 16px;
        padding: 12px 18px;
    }
}

@media (max-width: 768px) {
    #about-us {
        padding: 40px 15px;
        margin: 60px auto;
    }

    #about-us h2 {
        font-size: 26px;
    }

    #about-us h3 {
        font-size: 20px;
    }

    #about-us p {
        font-size: 16px;
    }

    #about-us ul li {
        font-size: 15px;
        padding: 10px 15px;
    }
}

/* === SUPER RESPONSIVE === */
@media (max-width: 480px) {
    #about-us {
        padding: 30px 10px;
        margin: 50px auto;
    }

    #about-us h2 {
        font-size: 24px;
    }

    #about-us h3 {
        font-size: 18px;
    }

    #about-us p {
        font-size: 15px;
        line-height: 1.7;
    }

    #about-us ul li {
        font-size: 14px;
        padding: 8px 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === FACILITIES SECTION === */
.facilities {
    text-align: center;
    padding: 120px 10%;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb, #80d0ff);
    position: relative;
    overflow: hidden;
    animation: waveAnimation 4s ease-in-out infinite;
}

/* Dekorasi Bubble Floating */
.facilities::before,
.facilities::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(30px);
    animation: float 6s infinite alternate ease-in-out;
}

.facilities::before {
    top: -50px;
    left: -60px;
}

.facilities::after {
    bottom: -50px;
    right: -60px;
}

/* === JUDUL SECTION === */
.facilities h2 {
    font-size: 40px;
    color: #004080;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-in-out;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

/* === FACILITY GRID === */
.facility-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: gridAppear 2s ease-in-out;
}

/* === FACILITY CARD === */
.facility-card {
    background: white;
    border-radius: 50%;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    text-align: center;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    background: linear-gradient(135deg, #e6f7ff, #b3e0ff);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

/* Hover Efek */
.facility-card:hover {
    transform: scale(1.1);
    box-shadow: 0px 18px 35px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* Glow Hover */
.facility-card:hover::before {
    filter: brightness(1.2);
}

/* Background Image */
.facility-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
    z-index: 0;
}

/* Set Gambar Background untuk Setiap Facility */
.facility-card:nth-child(1)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/Teacher.png');
}

.facility-card:nth-child(2)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/Untitled\ design.png');
}

.facility-card:nth-child(3)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/Classroom.png');
}

.facility-card:nth-child(4)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/Aula.png');
}
.facility-card:nth-child(5)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/Musholla.png');
}
.facility-card:nth-child(6)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/labkom.jpg');
}
.facility-card:nth-child(7)::before {
    background-image: url('/03-mar-25-Mieptakh/assets/Facilities/LCDProjector.jpg');
}

/* Overlay Efek */
.facility-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: 0.3s ease-in-out;
}

/* Hover Efek Overlay */
.facility-card:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

/* === TEXT DI FACILITY CARD === */
.facility-card p {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .facilities {
        padding: 80px 5%;
    }

    .facilities h2 {
        font-size: 32px;
    }

    .facility-card {
        width: 180px;
        height: 180px;
    }

    .facility-card p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .facilities {
        padding: 60px 5%;
    }

    .facilities h2 {
        font-size: 28px;
    }

    .facility-grid {
        flex-direction: column;
        align-items: center;
    }

    .facility-card {
        width: 150px;
        height: 150px;
    }

    .facility-card p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* === ANIMATION === */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waveAnimation {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes gridAppear {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 120px; }
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(20px); }
}

/* === Achievements Section === */
#achievements {
    max-width: 1200px;
    margin: 100px auto;
    padding: 80px 40px;
    background: linear-gradient(135deg, #003366, #0077b6);
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* === Title Section === */
#achievements h2 {
    font-size: 36px;
    color: #FFDD95;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    animation: fadeInUp 1s ease-in-out;
    text-transform: uppercase;
    font-family: 'Lora', serif;
}

/* Garis bawah animasi */
#achievements h2::after {
    content: "";
    display: block;
    width: 140px;
    height: 5px;
    background: #FFA559;
    margin: 12px auto;
    border-radius: 3px;
    animation: slideIn 1s ease-in-out;
}

/* === Paragraf === */
#achievements p {
    font-size: 18px;
    color: #FDF6EC;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 500;
}

/* === Container untuk Cards === */
.achievement-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* === Achievement Card === */
.achievement-card {
    background: #EAE6FF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s ease-in-out;
    max-width: 360px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    animation: zoomIn 0.8s ease-in-out;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(0, 119, 182, 0.2);
}

/* Efek Hover */
.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Glow Hover */
.achievement-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.08);
    transition: 0.4s ease-in-out;
    z-index: 0;
}

/* Hover Effect */
.achievement-card:hover::before {
    background: rgba(0, 119, 182, 0.15);
}

/* Gambar di dalam card */
.achievement-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: 0.3s ease-in-out;
}

/* Efek Hover di Gambar */
.achievement-card:hover img {
    transform: scale(1.05);
}

/* Judul dalam card */
.achievement-card h3 {
    font-size: 24px;
    color: #2C3E50;
    font-weight: bold;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-family: 'Lora', serif;
}

/* Paragraf dalam card*/
.achievement-card p {
    font-size: 17px;
    color: #333;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    #achievements {
        padding: 60px 20px;
        margin: 80px auto;
    }

    .achievement-card {
        max-width: 100%;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    #achievements {
        padding: 50px 15px;
        margin: 70px auto;
    }

    .achievement-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .achievement-card {
        padding: 20px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 140px; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* === MESSAGE US SECTION === */
#message-us {
    padding: 70px 20px;
    background: linear-gradient(135deg, #f0f5ff, #e6efff);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1s ease-in-out;
    max-width: 1200px;
    margin: 0 auto;
}

/* === HEADER STYLE === */
#message-us h2 {
    font-size: 30px;
    color: #003366;
    font-weight: 700;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Lora', serif;
}

/* === GRID CONTAINER === */
.message-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: auto;
    margin-top: 30px;
}

/* === FORM STYLE === */
#message-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
    width: 100%;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Hover effect */
#message-form:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.12);
}

/* === LABEL & INPUT STYLE === */
label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #003366;
    text-transform: capitalize;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s ease-in-out;
    background: #f8fbff;
    color: #333;
    font-weight: 500;
    outline: none;
}

/* Fokus di input */
input:focus, textarea:focus {
    border-color: #0066cc;
    box-shadow: 0px 0px 10px rgba(0, 102, 204, 0.3);
}

/* === TEXTAREA CUSTOM === */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* === BUTTON STYLE === */
button {
    width: 100%;
    background: linear-gradient(135deg, #0066cc, #004080);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s ease-in-out;
    text-transform: uppercase;
}

/* Hover effect */
button:hover {
    background: linear-gradient(135deg, #004080, #002b5c);
    transform: scale(1.05);
}

/* === RADIO BUTTONS STYLE === */
.gender-options {
    display: flex;
    gap: 15px;
    font-size: 15px;
    color: #003366;
    margin-top: 8px;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.gender-options input[type="radio"] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #0066cc;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

/* Focused radio button */
.gender-options input[type="radio"]:focus {
    border-color: #004080;
    outline: none;
}

/* === DATE INPUT CUSTOM STYLE === */
input[type="date"] {
    width: 100%;
    padding: 12px;
    background: #f8fbff;
    color: #333;
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

input[type="date"]:focus {
    border-color: #0066cc;
    box-shadow: 0px 0px 10px rgba(0, 102, 204, 0.3);
}

/* Styling the calendar popup */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-color: #0066cc;
    border-radius: 50%;
    padding: 4px;
    color: white;
}

/* === OUTPUT STYLE === */
#message-output {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    width: 100%;
}

#message-output p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #222;
}

#message-output span {
    font-weight: 600;
    color: #0066cc;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .message-container {
        max-width: 900px;
        gap: 25px;
    }

    #message-us h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .message-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-top: 20px;
    }

    #message-form, #message-output {
        padding: 25px;
    }

    input, textarea {
        font-size: 15px;
        padding: 10px;
    }

    button {
        font-size: 15px;
    }

    #message-us {
        padding: 50px 15px;
    }
}

/* === ANIMATION === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
footer {
    padding: 20px;
    background-color: #005f99;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: right; 
    width: 100%;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    footer {
        font-size: 14px; 
        padding: 15px; 
    }
}