/* ========== BASE RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

/* ========== HEADER ========== */
header {
    display: flex;
    align-items: center; /* Vertically center everything */
    justify-content: space-between;
    padding: 0 20px;
    height: 80px; /* Keeps header height consistent */
}

/* Bigger logo */
header .logo img {
    display: block;
    height: 80px; /* Adjust if needed */
    width: auto;
}

header nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px; /* CHANGE: Reduced from 15px for smaller screen fit */
}

header nav ul li {
    margin: 0 5px; /* CHANGE: Reduced spacing */
}

header nav ul li a {
    display: inline-block;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 6px;
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 10px rgba(0,191,255,0.5);
    transition: all 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    box-shadow: 0 0 20px rgba(0,191,255,0.8), 0 0 20px rgba(138,43,226,0.8);
}

.header-btn {
    display: flex;
    align-items: center;
    height: 40px;
    margin-left: 15px;
    padding: 10px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobile header */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        height: auto; /* CHANGE: Allows flexibility on mobile */
        padding: 10px;
    }
    header nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    header .logo img {
        max-height: 65px;
    }
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-btn {
        margin-top: 8px; /* CHANGE: Aligns better on mobile */
        margin-left: 0;
    }
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
    background: linear-gradient(270deg, #00bfff, #8a2be2, #00bfff);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 12s ease infinite;
}

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

/* Gradient underline for section titles */
section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(270deg, #00bfff, #8a2be2);
    margin: 10px auto 0;
    animation: gradientShift 12s ease infinite;
}

/* ========== HERO ========== */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
}

.hero h1 {
    font-size: 3rem; /* change number if you want bigger/smaller */
    font-weight: bold;
    margin: 0;
}


/* ========== BUTTONS ========== */
.gradient-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,191,255,0.5);
    transition: 0.3s ease;
}

.gradient-button:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(0,191,255,0.8);
}

/* ========== SECTIONS ========== */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

section p {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 30px;
}

/* ========== FORMS ========== */
input, select, textarea {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
}

textarea {
    resize: none;
}

form label {
    font-weight: bold;
    display: block;
    margin: 15px 0 5px;
}

form button {
    margin-top: 10px;
}

/* ========== MAP ========== */
.map-container iframe {
    width: 100%;
    min-height: 450px;
    border: none;
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    margin-top: 40px;
}

/* === FORM GRADIENT BORDER BOX === */
.form-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.form-wrapper {
    border: 3px solid transparent;
    background: linear-gradient(#000, #000) padding-box,
                linear-gradient(90deg, #00c3ff, #8e2de2) border-box;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.4);
}

/* Center and size form fields */
.styled-form {
    text-align: center;
}

.styled-form label {
    display: block;
    text-align: left;
    margin: 0 auto 5px auto;
    max-width: 500px;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
    width: 500px;
    max-width: 90%;
    margin: 0 auto 15px auto;
    display: block;
}

/* Mobile full width */
@media (max-width: 768px) {
    .styled-form input,
    .styled-form select,
    .styled-form textarea {
        width: 100%;
    }
}

/* Calendly popup fix */
.calendly-overlay {
    background: rgba(0, 0, 0, 0.75) !important;
    z-index: 999999 !important;
}

.calendly-popup {
    max-width: 90% !important;
    max-height: 90% !important;
    margin: auto !important;
    border-radius: 8px !important;
}

/* Force Calendly popup to appear above everything */
.calendly-overlay,
.calendly-popup {
    z-index: 999999 !important;
}


#particles-js {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

footer {
  padding: 20px;
  text-align: center;
}

main, .content, .container, body {
  padding-bottom: 80px;
}


/* Particles background */
#particles-js {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Footer small and centered */
footer {
  padding: 15px;
  text-align: center;
  font-size: 14px;
}

/* Popular Services Section */
.popular-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.service-card {
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.9), rgba(162, 0, 255, 0.9));
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 162, 255, 0.9);
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.service-card p {
  font-size: 18px;
  font-weight: bold;
}


.service-card .icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.service-card:hover .icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(255,255,255,1));
}


/* Popular Services Grid */
.popular-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.service-card {
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.9), rgba(162, 0, 255, 0.9));
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 162, 255, 0.9);
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.service-card p {
  font-size: 18px;
  font-weight: bold;
}
.service-card .icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.service-card:hover .icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(255,255,255,1));
}


/* Ensure footer always sits at bottom with no extra gap */
html, body {
    height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}


/* === Customer Reviews Carousel === */
.review-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 250px; /* Fixed height */
}
.review-slide {
    background: rgba(0,0,0,0.8);
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    text-align: center;

    /* Match form gradient border glow */
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                      linear-gradient(90deg, #00c3ff, #8e2de2);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Bright permanent outer glow */
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.4);

    position: absolute;
    top: 0;
    left: 100%;
    right: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease;
}

.review-slide.active {
    display: block;
    left: 0;
    opacity: 1;
    transform: translateX(0);
}

.review-slide.exit {
    transform: translateX(-100%);
    opacity: 0;
}

.review-slide .stars {
    font-size: 20px;
    color: gold;
    margin-bottom: 10px;
}

