/* File: assets/css/style.css */

/* --- 1. VARIABLES & RESET --- */
:root {
    --primary-dark: #0a192f;    /* Deep Tech Blue */
    --primary-blue: #007bff;    /* Bright Blue */
    --accent-orange: #ff9f1c;   /* Tech Orange */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --text-main: #1f2937;
    --text-light: #9ca3af;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 123, 255, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- 2. ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 159, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0); }
}

/* Apply animations */
.animate-up { animation: fadeInUp 0.6s ease-out forwards; }
.pulse-btn { animation: pulseGlow 2s infinite; }
.hover-lift { transition: transform 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); }

/* --- 3. NAVBAR (Glass Effect) --- */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar-brand { font-weight: 800; letter-spacing: -0.5px; color: var(--primary-dark) !important; }

/* --- 4. HERO SECTION --- */
.hero-section {
    position: relative;
    z-index: 1;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(0, 123, 255, 0.8) 100%);
    z-index: -1;
}

/* --- 5. SERVICE CARDS (Hover Effects) --- */
.service-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card .btn-outline-primary {
    border-radius: 50px;
    border-width: 2px;
    font-weight: 600;
}

/* --- 6. TABS (Pills) --- */
.nav-pills .nav-link {
    background: var(--white);
    color: var(--primary-dark);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-pills .nav-link.active {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

/* --- 7. FOOTER (High Visibility Fix) --- */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    padding-bottom: 30px;
    position: relative;
}

.site-footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.site-footer h5::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
    margin-top: 10px;
    border-radius: 2px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent-orange);
    padding-left: 5px; /* Slide effect */
}

/* --- 8. FLOATING ACTION BUTTONS (The New Stack) --- */
.floating-btn {
    position: fixed;
    right: 25px; /* Distance from right */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1050; /* Above everything */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* WhatsApp - Bottom Position */
.btn-whatsapp {
    bottom: 30px;
    background: linear-gradient(45deg, #25D366, #128C7E);
}

/* Call - Stacked Above WhatsApp */
.btn-call {
    bottom: 105px; /* 30px + 60px height + 15px gap */
    background: linear-gradient(45deg, #dc3545, #ff0000); /* Red for emergency */
}