/* Services Custom Styles - Orange Theme */

/* CSS Variables - Orange Theme */
:root {
    --primary: #de5e09;
    --secondary: #E67E22;
    --primary-light: #F97316;
    --primary-dark: #C2410C;
    --primary-hover-bg: rgba(222, 94, 9, 0.08);
    --transition: all 0.3s ease;
    --text-dark: #1f2937;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* CTA Button in Nav */
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(222, 94, 9, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 94, 9, 0.3);
}

/* Hero Section */
.animate-blob {
    animation: blob 10s ease-in-out infinite;
    will-change: transform;
}

@keyframes blob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 30% 60% / 30% 60% 70% 40%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
        transform: rotate(270deg) scale(1.05);
    }
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Process Section */
.process-step {
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-number {
    transition: all 0.4s ease;
}

.process-step:hover .process-number {
    transform: scale(1.15);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .side-nav {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
    }

    .nav-container {
        padding: 0 1rem;
        height: 64px;
    }

    .nav-menu {
        display: none;
    }

    .side-nav {
        display: none;
    }

    .logo img {
        height: 35px;
    }

    /* Service Cards Mobile */
    .service-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .logo img {
        height: 30px;
    }
}

/* Utility Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: rgba(222, 94, 9, 0.3);
    color: #1f2937;
}

/* Focus Styles */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* ============================================
   NAVBAR - Orange Theme Override
   Ensures navbar underline uses orange gradient
   ============================================ */

.nav-link::after {
    background: linear-gradient(135deg, #de5e09, #E67E22);
}

.nav-link:hover,
.nav-link.active {
    color: #de5e09;
}

/* ============================================
   SIDE NAVIGATION - Orange Theme Override
   Overrides hardcoded purple colors in global.css
   ============================================ */

/* Inactive dot border - change purple to orange */
.side-nav-dot {
    border-color: rgba(222, 94, 9, 0.5);
}

.side-nav-item.active .side-nav-dot {
    background: linear-gradient(135deg, #de5e09, #de5e09);
    border-color: #de5e09;
    box-shadow: 0 4px 12px rgba(222, 94, 9, 0.4);
}

.side-nav-item.active .side-nav-label {
    background: linear-gradient(135deg, #de5e09, #de5e09);
    border-color: #de5e09;
}

.side-nav-item:hover .side-nav-dot {
    border-color: #de5e09;
    box-shadow: 0 4px 12px rgba(222, 94, 9, 0.3);
}

@keyframes activePulseOrange {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(222, 94, 9, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(222, 94, 9, 0.6);
    }
}

.side-nav-item.active .side-nav-dot {
    animation: activePulseOrange 2s ease-in-out infinite;
}
