/* =======================
   VARIABLES & RESET
======================= */
/* INDUSTRIES PALETTE (copied from CSS/industries-subpages.css) */
:root {
  --primary-color: #00b4ff; /* Cyan */
  --primary-dark: #0077cc;
  --secondary-color: #003366; /* Deep Navy */
  --accent-color: #00ffff;
  --logo-pink: #E57E87;
  --text-dark: #0a1f44;
  --text-grey: #a0aec0; /* lighter grey to match industries pages */
  --text-light: #ffffff;
  --bg-section: #eef5fa;
  --bg-darkest: #050b1a; /* Almost Black/Navy for Hero & Footer */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
}

/* =======================
   ANIMATIONS
======================= */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =======================
   NAVBAR & DROPDOWN
======================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: 0.4s;
}

.navbar.scrolled {
  background-color: rgba(5, 11, 26, 0.95); /* Matches Hero BG */
  padding: 15px 5%;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

/* Underline Effect */
.nav-links > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: 0.3s;
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
  width: 100%;
}

/* --- NAVBAR DROPDOWN STYLES --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-darkest);
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1001;
  top: 100%;
  left: 0;
  border-top: 3px solid var(--primary-color);
  border-radius: 0 0 5px 5px;
  padding: 10px 0;
}

.dropdown-content a {
  color: #e0e0e0;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--primary-color);
  padding-left: 25px; /* Slide effect */
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn i {
  transform: rotate(180deg);
  transition: 0.3s;
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* =======================
   HERO SECTION
======================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* Use industries hero colors: dark cyan/teal gradient layered over the hero image */
  background-image: linear-gradient(rgba(5,11,26,0.85), rgba(0,51,102,0.9));
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 0 20px;
  overflow: hidden;
} 

/* Vanta background is disabled on the index page to use a static hero */
#vanta-bg { display: none; }



.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Use a strong, dark cyan gradient like industry pages */
  background: linear-gradient(rgba(5, 11, 26, 0.85), rgba(0, 51, 102, 0.9));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-top: -30px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* CYAN BLUE TEXT GRADIENT */
.gradient-text {
  background: linear-gradient(90deg, #00b4ff, #00ffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s ease infinite;
  text-shadow: 0 0 30px rgba(0, 180, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #e0e0e0;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CYAN BLUE BUTTON */
.btn-group {
  display: flex;
  justify-content: center;
}

.btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(90deg, #00b4ff, #0077cc);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 180, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 180, 255, 0.6);
}

/* =======================
   BENEFITS SECTION
======================= */
.services {
  padding: 100px 5%;
  background-color: var(--bg-section); 
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 800;
}

.sub-text {
  color: var(--text-grey);
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.icon-circle {
  width: 90px;
  height: 90px;
  background-color: #dbeafe; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.icon-box i {
  font-size: 36px;
  color: var(--secondary-color);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.service-card p {
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* =======================
   ABOUT SECTION
======================= */
.about-section {
  padding: 100px 5%;
  background-color: white;
  overflow: hidden; 
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
}

.about-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -30px; 
  right: -30px; 
  background-color: var(--primary-color); /* Blue Badge */
  color: white;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 180, 255, 0.4);
  min-width: 160px;
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.badge-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.section-eyebrow {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 25px;
  font-weight: 800;
}

.about-text {
  color: var(--text-grey);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 255, 0.3);
}

/* =======================
   ACHIEVEMENTS SECTION
======================= */
.achievements {
  background-color: var(--secondary-color); /* Dark Navy */
  padding: 80px 5%;
  text-align: center;
  color: white;
}

.achievement-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #E57E87, #ffffff); /* Pink to White */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.achievement-card {
  background-color: white;
  padding: 40px 20px;
  border-radius: 8px;
  color: #0a1f44;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.achieve-icon {
  font-size: 30px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.achievement-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.achievement-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.achievement-card p {
  font-size: 0.85rem;
  color: #666;
}

/* =======================
   PROJECTS SECTION (Zoom Effect)
======================= */
.projects-section {
  padding: 100px 5%;
  background-color: white;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Pseudo-element for Background Image (Allows Zoom) */
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

/* Assign Images via Classes (Assuming images are in ../images/) */
.project-card.ai-project::before {
  background-image: url('../images/AI-img.avif');
}

.project-card.web-project::before {
  background-image: url('../images/WebDev-img.avif');
}

.project-card:hover::before {
  transform: scale(1.1); /* Zoom */
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
  color: white;
  text-align: left;
  z-index: 1;
}

.project-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* =======================
   PARTNER SECTION
======================= */
.partner-section {
  padding: 80px 5%;
  background-color: white;
  text-align: center;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  background-color: var(--secondary-color);
  padding: 40px 20px;
  border-radius: 10px;
  color: white;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-10px);
  background-color: #002244;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.partner-icon {
  font-size: 24px;
  color: var(--logo-pink);
  margin-bottom: 15px;
}

.partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.partner-card p {
  font-size: 0.8rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* =======================
   FOOTER (5-Column)
======================= */
.footer {
  background-color: var(--bg-darkest);
  color: #fff;
  padding: 80px 5% 0px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr 0.8fr; 
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto 60px;
}

.footer-logo-box {
  background: white;
  padding: 12px 15px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo {
  height: 45px;
  width: auto;
  display: block;
}

.welcome-text {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-desc {
  color: #a0aec0;
  line-height: 1.7;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--primary-color);
  line-height: 1.2;
}

.footer-links-list {
  list-style: none;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: #a0aec0;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: #a0aec0;
}

.contact-row i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-row a {
  color: #a0aec0;
  text-decoration: none;
  transition: 0.3s;
}

.contact-row a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: #050b1a;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #718096;
  font-size: 0.85rem;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .service-grid, .achievement-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .about-container { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrapper { max-width: 500px; margin: 0 auto; }
  .experience-badge { right: 0; bottom: -20px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; width: 100%;
    background-color: var(--secondary-color);
    flex-direction: column;
    padding: 30px 0;
    gap: 25px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav-links.active { transform: translateY(0); }
  .hero h1 { font-size: 2.5rem; }
  .btn { width: 100%; text-align: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 2.2rem; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .service-grid, .achievement-grid, .partner-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}