/* ========================================
   SMART-TEAM CUSTOM COLOR PALETTE
   ======================================== */

:root {
    --primary-dark-blue: #1a237e;
    --bright-blue: #2196f3;
    --vibrant-orange: #ff9800;
    --success-green: #4caf50;
    --light-gray: #f5f5f5;
}

/* Smooth Scrolling for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Typography & Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Custom Color Classes */
.bg-dark-blue { background-color: var(--primary-dark-blue) !important; }
.text-dark-blue { color: var(--primary-dark-blue) !important; }
.bg-bright-blue { background-color: var(--bright-blue) !important; }
.text-bright-blue { color: var(--bright-blue) !important; }
.bg-orange { background-color: var(--vibrant-orange) !important; }
.text-orange { color: var(--vibrant-orange) !important; }

/* Navbar */
.navbar {
    background-color: var(--primary-dark-blue);
}
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Buttons */
.btn-orange {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    border: none;
    color: white;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-orange:hover {
    background: linear-gradient(45deg, #f57c00, #e65100);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #0d47a1 100%);
    position: relative;
    overflow: hidden;
}

/* FIX: The overlay background now allows clicks to pass through */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(33, 150, 243, 0.2), transparent 70%);
    z-index: 0;
    pointer-events: none; 
}

/* FIX: Pushes the actual content above the overlay so buttons are clickable */
.hero-section .container {
    position: relative;
    z-index: 1; 
}

.hero-graphic {
    box-shadow: 0 0 50px rgba(255, 152, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Section Headings */
h1, h2, h3, h4 {
    font-weight: 700;
}

/* ========================================
   MOBILE GRID OPTIMIZATIONS
   ======================================== */
@media (max-width: 767px) {
    /* Make icons smaller on mobile so they fit in 2 columns */
    .fa-3x { font-size: 2rem !important; }
    .fa-2x { font-size: 1.5rem !important; }
    .fa-8x { font-size: 4rem !important; } 
    
    /* Adjust card padding and text size for mobile */
    .card-body { padding: 1rem !important; }
    .card-body h2, .card-body h3 { font-size: 1.2rem !important; }
    .card-body h4, .card-body h5 { font-size: 1rem !important; }
    .card-body p { font-size: 0.75rem !important; }
    
    /* Adjust the numbered circles in "How it works" */
    .bg-orange.rounded-circle { 
        width: 35px !important; 
        height: 35px !important; 
        font-size: 0.9rem !important;
    }
}

/* ========================================
   ANNOUNCEMENTS BANNER
   ======================================== */
.announcement-banner {
    background: linear-gradient(90deg, #1a237e, #0d47a1);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 2px solid #ff9800;
}

.announcement-scroll {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.announcement-item {
    padding: 0 30px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.announcement-banner:hover .announcement-scroll {
    animation-play-state: paused;
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */

/* Base floating button styles */
.floating-whatsapp {
    position: fixed;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    text-decoration: none;
}

/* Personal Contact Button (Top - Green) */
.floating-personal {
    bottom: 140px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse-green 2s infinite;
}

.floating-personal:hover {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Group Button (Bottom - Orange) */
.floating-group {
    bottom: 30px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    animation: pulse-orange 2s infinite;
}

.floating-group:hover {
    box-shadow: 0 6px 30px rgba(255, 152, 0, 0.6);
}

/* Logo styling */
.floating-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: 10px;
}

/* Text styling */
.floating-text {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pulse animations */
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 152, 0, 0.8);
    }
}

/* Mobile optimization */
@media (max-width: 767px) {
    .floating-whatsapp {
        right: 20px;
        padding: 10px 15px;
    }
    
    .floating-personal {
        bottom: 110px;
    }
    
    .floating-group {
        bottom: 20px;
    }
    
    .floating-logo {
        width: 35px;
        height: 35px;
    }
    
    .floating-text {
        font-size: 12px;
    }
}