/* ===== 1. GLOBAL STYLES & RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: font-family: 'Times New Roman', Times, serif; line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #333;
    overflow-x: hidden;
    padding-left: 2px;
}

body.no-scroll { 
    overflow: hidden; 
}

img {
    width: 300px;
    transition: transform 0.22222s;
}

img:hover {
    transform: scale(1.2);
}

/* ===== 2. TOP BAR ===== */
.top-bar {
    background: #099;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8ff;
    font-size: 14px;
    flex-wrap: wrap;
}

#clock {
    font-weight: bold;
}

.top-social {
    display: flex;
    gap: 22px;
}

.top-social a {
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.top-social a:hover {
    color: #248;
    background-color: red;
    font-size: 40px;
}

.language-select {
    padding: 4px 6px;
    border-radius: 4px;
}

/* ===== 3. HEADER & LOGO ===== */
header {
    position: sticky;
    top: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px;
    z-index: 1000;
    display: flex;
    gap: clamp(5px, 1vw, 5px);
    background-color: #3fb;
    color: #134;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    color: red;
    font-size: clamp(12px, 2vw, 20px); 
    white-space: nowrap;
    font-weight: bold;
}

.logo span, h3 { 
    color: #fff; 
}
.logo a h3{
    color: #051ac4;
}
.logo img {
    width: 80px;
    height: auto;
    border-radius: 90%;
    border: #f0f 9px solid;
    border-top: #1fe 6px solid; 
    border-bottom: #1fe 9px solid;
    background-color: block;    
}

/* ===== 4. NAVIGATION BAR ===== */
nav {
    display: flex;
    gap: clamp(5px, 1vw, 5px);
    align-items: center;
    justify-content: flex-end; /* ሊንኮቹን ወደ ቀኝ ያስጠጋል */
    flex-wrap: wrap;           /* በኮምፒውተር ላይ ሊንኮች ከበዙ ወደ ታች እንዲታጠፉ ያደርጋል */
    font-size: clamp(12px, 2vw, 16px); /* በትናንሽ ስክሪኖች ላይ እንዳይቆረጥ መጠኑ ተስተካክሏል */
    color: #124;
}

nav a {
    color: #128;
    text-decoration: none;
    padding: 1px;
    display: inline-block;
    white-space: nowrap; /* የአንድ ሊንክ ጽሑፍ ራሱ ለሁለት እንዳይሰበር */
}

/* DROPDOWN */
.dropdown {
    position: relative;
    padding-bottom: 10px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f9;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #03e;
    color: #ffffff;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: #0f172a; /* ጽሑፉ እንዲታይ ከጀርባው ጥቁር እንዲሆን ተደርጓል */
    display: block;
    color: white;
    font-size: 17px;
    z-index: 2000;
}

/* HAMBURGER & SIDE MENU */
.menu {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

#menuBtn {
    color: #ffffff;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #0f172a;
    padding: 20px;
    transition: 0.4s;
    z-index: 2000;
    overflow-y: auto; /* በስልክ ብዙ ሊንኮች ሲኖሩ ወደ ታች እንዲያሸራትት */
}

.side-menu a {
    display: block;
    color: #fff;
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-menu { 
    display: none; 
    padding-left: 15px; 
    background-color: rgba(255, 255, 255, 0.05);
}

/* በጃቫስክሪፕት ክላስ ቶግል ሲደረግ ሰብሜኑ እንዲታይ */
.sub-menu.show { 
    display: block; 
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1500;
}

/* ===== 5. BANNER & SLIDES ===== */
.banner {
    margin-top: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: 1s ease-in-out;
}

.slide.active { 
    opacity: 1; 
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.55);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.banner-text h1 {
    font-size: 40px;
}

.banner-text a {
    background-color: #1ff;
    font-size: 22px;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    display: inline-block;
}

/* ===== 6. HERO SECTION & MAIN GRID ===== */
.hero {
    width: 100%;
    padding-top: 3px;
}

#ayn {
    background-color: #ffffff;
    color: #831;
    border-radius: 50px;
    text-align: center;
}

.subjecttext a {
    color: white;
    text-decoration: none;
}

.meta {
    font-size: 20px;
    border-radius: 2px;
    background-color: darkblue;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 13px;
    color: whitesmoke;
}

.meta a {
    color: white;
}

.ayy {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 525px;
}

.big {
    grid-row: span 2;
}

.immain {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ax {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    height: 100%;
}

.ax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.ax:hover img {
    transform: scale(1.08);
}

.ay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}

.tag {
    background: none;
    padding: 6px 12px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.tag a {
    text-decoration: none;
    color: white;
}

.date {
    font-size: 12px;
    opacity: .8;
}

.axx {
    position: relative;
    height: 100%;
    width: 100%;
}

.axxx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.axxx.active {
    display: block;
}

/* ===== 7. SECTIONS & GRIDS (SERVICES, NOTICES, ETC.) ===== */
section {
    padding: 80px 20px;
    text-align: center;
}

section:hover {
    transition: transform 0.111s;
}

#about, #admissions { 
    background: #f1f5f9; 
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card h3 {
    padding: 10px;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transform: translateY(-5px);
}

/* Services, Notices, History, Culture, Policies Common Layout */
.services, .notices, .history, .culture, .videoservice, .Policies {
    padding: 60px 40px;
    text-align: center;
}

.history h2, .culture h2, .videoservice h2, .Policies h2 {
    margin-bottom: 40px;
}

.service-box, .notice-box, .history-box, .culture-box, .videoservice-box, .Policies-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Buttons Styling */
.load-morenotice-btn, .load-morehistory-btn, .load-moreculture-btn, .load-morevideoservice-btn, .load-morePolicies-btn, .nextmainbtn {
    padding: 10px 20px; 
    cursor: pointer;
    background-color: floralwhite;
    color: royalblue;
    border: 1px solid #ccc;
}

.load-morenotice-btn:hover, .load-morehistory-btn:hover, .load-moreculture-btn:hover, .load-morevideoservice-btn:hover, .load-morePolicies-btn:hover, .nextmainbtn:hover {
    background-color: whitesmoke;
    color: black;
    font-size: 21px;
}

/* ===== 8. PANELS & SERVICE CARDS ===== */
.panel-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    min-height: 400px;
    padding: 6px;
    width: 99.5%;
}

.panel {
    background: #ffe;
    border-radius: 2px;
    width: 80%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: left;
}

#backs {
    color: blue;
    text-align: right;
    font-family: "Times New Roman", Times, serif;
    text-decoration: none;
}

