/*====================================================

DIGITAL ENCYCLOPEDIC TECH LTD
LANGUAGES.CSS

====================================================*/

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
background:#f5f7fb;
color:#333;
line-height:1.7;

}

/*================ HEADER ================*/

.main-header{

position:sticky;
top:0;
z-index:1000;

display:flex;
justify-content:space-between;
align-items:center;

padding:18px 8%;

background:#0f172a;
box-shadow:0 3px 10px rgba(0,0,0,.15);

}

.logo{

display:flex;
align-items:center;
gap:15px;

}

.logo img{

width:75px;
/* cyangwa 80px */

height:auto;

display:block;

}

.logo span{

color:#fff;
font-size:22px;
font-weight:bold;

}

nav ul{

display:flex;
list-style:none;
gap:28px;

}

nav a{

color:white;
text-decoration:none;
font-weight:600;
transition:.3s;

}

nav a:hover{

color:#38bdf8;

}

/*================ HERO ================*/

.hero{

height:75vh;

background:linear-gradient(rgba(15,23,42,.75),
rgba(15,23,42,.75)),
url(images/languages-bg.jpg);

background-size:cover;
background-position:center;

display:flex;
justify-content:center;
align-items:center;

text-align:center;

padding:30px;

}

.hero-content{

max-width:850px;

}

.course-tag{

display:inline-block;

padding:8px 20px;

background:#2563eb;

color:white;

border-radius:30px;

margin-bottom:20px;

font-size:14px;

letter-spacing:1px;

}

.hero h1{

font-size:55px;

color:white;

margin-bottom:20px;

}

.hero p{

font-size:20px;

color:#ddd;

margin-bottom:35px;

}

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.btn-primary,
.btn-secondary{

padding:15px 35px;

border-radius:50px;

text-decoration:none;

font-weight:bold;

transition:.3s;

}

.btn-primary{

background:#2563eb;

color:white;

}

.btn-primary:hover{

background:#1d4ed8;

}

.btn-secondary{

background:white;

color:#2563eb;

}

.btn-secondary:hover{

background:#ddd;

}

/*================ SECTIONS ================*/

.section{

padding:80px 10%;

}

.section h2{

text-align:center;

font-size:38px;

margin-bottom:18px;

color:#0f172a;

}

.section p{

text-align:center;

max-width:900px;

margin:auto;

}

/*================ COURSE GRID ================*/

.course-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

margin-top:45px;

}

.course-card{

background:white;

padding:30px;

border-radius:12px;

text-align:center;

box-shadow:0 5px 15px rgba(0,0,0,.08);

transition:.3s;

}

.course-card:hover{

transform:translateY(-8px);

}

.course-card i{

font-size:45px;

color:#2563eb;

margin-bottom:20px;

}

/*================ LANGUAGE BUTTONS ================*/

.language-buttons{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

margin-top:50px;

}

.language-btn{

display:flex;

justify-content:center;

align-items:center;

gap:15px;

padding:25px;

border-radius:12px;

text-decoration:none;

font-size:24px;

font-weight:bold;

color:white;

transition:.3s;

}

.language-btn:hover{

transform:translateY(-6px);

}

.english{

background:#2563eb;

}

.swahili{

background:#059669;

}

.kinyarwanda{

background:#dc2626;

}

/*================ MODULES ================*/

.modules{

display:flex;

flex-direction:column;

gap:18px;

margin-top:40px;

}

.module-btn{

display:flex;

justify-content:space-between;

align-items:center;

padding:22px 30px;

background:white;

border-left:6px solid #2563eb;

border-radius:10px;

text-decoration:none;

color:#333;

box-shadow:0 5px 12px rgba(0,0,0,.08);

transition:.3s;

}

.module-btn:hover{

background:#2563eb;

color:white;

transform:translateX(8px);

}

.module-btn span{

font-weight:bold;

color:#2563eb;

}

.module-btn:hover span{

color:white;

}

.module-btn h3{

margin-top:6px;

font-size:22px;

}

.module-btn i{

font-size:24px;

}

/*================ LEARNING OUTCOMES ================*/

.learning-outcomes{

max-width:900px;

margin:auto;

margin-top:35px;

}

.learning-outcomes li{

margin-bottom:15px;

font-size:18px;

}

/*================ TABLES ================*/

table{

width:100%;

border-collapse:collapse;

margin-top:30px;

background:white;

}

table th{

background:#2563eb;

color:white;

padding:15px;

}

table td{

padding:15px;

border:1px solid #ddd;

}

/*================ EXERCISES ================*/

.exercise-box{

background:#fff8e1;

border-left:6px solid #f59e0b;

padding:25px;

border-radius:10px;

margin-top:30px;

}

