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

body{
    background:#071B3B;
    color:white;
    overflow-x:hidden;
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:25px 10%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,0,0,.3);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#FFC107;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

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

/* --- Hero Section ዋናው ማስተካከያ እዚህ ነው --- */
.hero{
    min-height:100vh;
    padding:95px 8% 40px 8%;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    display: flex;
    justify-content: space-between; /* የጽሑፍ ሳጥኑን ወደ ግራ፣ ፎቶውን ወደ ቀኝ ይገፋል */
    align-items: center; /* በቁመት ፍጹም ትይዩ ያደርጋቸዋል */
    gap: 35px;
}

/* የግራው የጽሑፍ ሳጥን */
.hero-left-content {
    flex: 1;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.welcome{
    color:#FFC107;
    font-weight:600;
    letter-spacing:2px;
    display: block;
    font-size: 16px;
}

.hero h1{
    font-size:70px;
    font-weight:800;
    line-height:1.1;
}

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

/* የቀኛው የፎቶ ሳጥን */
.hero-right-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile {
    width: 280px; /* የፎቶው ስፋት */
    height: 280px; /* የፎቶው ቁመት */
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #FFC107;
    box-shadow: 0 0 35px rgba(255, 193, 7, 0.35);
}

.buttons{
    display:flex;
    gap:15px;
    margin-top: 10px;
}

.btn-primary{
    background:#FFC107;
    padding:15px 35px;
    border-radius:8px;
    text-decoration:none;
    color:black;
    font-weight:600;
}

.btn-secondary{
    border:2px solid #FFC107;
    padding:15px 35px;
    border-radius:8px;
    text-decoration:none;
    color:#FFC107;
}

/* --- ሌሎቹ ሴክሽኖች --- */
section{
    padding:90px 12%;
}

section h2{
    font-size:40px;
    margin-bottom:25px;
    color:#FFC107;
}
    .card1 {  border: 4px solid #FFC107;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.35);
     }


.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.card{
    background:#0B2D63;
    padding:25px;
    border-radius:12px;
    transition:.3s ease;
}

.media-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    cursor: pointer;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;
    transition: .3s;
}

.media-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
    width: 100%;
}

.media-container img, .media-container video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 15px;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,193,7,.2);
    background: #0e3776;
}

.media-card:hover .media-container {
    max-height: 220px;
    opacity: 1;
}

.media-card:hover .card-title {
    color: #FFC107;
}

footer{
    background:#041125;
    padding:30px;
    text-align:center;
}

/* የሞባይል ማስተካከያ */
@media(max-width:992px){
    .hero-container{
        flex-direction: column-reverse; /* በሞባይል ፎቶ ከላይ ጽሑፍ ከታች እንዲሆን */
        text-align:center;
        gap: 40px;
    }
    
    .hero-left-content {
        align-items: center;
        text-align: center;
    }

    .profile {
        width: 200px;
        height: 200px;
    }

    .hero h1{
        font-size:50px;
    }
    
    .buttons {
        justify-content: center;
    }

    .nav-links{
        display:none;
    }
}