.panel img {
    width: 100%;
    height: auto;
    display: block;
}

.panel-text {
    padding: 15px;
    text-align: left;
    font-size: 20px;
}

.panel h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #619;
}

.panel p {
    margin: 1px;
    color: #115;
    font-size: 1.95rem;
}

.panel:hover {
    transform: translateX(2px);
    box-shadow: 0 8px 20px rgba(0,6,0,0.15);
    cursor: default;
}

.container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.card1 {
    position: relative;
    height: 260px;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    z-index: 2;
}

.h3service {
    font-size: 22px;
    line-height: 1.1;
    margin: 1px;
    color: #111;
    border-radius: 9px;
    width: 100%;
    text-align: left;
    padding: 4px;
}

.views {
    display: flex;
    align-items: center;
    gap: 6px;
    color: gold;
    background-color: #259;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 8px;
    margin-top: 8px;
}

.card1:hover {
    transform: translateY(5px);
    transition: 0.8s ease;
}

.likedislikefavorite a {
    cursor: pointer;
    color: whitesmoke;
    gap: 110px;
    background-color: darkblue;
}

.load-btn {
    background-color: #121;
    width: auto;
    text-align: center;
    color: white;
    height: 50px;
    border: whitesmoke solid 3px;
    font-weight: 700;
    padding: 17px;
    margin: -17px;
}

#nextload {
    background-color: #121;
    text-align: center;
    border-radius: 5px;
}

