/* ------------------------------------------------------------------ */
/* ALL YOUR ORIGINAL CSS                                              */
/* (arrow styles were already present in the block you pasted)        */
/* ------------------------------------------------------------------ */

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

/* Scrollbar Styling for Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #203a43 #0f2027; /* Mid gradient thumb, Dark gradient track */
  background-color: transparent; /* Attempt to hide default white background */
}

/* Scrollbar Styling for WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px; /* Thin scrollbar */
}

::-webkit-scrollbar-track {
  background: #0f2027; /* Dark gradient track */
}

::-webkit-scrollbar-thumb {
  background-color: #203a43; /* Mid gradient thumb */
  border-radius: 4px; /* Slightly rounded corners */
}

/* Body Styling */
body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-color: transparent; /* Explicitly set base background to transparent */
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0;
}

/* New Page Wrapper Style */
#page-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Spline Canvas Styling */
#canvas3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* Container Styling */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto; /* Removed top margin */
    padding: 20px;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
}

/* Header Styling */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffcc00;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #dddddd;
    max-width: 600px;
    margin-bottom: 20px;
}

/* Navigation Styling */
nav {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    font-size: 1rem;
    color: #ffcc00;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #ffcc00;
    border-radius: 25px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #ffcc00;
    color: #0f2027;
}

/* Section Styling */
section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: fadeInUp 1s ease-out;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

section p, section ol {
    font-size: 1.1rem;
    color: #dddddd;
    line-height: 1.8;
}

section ol {
    padding-left: 20px;
}

