/* Enhanced Styles for CloudBridge Partners - PRIORITY VERSION
   This file should load AFTER style.css */

:root {
    --primary-blue: #0066cc;
    --dark-blue: #003d7a;
    --light-blue: #e6f2ff;
    --accent-orange: #ff6b35;
    --gradient-start: #0066cc;
    --gradient-end: #00a8e8;
}

/* ========================================
   HERO SECTION WITH BACKGROUND IMAGE
   ======================================== */

.hero-section,
section#home.hero-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 232, 0.85)), 
                url('/assets/images/hero-team.jpg') center/cover no-repeat !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 6rem 2rem !important;
    min-height: 600px !important;
}

.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') !important;
    opacity: 0.2 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

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

.hero-section h1,
.hero-section p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    position: relative !important;
    z-index: 2 !important;
}

/* ========================================
   NAVIGATION ENHANCEMENTS
   ======================================== */

.Navshadow {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.navbar-brand img {
    transition: transform 0.3s ease !important;
}

.navbar-brand img:hover {
    transform: scale(1.05) !important;
}

.nav-link {
    position: relative !important;
    transition: color 0.3s ease !important;
}

.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--primary-blue) !important;
    transition: width 0.3s ease !important;
}

.nav-link:hover::after {
    width: 100% !important;
}

/* ========================================
   CTA BUTTONS
   ======================================== */

.quote {
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.quote:first-child {
    background: white !important;
    color: var(--primary-blue) !important;
    border-color: white !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.quote:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3) !important;
}

.quote:first-child:hover {
    background: rgba(255,255,255,0.95) !important;
}

.quote:not(:first-child):hover {
    background: white !important;
    color: var(--primary-blue) !important;
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-card {
    transition: all 0.3s ease !important;
    border-radius: 20px !important;
    border-left: 5px solid var(--primary-blue) !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.service-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0,102,204,0.2) !important;
}

.service-card:hover::before {
    opacity: 0.05 !important;
}

.service-card h3,
.service-card ul {
    position: relative !important;
    z-index: 1 !important;
}

.service-card ul li {
    position: relative !important;
    padding-left: 1.5rem !important;
}

.service-card ul li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--primary-blue) !important;
    font-weight: bold !important;
}

/* ========================================
   DECORATIVE FLOATING ELEMENTS
   ======================================== */

.section-decoration {
    position: relative !important;
}

.section-decoration::before {
    content: '' !important;
    position: absolute !important;
    top: -50px !important;
    right: 5% !important;
    width: 100px !important;
    height: 100px !important;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    opacity: 0.1 !important;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
    animation: float 6s ease-in-out infinite !important;
    z-index: 0 !important;
}

.section-decoration::after {
    content: '' !important;
    position: absolute !important;
    bottom: -30px !important;
    left: 10% !important;
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, var(--accent-orange), #ff8555) !important;
    opacity: 0.08 !important;
    border-radius: 70% 30% 30% 70% / 60% 60% 40% 40% !important;
    animation: float 8s ease-in-out infinite reverse !important;
    z-index: 0 !important;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ========================================
   DIFFERENTIATOR CARDS
   ======================================== */

.difference-card {
    transition: all 0.3s ease !important;
    border-radius: 20px !important;
    background: white !important;
    cursor: pointer !important;
}

.difference-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 15px 40px rgba(0,102,204,0.25) !important;
}

.difference-card h5 {
    color: var(--dark-blue) !important;
    font-weight: 700 !important;
}

/* ========================================
   FEATURE CARDS (WHY CHOOSE US)
   ======================================== */

.feature-card {
    border-radius: 20px !important;
    border-top: 4px solid var(--accent-orange) !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15) !important;
}

.feature-card h4 {
    color: var(--dark-blue) !important;
    font-weight: 700 !important;
}

/* ========================================
   TESTIMONIAL CARDS
   ======================================== */

.testimonial-card {
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    border: none !important;
}

.testimonial-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0,102,204,0.2) !important;
}

/* ========================================
   STATS COUNTER SECTION
   ======================================== */

.stats-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)) !important;
    color: white !important;
    padding: 4rem 2rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.stats-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>') !important;
    z-index: 0 !important;
}

.stat-card {
    text-align: center !important;
    padding: 2rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.stat-number {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.stat-label {
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 500 !important;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

#contact,
section#contact {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)) !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
}

#contact::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots2" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots2)"/></svg>') !important;
    z-index: 0 !important;
}

#contact h2,
#contact p,
#contact .lead {
    position: relative !important;
    color: white !important;
    z-index: 1 !important;
}

.contact_sec {
    position: relative !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    z-index: 1 !important;
}

.contact-form .form-control {
    border-radius: 12px !important;
    background: rgba(255,255,255,0.95) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.contact-form .form-control:focus {
    background: white !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3) !important;
}

.contact-form .btn-primary {
    background: var(--accent-orange) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.contact-form .btn-primary:hover {
    background: #ff8555 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(255,107,53,0.4) !important;
}

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

footer,
footer.bg-dark {
    background: #1a1a1a !important;
    color: white !important;
    padding: 3rem 0 1.5rem !important;
}

.footer-section {
    margin-bottom: 2rem !important;
}

.footer-section h5 {
    color: white !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.1rem !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
}

.footer-links li {
    margin-bottom: 0.8rem !important;
}

.footer-links a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.footer-links a:hover {
    color: var(--primary-blue) !important;
    padding-left: 5px !important;
}

.footer-logo {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 1rem !important;
}

.footer-text {
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
}

.social-links {
    display: flex !important;
    gap: 1rem !important;
}

.social-links a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.social-links a:hover {
    background: var(--primary-blue) !important;
    transform: translateY(-3px) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding-top: 1.5rem !important;
    margin-top: 2rem !important;
}

/* ========================================
   FLOATING ACTION BUTTON
   ======================================== */

.floating-cta {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 1000 !important;
    animation: fadeInUp 0.6s ease !important;
}

.floating-cta .btn {
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    background: var(--accent-orange) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.floating-cta .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5) !important;
    background: #ff8555 !important;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    z-index: 999 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: var(--dark-blue) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2) !important;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.back-to-top:hover {
    background: var(--primary-blue) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,102,204,0.4) !important;
}

/* ========================================
   SECTION SPACING & TYPOGRAPHY
   ======================================== */

section {
    padding: 5rem 0 !important;
}

section.py-5 {
    padding: 5rem 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

h2 {
    font-size: 2.5rem !important;
}

h2.fw-bold {
    background: none !important;
    color: inherit !important;
}

h2.fw-bold::after {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)) !important;
    margin: 1rem auto 0 !important;
    border-radius: 2px !important;
}

p.lead {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
}

/* ========================================
   RIPPLE EFFECT
   ======================================== */

.btn-ripple {
    position: relative !important;
    overflow: hidden !important;
}

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

.btn-ripple:active::after {
    width: 300px !important;
    height: 300px !important;
}

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

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

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-section,
    section#home.hero-section {
        padding: 4rem 1rem !important;
        min-height: 500px !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .floating-cta {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .floating-cta .btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .back-to-top {
        bottom: 80px !important;
        left: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* END OF FILE */
