/* ============================================
   MAIN SECTIONS STYLING
   (Non-conflicting with intro.css & global.css)
   ============================================ */

/* === SMOOTH SCROLLING & SECTIONS === */
html {
  scroll-behavior: smooth;
}

section {
  position: relative;
  overflow: hidden;
}

/* === HEADER / NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(10, 10, 10, 0.95);  /* Made slightly more opaque */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 150, 255, 0.1);
}


.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 60px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 1;
}

/* Add after .header-logo styles */
.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-brand:hover {
  opacity: 0.8;
}

.header-company-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-company-name .highlight {
  background: linear-gradient(90deg, #0096ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Adjust header on mobile - keep logo and blue text visible */
@media (max-width: 968px) {
  .header-company-name {
    font-size: 1.1rem;  /* Slightly smaller on mobile */
  }
  
  /* Show only "Computational" on mobile with blue color */
  .header-company-name {
    display: none;
  }
  
  .header-brand::after {
    content: 'Computational';
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #0096ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}


/* Hide company name on smaller screens */
@media (max-width: 968px) {
  .header-company-name {
    display: none;
  }
}

.header-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}


.nav-link {
  color: #a8b2c7;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0096ff, #00d4ff);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

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

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #0096ff 0%, #0078cc 100%);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 150, 255, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 255, 0.35);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .header-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vh, 8rem) clamp(1.5rem, 5vw, 3rem);
  background: radial-gradient(ellipse at top, rgba(0, 150, 255, 0.08) 0%, transparent 50%);
  position: relative;
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
}

.hero-text h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #a8b2c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: #a8b2c7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0096ff 0%, #0078cc 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 150, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 150, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(0, 150, 255, 0.4);
  color: #0096ff;
}

.btn-secondary:hover {
  background: rgba(0, 150, 255, 0.1);
  border-color: #0096ff;
}

.hero-visual {
  opacity: 0;
  transform: translateX(30px);
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 150, 255, 0.15);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.2) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Placeholder for hero image */
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  border: 1px dashed rgba(0, 150, 255, 0.2);
  border-radius: 16px;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
}

/* === SECTION CONTAINER === */
.content-section {
  padding: clamp(4rem, 10vh, 8rem) clamp(1.5rem, 5vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
  opacity: 0;
  transform: translateY(20px);
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #a8b2c7;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === MISSION PILLARS === */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.pillar-card {
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid rgba(0, 150, 255, 0.15);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 150, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 150, 255, 0.15);
  background: rgba(13, 17, 23, 0.8);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.pillar-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.pillar-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #a8b2c7;
  margin: 0;
}

/* === VALUES GRID === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  padding: 2rem;
  background: rgba(0, 150, 255, 0.03);
  border-left: 3px solid #0096ff;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.value-item:hover {
  background: rgba(0, 150, 255, 0.08);
  transform: translateX(5px);
}

.value-item h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  color: #0096ff;
  margin-bottom: 0.75rem;
}

.value-item p {
  font-size: 0.95rem;
  color: #a8b2c7;
  line-height: 1.6;
  margin: 0;
}

/* === CAPABILITIES SECTION === */
.capabilities-grid {
  display: grid;
  gap: 3rem;
  margin-top: 4rem;
}

.capability-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
}

.capability-item:nth-child(even) {
  direction: rtl;
}

.capability-item:nth-child(even) > * {
  direction: ltr;
}

.capability-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.capability-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #a8b2c7;
  margin-bottom: 1.5rem;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: rgba(0, 150, 255, 0.1);
  border: 1px solid rgba(0, 150, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #0096ff;
  font-weight: 500;
}

.capability-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.capability-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.15) 0%, transparent 100%);
  z-index: 1;
}

.capability-image img,
.capability-image-placeholder {
  width: 100%;
  height: auto;
  display: block;
}

.capability-image-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.08) 0%, rgba(0, 150, 255, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  border: 1px dashed rgba(0, 150, 255, 0.2);
}

@media (max-width: 968px) {
  .capability-item,
  .capability-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .capability-image {
    order: -1;
  }
}

/* Add after .capability-image styles */
.capability-gif,
.hero-image-wrapper img {
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.08) 0%, rgba(0, 150, 255, 0.03) 100%);
  min-height: 300px; /* Prevents layout shift */
}

/* === EDUCATION SECTION === */
.education-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.education-content {
  opacity: 0;
  transform: translateX(-30px);
}

.education-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

.education-features li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  color: #a8b2c7;
  font-size: 1.05rem;
  line-height: 1.6;
}

.education-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #0096ff;
  font-weight: bold;
  font-size: 1.2rem;
}

.education-visual {
  opacity: 0;
  transform: translateX(30px);
}

@media (max-width: 968px) {
  .education-wrapper {
    grid-template-columns: 1fr;
  }
  
  .education-visual {
    order: -1;
  }
}

/* === CONTACT SECTION === */
.contact-section {
  background: radial-gradient(ellipse at center, rgba(0, 150, 255, 0.08) 0%, transparent 70%);
  padding: clamp(5rem, 12vh, 10rem) clamp(1.5rem, 5vw, 3rem);
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-container .section-title {
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0096ff;
  font-weight: 600;
}

.contact-value {
  font-size: 1.1rem;
  color: #fff;
}

.contact-value a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #0096ff;
}

/* === FOOTER === */
.site-footer {
  background: rgba(10, 10, 10, 0.8);
  border-top: 1px solid rgba(0, 150, 255, 0.1);
  padding: 3rem clamp(1.5rem, 5vw, 3rem) 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a8b2c7;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0096ff;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 150, 255, 0.1);
  border: 1px solid rgba(0, 150, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0096ff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: rgba(0, 150, 255, 0.2);
  border-color: #0096ff;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
}

/* === SCROLL ANIMATIONS (will be triggered by JS) === */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

.fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === UTILITY CLASSES === */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #a8b2c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: #0096ff;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0096ff;
  outline-offset: 3px;
}