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

:root {
    --primary-color: #F2C142;
    /* Premium Yellow Gold */
    --primary-glow: rgba(242, 193, 66, 0.3);
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(242, 193, 66, 0.4);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Base Typo */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

/* Background Gradients (Glow Orbs) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-muted {
    color: var(--text-muted);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1.125rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(242, 193, 66, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(242, 193, 66, 0.5);
    background-color: #fce38a;
}

.btn-glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Nav CTA Button */
.nav-cta-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f59e0b 100%);
    color: #111 !important;
    border: none;
    box-shadow: 0 0 15px rgba(242, 193, 66, 0.4);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem !important;
    margin-left: 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta-btn:hover {
    box-shadow: 0 0 25px rgba(242, 193, 66, 0.6);
    transform: translateY(-2px);
    color: #000 !important;
}

.nav-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.sticky {
    padding: 1rem 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    color: #e5e7eb;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.75rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* Above bg image, below content */
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
    mix-blend-mode: luminosity;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.6) 0%, rgba(10, 10, 12, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(242, 193, 66, 0.1);
    border: 1px solid rgba(242, 193, 66, 0.3);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Glassmorphism Cards */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Animated Border Glow */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 193, 66, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(242, 193, 66, 0.1);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card i.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
}

.link-arrow i {
    color: var(--primary-color);
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--primary-color);
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* Infinite Marquee */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 3rem 0;
    background: #0f172a;
    /* Slightly different dark for contrast */
}

/* Fading edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0c 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0c 0%, transparent 100%);
}

.marquee {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.marquee-item i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.marquee-item:hover i {
    color: var(--primary-color);
}

.marquee-item:hover span {
    color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Inner Page Header */
.page-header {
    padding: 12rem 0 6rem;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* CTA Footer Section */
.cta-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 3rem;
}

/* Footer */
.footer {
    background: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    color: var(--text-muted);
    text-align: center;
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Responsive Updates */
@media (max-width: 992px) {

    .glass-grid[style*="1fr 1.5fr"],
    .glass-grid[style*="1fr 1fr; margin-bottom: 6rem"],
    .glass-grid[style*="1fr 1fr;"] {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .glass-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================================================= */
/* FINAL GLOBAL POLISH & SCROLLBAR CUSTOMIZATION */
/* ========================================================================= */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--bg-dark);
}

::-webkit-scrollbar-track {
    background: #0a0a0c;
    border-left: 1px solid var(--border-glass);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2f;
    border-radius: 6px;
    border: 3px solid #0a0a0c; /* Provides padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Enhanced Hover Effects on Buttons and Cards */
.btn-primary {
    transition: all 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-primary:hover {
    box-shadow: 0 5px 20px rgba(242, 193, 66, 0.3) !important;
    transform: translateY(-2px);
}

.nav-cta-btn:hover {
    background: var(--primary-color) !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(242, 193, 66, 0.2);
}

/* Ensure glass cards lift slightly with a shadow on hover */
.glass-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 193, 66, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Mobile Responsiveness for Top Service Layouts */
@media (max-width: 900px) {
    .glass-grid {
        grid-template-columns: 1fr !important;
    }
    
    .glow-orb {
        width: 300px !important;
        height: 300px !important;
        opacity: 0.15 !important;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
}
