/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: linear-gradient(to bottom, #000000 0%, #000a2a 40%, #001a4d 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Hero Media Container - Full Screen Attention Grabber */
/* Container Dimensions: Width: 100vw, Height: 100vh (Full Viewport) */
/* Hero Media Container - Full Screen Attention Grabber */
.hero-media-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  z-index: -1; /* Behind all content */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Background Styles */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintains aspect ratio while covering entire container */
  object-position: center;
  transition: opacity 1s ease-in-out; /* Smooth cross-fade transition */
}





/* Overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 10, 42, 0.6) 50%,
    rgba(0, 26, 77, 0.8) 100%
  );
  z-index: 2;
}



/* Header */
header {
  display: flex;
  justify-content: space-between;
  padding: 0px 40px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent; /* Completely transparent */
  border-bottom: none; /* Remove border */
  flex-wrap: wrap;
  transition: all 0.3s ease; /* Smooth transition for blur effect */
}

/* Header with blur effect when scrolled */
header.scrolled {
  background-color: rgba(0, 0, 0, 0.1); /* Very subtle background */
  backdrop-filter: blur(15px); /* Enhanced blur for readability */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.logo img {
  /* Increase logo size by 10% from previous clamp max (235px to ~259px) */
  width: clamp(220px, 33vw, 259px);
}



nav {
  display: flex;
  gap: clamp(15px, 3vw, 25px);
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

nav a:hover {
  color: #fff;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: #fff;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  padding: 8px 0;
}

.dropdown-content {
  position: absolute;
  background: rgba(0, 2, 61, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  border-radius: 12px;
  top: calc(100% + 10px);
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(74, 144, 226, 0.2);
  color: #4a90e2;
  transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Keep dropdown visible when hovering over the content */
.dropdown-content:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

/* Ensure nav links align well with dropdown */
nav .dropdown {
  margin: 0 8px;
}

section {
  padding-top: 50px; /*or adjust as pr your header height*/
}

/* Hero Section */
main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 40px 20px;
  overflow: hidden;
  z-index: 10; /* Above the video background */
}

.welcome {
  font-size: clamp(20px, 4.25vw, 34px);
  letter-spacing: 0.15rem;
  color: #bbb;
  margin-bottom: 1rem;
}

.title {
  font-size: clamp(30px, 6.8vw, 51px);
  font-weight: 800;
}

.hero-tagline {
  margin-top: 1rem;
  font-size: clamp(14px, 2.125vw, 17px);
  font-weight: 400;
  color: #aaa;
  font-style: italic;
}

.hero-description {
  max-width: 80%;
  margin-top: 2rem;
  font-size: clamp(12px, 1.7vw, 14px);
  color: #bbb;
  line-height: 1.8;
}

.explore-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  font-size: clamp(14px, 2vw, 16px);
  transition: transform 0.2s;
}

.explore-button:hover {
  transform: scale(1.05);
  background-color: #4a90e2;
  color: #fff;
}

.arrow {
  position: absolute;
  right: clamp(20px, 5vw, 50px);
  bottom: clamp(20px, 5vh, 50px);
  font-size: clamp(20px, 3vw, 30px);
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s ease;
}

.arrow:hover {
  color: #1e90ff;
}

/* Services Section */
.services {
  background-color: transparent;
  padding: 5rem 2rem;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-subtitle {
  font-size: clamp(12px, 1.5vw, 14px);
  color: #bbb;
  letter-spacing: 0.15rem;
}

.services-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 280px), 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

.service-card h3 {
  font-size: clamp(18px, 2.5vw, 20px);
  margin-bottom: 1rem;
}

.service-card p {
  color: #ccc;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
}

/* Work Showcase */
.work-showcase {
  background-color: transparent;
  padding: 5rem 2rem;;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 280px), 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.work-card {
  background-color: #fff;
  color: #000;
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 1.5rem;
  text-align: center;
  cursor:pointer;
}

.work-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover {
  transform: translateY(-5px);
}


.work-card img {
  width: 100%;
  border-bottom: 1px solid #ddd;
}

.work-card h3 {
  margin-top: 1rem;
  font-size: clamp(16px, 2vw, 18px);
}

.tags {
  margin-top: 0.5rem;
}

.tags span {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: clamp(10px, 1.5vw, 12px);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin: 0.3rem 0.3rem 0 0;
}

.know-more-container {
    display: flex;
    justify-content: center;
    margin: -50px 0;
  }
  .know-more-btn {
    display: inline-block;
    width: 200px;
    height: auto;
    padding: 5px 2px;
    background: #ffffff;
    color: #000000;
    text-align: center;
    border-radius: 100px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s, background 0.2s, color 0.2s;
  }
  .know-more-btn:hover {
    transform: scale(1.15);
    background: #4a90e2;
    color: #fff;
  }


/* Contact */
.contact-section {
  text-align: center;
  background-color: transparent;
  margin: 50px 0;
  padding: 6rem 2rem;
}

.contact-subtitle {
  color: #aaa;
  font-size: clamp(12px, 1.5vw, 14px);
  letter-spacing: 0.15rem;
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 800;
}

.contact-title .outlined {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.arrow-icon {
  font-size: clamp(16px, 2vw, 18px);
  margin-left: 0.5rem;
}

.contact-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  font-size: clamp(14px, 2vw, 16px);
  transition: transform 0.2s;
}

.contact-button:hover {
  transform: scale(1.05);
  background-color: #4a90e2;
  color: #fff;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start; 
  background: linear-gradient(135deg, #1e0057 0%, #5f2c82 50%, #1a2980 100%);
  padding: 60px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-left {
  max-width: 50%;
  font-size: clamp(14px, 2vw, 16px);
}

.footer-right {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  font-size: clamp(10px, 1.5vw, 12px);
  color: #bbb;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1rem;
}

.footer-column a {
  color: #fff;
  margin-bottom: 0.5rem;
  text-decoration: none;
  font-size: clamp(12px, 1.8vw, 14px);
  transition: color 0.3s;
}



/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  /* Hero Media Container Responsive */
  .hero-media-container {
    width: 100vw;
    height: 100vh;
  }
  
  .hero-video {
    object-position: center center;
  }
  
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  nav a {
    margin: 0;
    padding: 6px 0;
  }

  .welcome {
    font-size: clamp(17px, 5.1vw, 24px);
  }

  .title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .hero-tagline {
    font-size: clamp(12px, 2.125vw, 14px);
  }

  .hero-description {
    font-size: clamp(10px, 1.7vw, 12px);
    max-width: 90%;
  }

  .explore-button {
    margin-top: 2rem;
    padding: 10px 28px;
    font-size: clamp(12px, 1.6vw, 14px);
  }

  .arrow {
    right: 20px;
    bottom: 20px;
    font-size: 24px;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .work-showcase,
  .contact-section {
    padding: 3rem 1rem;
  }

  .services-title,
  .contact-title {
    font-size: clamp(28px, 5vw, 36px);
  }

  .site-footer {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-right {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  /* Hero Media Container Mobile Responsive */
  .hero-media-container {
    width: 100vw;
    height: 100vh;
  }
  
  .hero-video {
    object-position: center center;
  }
  
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 10, 42, 0.7) 50%,
      rgba(0, 26, 77, 0.9) 100%
    );
  }
  
  .logo img {
    /* Increase logo size by 10% for mobile as well (150px to 165px) */
    width: clamp(132px, 28vw, 165px);
  }

  .welcome {
    font-size: clamp(15px, 4.25vw, 20px);
  }

  .title {
    font-size: clamp(20px, 5.1vw, 27px);
  }

  .hero-tagline {
    font-size: clamp(10px, 2.125vw, 12px);
  }

  .hero-description {
    font-size: clamp(10px, 1.7vw, 11px);
  }

  .explore-button {
    margin-top: 1.5rem;
    padding: 8px 24px;
    font-size: clamp(11px, 1.5vw, 13px);
  }

  .contact-button {
    padding: 0.8rem 1.5rem;
    font-size: clamp(12px, 2vw, 14px);
  }
}
/* Shared hover effect for footer links */

/* --- Custom Footer Styles --- */
.custom-footer {
  background: linear-gradient(135deg, #000000 0%, #000a2a 40%, #001a4d 100%);
  color: #fff;
  padding: 0;
  margin-top: 4rem;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.custom-footer .footer-cta {
  text-align: center;
  padding: 48px 20px 32px 20px;
  background: rgba(30, 0, 80, 0.18);
}
.custom-footer .footer-cta h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.custom-footer .footer-cta p {
  font-size: clamp(13px, 2vw, 16px);
  color: #e0e0e0;
  margin-bottom: 18px;
}
.custom-footer .footer-cta-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.custom-footer .footer-cta-form input[type="email"] {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 1rem;
  min-width: 220px;
  background: #fff;
  color: #222;
  transition: box-shadow 0.2s;
}
.custom-footer .footer-cta-form input[type="email"]:focus {
  box-shadow: 0 0 0 2px #4a90e2;
}
.custom-footer .footer-cta-form button {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: #4a90e2;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.custom-footer .footer-cta-form button:hover {
  background: #fff;
  color: #4a90e2;
  transform: scale(1.05);
}
.custom-footer .footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 40px 24px 40px;
  gap: 32px;
  background: transparent;
}
.custom-footer .footer-col {
  min-width: 140px;
  margin-bottom: 18px;
}
.custom-footer .brand-col {
  min-width: 160px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: #fff;
}

.custom-footer .footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3.5vw, 28px);
  letter-spacing: 0.15em;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}
.custom-footer .footer-logo span {
  color: #4a90e2;
}
.custom-footer .footer-col h4 {
  font-size: clamp(11px, 1.5vw, 13px);
  color: #bbb;
  margin-bottom: 0.7rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
}
.custom-footer .footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(12px, 1.8vw, 14px);
  margin-bottom: 0.5rem;
  border-radius: 999px;
  padding: 7px 0px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.custom-footer .footer-col a:hover {
  color: #fff;
  transform: scale(1.03);
  cursor: pointer;
}
.custom-footer .footer-socials {
  display: flex;
  gap: 11px;
  margin-top: 4px;
}
.custom-footer .footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.custom-footer .footer-socials a:hover {
  background: #fff;
  color: #4a90e2;
  transform: scale(1.15);
}
.custom-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px 12px 40px;
  font-size: clamp(11px, 1.5vw, 13px);
  color: #bbb;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}
.custom-footer .footer-bottom a {
  color: #bbb;
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.2s;
}
.custom-footer .footer-bottom a:hover {
  color: #fff;
}
@media (max-width: 1024px) {
  .custom-footer .footer-main {
    flex-wrap: wrap;
    gap: 24px;
    padding: 32px 16px 18px 16px;
  }
  .custom-footer .footer-bottom {
    padding: 14px 16px 10px 16px;
  }
}
@media (max-width: 768px) {
  .custom-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 10px 12px 10px;
  }
  .custom-footer .footer-col, .custom-footer .brand-col {
    min-width: 0;
    width: 100%;
    margin-bottom: 10px;
  }
  .custom-footer .footer-cta {
    padding: 32px 10px 20px 10px;
  }
}
@media (max-width: 480px) {
  .custom-footer .footer-main {
    padding: 14px 4px 8px 4px;
  }
  .custom-footer .footer-cta {
    padding: 22px 4px 12px 4px;
  }
  .custom-footer .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 8px 4px 6px 4px;
    font-size: 11px;
  }
}
/* FontAwesome CDN for icons (add to HTML <head> if not present) */
