/* =======================
   Body
======================= */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f7f8fa;
    color: #333;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}


/* =======================
   Header
======================= */

.main-header {
    background: #0a2540;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 9999;
}

.logo {
    font-weight: 600;
    font-size: 1.6em;
    letter-spacing: 1px;
}


/* Navigation */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding-bottom: 3px;
    position: relative;
    transition: 0.2s ease-in-out;
}

nav a:hover {
    color: #76c0ff;
}

nav a:hover::after {
    width: 100%;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #76c0ff;
    transition: width 0.25s ease;
}


/* =======================
   About Section
======================= */

.about {
    padding: 20px 20px;
}

.container {
    max-width: 850px;
    background: #fff;
    margin: 0 auto;
    padding: 70px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about h1 {
    font-size: 2.4em;
    text-align: center;
    color: #0a2540;
    margin-bottom: 50px;
    font-weight: 600;
    position: relative;
}

.about h1::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #76c0ff;
    display: block;
    margin: 12px auto 0 auto;
    border-radius: 5px;
}

.about-block {
    margin-bottom: 20px;
}

.about-block h2 {
    font-size: 1.5em;
    color: #0a2540;
    margin-bottom: 12px;
    border-left: 5px solid #76c0ff;
    padding-left: 15px;
}

.about-block p {
    font-size: 1.05em;
    color: #555;
    text-align: justify;
}


/* =============================
   Dropdown Menu
============================= */

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: default;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-weight: 500;
    padding: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    top: 100%;
    right: 0;
    padding: 10px 0;
}

.dropdown-content a {
    color: #0a2540 !important;
    padding: 12px 18px;
    display: block;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: #f0f6ff;
    color: #007bff !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* =======================
   Footer
======================= */

footer {
    position: relative;
    margin-top: 0;
    padding: 10px 20px 18px;
    color: rgba(230, 238, 248, 0.9);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    background: radial-gradient( 900px 240px at 50% 0%, rgba(118, 192, 255, 0.10), transparent 60%), linear-gradient(180deg, #0a2540 0%, #071c33 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient( to right, transparent, rgba(118, 192, 255, 0.35), transparent);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-left {
    flex: 1;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.3;
}

.footer-center {
    flex: 2;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-right img {
    max-width: 80px;
    height: auto;
    opacity: 0.95;
}


/* =======================
   Hamburger Header (Contact)
======================= */

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
}

.nav-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(118, 192, 255, 0.35);
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 821px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

@media (max-width: 820px) {
    /*Header*/
    .main-header {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    /* Logo*/
    .logo {
        font-size: 1.25em;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.1;
        gap: 2px;
    }
    .logo-sub {
        font-size: 0.85em;
        opacity: 0.85;
    }
    /* Hamburger + Nav */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }
    .nav {
        width: 100%;
        display: none;
    }
    body.nav-open .nav {
        display: block;
    }
    .nav-list {
        list-style: none;
        margin: 0;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #0a2540;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    }
    .nav-list>li>a,
    .dropbtn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 12px;
        border-radius: 12px;
        color: #fff;
    }
    .nav-list>li>a:hover,
    .dropbtn:hover {
        background: rgba(255, 255, 255, 0.08);
    }
    /* Dropdown*/
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown-content {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
        border-radius: 12px;
        padding: 6px;
        margin: 6px 0;
    }
    .dropdown.open .dropdown-content {
        display: block;
    }
    .dropdown-content a {
        color: #fff !important;
        padding: 10px 12px;
        border-radius: 10px;
    }
    .dropdown-content a:hover {
        background: rgba(118, 192, 255, 0.18);
        color: #fff !important;
    }
    /* Footer*/
    footer {
        padding: 28px 16px 22px;
        font-size: 0.85rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    .footer-right img {
        max-width: 90px;
    }
}
