/**
 * Migrated Inline CSS
 * Date: 2025-10-27
 * 
 * This file contains all CSS rules that were previously inline style="..." 
 * attributes or embedded <style> blocks in PHP files.
 * 
 * MIGRATION LOG:
 * - Extracted all <style> blocks from includes/header.php (lines 26-480)
 * - Extracted all <style> blocks from includes/footer.php (lines 224-248)
 * - Converted all inline style="..." to .i-{hash} classes
 * - Load order: MUST be loaded LAST after Bootstrap and theme CSS
 */

/* ===== From includes/header.php <style> block ===== */

:root {
    --primary-color: #1a5490;
    --secondary-color: #2196F3;
    --accent-color: #FFA726;
    --dark-color: #0a1929;
    --light-color: #f0f4f8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #1a5490 0%, #2196F3 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    padding-top: 85px; 
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f0f4f8;
}

/* Premium Navbar with Glassmorphism */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(33, 150, 243, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Premium Logo Container */
.logo-container {
    position: relative;
    display: inline-block;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #2196F3, #FFA726, #2196F3);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.navbar-brand:hover .logo-container::before {
    opacity: 0.7;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Desktop Logo */
.navbar-brand .logo-desktop {
    height: 64px;
    width: auto;
    max-width: 220px;
    transition: all 0.4s ease;
    display: block;
    border-radius: 10px;
}

/* Mobile Logo */
.navbar-brand .logo-mobile {
    height: 64px;
    width: auto;
    transition: all 0.4s ease;
    display: none;
    border-radius: 10px;
}

.navbar-brand:hover .logo-desktop,
.navbar-brand:hover .logo-mobile {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(33, 150, 243, 0.3));
}

@media (max-width: 768px) {
    .navbar-brand .logo-desktop {
        display: none;
    }
    .navbar-brand .logo-mobile {
        display: block;
    }
}

/* Premium Navigation Links */
.nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 18px !important;
    margin: 0 5px;
    border-radius: 8px;
    color: #1a5490 !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2196F3, #FFA726);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
}