/* ===== 9. ABOUT SECTION EXTENSION ===== */

        :root {
            --inst-blue: #0f3d7a;
            --inst-gold: #cfa126;
            --link-blue: #0056b3;
            --text-dark: #222222;
            --text-muted: #555555;
            --bg-light: #f4f6f9;
            --surface: #ffffff;
            --border-color: #dddddd;
            --font-family: font-family: 'Times New Roman', Times, serif; line-height: 1.6; color: #333;
        }
        .container {
            width: 92%;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* --- Banner / Breadcrumb Zone --- */
        .page-banner {
            background: linear-gradient(rgba(15, 61, 122, 0.85), rgba(15, 61, 122, 0.85)), url('https://northeast.edu.et/northeastwebsite/img/logos.jpg') center/cover;
            color: white;
            padding: 3rem 0;
            margin-bottom: 2rem;
            border-radius: 4px;
        }

        .page-banner h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            padding: 0 2rem;
            text-align: center;
        }

        .breadcrumb {
            font-size: 0.85rem;
            color: #cbd5e1;
            padding: 0 2rem;
        }

        /* --- Structural Layout Matrix --- */
        .portal-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        /* --- Left Column: Main Narrative Content --- */
        .content-area {
            background-color: var(--surface);
            padding: 2rem;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            font-size: 18px;
            border-top: solid red 5px;
            margin-top: 0px;
        }

        .content-area h3 {
            color: var(--inst-blue);
            font-size: 1.5rem;
            margin-bottom: 1rem;
            border-bottom: 2px solid #eeeeee;
            padding-bottom: 0.4rem;
            margin-top: 0px;
            padding-top: 0px;
        }

        .content-area h4 {
            color: var(--inst-blue);
            font-size: 1.25rem;
            margin: 2rem 0 1.5rem 0;
            padding-bottom: 0.3rem;
            border-bottom: 1px solid #f0f0f0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .content-area p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        /* Highlighted Callout Box */
        .historical-quote {
            background-color: #f0f4f8;
            border-left: 4px solid var(--inst-blue);
            padding: 1.2rem;
            margin: 1.5rem 0;
            font-style: italic;
            text-align: left;
        }

        /* ==========================================================================
           vx.PNG Inspired Staff Structure Rules
           ========================================================================== */
        
        /* Shared Typography Elements from vx.PNG */
        a.dept-link {
            color: var(--link-blue);
            text-decoration: underline;
            font-size: 0.95rem;
            font-weight: 500;
            display: inline-block;
            margin-bottom: 0.5rem;
        }

        a.dept-link:hover {
            text-decoration: none;
        }

        .role-title {
            font-size: 0.95rem;
            margin-top: 0.5rem;
            line-height: 1.3;
            text-align: left;
        }

        .staff-name {
            font-size: 0.95rem;
            margin-top: 0.2rem;
            text-align: left;
        }

        .staff-contact-meta {
            font-size: 0.85rem;
            color: #444444;
            margin-top: 0.2rem;
            line-height: 1.4;
        }

        .staff-contact-meta a {
            color: var(--link-blue);
            text-decoration: underline;
        }

        /* Primary Leader/Dean Structure */
        .primary-leader-block {
            margin-bottom: 2.5rem;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            /* Keeps text left-aligned to match the image structure */
        }
        .staff-name, .role-title{
            font-size: 20px;

        }
        /* Centered Frame for the Primary Image */
        .leader-frame {
            max-width: 480px;
            width: 100%;
            margin: 0 auto 1rem auto; /* Added automatic side margins to force perfect alignment to the center */
        }

        .leader-frame img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .btn-readmore {
            display: inline-flex;
            align-items: center;
            background: #ffffff;
            color: #333333;
            border: 1px solid var(--border-color);
            padding: 0.35rem 0.75rem;
            font-size: 0.85rem;
            cursor: pointer;
            border-radius: 3px;
            margin-top: 1rem;
            text-decoration: none;
        }

        .btn-readmore:hover {
            background-color: #f5f5f5;
        }

        /* Sub Department 3-Column Layout Matrix */
        .sub-dept-matrix {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .matrix-card {
            display: flex;
            flex-direction: column;
        }

        .matrix-img-frame {
            width: 100%;
            margin-top: 0.5rem;
            margin-bottom: 0.75rem;
        }

        .matrix-img-frame img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        /* --- Right Column: Announcements & Widgets --- */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .widget {
            background-color: var(--surface);
            border-radius: 4px;
            border-top: 4px solid var(--inst-blue);
            padding: 1.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .widget-title {
            font-size: 1.1rem;
            color: var(--inst-blue);
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 0.5rem;
        }

        .announcement-list {
            list-style: none;
        }

        .announcement-item {
            padding: 0.75rem 0;
            border-bottom: 1px dashed var(--border-color);
        }

        .announcement-item:last-child {
            border-bottom: none;
        }

        .announcement-item a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            display: block;
            line-height: 1.4;
        }

        .announcement-item a:hover {
            color: var(--inst-blue);
        }

        .announcement-date {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        .quick-links {
            list-style: none;
        }

        .quick-links li a {
            display: block;
            padding: 0.5rem 0;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            border-bottom: 1px solid #f0f0f0;
        }

        .quick-links li a:hover {
            color: var(--inst-gold);
            padding-left: 5px;
            transition: all 0.2s ease;
        }

        /* ==========================================================================
           Responsive Layout Grid Setup
           ========================================================================== */
        @media (min-width: 600px) {
            .sub-dept-matrix {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 860px) {
            .portal-layout {
                grid-template-columns: 2.8fr 1.2fr;
            }
        }

        @media (min-width: 1050px) {
            .sub-dept-matrix {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.2rem;
            }
        }
/* ================ */
.feature {
    background: #bcd3d8;
    padding: 40px;
    text-align: center;
    border: solid blue 6px;
}

.feature h3 {
    margin-bottom: 10px;
}

.info-section {
    padding: 40px;
    text-align: center;
}




.eyemian {
    background-color: #167;
    text-align: left;
}

/* ===== 10. COMMENT & VIDEO DETAILS ===== */
.comment-form {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.comment-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0d4fa3;
}

.comment-form .form-group {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.comment-form textarea {
    resize: vertical;
}

.comment-form button {
    width: 100%;
    padding: 12px;
    background: #0d4fa3;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form button:hover {
    background: #083b7a;
}

#statusMsg {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.video-container {
    position: relative;
    width: 700px;
    max-width: 95%;
    margin: 50px auto;
    cursor: pointer;
}

.thumb, iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

iframe {
    display: none;
    border: none;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 15px 22px;
    border-radius: 50%;
}

.video-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* ===== 11. LOGIN FORM ===== */
.login-container {
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    margin: 60px auto;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.error-msg {
    color: red;
    margin-top: 10px;
    text-align: center;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* ===== 12. UTILITIES (SCROLLS, LOADERS) ===== */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 24px;
    background-color: #45f;
    color: white;
    border: none;
    border-radius: 100%;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background 0.3s;
    width: 60px;
}

#backToTop:hover {
    background-color: #ff1;
}

#messages {
    background-color: #eeeeee;
    color: #111111;
    text-align: left;
    font-size: 23px;
    border-right: solid 4px lightcyan;
}

#eyex {
    color: red;
    background-color: #ff1;
    border: solid 2px blue;
    border-radius: 100%;
}

#animats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: cyan;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    gap: 10px;
}

#animats p {
    background-color: yellow;
    color: red;
    font-size: 20px;
    margin-left: 9px;
    padding: 7px;
}

