/* 
   INFINITY INTERNATIONAL TECHNOCRATS COMPANY - Premium Design System 
   Theme: Professional Blue & Vibrant Red
*/

:root {
    /* Core Colors - Rebrand: Blue & Red */
    --color-primary: #1e3a8a; /* Blue 900 */
    --color-primary-light: #2563eb; /* Blue 600 */
    --color-secondary: #dc2626; /* Red 600 */
    --color-secondary-hover: #b91c1c; /* Red 700 */
    --color-text-main: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-dark: linear-gradient(to bottom, #0f172a, #1e3a8a);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(220, 38, 38, 0.3);
    --shadow-blue: 0 0 20px rgba(30, 58, 138, 0.2);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
}

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Utility Classes */
.text-gold { color: var(--color-secondary); }
.bg-navy { background-color: var(--color-primary); }
.bg-gradient-gold { background: var(--gradient-accent); }
.text-navy { color: var(--color-primary); }

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(30, 58, 138, 0.05);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.025em;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Navbar Styles */
.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background: var(--color-secondary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover { color: var(--color-secondary); }
.nav-link:hover::after { width: 100%; }

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 58, 138, 0.05);
    color: var(--color-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(360deg);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

/* Hero Section */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Animations */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse-slow 8s infinite ease-in-out;
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-slide-right {
    animation: slideInRight 1s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f8fafc;
}
::-webkit-scrollbar-thumb:hover { background: #1e3a8a; }

/* Floating Action Button */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}