@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Corporate Color Palette */
  --primary-dark: #0a1628;
  --primary-blue: #1e3a5f;
  --accent-blue: #32C5FF;
  --accent-gradient-start: #36709B;
  --accent-gradient-end: #215FFF;
  --text-light: #ffffff;
  --text-muted: #a8b2c1;
  --text-dark: #1a1a2e;
  --surface-dark: #0f1c2e;
  --surface-card: #162335;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 100%);
  --gradient-dark: linear-gradient(180deg, #0a1628 0%, #162335 100%);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease-out;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--text-light); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--text-light);
}

a:active, a:focus {
  outline: 0;
  border: none;
}


/* ================================
   UTILITY CLASSES
   ================================ */
.imgo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px var(--shadow-color);
  transition: var(--transition-smooth);
}

.imgo:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px -15px var(--shadow-color);
}

.sp {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* ================================
   NAVIGATION STYLES
   ================================ */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-smooth);
  background: transparent !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  height: 45px;
  transition: var(--transition-fast);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 0.6rem 1.2rem !important;
  border-radius: 8px;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 60%;
}

.nav-item.active .nav-link {
  color: var(--accent-blue) !important;
}

/* ================================
   PAGE HEADER STYLES
   ================================ */
.header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-dark) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
  margin-top: 70px;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(img/header-bg.png);
  background-size: cover;
  opacity: 0.15;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--primary-dark), transparent);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header h1 {
  color: var(--text-light);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin-top: 1.5rem;
  border-radius: 2px;
}

/* ================================
   SERVICE SECTIONS
   ================================ */
.ser, .ser2 {
  position: relative;
}

.ser h3, .ser2 h3 {
  color: var(--accent-blue);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.ser h3::before, .ser2 h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: -15px;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.ser p, .ser2 p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.9;
}

/* ================================
   WHITE/LIGHT SECTIONS
   ================================ */
.white {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
}

.white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50, 197, 255, 0.3), transparent);
}

.white h3 {
  color: var(--text-dark);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}



/* ================================
   CONTACT PAGE STYLES
   ================================ */
.contact {
  color: var(--text-muted);
  background: var(--gradient-dark);
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact span {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 600;
}

.contact .col-md-6 {
  padding: 2rem;
  background: var(--surface-card);
  border-radius: 16px;
  margin: 1rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.contact .col-md-6:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-blue);
}

/* ================================
   HERO VIDEO SECTION
   ================================ */
.video {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.video .row {
  position: static;
}

.video video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.7);
}

.video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.4) 0%,
    rgba(10, 22, 40, 0.2) 50%,
    rgba(10, 22, 40, 0.9) 100%
  );
  pointer-events: none;
}

.hero1 {
  position: absolute;
  z-index: 9999;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
  text-align: center;
}

