:root {
    --primary-color: #007fb9;
    --primary-dark: #00608c;
    --accent-red: #c22026;
    --text-dark: #1d1d1f;
    --text-light: #f5f5f7;
    --bg-gray: #f5f5f7;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

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

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Hero Section (No full height) */
.hero-wrapper {
    position: relative;
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s ease-in-out infinite alternate;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

/* Small Hero Section for other pages */
.page-hero-wrapper {
    position: relative;
    width: 100vw;
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/page-hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

/* Glassmorphism Elements */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center; /* Centered content for cards */
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
}

.max-w-800 { max-width: 800px; }

/* Buttons */
.btn-apple {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 980px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apple:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.btn-apple-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 980px;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-apple-outline:hover {
    background-color: white;
    color: var(--text-dark);
    transform: scale(1.05);
}

.float-img {
    animation: floatAnimation 6s ease-in-out infinite;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.icon-apple {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #45a1ff);
    color: white;
    font-size: 24px;
    margin: 0 auto 20px auto; /* Centered icon */
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* New Hero Styling with WebGL & Floating Badges */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below content, above background */
    pointer-events: none;
}

.hero-wrapper.world-class {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0093E9 0%, #80D0C7 100%);
}

.floating-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

/* Animations for CTAs and Nav Links */
.nav-animated-link {
    transition: all 0.3s ease;
    position: relative;
}
.nav-animated-link:hover {
    color: var(--accent-red) !important;
    transform: translateY(-2px);
}
.nav-animated-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-animated-link:hover::after {
    width: 80%;
}

.btn-animated, .btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-animated:hover, .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.whatsapp-sticky:hover {
    transform: scale(1.15) !important;
}

/* Custom Interactive Tabs */
.custom-tabs-container {
    background-color: #fff;
}
.custom-v-pills .nav-link {
    background: transparent;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.custom-v-pills .nav-link:hover {
    background: rgba(0, 0, 0, 0.03);
}
.custom-v-pills .nav-link.active {
    background: #fff;
    color: var(--primary-color) !important;
    border-left: 4px solid var(--accent-red);
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
}
.custom-v-pills .nav-link.active .transition-icon {
    color: var(--accent-red) !important;
    transform: scale(1.2);
}
.transition-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}
.tab-pane {
    transition: opacity 0.4s ease-in-out;
}

.floating-badge.badge-top-left {
    top: -10px;
    left: -20px;
}

.floating-badge.badge-bottom-right {
    bottom: -10px;
    right: -20px;
    animation-delay: 1.5s;
}

@media (max-width: 991px) {
    .hero-wrapper.world-class {
        padding: 80px 0;
    }
    .floating-badge {
        padding: 8px 12px;
        transform: scale(0.9);
    }
    .floating-badge h6 {
        font-size: 14px;
        margin-bottom: 0;
    }
    .floating-badge p {
        font-size: 10px;
    }
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.badge-icon.success { background: #10b981; }
.badge-icon.primary { background: #0071e3; }

.badge-text { text-align: left; }
.badge-text h6 { margin: 0; font-weight: 700; font-size: 0.9rem; color: #1d1d1f; }
.badge-text p { margin: 0; font-size: 0.75rem; color: #6e6e73; }

.hero-stats h2 { font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.hero-stats p { color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; }

@media (max-width: 575px) {
    .hero-stats h2 {
        font-size: 1.8rem;
    }
    .hero-stats p {
        font-size: 0.75rem;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    max-width: 250px;
    height: auto;
    animation: preloaderPulse 3s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