.quiz-box{

background:#ecfeff;

border-left:6px solid #0891b2;

padding:25px;

border-radius:10px;

margin-top:30px;

}

/*================ DOWNLOAD ================*/

.download-btn{

display:inline-block;

margin-top:30px;

padding:15px 30px;

background:#2563eb;

color:white;

text-decoration:none;

border-radius:8px;

}

.download-btn:hover{

background:#1d4ed8;

}

/*================ PREMIUM ================*/

.premium{

padding:80px 10%;

text-align:center;

background:#0f172a;

color:white;

}

.premium h2{

font-size:40px;

margin-bottom:20px;

}

.premium-btn{

display:inline-block;

margin-top:30px;

padding:16px 35px;

background:#f59e0b;

color:white;

text-decoration:none;

border-radius:50px;

font-weight:bold;

}

/*================ SUPPORT ================*/

.support{

padding:80px 10%;

text-align:center;

}

.support-box{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

margin-top:40px;

}

.support-box div{

background:white;

padding:30px;

border-radius:10px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

/*================ PAGE NAVIGATION ================*/

.page-navigation{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

padding:50px;

}

.nav-btn{

padding:15px 28px;

background:#2563eb;

color:white;

text-decoration:none;

border-radius:8px;

font-weight:bold;

}

.nav-btn:hover{

background:#1d4ed8;

}

/*================ FOOTER ================*/

.main-footer{

background:#0f172a;

color:white;

padding:70px 10% 30px;

}

.footer-container{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:40px;

}

.footer-box h3{

margin-bottom:20px;

}

.footer-box ul{

list-style:none;

}

.footer-box li{

margin-bottom:12px;

}

.footer-box a{

color:#ddd;

text-decoration:none;

}

.footer-box a:hover{

color:#38bdf8;

}

.copyright{

margin-top:50px;

text-align:center;

border-top:1px solid rgba(255,255,255,.2);

padding-top:25px;

font-size:15px;

}

/*================ RESPONSIVE ================*/

@media(max-width:768px){

.main-header{

flex-direction:column;

gap:20px;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

}

.hero h1{

font-size:36px;

}

.hero p{

font-size:18px;

}

.section{

padding:60px 6%;

}

}/*================ FOOTER ================*/

.main-footer{

background:#0f172a;

color:#ddd;

padding:70px 8% 30px;

margin-top:80px;

}

.footer-container{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:40px;

margin-bottom:40px;

}

.footer-logo{

width:70px;

margin-bottom:15px;

}

.footer-box h3{

color:#fff;

margin-bottom:20px;

}

.footer-slogan{

color:#38bdf8;

font-weight:bold;

margin-bottom:15px;

font-size:18px;

}

.footer-box p{

margin-bottom:12px;

line-height:1.8;

}

.footer-box ul{

list-style:none;

padding:0;

}

.footer-box ul li{

margin-bottom:12px;

}

.footer-box ul li a{

color:#ddd;

text-decoration:none;

transition:.3s;

}

.footer-box ul li a:hover{

color:#38bdf8;

padding-left:8px;

}

.footer-box i{

color:#38bdf8;

margin-right:10px;

}

.footer-social{

display:flex;

justify-content:center;

gap:20px;

margin:35px 0;

}

.footer-social a{

width:45px;

height:45px;

display:flex;

align-items:center;

justify-content:center;

background:#1e293b;

border-radius:50%;

color:white;

font-size:20px;

text-decoration:none;

transition:.3s;

}

.footer-social a:hover{

background:#2563eb;

transform:translateY(-5px);

}

.copyright{

border-top:1px solid rgba(255,255,255,.1);

padding-top:25px;

text-align:center;

font-size:15px;

line-height:1.8;

}

@media(max-width:768px){

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

.footer-social{

flex-wrap:wrap;

}

}
/* =====================================================
   ENGLISH ACADEMY
===================================================== */

.hero{
background:linear-gradient(135deg,#0d6efd,#003366);
color:#fff;
padding:80px 20px;
text-align:center;
}

.hero-content{
max-width:900px;
margin:auto;
}

.hero h2{
font-size:42px;
margin-bottom:20px;
}

.hero p{
font-size:18px;
line-height:1.8;
margin-bottom:35px;
}

.hero-btn{
display:inline-block;
background:#ffc107;
color:#000;
padding:15px 35px;
border-radius:40px;
text-decoration:none;
font-weight:bold;
transition:.3s;
}

.hero-btn:hover{
background:#fff;
transform:translateY(-3px);
}

/* =====================================================
   COMMON SECTIONS
===================================================== */

.about-course,
.why-course,
.learning-paths,
.who-course,
.learn-topics,
.outcomes,
.quick-access,
.course-section,
.lesson-notes,
.related,
.coming-soon,
.premium,
.support{

padding:70px 20px;
text-align:center;

}

.about-course p,
.course-section p,
.lesson-notes p,
.support p,
.premium p,
.coming-soon p{

max-width:900px;
margin:auto;
line-height:1.8;
font-size:17px;

}

/* =====================================================
   SECTION TITLES
===================================================== */

section h2{

font-size:34px;

margin-bottom:40px;

color:#003366;

}

/* =====================================================
   WHY LEARN
===================================================== */

.why-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

margin-top:30px;

}

.why-card{

background:#fff;

padding:30px;

border-radius:15px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

}

.why-card:hover{

transform:translateY(-8px);

}

.why-card i{

font-size:45px;

color:#0d6efd;

margin-bottom:20px;

}

.why-card h3{

margin-bottom:15px;

}

/* =====================================================
   LEARNING PATHS
===================================================== */

.path-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.path-card{

background:#fff;

padding:35px;

border-radius:18px;

text-decoration:none;

color:#333;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

}

.path-card:hover{

transform:translateY(-10px);

background:#0d6efd;

color:#fff;

}

.path-card i{

font-size:50px;

margin-bottom:20px;

color:#0d6efd;

}

.path-card:hover i{

color:#ffc107;

}

/* =====================================================
   WHO SHOULD TAKE
===================================================== */

.students-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

gap:20px;

}

