@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Tangerine:wght@400;700&family=Matemasie&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #0000FF;
    --secondary-color: #FFFF00;
    --accent-color: #DE3163;
    --success-color: #00FF00;
    --cyan-color: #00ffee;
    --green-accent: #2ded81;
    --lime-color: #AAFF00;
    --header-height: 70px;
    --transition: 0.4s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Ubuntu", sans-serif;
    overflow-x: hidden;
}

/* ===== HOME SECTION ===== */
.home {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url("/Image/home.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 5%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===== LOGO ===== */
.logo {
    font-size: clamp(20px, 4vw, 28px);
    color: var(--primary-color);
    font-family: "Matemasie", sans-serif;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.logo h3 {
    display: inline;
}

.logo span {
    color: var(--secondary-color);
    font-size: clamp(24px, 5vw, 32px);
}

.logo h3:hover {
    text-shadow: 0 0 25px var(--success-color);
}

/* ===== HEADER RIGHT ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ===== NAVIGATION TOGGLE ===== */
#nav-toggle {
    font-size: 28px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 101;
    display: none;
}

#nav-toggle:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* ===== NAVIGATION ===== */
.nav {
    position: relative;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    padding: 8px 12px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: goldenrod;
    border-bottom-color: var(--cyan-color);
}

#nav-close {
    display: none;
}

/* ===== BANNER ===== */
.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex: 1;
    color: #fff;
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: var(--header-height);
}

.banner h2 {
    border: 3px solid var(--accent-color);
    border-radius: 10px;
    padding: 20px 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(18px, 4vw, 35px);
    font-family: "Oswald", sans-serif;
    animation: fadeInUp 0.8s ease-out;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.banner h2 span {
    color: var(--secondary-color);
}

.banner h3 {
    font-size: clamp(24px, 5vw, 40px);
    font-family: "Tangerine", cursive;
    color: var(--secondary-color);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ===== SPECIAL SECTION ===== */
.special {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1.5rem 2rem;
    gap: 3rem;
}

.special-heading h1 {
    background: var(--accent-color);
    padding: 12px 30px;
    border-radius: 10px;
    color: white;
    font-size: clamp(20px, 3vw, 28px);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(222, 49, 99, 0.4);
    animation: fadeInDown 0.8s ease-out;
}

.special-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.special-box {
    height: 280px;
    width: 200px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border: 2px solid var(--green-accent);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.special-box:nth-child(2) {
    animation-delay: 0.1s;
}

.special-box:nth-child(3) {
    animation-delay: 0.2s;
}

.special-box:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 255, 0, 0.3);
}

.special-items img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-accent);
    transition: var(--transition);
}

.special-box:hover img {
    border-color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(222, 49, 99, 0.5);
}

.special-box h2 {
    color: var(--lime-color);
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.special-box h3 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    margin-top: auto;
    color: beige;
    font-size: 14px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.footer p {
    margin: 0;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Mobile */
@media screen and (max-width: 1024px) {
    #nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        height: 100vh;
        padding: 2rem 0;
        z-index: 999;
        transition: left 0.5s ease-in-out;
    }

    .nav.show {
        left: 0;
    }

    #nav-close {
        display: flex;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
        font-size: 20px;
        height: 40px;
        width: 40px;
        align-items: center;
        justify-content: center;
        background-color: var(--accent-color);
        border-radius: 50%;
        cursor: pointer;
        color: white;
        transition: var(--transition);
    }

    #nav-close:hover {
        background-color: var(--secondary-color);
        color: black;
        transform: rotate(90deg);
    }

    .nav__menu {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .nav__menu > .logo {
        display: block;
    }

    .nav__list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav__link {
        font-size: 18px;
    }
}

/* Small Mobile Devices (320px - 480px) */
@media screen and (max-width: 480px) {
    :root {
        --header-height: 60px;
    }

    .header {
        padding: 0 1rem;
    }

    .logo {
        font-size: 20px;
    }

    .logo span {
        font-size: 24px;
    }

    .banner {
        gap: 15px;
        padding: 1.5rem 1rem;
    }

    .banner h2 {
        padding: 15px 20px;
        letter-spacing: 2px;
    }

    .special {
        padding: 2rem 1rem 1.5rem;
        gap: 2rem;
    }

    .special-heading h1 {
        padding: 10px 20px;
    }

    .special-items {
        gap: 15px;
    }

    .special-box {
        height: 220px;
        width: 150px;
        padding: 15px 10px;
        gap: 10px;
    }

    .special-items img {
        height: 90px;
        width: 90px;
    }

    .special-box h2 {
        font-size: 15px;
    }

    .special-box h3 {
        font-size: 17px;
    }

    .footer {
        font-size: 12px;
        padding: 1rem;
    }
}

/* Medium Mobile Devices (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .logo {
        font-size: 22px;
    }

    .logo span {
        font-size: 28px;
    }

    .banner h2 {
        padding: 18px 25px;
    }

    .special {
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }

    .special-box {
        height: 240px;
        width: 170px;
        padding: 15px;
    }

    .special-items img {
        height: 100px;
        width: 100px;
    }

    .special-box h2 {
        font-size: 16px;
    }

    .special-box h3 {
        font-size: 18px;
    }
}

/* Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .banner h2 {
        padding: 20px 30px;
    }

    .special-box {
        height: 260px;
        width: 190px;
    }

    .special-items img {
        height: 110px;
        width: 110px;
    }
}

/* Desktop - Small to Medium (1025px and above) */
@media screen and (min-width: 1025px) {
    .header {
        padding: 0 3rem;
    }

    .header > .logo {
        display: none;
    }

    .header-right {
        display: none;
    }

    .nav {
        position: static;
        background: transparent;
        width: 100%;
    }

    .nav__menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    .nav__menu > .logo {
        display: block;
    }

    .nav__list {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }

    .nav__link {
        font-size: 15px;
        padding: 0.5rem 0;
    }

    .banner {
        margin-top: var(--header-height);
    }

    .special {
        padding: 3rem 2rem;
    }
}

/* Large Desktop (1441px and above) */
@media screen and (min-width: 1441px) {
    .header {
        padding: 0 5rem;
    }

    .nav__menu > .logo {
        font-size: 32px;
    }

    .nav__menu > .logo span {
        font-size: 42px;
    }

    .nav__list {
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 17px;
    }

    .banner h2 {
        padding: 25px 40px;
        letter-spacing: 4px;
    }

    .special-box {
        height: 300px;
        width: 220px;
    }

    .special-items img {
        height: 130px;
        width: 130px;
    }

    .special-box h2 {
        font-size: 19px;
    }

    .special-box h3 {
        font-size: 22px;
    }
}

/* Extra Large Screens (1920px and above) */
@media screen and (min-width: 1920px) {
    .header {
        max-width: 1920px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .special {
        max-width: 1600px;
        margin: 0 auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    #nav-toggle,
    #nav-close {
        display: none;
    }

    .home {
        background: white;
        color: black;
    }

    .banner h2,
    .banner h3 {
        color: black;
        border-color: black;
    }
}