/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    background-attachment: fixed;
    color: #ffffff;
    position: relative;
    line-height: 1.6;
}

/* Background animation container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating particles */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.particle-3 {
    top: 80%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.particle-4 {
    top: 30%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 28s;
}

.particle-5 {
    top: 50%;
    left: 20%;
    animation-delay: -20s;
    animation-duration: 32s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Ambient glow effects */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 8s ease-in-out infinite;
}

.ambient-glow-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(64, 224, 255, 0.1) 0%, transparent 70%);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.ambient-glow-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: -3s;
}

.ambient-glow-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 255, 127, 0.06) 0%, transparent 70%);
    bottom: 30%;
    left: 40%;
    animation-delay: -6s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* HOMEPAGE - Centered vertical layout */
.homepage .main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Compact header with logo and tagline */
.compact-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.logo-container-compact {
    position: relative;
}

.logo-compact {
    width: clamp(360px, 38vw, 500px);
    max-width: 100%;
    max-height: 50vh;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: logoGlowCompact 6s ease-in-out infinite;
}

@keyframes logoGlowCompact {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 40px rgba(64, 224, 255, 0.25));
        transform: scale(1.02);
    }
}

.tagline-compact {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
    max-width: 800px;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Content grid with bordered boxes */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 900px;
}

/* About box spans full width */
.about-box {
    grid-column: 1 / -1;
}

/* Services and Contact side-by-side on desktop */
@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-box {
        grid-column: 1 / -1;
    }
}

/* Content box styling - white bordered cards */
.content-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.content-box h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
}

.content-box p {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 8px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

/* Services list styling with blue circle bullets */
.services-list {
    list-style: none;
    padding-left: 0;
}

.services-list li {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.services-list li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: rgba(64, 224, 255, 0.8);
    font-size: 0.7rem;
    top: 0.35em;
}

.services-list li:last-child {
    margin-bottom: 0;
}

/* Contact box specific styling */
.business-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Links */
a {
    color: rgba(64, 224, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: rgba(64, 224, 255, 1);
    text-decoration: underline;
}

/* Compact footer */
.footer-compact {
    text-align: center;
    padding: 16px 12px 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: auto;
    width: 100%;
}

.footer-compact a {
    margin-left: 5px;
}

/* ===== POLICIES PAGE STYLES ===== */

/* Header navigation (policies page) */
.header {
    position: relative;
    z-index: 100;
    padding: 32px 32px 12px;
}

.header-logo {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo-img {
    width: 220px;
    max-width: 45vw;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

/* Main content sections (policies page) */
.policies-page .content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 24px auto 40px;
    padding: 0 32px 40px;
}

.policies-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 32px 0;
    text-align: left;
    letter-spacing: 0.5px;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.policy-section {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.policy-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.policy-section h2 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
}

.policy-section p {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.7;
}

.privacy-note {
    margin-top: 50px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* Policies page footer */
.policies-page .footer {
    position: relative;
    z-index: 10;
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policies-page .footer-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .homepage .main-container {
        padding: 32px 16px 32px;
    }
    
    .compact-header {
        margin-bottom: 32px;
    }
    
    .tagline-compact {
        font-size: 1rem;
    }
    
    .policies-title {
        font-size: 2rem;
    }
}

/* Performance optimizations */
.logo-compact,
.particle,
.ambient-glow {
    will-change: transform, opacity;
}

/* Reduce animations on low-power devices */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .ambient-glow,
    .logo-compact {
        animation: none;
    }
    
    .logo-compact {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    
    .content-box,
    .policy-section {
        transition: none;
    }
}

/* Raise tagline 2/3 closer to logo and add second fade line below */
.tagline-compact {
  margin-top: -242px; /* pull upward relative to old position */
    margin-bottom: 200px; /* push downward to make room for second line */
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 0 12px rgba(120, 210, 255, 0.22);
  position: relative;
  display: inline-block;
  padding-top: 14px;   /* room for top line */
  padding-bottom: 18px; /* room for bottom line */
}

/* Line above */
.tagline-compact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: clamp(220px, 40vw, 520px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(173, 216, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: drop-shadow(0 0 6px rgba(120, 210, 255, 0.25));
}

/* Line below */
.tagline-compact::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: clamp(200px, 35vw, 480px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(173, 216, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: drop-shadow(0 0 5px rgba(120, 210, 255, 0.2));
}

/* Double logo size on policies page */
.policies-page .header-logo-img {
  height: clamp(240px, 28vw, 400px);
    margin-top: -100px; /* pull upward to center */
    margin-bottom: -100px;
    }