/* style.css */
:root {
    --primary: #004e92;
    --secondary: #000428;
    --accent: #ffd700;
    --text: #333;
    --glass: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Ethiopic', 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: #f0f4f8;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-desc {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    font-size: 1.1rem;
}

/* Glass Effect */
.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Hover Effects */
.hover-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.2);
}

.hover-lift {
    transition: 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Section Styling */
.content-section {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.chapter-head {
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-accent {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mini-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    color: var(--primary);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .stats-container { margin-top: 20px; grid-template-columns: 1fr 1fr; }
    .hero { height: auto; padding: 100px 0; }
}

/* Animations */
.fade-in { animation: fadeIn 1.5s ease-in; }
.slide-up { animation: slideUp 1s ease-out; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    background: var(--secondary);
    color: white;
    padding: 40px 0;
    text-align: center;
}
/* ከቀደመው CSS ጋር የሚቀጥል */
.glass-dark {
    background: rgba(0, 78, 146, 0.05);
    border: 1px solid rgba(0, 78, 146, 0.1);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 78, 146, 0.1);
}

.btn-calc {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-calc:hover {
    background: var(--secondary);
    transform: scale(1.02);
}

.result-side {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    text-align: center;
}

.result-card {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.result-card h2 {
    font-size: 2rem;
    color: var(--accent);
}

.result-details p {
    margin: 10px 0;
    font-weight: 600;
}

.result-details span {
    color: var(--primary);
}

@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; }
}
.plan-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .plan-image img {
    transform: scale(1.1);
    /* ምስሉ ላይ ሲያሳርፉ ትንሽ ይለካል (Zoom) */
}

.area-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 10px 0;
}

.plan-info h3 {
    color: var(--primary);
}