/* Button Styling */
.btn {
    display: inline-block;
    margin: 20px auto;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: #0f2027;
    background-color: #ffcc00;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

/* Testimonials Styling */
.testimonials {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 245px;
    overflow: hidden;
    margin: 10px auto;
    text-align: center;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-in-out;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #ffcc00;
    margin-bottom: 2px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    animation: aura 2s infinite;
    object-fit: cover;
}

.testimonial p {
    font-style: italic;
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0;
}

/* Aura Animation */
@keyframes aura {
    0%   { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

/* Footer Styling */
footer {
    width: 100%;
    padding: 20px 0;
    background-color: #0f2027;
    color: #cccccc;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    animation: fadeInUp 1s ease-out;
}

footer a {
    color: #ffcc00;
    text-decoration: underline;
    margin: 0 10px;
    transition: color 0.3s;
}

footer a:hover { color: #e6b800; }

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 32, 39, 0.9);
    font-family: 'Montserrat', sans-serif;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    margin: 2% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Form Modal Specific */
#formModal .modal-content { height: 850px; }
.custom-form-container { width: 100%; height: 100%; background: transparent; }

.close-button {
    position: absolute;
    left: 15px;
    top: 10px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: opacity 0.3s ease;
}
.close-button:hover { opacity: 0.8; }

/* Terms & Privacy Modal Text Container */
.terms-text-container {
    padding: 20px;
    color: #dddddd;
    max-height: calc(100% - 60px);
    overflow-y: auto;
    text-align: left;
    height: 100%;
}
.terms-text-container h2,
.terms-text-container h3 {
    color: #ffcc00;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-align: left;
}
.terms-text-container h2:first-of-type {
    margin-top: 0;
    text-align: center;
    margin-bottom: 1em;
}
.terms-text-container p,
.terms-text-container li {
    margin-bottom: 1em;
    line-height: 1.6;
}
.terms-text-container ul,
.terms-text-container ol {
    margin-left: 20px;
    margin-bottom: 1em;
}
.terms-text-container strong { font-weight: bold; }

#termsModal .modal-content,
#privacyModal .modal-content {
     height: 90vh;
     max-height: 700px;
}

/* Social Icons Styling */
.social-icons {
    text-align: center;
    margin: 30px 0 20px 0;
}
.social-icons a {
    color: #ffcc00;
    font-size: 1.8rem;
    margin: 0 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.social-icons a:hover {
    color: #fff;
    transform: scale(1.2);
    text-shadow: 0 0 15px #ffcc00;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 { font-size: 3rem; }
    section h2 { font-size: 2rem; }
    .btn { font-size: 1rem; padding: 10px 20px; }
    .testimonial img { width: 150px; height: 150px; }
    .testimonial p { font-size: 1rem; padding: 0 20px; }
    .social-icons a { font-size: 1.6rem; margin: 0 12px; }
}

@media (max-width: 480px) {
    .testimonial img { width: 120px; height: 120px; }
    .social-icons a { font-size: 1.4rem; margin: 0 10px; }
}

/* Animations */
.fade-in { animation: fadeIn 2s ease-in-out; }
@keyframes fadeIn { from {opacity: 0; transform: translateY(20px);} to {opacity: 1; transform: translateY(0);} }
@keyframes fadeInDown { from {opacity: 0; transform: translateY(-50px);} to {opacity: 1; transform: translateY(0);} }
@keyframes fadeInUp { from {opacity: 0; transform: translateY(50px);} to {opacity: 1; transform: translateY(0);} }

.section-content p { text-align: center; color: #ffffff; margin-bottom: 20px; }

/* Section text alignment helpers */
.about-content p,
.how-it-works-content p,
.services-content p,
.pricing-content p,
.contact-content p,
.testimonials p { text-align: center; }

.section-description { text-align: center; }
.section p { text-align: center; }
.window-content p { text-align: center !important; }
.window p        { text-align: center !important; }

#about .window-content p,
#how-it-works .window-content p,
#services .window-content p,
#pricing .window-content p,
#contact .window-content p,
#testimonials .window-content p { text-align: center !important; }

html { scroll-behavior: smooth; }

.nav-link { color: #ffffff; text-decoration: none; padding: 10px 20px; transition: color 0.3s ease; }
.nav-link:hover { color: #ffcc00; }

.top-links { display: flex; justify-content: center; gap: 20px; }

.links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
}

.link {
    display: inline-block;
    padding: 8px 15px;
    color: #ffcc00;
    text-decoration: none;
    border: 2px solid #ffcc00;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.link:hover {
    background-color: #ffcc00;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
}

#how-it-works ul { list-style: none; text-align: center; padding: 0; width: 80%; margin: 0 auto; }
#how-it-works li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
    display: inline-block;
    text-align: left;
    width: 100%;
}
#how-it-works li:before {
    content: "•";
    color: #ffcc00;
    position: absolute;
    left: 0;
}

.window-content ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.window-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.window-content li:before {
    content: "•";
    color: #ffcc00;
    position: absolute;
    left: 0;
}

#contest ul           { text-align: center; list-style-position: inside; padding: 0; margin: 20px 0; }
#contest li           { margin-bottom: 10px; color: #dddddd; font-size: 1.1rem; line-height: 1.8; }

.steps-container      { max-width: 600px; margin: 30px auto; padding: 0 20px; }
.step                 { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; gap: 20px; }
.step-number          { background: #ffcc00; color: #0f2027; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.step-text            { margin: 0; color: #dddddd; font-size: 1.1rem; line-height: 1.8; text-align: left; }

/* Scroll Down Arrow Styling (already in your paste) */
#scroll-down-arrow{
  position:absolute;
  left:50%;
  bottom:2.5rem;
  transform:translateX(-50%);
  color:#ffcc00;
  cursor:pointer;
  z-index:10;
  animation:bounce 2s infinite;
}
#scroll-down-arrow svg{ width:2.75rem; height:2.75rem; pointer-events:none; }
@keyframes bounce{
  0%,20%,50%,80%,100%{ transform:translateX(-50%) translateY(0); }
  40%{ transform:translateX(-50%) translateY(-12px); }
  60%{ transform:translateX(-50%) translateY(-6px); }
}
#scroll-down-arrow:active{ transform:translateX(-50%) scale(.95); }

/* Extra Small Mobile Optimizations */
@media (max-width: 360px) {
    header h1                             { font-size: 2.5rem; }
    header p                              { font-size: 1rem; }
    section h2                            { font-size: 1.8rem; }
    section p, section ol                 { font-size: 0.9rem; }
    .btn                                  { font-size: 0.9rem; padding: 8px 16px; }
    .testimonial img                      { width: 100px; height: 100px; }
    .testimonial p                        { font-size: 0.9rem; }
    .terms-text-container                 { padding: 15px; }
    .terms-text-container h2              { font-size: 1.5rem; }
    .terms-text-container h3              { font-size: 1.2rem; }
    .terms-text-container p,
    .terms-text-container li              { font-size: 0.85rem; margin-bottom: 0.8em; }
    section                               { padding: 20px; }
    .social-icons                         { margin: 20px 0 15px 0; }
    .social-icons a                       { font-size: 1.3rem; margin: 0 8px; }
}
