* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100rw;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100rw;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 15px, 30px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100rw;
    box-sizing: border-box;
}

header:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.logo-link {
    text-decoration: none;
    color: white;
    display: block;
    cursor: pointer;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.logo {
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.logo-text {
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* NAVIGATION STYLE */

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin: 0;
    padding: 8px 0;
}

nav ul li > a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    display: block;
    white-space: nowrap;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li > a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* DROPDOWN STYLE */

nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #0073e6, #005bb5);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    z-index: 9999;

    /* Vertical layout */
    display: flex;
    flex-direction: column;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Show dropdown on hover - Desktop only */
@media (min-width: 769px) {
    nav ul li:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Dropdown menu items */
nav ul li ul li {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove border from the last item */
nav ul li ul li:last-child {
    border-bottom: none;
}

nav ul li ul li a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    border-radius: 0;
    margin: 0;
    transition: all 0.2s ease;
    font-weight: 400;
    white-space: nowrap;
}

nav ul li ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 30px;
    transform: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile  Navigation */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        z-index: 1001;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #0066cc, #0052a3);
        padding: 0;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 10px 0;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li > a {
        padding: 12px 20px;
        border-radius: 0;
        width: 100%;
    }

    nav ul li ul {
        position: static;
        box-shadow: none;
        background: rgba(0, 83, 168, 0.8);
        border-radius: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav ul li ul.active {
        max-height: 1000px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav ul li ul li {
        border-bottom: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li ul li a {
        padding-left: 40px;
        margin-top: 0;
    }
}

/* Tablet responsive styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .stats {
        gap: 15px;
        padding: 40px 15px;
    }

    .stats > div {
        min-width: 160px;
        max-width: 250px;
        padding: 25px, 15px;
    }

    /* Gallery preview tablet styles */
    .gallery-grid-preview {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .gallery-item-preview img {
        height: 220px;
    }
}

/* HERO SECTION STYLES */
.hero {
    width: 100%;
    max-width: 100vw;
    height: 500px;
    background: linear-gradient(135deg, #e8f4fd, #cce7ff);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-image 1s ease-in-out, opacity 0.3s ease;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content h2 {
    font-size: 3.5em;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3em;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PAGE CONTENT STYLE */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

main h1 {
    font-size: 2.5em;
    color: #0066cc;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

main h2 {
    font-size: 1.8em;
    color: #0052a3;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

main h3 {
    font-size: 1.4em;
    color: #0066cc;
    margin: 20px 0 10px 0;
    font-weight: 500;
}

main p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

main ul {
    margin: 15px 0;
    padding-left: 30px;
}

main li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

/* Content sections */












































































































































/* BUTTON STYLE */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

/* HOMEPAGE SECTIONS */
.about, .stats, .gallery-preview {
    padding: 40px, 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.about {
    text-align: center;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border-radius: 20px;
    margin: 30px auto;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 1px solid #e6f2ff;
    padding: 50px 40px;
}

.about h2 {
    font-size: 2.2em;
    color: #0066cc;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.about p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 50px 20px;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.stats > div {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    font-size: 1.3em;
    font-weight: 600;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    transition: trasform 0.3s ease;
}

.stats > div:hover .stat-icon {
    transform: scale(1.1);
}

.stats > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.4);
}

.gallery-preview {
    text-align: center;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border-radius: 20px;
    margin: 30px auto;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 1px solid #e6f2ff;
}

.gallery-preview h2 {
    font-size: 2.2em;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 0 20px;
}

.gallery-item-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.25);
}

.gallery-item-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item-preview:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 102, 204, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item-preview:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* FOOTER STYLES */
footer {
    background: linear-gradient(135deg, #003d82, #002a5c);
    color: white;
    padding: 40px 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100rw;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-left p {
    margin: 5px 0;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: white;
    width: 40px;
    height: 40px;
}

.footer-right a:hover {
    background-color: white;
    transform: translateY(-3px);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.footer-right a:hover .social-icon {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.developer-credits {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.developer-credits p {
    margin: 0;
    font-size: 0.9em;
    color: white;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 350px;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .about, .stats, .gallery-preview {
        margin: 20px 15px;
        padding: 40px 25px;
    }

    .about {
        padding: 45px 30px;
    }

    .about h2 {
        font-size: 1.8em;
    }

    .stats {
        flex-direction: column;
        gap: 15px;
        padding: 30px 15px;
        margin: 20px 10px;
        align-items: center;
        text-align: center;
    }

    .stats > div {
        min-width: auto;
        max-width: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .stat-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 20px 15px;
        max-width: 280px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 10px auto;
    }

    /* Gallery preview mobile style */
    .gallery-grid-preview {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .gallery-item-preview img {
        height: 200px;
    }

    .gallery-preview h2 {
        font-size: 1.8em;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
    }

    .footer-left {
        min-width: auto;
        width: 100%;
        text-align: center;
    }

    .footer-right {
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .footer-right a {
        width: 40px;
        height: 40px;
        padding: 8px;
        margin: 0 5px;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }

    .developer-credits {
        text-align: center;
        padding: 15px 10px;
    }

    main {
        padding: 20px 15px;
    }

    main h1 {
        font-size: 2em;
    }

    .history-content, .mission-content, .team-content, .contact-content {
        padding: 25px 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .stats {
        padding: 20px 10px;
        margin: 15px  5px;
        gap: 15px;
    }

    .stats > div {
        padding: 20px 10px;
        font-size: 1.1em;
        min-width: auto;
        max-width: none;
        justify-content: center;
    }

    .stat-item {
        padding: 15px 10px;
        max-width: 240px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }

    .hero-content h2 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    header {
        padding: 10px 15px;
    }

    .logo {
        font-size: 1.2em;
        gap: 8px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 0.9em;
    }

    .mobile-menu-toggle {
        width: 25px;
        height: 18px;
    }

    nav ul li > a {
        padding: 10px  15px;
        font-size: 0.95em;
    }

    nav ul li ul li a {
        padding-left: 30px;
        font-size: 0.9em;
    }

    .about, .gallery-preview {
        margin: 15px 5px;
        padding: 35px 20px;
    }

    .about {
        padding: 40px 25px;
    }

    .about h2 {
        font-size: 1.6em;
    }

    /* Very s,all gallery preview styles */
    .gallery-preview h2 {
        font-size: 1.5em;
    }

    .gallery-item-preview img {
        height: 180px;
    }

    /* Footer adjustment for very small screens */
    footer {
        padding: 30px 15px 15px 15px;
    }

    .footer-right {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-right a {
        width: 38px;
        height: 38px;
        padding: 7px;
        margin: 0 8px;
    }

    .social-icon {
        width: 22px;
        height: 22px;
        margin: 0 auto;
    }

    .developer-credits {
        padding-top: 12px;
        margin-top: 15px;
    }
}