/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #111827;
    color: #f3f4f6;
    line-height: 1.6;
}
a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo img {
  height: 70px;
  padding: 6px 0;
}



.header .links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.header .links a {
    color: #f9fafb;
    font-weight: 500;
    transition: color 0.3s;
}
.header .links a:hover {
    color: #0ea5e9;
}
.menu-icon, .search-icon {
    display: none;
}

/* Home */
.home {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: -10%; /* shifts the video to the right */
  width: 120%; /* stretches it beyond the screen */
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home-text {
  position: absolute;
  top: 18%; /* higher for more visibility */
  left: 6%;
  width: 60%; /* 🟢 make it broader */
  z-index: 2;
  color: white;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
  animation: fadeIn 1.5s ease-out;
}

.home-text span {
  display: block;
  font-size: 4rem;  /* 🟢 bigger emphasis */
  color: #0f9d58;
  margin-top: 0.5rem;
}


.home .main-text {
    background-color: rgba(17, 24, 39, 0.85);
    padding: 2rem;
    border-radius: 12px;
}
.home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.home p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
#btn {
    padding: 0.8rem 2rem;
    background-color: #0ea5e9;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
#btn:hover {
    background-color: #0284c7;
}

/* Sections */
.services-section {
  background-color: #121b2e; /* deep cyber blue */
  background-image: url('images/bg-lines.svg'); /* optional background pattern */
  background-size: cover;
  background-position: center;
}


.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background-color: #1f2937;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

.service-card i {
  font-size: 2.5rem;
  color: #0ea5e9;
  margin-bottom: 1rem;
}

.service-card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.why-cyberen {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #0f172a, #111827);
  color: #f1f5f9;
  text-align: center;
}

.fancy-heading h3 {
  font-size: 2.5rem;
  color: white;
}

.fancy-heading h3 span {
  background: linear-gradient(to right, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.why-box {
  background-color: #1e293b;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background-color: #0ea5e9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.why-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.why-box p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* About & Contact */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.about-img {
    flex: 1;
}
.about-img img {
    width: 100%;
    border-radius: 10px;
}
.about-text {
    flex: 1;
}
.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-text p {
    color: #d1d5db;
    margin-bottom: 1rem;
}
#about-btn {
    background-color: #0ea5e9;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#about-btn:hover {
    background-color: #0284c7;
}

/* Section Titles */
.main-txt h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #f9fafb;
}

footer {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 3rem 2rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  color: #0ea5e9;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #0ea5e9;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #0ea5e9;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #334155;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}
.training {
  padding: 4rem 2rem;
  background-color: #111827;
  color: #f3f4f6;
  text-align: center;
}

.training-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  margin-top: 2rem;
}

.training-card {
  background-color: #1f2937;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 0 transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.training-card i {
  font-size: 2rem;
  color: #0ea5e9;
  margin-bottom: 1rem;
}


/* Responsive Nav (optional extension) */
@media (max-width: 768px) {
    .header .links {
        display: none;
    }
    .menu-icon {
        display: block;
        color: #f3f4f6;
        font-size: 1.5rem;
    }
}
/* Sticky Footer */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
footer {
  margin-top: auto;
}

/* Footer Styling */
footer {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 3rem 2rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  color: #0ea5e9;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #0ea5e9;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #0ea5e9;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-socials a {
  color: #cbd5e1;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #0ea5e9;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #334155;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}
/* Dropdown Navigation Styling */
.links .dropdown {
  position: relative;
}

.links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #1f2937;
  top: 100%;
  left: 0;
  min-width: 200px;
  border-radius: 8px;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
}

.links .dropdown-menu li {
  width: 100%;
}

.links .dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.2rem;
  color: #f3f4f6;
  transition: background 0.3s;
}

.links .dropdown-menu li a:hover {
  background-color: #0ea5e9;
  color: white;
  border-radius: 0;
}

.links .dropdown:hover .dropdown-menu {
  display: block;
}
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: #0ea5e9;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  background-color: #0284c7;
  transform: scale(1.1);
}
.timeline {
  padding: 4rem 2rem;
  background-color: #0f172a;
  color: #f3f4f6;
}

.timeline-container {
  position: relative;
  margin: 2rem auto;
  padding-left: 30px;
  border-left: 3px solid #0ea5e9;
  max-width: 900px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-icon {
  position: absolute;
  top: 0;
  left: -33px;
  background-color: #0ea5e9;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.timeline-content {
  background-color: #1f2937;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(14, 165, 233, 0.15);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: #0ea5e9;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #cbd5e1;
}
