/* ======= RESET & ROOT VARIABLES ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #f7f9fc;
  --text-color: #111;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(10px);
  --nav-hover: #3498db;
}

body.dark {
  --bg-color: #0d1117;
  --text-color: #f5f5f5;
  --glass-bg: rgba(20, 20, 20, 0.2);
  --nav-hover: #00bfff;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.4s, color 0.4s;
}

/* ======= HEADER ======= */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: bold;
}

#header-logo {
  width: 50px;
  height: auto;
}

.nav-links ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  transition: color 0.3s, transform 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nav-hover);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--nav-hover);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: 0.3s;
}

.toggle-theme {
  margin-left: 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
  transition: transform 0.3s;
}

.toggle-theme:hover {
  transform: rotate(20deg);
}

/* ======= HERO SECTION ======= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  min-height: 70vh;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.tagline {
  flex: 1;
  max-width: 600px;
}

.tagline h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.contact-btn {
  background: var(--nav-hover);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.contact-btn:hover {
  background: #217dbb;
  transform: scale(1.05);
}

.hero-logo img {
  width: 300px;
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ======= PARTICLES BACKGROUND ======= */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ======= STATS SECTION ======= */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  padding: 1rem;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-item h2 {
  font-size: 2rem;
  color: var(--nav-hover);
  margin-bottom: 0.5rem;
}

/* ======= SECTION TITLES ======= */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 600;
}
.second-section-title{  
  font-size: 2.5rem;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 600;

}
/* ======= TRAINING PROGRAMS ======= */
.training-programs {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease;
}

.icon-group i {
  font-size: 2.2rem;
  transition: transform 0.3s, filter 0.3s;
}

.program-card:hover .icon-group i {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 6px currentColor);
}

.logo-svg {
  width: 50px;
  height: auto;
  margin-bottom: 1rem;
  transition: transform 0.4s, filter 0.3s;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

.program-card:hover .logo-svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px var(--nav-hover));
}

.text-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s, opacity 0.3s;
}

.text-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
  transition: transform 0.3s, opacity 0.3s;
}

.program-card:hover .text-content h3,
.program-card:hover .text-content p {
  transform: translateY(-4px);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======= SERVICES SECTION ======= */
.services-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.95), rgba(20,24,32,0.95)), url('https://www.transparenttextures.com/patterns/cubes.png');
  background-size: contain;
  background-repeat: repeat;
  color: var(--text-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, color 0.3s ease;
  text-decoration: none;
  color: var(--text-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.3);
  color: var(--nav-hover);
}

.service-icon {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: inline-block;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 6px currentColor);
}

/* ======= TALENT SERVICES SECTION ======= */
.talent-service-section {
  padding: 4rem 2rem;
  background: var(--bg-color);
  position: relative;
}

.talent-service-section::before {
  content: '';
  background-image: radial-gradient(var(--nav-hover) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.talent-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-color);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.talent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.talent-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.talent-card:hover .talent-icon {
  transform: scale(1.2) rotate(4deg);
  filter: drop-shadow(0 0 8px currentColor);
}

.talent-icon.cloud    { color: #007bff; }
.talent-icon.security { color: #e74c3c; }
.talent-icon.ibm      { color: #052f5f; }
.talent-icon.data     { color: #9b59b6; }

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .nav-links ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 10px;
  }

  .nav-links ul.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo {
    margin-top: 2rem;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Glass Header Styling */
.glass-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.dark-mode .glass-header {
  background: rgba(0, 0, 0, 0.25);
}
.talent-section {
  margin: 4rem auto;
  padding: 2rem;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.talent-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.taas-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}

.taas-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.taas-column {
  flex: 1;
  min-width: 300px;
}

.taas-column h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--accent-color, hsl(187, 62%, 39%));
}

.taas-column ul {
  list-style: none;
  padding-left: 1rem;
}

.taas-column ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}
.expertise-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
  text-align: center;
}

.expertise-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.expertise-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.expertise-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color, rgb(51, 154, 161));
}

.expertise-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* Section Title in Black */
.black-title {
  color: #000;
}

/* Icon Styling */
.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  display: block;
}
.about-i3 {
  padding: 4rem 2rem;
  background: #ffffff4b;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.about-i3 h2 {
  text-align: center;
  color: #241414;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-i3 .tagline {
  text-align: center;
  font-size: 1.1rem;
  color: #4e4d4d;
  margin-bottom: 2rem;
  font-weight: 500;
 
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}

.about-subsection {
  margin-top: 2rem;
}

.about-subsection h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #111;
}

.about-subsection ul.institutions {
  list-style: disc inside;
  padding-left: 1rem;
  color: #444;
}
.stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  position: relative;
}

.stat-item {
  flex: 1;
  margin: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
}

.stat-item i {
  font-size: 2.5rem;
  color: #00796b;
  margin-bottom: 1rem;
}

.stat-item h2 {
  font-size: 2.5rem;
  color: #004d40;
  margin: 0.5rem 0;
}

.stat-item p {
  font-size: 1rem;
  color: #333;
}

/* Scroll-in animation */
.stat-item.show {
  opacity: 1;
  transform: translateY(0);
}
.stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #f4f7ff;
  padding: 50px 20px;
  margin-top: 50px;
  text-align: center;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1 1 250px;
  padding: 20px;
  margin: 10px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-item i {
  font-size: 2.5rem;
  color: #0072c6;
  margin-bottom: 10px;
}

.stat-item h2 {
  font-size: 2rem;
  margin: 0;
  color: #003f7d;
}

.stat-item p {
  color: #666;
  font-size: 1rem;
}