.students-grid div{

background:#fff;

padding:25px;

border-radius:12px;

font-weight:bold;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.students-grid i{

display:block;

font-size:38px;

margin-bottom:15px;

color:#0d6efd;

}

/* =====================================================
   TOPICS
===================================================== */

.topics-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:18px;

}

.topics-grid div{

background:#003366;

color:#fff;

padding:18px;

border-radius:10px;

font-weight:bold;

transition:.3s;

}

.topics-grid div:hover{

background:#0d6efd;

}

/* =====================================================
   OUTCOMES
===================================================== */

.outcomes ul{

max-width:900px;

margin:auto;

text-align:left;

line-height:2;

font-size:18px;

}

.outcomes li{

margin-bottom:10px;

}

/* =====================================================
   QUICK ACCESS
===================================================== */

.quick-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

}

.quick-grid a{

background:#fff;

padding:25px;

border-radius:12px;

text-decoration:none;

font-weight:bold;

color:#003366;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.3s;

display:block;

}

.quick-grid a:hover{

background:#0d6efd;

color:#fff;

transform:translateY(-6px);

}

.quick-grid i{

display:block;

font-size:35px;

margin-bottom:15px;

}

/* =====================================================
   MODULE BUTTONS
===================================================== */

.modules{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:18px;

margin-top:30px;

}

.module-btn{

background:#fff;

padding:18px;

border-radius:10px;

text-decoration:none;

font-weight:bold;

color:#003366;

border-left:6px solid #0d6efd;

box-shadow:0 8px 18px rgba(0,0,0,.08);

transition:.3s;

}

.module-btn:hover{

background:#0d6efd;

color:#fff;

transform:translateX(6px);

}

/* =====================================================
   PREMIUM
===================================================== */

.premium{

background:linear-gradient(135deg,#ffc107,#ff9800);

color:#000;

}

.premium h2{

color:#000;

}

/* =====================================================
   SUPPORT
===================================================== */

.support{

background:#f7f9fc;

}

/* =====================================================
   COMING SOON
===================================================== */

.coming-soon{

background:#eef5ff;

}

/* =====================================================
   RELATED
===================================================== */

.related{

background:#f8f9fa;

}

/* =====================================================
   FOOTER
===================================================== */

footer{

background:#003366;

color:#fff;

padding:50px 20px;

text-align:center;

}

.footer-links{

margin:25px 0;

}

.footer-links a{

color:#fff;

margin:10px;

text-decoration:none;

}

.footer-links a:hover{

color:#ffc107;

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:768px){

.hero h2{

font-size:30px;

}

section h2{

font-size:28px;

}

.hero{

padding:60px 20px;

}

.hero p{

font-size:16px;

}

}/* ==========================================
   LEARNING PATHS
========================================== */

.learning-paths{

padding:70px 20px;

text-align:center;

}

.section-description{

max-width:700px;

margin:auto;

margin-bottom:40px;

color:#666;

font-size:17px;

line-height:1.8;

}

.path-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:30px;

margin-top:30px;

}

.path-card{

background:#fff;

padding:35px;

border-radius:18px;

box-shadow:0 12px 25px rgba(0,0,0,.08);

transition:.3s;

text-align:left;

}

.path-card:hover{

transform:translateY(-10px);

}

.path-card i{

font-size:50px;

color:#0d6efd;

margin-bottom:20px;

}

.path-card h3{

margin-bottom:15px;

color:#003366;

}

.path-card p{

line-height:1.8;

margin-bottom:20px;

}

