/* ========================================
   FONT & ICONS
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* ========================================
   CONTAINERS
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  animation: slideDown 0.5s ease forwards;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .logo {
  height: 100px;
}

.brand-title {
  font-weight: 1000;
  font-size: 2.2rem;
  color: #0a0a0a;
  text-decoration: none;
}

.brand-sub {
  font-size: 0.85rem;
  color: #555;
}

/* NAVIGATION */
.nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  color: #f5f7f7;
  transform: translateY(-2px);
}

.cta {
  padding: 6px 12px;
  border-radius: 4px;
  background: #0ea5a4;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta:hover {
  background: #089d97;
}

.cta.muted { background: #aaa; }
.cta.muted:hover { background: #888; }

.cta.danger { background: #dc2626; }
.cta.danger:hover { background: #b91c1c; }

/* MOBILE MENU */
.mobile-menu-btn {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0ea5a4;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: #fff;
  width: 220px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 200;
}

.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.mobile-menu a:hover { color: #0ea5a4; }
.mobile-menu a:last-child { border-bottom: none; }

@media screen and (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
}

/* ========================================
   HERO
======================================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 120px 0 80px 0;
  flex-wrap: wrap;
  animation: fadeIn 1s ease;
}

.hero-left {
  flex: 1;
  min-width: 280px;
  animation: fadeLeft 1s ease;
  position: relative;
}

/* Animated Hero Icon */
.hero-left::before {
  content: "\f19d"; /* graduation cap icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 50px;
  color: #0ea5a4;
  position: absolute;
  top: -20px;
  left: -20px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-left h1 {
  font-size: 2.5rem;
  color: #0ea5a4;
  margin-bottom: 15px;
}

.hero-left p.lead {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-left .actions .btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

.hero-left ul.highlights {
  margin-top: 20px;
  list-style: none;
}

.hero-left ul.highlights li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.hero-left ul.highlights li::before {
  content: "\f058"; /* FontAwesome check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0ea5a4;
  transition: transform 0.3s;
}

.hero-left ul.highlights li:hover::before {
  transform: scale(1.3) rotate(-15deg);
  color: #089d97;
}

.hero-right {
  flex: 1;
  min-width: 280px;
  text-align: center;
  animation: fadeRight 1s ease;
}

.hero-right img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.hero-right img:hover { transform: scale(1.05); }

/* ========================================
   SECTIONS
======================================== */
.about p.lead {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.about ul.highlights {
  margin-top: 20px;
  list-style: none;
}
.about ul.highlights li::before {
  content: "\f058"; /* FontAwesome check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0ea5a4;
  transition: transform 0.3s;
}

.about ul.highlights li:hover::before {
  transform: scale(1.3) rotate(-15deg);
  color: #089d97;
}
.section { padding: 80px 0; }
.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #131313;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0ea5a4;
  margin: 10px auto 0;
  border-radius: 2px;
}

.h3{
  color: blue;
}

/* ========================================
   COURSES CARDS WITH ICONS
======================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 12px;
  color: #0ea5a4;
  position: relative;
  padding-left: 30px;
}

.card h3::before {
  content: "\f19d"; /* graduation cap icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #089d97;
  animation: bounceIcon 2s infinite;
}

@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ========================================
   LEARNING PORTAL ICONS & ANIMATIONS
======================================== */
.portal-block {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #0ea5a4;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  position: relative;
}

.portal-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.portal-block h3, .portal-block h4 {
  color: #0ea5a4;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.portal-block h3::before, .portal-block h4::before {
  content: "\f0d6"; /* FontAwesome book icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #089d97;
  animation: floatIcon 3s ease-in-out infinite;
}

/* ========================================
   CONTACT
======================================== */
#contact a {
  color: #0ea5a4;
  text-decoration: none;
  transition: 0.3s;
}
#contact a:hover { text-decoration: underline; }

/* Optional: styling for animated numbers */
    .count-number {
      font-size: 32px;
      font-weight: 800;
      color: #0ea5a4;
      display: block;
      margin-top: 10px;
    }
    
    .folder {
  cursor: pointer;
  font-weight: bold;
  margin-top: 8px;
}

.folder:hover {
  text-decoration: underline;
}

.folder-content {
  display: none;
  margin-left: 20px;
}

.folder.open + .folder-content {
  display: block;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: #111;
  color: #eee;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a { color: #0ea5a4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ========================================
   MODALS
======================================== */
.modal {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  display:flex; justify-content:center; align-items:center;
  background: rgba(0,0,0,0.5);
  z-index: 300;
}

.modal.hidden { display: none; }
.modal-content {
  background:#fff;
  padding:30px;
  border-radius:10px;
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.modal-close {
  position:absolute;
  top:10px; right:15px;
  font-size:20px;
  cursor:pointer;
  background:none;
  border:none;
}

h2 {background-color: rgb(250, 133, 16);}

/* FORM STYLING */
input, select, textarea, button {
  font-family: inherit;
}

input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  background: #0ea5a4;
  color: #fff;
  transition: 0.3s;
}

button:hover { background: #089d97; }

.security-note {
  margin-top: 30px;
  padding: 15px 20px;
  background: #f0fdfa;
  border-left: 4px solid #0ea5a4;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #065f5b;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}

@keyframes fadeLeft {
  from { opacity:0; transform: translateX(-20px);}
  to { opacity:1; transform: translateX(0);}
}

@keyframes fadeRight {
  from { opacity:0; transform: translateX(20px);}
  to { opacity:1; transform: translateX(0);}
}

@keyframes slideDown {
  from { transform: translateY(-100px); opacity:0;}
  to { transform: translateY(0); opacity:1;}
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.count-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.count-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}

.count-number {
  font-size: 36px;
  font-weight: 700;
  color: #0ea5a4; /* same green style */
}
