/* =========================================================
   MAIN.CSS — GLOBAL FOUNDATION FOR SIXMOONS THEME
   Contains: variables, resets, typography, utilities,
   global spacing, buttons & GSAP base animation.
========================================================= */

/* ------------------------------
   1. ROOT VARIABLES
--------------------------------*/
:root {
    --sm-blue: #0056d1;
    --sm-blue-dark: #003c99;
    --sm-blue-soft: #e4edff;
    --sm-gold: #f2b41b;
    --sm-text: #2b2b2b;
    --sm-muted: #6b7280;

    --sm-radius-lg: 18px;
    --sm-radius-md: 12px;

    --sm-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --sm-shadow-strong: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* ------------------------------
   2. GLOBAL RESET
--------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: var(--sm-text);
    overflow-x: hidden;
}

/* ------------------------------
   3. CONTAINER OVERRIDE
--------------------------------*/
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* ------------------------------
   4. GLOBAL SECTION SPACING
--------------------------------*/
.section-white {
    padding: 100px 0;
    background: #ffffff;
}

.section-split {
    padding: 110px 0;
    background: #f7f9fc;
}

/* ------------------------------
   5. TITLES & TEXT
--------------------------------*/
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--sm-blue-dark);
    margin-bottom: 18px;
    position: relative;
    padding-left: 14px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--sm-blue), var(--sm-gold));
}

.section-title.text-center::before {
    left: 50%;
    transform: translateX(-50%);
    top: -12px;
    width: 40px;
    height: 4px;
}

.section-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--sm-muted);
    max-width: 900px;
}

/* ------------------------------
   6. BUTTONS
--------------------------------*/
.btn-primary-custom,
.btn-outline-custom {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    border-width: 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

/* Primary */
.btn-primary-custom {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
    color: #1f2933 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.btn-primary-custom:hover {
    background: #f7c548;
    border-color: #f7c548;
    transform: translateY(-2px);
    box-shadow: var(--sm-shadow-strong);
}

/* Outline */
.btn-outline-custom {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff !important;
}

.btn-outline-custom:hover {
    background: #ffffff;
    color: var(--sm-blue-dark) !important;
}

/* ------------------------------
   7. GSAP BASE ANIMATION CLASSES
--------------------------------*/
[data-anim] {
    opacity: 0;
    transform: translateY(60px);
}

/* Optional variations */
[data-anim*="fade-left"] {
    transform: translateX(-50px);
}
[data-anim*="fade-right"] {
    transform: translateX(50px);
}
[data-anim*="fade-scale"] {
    transform: scale(0.92);
}

/* ------------------------------
   8. FLOATING EFFECT
--------------------------------*/
.floating-card {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* ------------------------------
   9. RESPONSIVE BASE
--------------------------------*/
@media (max-width: 575px) {
    .section-title {
        font-size: 26px;
    }
}
/* ============================================================
   SIXMOONS CTA — PREMIUM BLUE-GOLD GRADIENT
=============================================================== */

.sm-cta {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(135deg, #003c99, #0056d1, #f2b41b);
    background-size: 200% 200%;
    animation: ctaGradient 10s ease infinite;
    color: #ffffff;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Smooth animated gradient */
@keyframes ctaGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow orbs */
.sm-cta::before,
.sm-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 0;
}

.sm-cta::before {
    width: 300px;
    height: 300px;
    left: -80px;
    top: -50px;
    background: rgba(255,255,255,0.35);
}

.sm-cta::after {
    width: 260px;
    height: 260px;
    right: -50px;
    bottom: -40px;
    background: rgba(242,180,27,0.55);
}

.sm-cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.sm-cta-text {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 22px;
    line-height: 1.8;
    color: #f3f5ff;
    position: relative;
    z-index: 1;
}

/* CTA Button */
.btn-cta {
    background: #ffffff;
    color: #003c99 !important;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    box-shadow: 0 10px 25px rgba(255,255,255,0.25);
    transition: 0.25s ease;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    background: #f2b41b;
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 575px) {
    .sm-cta-title {
        font-size: 30px;
    }
    .sm-cta-text {
        font-size: 15px;
    }
}
/* ===========================================================
   WHATSAPP FLOATING WIDGET — Sixmoons Premium
=========================================================== */

.whatsapp-widget {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
}

/* Floating Button */
.whatsapp-button {
    width: 62px;
    height: 62px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 34px;
    height: 34px;
}

/* Popup Chat */
.whatsapp-popup {
    width: 320px;
    position: absolute;
    bottom: 75px;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
}

/* Active Popup */
.whatsapp-popup.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.wa-header {
    background: linear-gradient(120deg, #003c99, #0056d1);
    padding: 15px;
    display: flex;
    align-items: center;
    color: #fff;
}

.wa-logo {
    width: 42px;
    height: 42px;
    margin-right: 12px;
    border-radius: 8px;
}

.wa-header h5 {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}

.wa-header p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.wa-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: 0.3s;
}

.wa-close:hover {
    opacity: 1;
}

/* Body */
.wa-body {
    padding: 18px;
}

.wa-msg {
    background: #f1f4ff;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Chat Button */
.wa-chat-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.wa-chat-btn:hover {
    background: #1ebe5c;
}
/* Fix WhatsApp widget layering */
.whatsapp-widget {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 999999 !important;
}