.hero1 h3 {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 8px;
  font-weight: 500;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero1 h1 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero1 h1 span {
  font-size: clamp(3rem, 10vw, 7rem);
  background: linear-gradient(135deg, var(--accent-blue) 0%, #64d8ff 50%, var(--accent-blue) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease infinite;
  letter-spacing: -2px;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.hero1 p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-align: center;
  width: min(800px, 90%);
  margin: 0 auto 2rem;
  line-height: 1.9;
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* ================================
   NAVIGATION ITEM STYLES
   ================================ */
.nav-item {
  margin: 0 5px;
  font-weight: 500;
}

/* ================================
   FOOTER STYLES
   ================================ */
footer {
  color: var(--text-light);
  background: linear-gradient(180deg, var(--surface-dark) 0%, #050d18 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.fp {
  padding: 4rem 0 2rem;
}

.semi {
  font-size: 0.95rem;
}

.explore {
  margin-left: 0;
  padding: 1rem;
}

.explore h5 {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explore p {
  color: var(--text-muted);
}

.explore a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.explore a:hover {
  color: var(--accent-blue);
}

.follow h5 {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bg-dark {
  background-color: transparent !important;
}

.follow img {
  margin: 0 8px;
}

/* ================================
   SOCIAL ICONS
   ================================ */
.social2 {
  padding: 10px;
  width: 40px;
  height: 40px;
  filter: invert(100%);
  opacity: 0.7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  margin: 0 5px;
}

.social2:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.1);
  background: rgba(50, 197, 255, 0.2);
}

/* ================================
   CARD STYLES (Stacks Page)
   ================================ */
.card {
  background: linear-gradient(145deg, var(--surface-card) 0%, var(--surface-dark) 100%) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 20px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-blue) !important;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 2rem;
}

.card h4 {
  color: var(--accent-blue) !important;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.card a:hover {
  text-decoration: none;
}

.card-text {
  color: var(--text-muted);
}

.badge-secondary {
  color: var(--accent-blue);
  background-color: rgba(50, 197, 255, 0.1);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* ================================
   BUTTON STYLES
   ================================ */
.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 10px 30px rgba(33, 95, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(33, 95, 255, 0.4);
  background: linear-gradient(135deg, #4080ab 0%, #3170ff 100%);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* ================================
   SER3 STATISTICS SECTION
   ================================ */
.ser3 {
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%),
              url(img/bg1.jpg);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.ser3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(50, 197, 255, 0.1) 0%, transparent 50%);
}

.ser3 h3 {
  color: var(--accent-blue);
  font-size: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
}

.ser3 p {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-light);
  position: relative;
  z-index: 2;
  line-height: 2;
}

/* ================================
   AWARDS SECTION
   ================================ */
.awards {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.awards h1 {
  text-align: center;
  font-weight: 800;
  color: var(--text-dark);
}

/* ================================
   MAP SECTION
   ================================ */
.news {
  position: relative;
}

.news iframe {
  filter: grayscale(50%) contrast(1.1);
  transition: var(--transition-smooth);
}

.news:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* ================================
   RESPONSIVE STYLES
   ================================ */
@media screen and (max-width: 992px) {
  .navbar {
    background: rgba(10, 22, 40, 0.98) !important;
    backdrop-filter: blur(20px);
  }

  .navbar-collapse {
    background: var(--surface-dark);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid var(--border-subtle);
  }

  .nav-link::after {
    display: none;
  }

  .header {
    min-height: 30vh;
    margin-top: 60px;
  }

  .contact .col-md-6 {
    margin: 0.5rem 0;
  }
}

@media screen and (max-width: 800px) {
  .sp {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .header h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .header h1::after {
    width: 60px;
    margin-top: 1rem;
  }

  .ser h3, .ser2 h3 {
    font-size: 1.5rem;
  }

  .ser h3::before, .ser2 h3::before {
    top: -10px;
    width: 40px;
  }

  .ser p, .ser2 p {
    font-size: 1rem;
  }

  .explore {
    display: none;
  }

  .fp {
    padding: 2rem 0 1rem;
  }

  .hero1 {
    top: 50%;
    padding: 0 1rem;
  }

  .hero1 h1 span {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero1 h3 {
    font-size: 0.8rem;
    letter-spacing: 4px;
  }

  .hero1 p {
    font-size: 0.95rem;
    width: 95%;
    margin-top: 1.5rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .card h4 {
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .video video {
    height: 100vh;
    object-position: center;
  }

  .photo {
    display: none;
  }

  h2 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .ser3 p {
    font-size: 1.5rem;
    line-height: 2.2;
  }

  .imgo {
    margin-bottom: 2rem;
  }

  .white h3 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 576px) {
  .navbar-brand img {
    height: 35px;
  }

  .header {
    min-height: 25vh;
  }

  .contact .row {
    flex-direction: column;
  }

  .social2 {
    width: 35px;
    height: 35px;
    padding: 8px;
  }
}

/* ================================
   LOADING & ANIMATIONS
   ================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

/* Smooth scroll padding for fixed nav */
html {
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background: var(--accent-blue);
  color: var(--text-light);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}