.nav-link:hover {
    color: #2196F3 !important;
    background: rgba(33, 150, 243, 0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3 !important;
}

/* Premium Hero Section with Particles */
.hero-section {
    background: linear-gradient(135deg, #0a1929 0%, #1a5490 50%, #2196F3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 167, 38, 0.2) 0%, transparent 50%);
    z-index: 1;
}

/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #2196F3, #FFA726, #2196F3);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-animation 3s ease infinite;
}

@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Premium Cards with 3D Effect */
.feature-card, .product-card {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(33, 150, 243, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(255, 167, 38, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before,
.product-card:hover::before {
    opacity: 1;
}

.feature-card:hover, .product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(33, 150, 243, 0.2);
    border-color: var(--secondary-color);
}

/* Premium Icon Design */
.feature-icon, .product-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a5490, #2196F3);
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
    position: relative;
}

.feature-icon::after,
.product-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2196F3, #FFA726);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after,
.product-card:hover .product-icon::after {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.feature-card:hover .feature-icon,
.product-card:hover .product-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.4);
}

/* Pricing Card Header Hover Effect */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card > div[style*="background: linear-gradient"] {
    transition: all 0.3s ease;
}

.feature-card > div[style*="background: linear-gradient"] h4,
.feature-card > div[style*="background: linear-gradient"] span {
    transition: color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.feature-card:hover > div[style*="background: linear-gradient(135deg, rgba(26, 84, 144, 0.1)"] {
    background: linear-gradient(135deg, #1a5490, #2196F3) !important;
}

.feature-card:hover > div[style*="background: linear-gradient(135deg, rgba(26, 84, 144, 0.1)"] h4,
.feature-card:hover > div[style*="background: linear-gradient(135deg, rgba(26, 84, 144, 0.1)"] span {
    color: white !important;
}

/* Premium Buttons */
.btn {
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 350px;
    height: 350px;
}

.btn-primary {
    background: linear-gradient(135deg, #1a5490, #2196F3);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.5);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Page Header with Premium Design */
.page-header {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #0a1929 0%, #1a5490 50%, #2196F3 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(33, 150, 243, 0.3) 0%, transparent 50%);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Loading Spinner */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1929 0%, #1a5490 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
}

/* ===== From includes/footer.php <style> block ===== */

.hover-link {
    transition: all 0.3s ease;
}

.social-links .btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links .btn:hover {
    background: linear-gradient(135deg, #1a5490, #2196F3) !important;
    color: white !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
}

#backToTop {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#backToTop:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.5) !important;
}

/* ===== Inline Styles from includes/header.php ===== */

/* navbar-toggler filter (line 499) */
.i-a7f4c {
    filter: brightness(0) saturate(100%) invert(18%) sepia(79%) saturate(1776%) hue-rotate(198deg) brightness(94%) contrast(94%);
}

/* ===== Inline Styles from includes/footer.php ===== */

/* footer main container (line 2) */
.i-b3e8d {
    background: #ffffff;
    border-top: 2px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

/* footer logo styling (line 7) */
.i-c9f2a {
    padding: 8px;
    border-radius: 12px;
}

/* footer brand title (line 9) */
.i-d1a5b {
    color: #1a5490;
}

/* footer brand subtitle (line 10) */
.i-e2b6c {
    color: #6c757d;
}

/* footer description text (line 13) */
.i-f3c7d {
    color: #6c757d;
    line-height: 1.7;
}

/* social button (lines 17,20,23,26) - reused */
.i-g4d8e {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: none;
}

/* section heading (lines 32,42,52) - reused */
.i-h5e9f {
    color: #1a5490;
}

/* link color (lines 34-38, 44-48, 60, 64, 81-83) - reused */
.i-j6f0g {
    color: #6c757d;
}

/* icon color (lines 34-38, 44-48) - reused */
.i-k7g1h {
    color: #2196F3;
}

/* contact icon with size (lines 55,59,63,67) - reused */
.i-m8h2j {
    color: #2196F3;
    font-size: 1.2rem;
}

/* footer bottom bar (line 74) */
.i-n9j3k {
    background: rgba(33, 150, 243, 0.03);
    border-top: 1px solid rgba(33, 150, 243, 0.08);
}

/* copyright text (line 78) */
.i-p0k4m {
    color: #6c757d;
    font-size: 0.95rem;
}

/* back to top button (line 91) */
.i-q1m5n {
    display: none;
    position: fixed;
    bottom: 84px;
    right: 30px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* icon margin reset (line 92) */
.i-r2n6p {
    margin: 0;
    padding: 0;
}

/* ===== Inline Styles from index.php ===== */

/* hero badge with glassmorphism (line 13) */
.i-s3p7q {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

/* hero lead text (line 17) */
.i-t4q8r {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* check icon style (lines 28,32,36) - reused */
.i-u5r9s {
    color: #4CAF50;
    font-size: 1.5rem;
}

/* hero image drop shadow (line 43) */
.i-v6s0t {
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
    border-radius: 20px;
}

/* white background section (lines 51, 162) - reused */
.i-w7t1u {
    background: white;
}

/* gradient badge (line 54) */
.i-x8u2v {
    background: linear-gradient(135deg, #1a5490, #2196F3);
    color: white;
    border-radius: 50px;
}

/* stats section gradient (line 126) */
.i-y9v3w {
    background: linear-gradient(135deg, #0a1929 0%, #1a5490 100%);
}

/* stats icon color (lines 131,138,145,152) - reused */
.i-z0w4x {
    color: #FFA726;
}

/* inline feature icon sizing (lines 173,185,197,209,221,233) - reused */
.i-a1x5y {
    width: 60px;
    height: 60px;
    margin: 0;
}

/* CTA section background (line 246) */
.i-b2y6z {
    background: #174d83;
}

/* CTA lead text opacity (line 251) */
.i-c3z7a {
    opacity: 0.95;
}