.review-slide .reviewer {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Slightly stronger glow on hover */
.review-slide:hover {
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.6);
}
.review-dots {
    text-align: center;
    margin-top: 15px;
}
.review-dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    display: inline-block;
    border-radius: 50%;
    background-color: rgba(0, 162, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.review-dot.active {
    background-color: rgba(162, 0, 255, 0.9);
    box-shadow: 0 0 8px rgba(162, 0, 255, 0.9);
}


/* === Homepage Review Carousel (White Box Style) === */
.review-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 250px; /* Fixed height for stability */
}
.review-slide {
    background: rgba(0,0,0,0.8);
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    text-align: center;

    /* Match form gradient border glow */
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                      linear-gradient(90deg, #00c3ff, #8e2de2);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Bright permanent outer glow */
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.4);

    position: absolute;
    top: 0;
    left: 100%;
    right: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease;
}

.review-slide.active {
    display: block;
    left: 0;
    opacity: 1;
    transform: translateX(0);
}

.review-slide.exit {
    transform: translateX(-100%);
    opacity: 0;
}

.review-slide .stars {
    font-size: 20px;
    color: gold;
    margin-bottom: 10px;
}

.review-slide .reviewer {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Slightly stronger glow on hover */
.review-slide:hover {
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.6);
}

.review-dots {
    text-align: center;
    margin-top: 15px;
}
.review-dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    display: inline-block;
    border-radius: 50%;
    background-color: rgba(0, 162, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.review-dot.active {
    background-color: rgba(162, 0, 255, 0.9);
    box-shadow: 0 0 8px rgba(162, 0, 255, 0.9);
}


/* === Consistent Natural-Size Logo === */
header .logo img[src*="logo.png"] {
    height: auto; /* Keep natural image height */
    max-height: 200px; /* Original size */
    width: auto;
    object-fit: contain;
    display: block;
}

header .logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    header .logo img[src*="logo.png"] {
        max-height: 140px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    header .logo img[src*="logo.png"] {
        max-height: 100px;
    }
}


/* === Disclaimer & Terms Boxes === */
.disclaimer-box {
    border: 3px solid transparent;
    background: linear-gradient(#000, #000) padding-box,
                linear-gradient(90deg, #00c3ff, #8e2de2) border-box;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.4);
    animation: fadeIn 0.6s ease;
}

.disclaimer-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
}

.disclaimer-box p {
    margin-bottom: 10px;
}

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


/* Center disclaimer/terms containers */
.disclaimers-container,
.terms-container {
    max-width: 900px;
    margin: 0 auto;
}


/* === Faint logo watermark background - fixed z-index === */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1000px; /* adjust size */
    height: 1000px;
    background: url('assets/logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.05; /* faintness */
    transform: translate(-50%, -50%);
    z-index: 1; /* above particles */
    filter: blur(1px); /* softens it */
    pointer-events: none; /* doesn't block clicks */
}

/* Ensure main content stays above watermark */
main, header, footer {
    position: relative;
    z-index: 2;
}


/* === Mobile & Tablet Fixes === */
.animated-text {
    display: inline-block;
    min-height: 1.2em; /* prevents bounce */
    white-space: nowrap; /* stops wrapping mid-animation */
}
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
        text-align: center;
    }
    h2, h3 {
        text-align: center;
    }
}
@media (max-width: 600px) {
    .animated-text {
        font-size: 1.2rem;
    }
    h1 {
        font-size: 1.6rem;
    }
    p, li {
        text-align: center;
    }
}


/* Why Choose Us section */
.why-choose-us, .our-promise {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.why-choose-us .why-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}
.why-choose-us .why-list li { margin: 6px 0; }
.our-promise p { margin: 10px 0 0 0; }


/* Center and enlarge Why Choose Us + Our Promise on home */
.why-choose-us, .our-promise {
  text-align: center;
}
.why-choose-us h2, .our-promise h2,
.home-services h2,
.review-section h2 {
  font-size: 2.1rem;
  line-height: 1.25;
}
.why-choose-us .why-list {
  display: inline-block;       /* centers the list block */
  text-align: left;            /* keep bullets/text left */
  font-size: 1.12rem;          /* slightly larger text */
}
.our-promise p {
  font-size: 1.12rem;
}


/* Fix dropdown visibility */
.styled-form select {
  background-color: rgba(20, 22, 30, 0.9);
  color: #fff;
}

.styled-form select option {
  background-color: #111 !important;
  color: #fff !important;
  padding: 8px;
}

/* Center text inside Why Choose Us and Our Promise */
.why-choose-us, .our-promise {
  text-align: center;
}
.why-choose-us .why-list {
  display: inline-block;
  text-align: left; /* keep list aligned left inside center block */
}
.our-promise p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* Center Why Choose Us list block */
.why-choose-us {
  text-align: center;
}
.why-choose-us .why-list {
  display: inline-block;
  margin: 0 auto;
  text-align: left;
}
.slideshow-container { position: relative; overflow: hidden; }
.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* crops to box nicely */
  display: block;
  border-radius: inherit;
}
