/* ============================================================
   VJAM Solutions — Design System
   Fully custom. No frameworks, no libraries.
   ============================================================ */

/* ── Custom variables Properties ── */
:root {
  /* Colors - Light & Professional */
  --clr-bg: #f9f9f9;
  --clr-surface: #ffffff; /* White for cards/sections */
  --clr-surface-alt: #f1f5f9; /* Light gray for alternate sections */
  --clr-text: #1e293b; /* Dark slate for text (readable) */
  --clr-muted: #64748b; /* Soft gray for secondary text */
  --clr-accent: #c026d3; /* Your brand purple */
  --clr-accent-dim: #9b1d7a; /* Darker purple for hover */
  --clr-accent-light: #f3e8ff; /* Light purple background */
  --clr-gold: #f59e0b; /* Vibrant gold */
  --clr-gold-dim: #d97706; /* Darker gold for hover */
  --clr-white: #ffffff;
  --clr-border: rgba(0, 0, 0, 0.08);
  --clr-overlay: rgba(0, 0, 0, 0.4);

  /* Glass effect variables */
  --navbar-bg-start: rgba(255, 255, 255, 0.95); /* Opaque at top */
  --navbar-bg-scroll: rgba(255, 255, 255, 0.85); /* Blurred when scrolled */
  --navbar-blur: blur(8px);
  --navbar-height: 80px;
  --navbar-height-scrolled: 65px;
  --navbar-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --logo-size: 68px;
  --logo-size-scrolled: 50px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*
**********************************  **********************************/
/* Base Styles */
/*
**********************************  **********************************/
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%; /* Chrome, Safari, newer Edge */
  -moz-text-size-adjust: 100%;    /* Firefox (specifically for mobile versions) */
  text-size-adjust: 100%;         /* Standard property */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*
************* Body styles **********************************/

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  padding-top: 100px; /* Add this line - space for fixed navbar */
}

/* sections container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/*
**********************************/
/* BACK TO TOP BUTTON */
/*
**********************************/
.back-to-top {
  position: fixed;
  bottom: 270px !important;
  right: 30px;
  width: 50px;
  height: 50px;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 0.9;
  visibility: visible;
  background: var(--clr-accent);
}

.back-to-top:hover {
  background: var(--clr-accent-dim);
  color: var(--clr-white);
  transform: translateY(-3px);
}

/*
**********************************  **********************************/
/* Buttons */
/*
**********************************  **********************************/
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--clr-accent);
  color: var(--clr-white);
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--clr-accent-dim);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
}

.btn-outline:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-2px);
}


/*
**********************************  **********************************/
/* SECTIONS */
/*
**********************************  **********************************/
/* Force next section below hero */
.section {
  clear: both;
  position: relative;
  z-index: 5;
  background: var(--clr-bg);
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--clr-text);
}

.container .section-title span {
  color:#c026d3;
}

/*
**********************************  **********************************/
/* Hero Section */
/*
**********************************  **********************************/
.hero-section {
  text-align: center;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  object-fit: cover;
  background: url('/images/hero-bg.gif') center center / cover no-repeat;
}

/* Dark Overlay for text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.478); /* Darker overlay */
  z-index: 1;
}

/* Video Attribution Badge */
.video-attribution {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 3;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 5px 10px;
    border-radius: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.video-attribution:hover {
    opacity: 1;
}

.video-attribution a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-attribution a i {
    font-size: 0.7rem;
}

.video-attribution a:hover {
    color: white;
    text-decoration: underline;
}

/* Hero Content */
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-section .hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
   text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.hero-section .hero-content h1 span {
  color: var(--clr-accent);
  text-shadow: 6px 6px 6px rgba(0, 0, 0, 0.893);
}

.hero-section .hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-section .hero-content .btn {
  background: var(--clr-accent);
  color: white;
  border: none;
}

.hero-section .hero-content .btn:hover {
  background: var(--clr-accent-dim);
  transform: translateY(-2px);
}

.hero-section .hero-content .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  -webkit-backdrop-filter: blur(4px);
   -moz-backdrop-filter: blur(4px);
     -o-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
 
}

.hero-section .hero-content .btn-outline:hover {
  background: white;
  color: var(--clr-accent);
  border-color: white;
}

/* Add a subtle bottom gradient to blend with next section */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, black);
  z-index: 1;
  pointer-events: none;
}

/*
**********************************  **********************************/
/* About Section - Homepage Summary */
/*
**********************************  **********************************/
/* ============================================================ */
/* ABOUT FULL WIDTH */
/* ============================================================ */
.about-full {
    padding: 5rem 2rem;
    background: rgb(12, 12, 20);
    text-align: center;
}

.about-full-content {
    max-width: 900px;
    margin: 0 auto;
    color: whitesmoke;
}

.about-full-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-full-content h2 span {
    color: var(--clr-accent);
}

.about-full-content .lead {
    font-size: 1.2rem;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-full-content p {
    color: whitesmoke;
    /* margin-bottom: 2rem; */
    line-height: 1.7;
    word-spacing: 1px;
}

.about-full-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--clr-muted);
}

/*
**********************************  **********************************/
/* Grid for services/portfolio Section */
/*
**********************************  **********************************/
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--clr-white);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--clr-text);
}

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


/*
**********************************  **********************************/
/* Call to Action Section */
/*
**********************************  **********************************/
.cta-section {
  background: var(--clr-accent-light);
  text-align: center;
  padding: 4rem 2rem;
  /* margin: 2rem 0; */
}

.cta-section h2 {
  margin-bottom: 1rem;
  color: var(--clr-text);
}

.cta-section p {
  margin-bottom: 2rem;
  color: var(--clr-muted);
}

/*
**********************************  **********************************/
/* FAQ Section - Accordion Style */
/*
**********************************  **********************************/
.faq-section {
    background: var(--clr-white);
    padding: 5rem 0;
}


.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

/* FAQ Item */
.faq-item {
    background: var(--clr-bg);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--clr-border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(192, 38, 211, 0.3);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-text);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--clr-accent);
}

.faq-question i {
    color: var(--clr-accent);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: var(--clr-muted);
    line-height: 1.7;
    margin: 0;
}

/* FAQ CTA at bottom */
.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--clr-border);
}

.faq-cta p {
    color: var(--clr-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.section-subtitle{
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }

    .about-full-stats{
    flex-direction: column;
     gap: 1.5rem;
      padding: 1rem 0;
      font-size: 0.6rem;

    }
}

/*
**********************************  **********************************/
/* Mobile responsive */
/*
**********************************  **********************************/
@media (max-width: 768px) {
  body{
    padding-top: 70px; /* Reduce top padding for mobile */
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-section {
    min-height: 70vh;
    border-bottom: 10px solid black;
    margin-top: 4rem;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.503); /* Even darker on mobile */
  }


  .hero-section .hero-content h1 {
    font-size: 2rem;
  }

  .hero-section .hero-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-section .hero-content .btn,
  .hero-section .hero-content .btn-outline {
    margin: 0;
  }

  .grid-3 {
    gap: 1rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .btn {
    display: inline-flex;
    margin: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
  }

  .video-attribution {
        bottom: 10px;
        right: 10px;
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

/*
**********************************  **********************************/
/* Utility Classes */
/*
**********************************  **********************************/
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}
