/*
 * DEXTEROUS FACILITY SERVICES - MODERN THEME
 * Logo-based color scheme with animations
 * Version: 2.0
 */

/* ============================================
   COLOR VARIABLES (Based on Logo Colors)
   ============================================ */
:root {
    /* Primary Colors (From Logo) */
    --primary-color: #00A8E8;        /* Bright Blue */
    --primary-dark: #007EA7;         /* Dark Blue */
    --primary-light: #4CC9F0;        /* Light Blue */
    --secondary-color: #00D9FF;      /* Cyan */
    --accent-color: #FFB703;         /* Orange/Yellow Accent */
    
    /* Neutral Colors */
    --dark-bg: #1A1A2E;              /* Dark Background */
    --light-bg: #F8F9FA;             /* Light Background */
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #00A8E8 0%, #007EA7 100%);
    --gradient-secondary: linear-gradient(135deg, #4CC9F0 0%, #00D9FF 100%);
    --gradient-accent: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    
    /* Shadow Variables */
    --shadow-sm: 0 2px 4px rgba(0, 168, 232, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 168, 232, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 168, 232, 0.2);
    --shadow-xl: 0 12px 40px rgba(0, 168, 232, 0.25);
    
    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   GLOBAL ANIMATIONS
   ============================================ */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 168, 232, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 168, 232, 0.6);
    }
}

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

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   HEADER STYLING
   ============================================ */

/* Header Top Bar */
.header-top {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 0;
    animation: slideInLeft 0.6s ease;
}

.header-top .text p {
    color: var(--white);
    font-weight: 500;
    margin: 0;
}

.header-top .info li {
    color: var(--white);
}

.header-top .info li a {
    color: var(--white);
    transition: var(--transition-normal);
}

.header-top .info li a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.header-top .social-links li a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.header-top .social-links li a:hover {
    background: var(--accent-color);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: var(--shadow-md);
}

/* Header Upper */
.header-upper {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    animation: fadeIn 0.8s ease;
}

/* Logo Animation */
.logo-box .logo img {
    transition: var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(0, 168, 232, 0.2));
}

.logo-box .logo:hover img {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 16px rgba(0, 168, 232, 0.4));
}

/* Navigation Menu */
.main-menu .navigation > li {
    position: relative;
    margin: 0 5px;
}

.main-menu .navigation > li > a {
    color: var(--gray-800);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.main-menu .navigation > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.main-menu .navigation > li > a:hover::before,
.main-menu .navigation > li.current > a::before {
    width: 80%;
}

.main-menu .navigation > li > a:hover {
    color: var(--primary-color);
    background: rgba(0, 168, 232, 0.05);
}

/* Sticky Header */
.sticky-header {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    animation: slideInLeft 0.4s ease;
}

.sticky-header.fixed-header {
    animation: slideInLeft 0.4s ease;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

/* Primary Button */
.btn-one,
.theme-btn,
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.btn-one::before,
.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-one:hover::before,
.theme-btn:hover::before {
    left: 0;
}

.btn-one:hover,
.theme-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

/* Secondary Button */
.btn-two {
    background: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition-normal);
}

.btn-two:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   BANNER SECTION
   ============================================ */

.banner-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.banner-section .content-box {
    animation: fadeIn 1s ease;
}

.banner-section h6 {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease;
}

.banner-section h1 {
    color: var(--white);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: slideInLeft 1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    animation: slideInLeft 1.2s ease;
}

.banner-section .btn-box {
    animation: slideInLeft 1.4s ease;
}

.banner-section .image-layer img {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 168, 232, 0.3));
}

/* ============================================
   SERVICE SECTION
   ============================================ */

.service-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.service-block-one {
    margin-bottom: 30px;
    animation: scaleIn 0.6s ease;
    transition: var(--transition-normal);
}

.service-block-one:hover {
    transform: translateY(-10px);
}

.service-block-one .inner-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-block-one:hover .inner-box {
    box-shadow: var(--shadow-xl);
}

.service-block-one .image-box {
    position: relative;
    overflow: hidden;
}

.service-block-one .image-box img {
    transition: var(--transition-slow);
    width: 100%;
}

.service-block-one:hover .image-box img {
    transform: scale(1.1);
}

.service-block-one .lower-content {
    padding: 30px;
    background: var(--gradient-primary);
    position: relative;
}

.service-block-one .lower-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-block-one:hover .lower-content::before {
    opacity: 1;
}

.service-block-one .icon-box {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-block-one:hover .icon-box {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.service-block-one .icon-box i {
    font-size: 40px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.service-block-one:hover .icon-box i {
    color: var(--accent-color);
}

.service-block-one h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-block-one h3 a {
    color: var(--white);
    transition: var(--transition-normal);
}

.service-block-one:hover h3 a {
    color: var(--accent-color);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-section .image-box {
    position: relative;
    animation: slideInLeft 0.8s ease;
}

.about-section .image-box img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.about-section .image-box:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.about-section .text-box {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: pulse 3s ease-in-out infinite;
}

.about-section .text-box h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-section .content-box {
    animation: slideInRight 0.8s ease;
}

.about-section .sec-title h6 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-section .sec-title h2 {
    color: var(--gray-900);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-section .text h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-section .text p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-section .list-style-one li {
    color: var(--gray-800);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: var(--gray-100);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-normal);
}

.about-section .list-style-one li:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   CARDS & BOXES
   ============================================ */

.card,
.info-box,
.feature-box {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    animation: fadeIn 0.6s ease;
}

.card:hover,
.info-box:hover,
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FORMS
   ============================================ */

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 15px;
    transition: var(--transition-normal);
    background: var(--white);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 25px;
    animation: fadeIn 0.6s ease;
}

.form-group label {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.main-footer h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.main-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.main-footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
}

.main-footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-top {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    animation: pulse 2s ease-in-out infinite;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
    animation: none;
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-300);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE ANIMATIONS
   ============================================ */

@media (max-width: 768px) {
    .banner-section h1 {
        font-size: 36px;
    }
    
    .about-section .sec-title h2 {
        font-size: 32px;
    }
    
    .service-block-one {
        margin-bottom: 20px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease;
}

.animate-scale {
    animation: scaleIn 0.6s ease;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: var(--transition-normal);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}