.loader {
    width: 120px;
    height: 120px;
    border: 8px solid #416;
    border-top: 8px solid #ff6;
    border-bottom: 8px solid #ff6;
    border-left: 8px solid cyan;
    border-right: 8px solid cyan;
    border-radius: 100%;
    animation: spin 1s linear infinite;
    background: #fff;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

#pageContent {
    display: none;
    text-align: center;
}

.scroll {
    background-color: #fff;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.scroll span {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 99s linear infinite;
    color: white;
}

@keyframes scrollText {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ===== 13. TECH SECTION ===== */
.tech-section {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.text-box {
    flex: 1;
}

.image-box {
    flex: 1;
    text-align: center;
}

.image-box img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
}

.content p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== 14. SMART FOOTER ===== */
#mainfooter{
    color: #f49;
    width: 100%;
}
.smart-footer {
    background-color: #3fb;
    color: #124;
    padding: 60px 0 20px 0;
    position: relative;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    font-size: 18px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(210, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #f39c12;
    transform: translateY(-5px);
}

.social-icons svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}
#foottext{
    color: #124;
}
.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
    margin-top: 0;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #f39c12;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #124;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: #f39c12;
    transform: translateX(8px);
}

.footer-links ul li a svg {
    margin-right: 8px;
    width: 8px;
    height: 8px;
    fill: currentColor;
}

