:root{

    --primary-color: #001f3f;
    --secondary-color: #00bcd4;
    --white-color: #fff;
    --gradient-start: #00bcd4;
    --gradient-end: #0066cc;
    --menu-color: #f9f9fa;
    --tertiary-color: #2C2F3E;
    --card-color: #20D6AA;
    --text-color: #333333;
    --h1-color: #7B61FF;
    --h2-color: #B066FF;
    --h3-color: #00bcd4;
    --button-color: #20D6AA;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1{
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2{
    color: var(--h2-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h3{
    color: var(--h3-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

p{
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}



/* Navbar */

.navbar{
    background-color: var(--primary-color);
    height: 100px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar a{
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    color: var(--secondary-color);
}

.navbar a:hover{
    color: var(--white-color);
}
.navbar-brand{
    color: var(--white-color);
    height: 100px;
}

.navbar .nav-buttons{
    border-radius: 18px;
    color: var(--secondary-color);
    padding: 10px 20px;
}

.navbar .nav-buttons:hover, .navbar .nav-buttons a:hover{
    transition: all 0.3s ease-in-out;
    color: var(--white-color);
}

/* Navbar Base */
.navbar {
  background-color: var(--primary-color);
  height: 90px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.brand img {
  height: 60px;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  font-size: 17px;
  color: var(--white-color);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Buttons */
.nav-buttons a {
  text-decoration: none;
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.nav-buttons a:hover {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: var(--white-color);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  background: var(--white-color);
  height: 3px;
  border-radius: 2px;
  transition: 0.3s;
}



/* Portfolio Preview */
    .cards {
      margin:2px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 1 8px 20px rgba(72, 72, 70, 0.8);
      transition: all 0.3s ease;
      height: 500px; /* 2x taller height */
      position: relative;
    }
    .grid .cards:hover {
      background-color:black;
      transform: scale(1.06); 
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    iframe {
      width: 100%; /* The visible card size */
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    border: none;
    background-color:white;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    pointer-events: none; /* Optional: disables interaction */
    }

    .cards:hover iframe {
      width: 100%; /* Simulate full desktop width */
    height: 100%;  /* Simulate full desktop height */
    transform-origin: top left;
    background-color:black;
    opacity: 0.3;
    transition: opacity 0.8s ease;
    }


/* Mobile View */
@media screen and (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--primary-color);
    flex-direction: column;
    width: 70%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .desktop-btn {
    display: none;
  }

  .mobile-btn {
    display: block;
  }

  /* Animate Hamburger */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}





    /* ================= HERO SLIDER ================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  color: var(--white-color);
  font-family: 'Poppins', sans-serif;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color) center/cover no-repeat;
  background-image: var(--bg-image);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}


.hero-overlay {
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 31, 63, 0.8), rgba(0, 188, 212, 0.4));
  z-index: 0;
}


.page-header{
    position: relative;
    height:50vh;
    inset:0;
    background: var(--primary-color) center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}
.hero-over{
    height:100%;
    width:100%;
    padding-top:50px;
    inset:0;
    background: linear-gradient(to bottom right, rgba(0, 31, 63, 0.8), rgba(0, 188, 212, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2; /* ensures text sits above overlay */
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
}


.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 3px rgba(255,255,255,0.9);
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 35px;
  color: var(--white-color);
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* image cover */
.item-inner{
    height: 300px;
}

.item-content{
    height: 100%;
    text-shadow: 2px 2px 3px #000;
    background-size: cover;         /* Make image cover the entire area */
    background-repeat: no-repeat;   /* Prevent tiling */
    background-position: center;    /* Center the image */
}

/* button */
.btn-primary {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: var(--white-color);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.btn-outline {
  color: var(--white-color);
  border: 2px solid var(--white-color);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-outline {
  color: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border: 2px solid var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.network-footer .btn-outline{
  color: var(--white-color);
  border-color: var(--white-color);
  transform: translateY(-3px);
}
.btn-outline:hover {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: var(--white-color);
  border-color: none;
  transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media screen and (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
}


/* ================= END HERO ================= */