.path-card ul{

padding-left:20px;

line-height:2;

margin-bottom:30px;

}

.path-btn{

display:inline-block;

background:#0d6efd;

color:#fff;

padding:12px 28px;

border-radius:30px;

text-decoration:none;

font-weight:bold;

transition:.3s;

}

.path-btn:hover{

background:#003366;

}

.coming-card{

background:#eef6ff;

}

.coming-badge{

display:inline-block;

background:#ffc107;

padding:10px 20px;

border-radius:25px;

font-weight:bold;

margin-top:20px;

}.coming-text{

margin-top:20px;

color:#ff9800;

font-weight:bold;

font-size:15px;

}/* ==========================================
   WHY DET
========================================== */

.why-det{

padding:80px 20px;

background:#f8fbff;

text-align:center;

}

.why-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

margin-top:40px;

}

.why-card{

background:#fff;

padding:30px;

border-radius:15px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.3s;

}

.why-card:hover{

transform:translateY(-8px);

}

.why-card i{

font-size:45px;

color:#0d6efd;

margin-bottom:20px;

}

.why-card h3{

margin-bottom:15px;

color:#003366;

}

.why-card p{

line-height:1.8;

}/* ==========================================
   NAVIGATION BAR
========================================== */

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:15px 8%;

background:#ffffff;

box-shadow:0 2px 10px rgba(0,0,0,.08);

position:sticky;

top:0;

z-index:999;

}

.logo a{

display:flex;

align-items:center;

text-decoration:none;

font-weight:bold;

font-size:20px;

color:#003366;

}



.nav-links{

display:flex;

list-style:none;

gap:30px;

}

.nav-links a{

text-decoration:none;

font-weight:600;

color:#003366;

transition:.3s;

}

.nav-links a:hover{

color:#0d6efd;

}

.back-btn{

background:#0d6efd;

color:#fff;

padding:10px 22px;

border-radius:30px;

text-decoration:none;

font-weight:bold;

}

.back-btn:hover{

background:#003366;

}

/* Mobile */

@media(max-width:768px){

.navbar{

flex-direction:column;

gap:20px;

}

.nav-links{

flex-wrap:wrap;

justify-content:center;

gap:15px;

}

.logo span{

font-size:18px;

}

}/* ==========================================
   FOOTER
========================================== */

.footer{

background:#003366;

color:#fff;

padding:60px 8% 20px;

margin-top:80px;

}

.footer-container{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:40px;

}

.footer-box h3{

margin-bottom:20px;

color:#ffc107;

}

.footer-box p{

line-height:1.8;

}

.footer-box ul{

list-style:none;

padding:0;

}

.footer-box ul li{

margin-bottom:12px;

}

.footer-box a{

text-decoration:none;

color:#fff;

transition:.3s;

}

.footer-box a:hover{

color:#ffc107;

}

.footer hr{

margin:40px 0 20px;

border:1px solid rgba(255,255,255,.15);

}

.copyright{

text-align:center;

font-size:15px;

}.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:12px 5%;

}.modules{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:18px;

margin-top:30px;

}.module-btn{

...
}
/* ==========================================
   PAGE HEADER
========================================== */

.page-header{

background:#0d47a1;

color:#fff;

padding:60px 20px;

text-align:center;

}

.page-header h1{

font-size:40px;

margin-bottom:15px;

}

.page-header p{

max-width:850px;

margin:auto;

line-height:1.8;

}

.breadcrumb{

margin-bottom:25px;

font-size:15px;

}

.breadcrumb a{

color:#ffd54f;

text-decoration:none;

}

.breadcrumb span{

margin:0 8px;

}

/* ==========================================
   MODULES
========================================== */

.modules{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:20px;

margin-top:40px;

}

.module-btn{

display:block;

padding:20px;

background:#fff;

border-left:5px solid #0d47a1;

border-radius:10px;

text-decoration:none;

font-weight:600;

color:#333;

transition:.3s;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.module-btn:hover{

background:#0d47a1;

color:#fff;

transform:translateY(-5px);

}

/* ==========================================
   FOOTER
========================================== */

.footer{

background:#111827;

color:#fff;

padding:60px 20px 20px;

margin-top:80px;

}

.footer-container{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:40px;

}

.footer-logo{

width:70px;

margin-bottom:15px;

}

.footer h4{

margin-bottom:15px;

color:#ffd54f;

}

.footer ul{

list-style:none;

padding:0;

}

.footer ul li{

margin-bottom:10px;

}

.footer ul li a{

color:#ddd;

text-decoration:none;

}

.footer ul li a:hover{

color:#fff;

}

.footer-bottom{

margin-top:40px;

padding-top:20px;

border-top:1px solid rgba(255,255,255,.15);

text-align:center;

font-size:14px;

}