.footer-contact p {
    color: #b0c4de;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact p svg {
    fill: #f39c12;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.newsletter-form {
    margin-top: 20px;
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #f39c12;
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #f39c12;
    border: none;
    color: #0b1c3f;
    padding: 0 20px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.newsletter-form button:hover {
    background-color: #e67e22;
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #124;
    font-size: 23px;
}

.footer-bottom-links {
    margin-top: 10px;
}

.footer-bottom-links a {
    color: #8fa4c0;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom-links a:hover {
    color: #f39c12;
}

.scroll-top-btn {
    position: absolute;
    right: 30px;
    top: -25px;
    width: 50px;
    height: 50px;
    background-color: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.scroll-top-btn svg {
    width: 16px;
    height: 16px;
    fill: #0b1c3f;
}

.scroll-top-btn:hover {
    background-color: #ffffff;
    transform: translateY(-5px);
}

/* ===== 15. RESPONSIVE MEDIA QUERIES ===== */

/* Tablet & Mobile Layouts */
@media (max-width: 900px) {
    .ayy {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    .big {
        height: auto;
    }
    .ax {
        width: 100%;
        height: auto;
    }
    .ax img, .immain {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: cover;
    }
    .bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .ay {
        padding: 12px;
    }
    .ay h2, .ay h3 {
        font-size: 16px;
        line-height: 1.4;
    }
}

@media(max-width: 768px) {
    nav { 
        display: none !important; 
    }
    .menu { 
        display: block !important; 
    }
    .grid { 
        grid-template-columns: 1fr 1fr; 
    }
    .hero {
        background-color: #eeeeee;
        display: block;
    }
    .banner {
        height: 80vh;
    }
    .banner-text h1 {
        font-size: 22px;
        line-height: 1.3;
    }
    .banner-text p {
        font-size: 14px;
        padding: 0 10px;
    }
    .banner-text a {
        font-size: 16px;
        padding: 10px 14px;
    }
    .smart-footer .footer-brand .logo-text {
        font-size: 25px !important; 
    }
    .smart-footer .footer-col h3 {
        font-size: 20px !important;
        margin-bottom: 15px; 
    }
    .tech-section {
        flex-direction: column;
        text-align: center;
    }
    .text-box, .image-box {
        width: 100%;
    }
    .image-box img {
        max-width: 100%;
    }
    .content p {
        font-size: 15px;
    }
    
    /* በስልክ ስክሪን ላይ ሜኑው በትክክል እንዲከፈት */
    .side-menu.active { 
        right: 0px !important; 
    }
    .overlay.active { 
        display: block !important; 
    }
}

@media (max-width: 650px) {
    .panel {
        width: 99%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 0;
    }
    .ayy {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: auto;
    }
    .big {
        width: 100%;
        height: 250px;
    }
    .bottom {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .ax {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }
    .ax img, .immain {
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: cover;
    }
    .ay {
        padding: 10px;
        background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2), transparent);
    }
    .ay h2, .ay h3 {
        font-size: 14px;
        line-height: 1.5;
    }
    .tag {
        font-size: 11px;
    }
    #ayn {
        font-size: 12px;
        padding: 2px 6px;
    }
}

@media(max-width: 500px) {
    .grid { 
        grid-template-columns: 1fr; 
    }
    .banner-text h1 { 
        font-size: 24px; 
    }
}