﻿/* =============================================
   CORXOR MODERN DESIGN ENHANCEMENT
   Add this AFTER your existing StyleSheet.css
   This builds upon your current design
   ============================================= */

:root {
    /* Enhanced Color System */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --cosmic-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --dark-gradient: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    /* Refined shadows with layers */
    --shadow-subtle: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-elevated: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-floating: 0 16px 48px rgba(15, 23, 42, 0.18);
    --shadow-dramatic: 0 24px 64px rgba(15, 23, 42, 0.24);
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: blur(12px);
}

/* =============================================
   ENHANCED HERO SLIDER
   ============================================= */

.hero-slider {
    position: relative;
    height: clamp(550px, 92vh, 900px);
    overflow: hidden;
}

.hero-slide {
    height: clamp(550px, 92vh, 900px);
    position: relative;
}

/* Animated gradient overlay with depth */
.hero-overlay {
    background: linear-gradient( 135deg, rgba(15, 23, 42, 0.88) 0%, rgba(79, 70, 229, 0.25) 35%, rgba(6, 182, 212, 0.15) 65%, rgba(15, 23, 42, 0.82) 100% );
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* Modern caption with better hierarchy */
.hero-caption {
    padding: clamp(2rem, 6vw, 5rem);
    max-width: 1280px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Floating scroll indicator */
.hero-scroll-hint {
    bottom: 2.5rem;
    animation: floatBounce 2.5s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 600;
    letter-spacing: 0.05em;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -12px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern navigation arrows with glassmorphism */
.hero-slider .owl-nav button {
    width: 56px;
    height: 56px;
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .hero-slider .owl-nav button:hover {
        background: rgba(79, 70, 229, 0.85) !important;
        border-color: rgba(79, 70, 229, 0.9) !important;
        transform: scale(1.15);
        box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
    }

    .hero-slider .owl-nav button i {
        font-size: 1.5rem;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    }

/* Elegant dot indicators */
.hero-slider .owl-dots {
    bottom: 2rem;
    gap: 10px;
}

.hero-slider .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .owl-dot.active span {
    width: 32px !important;
    border-radius: 4px;
    background: #ffffff !important;
}

.hero-slider .owl-dot:hover span {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* =============================================
   ENHANCED SERVICE CARDS
   ============================================= */

.home-services {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

    /* Subtle animated background */
    .home-services::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
        animation: rotateBackground 30s linear infinite;
        pointer-events: none;
    }

@keyframes rotateBackground {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card {
    position: relative;
    padding: 2rem 1.75rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-elevated);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    /* Gradient accent on hover */
    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--cosmic-gradient);
        transform: scaleX(0);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-floating);
        border-color: rgba(79, 70, 229, 0.3);
    }

.service-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--cosmic-gradient);
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35);
}

.service-card-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
}

/* =============================================
   ENHANCED TEAM SECTION
   ============================================= */

.home-team {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.team-title {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

    .team-title::after {
        background: var(--cosmic-gradient);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

.team-caption {
    font-size: 1.05rem;
    color: #64748b;
}

/* Modern team cards (via owl carousel) */
#TheTeamSection .card {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    #TheTeamSection .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-floating);
    }

#TheTeamSection .card-img-top {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#TheTeamSection .card:hover .card-img-top {
    transform: scale(1.05);
}

#TheTeamSection .card-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* =============================================
   ENHANCED TIPS SECTION (Feature Cards)
   ============================================= */

.home-tips {
    background: #020617;
    position: relative;
    overflow: hidden;
}

    /* Animated grid pattern */
    .home-tips::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: gridMove 20s linear infinite;
        pointer-events: none;
    }

@keyframes gridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

.home-tips .box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    /* Glow effect on hover */
    .home-tips .box::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(79, 70, 229, 0.15) 0%, transparent 50% );
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .home-tips .box:hover::after {
        opacity: 1;
    }

    .home-tips .box:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 56px rgba(79, 70, 229, 0.25);
        border-color: rgba(79, 70, 229, 0.4);
    }

.home-tips .media-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-tips .box:hover .media-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(6, 182, 212, 0.25));
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.3);
}

.home-tips .card-heading {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-tips .card-text {
    color: #94a3b8;
    line-height: 1.65;
}

/* =============================================
   ENHANCED BLOG FEED
   ============================================= */

.home-blog {
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
    position: relative;
}

.blog-feed .feed-header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.blog-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
        border-color: rgba(79, 70, 229, 0.4);
    }

/* Gradient overlay on image */
.blog-card-media::after {
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.6) 70%, rgba(15, 23, 42, 0.9) 100% );
}

.blog-card-media img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.08);
}

.media-badge {
    background: rgba(79, 70, 229, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.blog-card-title {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .blog-card-cta::after {
        content: '→';
        transition: transform 0.3s ease;
    }

.blog-card:hover .blog-card-cta::after {
    transform: translateX(4px);
}

/* =============================================
   RESPONSIVE ENHANCEMENTS
   ============================================= */

@media (max-width: 768px) {
    .hero-slider,
    .hero-slide {
        height: clamp(500px, 75vh, 700px) !important;
    }

    .hero-caption {
        padding: clamp(1.5rem, 4vw, 2rem);
        justify-content: flex-end;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-text {
        font-size: clamp(1rem, 4vw, 1.15rem);
    }

    .service-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .owl-nav button {
        width: 44px;
        height: 44px;
    }

        .hero-slider .owl-nav button i {
            font-size: 1.2rem;
        }

    .service-card-icon {
        width: 64px;
        height: 64px;
    }
}
/* Fix Tips Section */
.home-tips {
    padding: 4rem 0;
    background: #020617;
}

    .home-tips .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .home-tips .row {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
    }

    .home-tips .col-lg-4 {
        flex: 0 0 auto;
        width: calc(33.333% - 1rem);
    }

@media (max-width: 992px) {
    .home-tips .col-lg-4 {
        width: 100%;
    }
}

/* =============================================
   MODERN PROFESSIONAL FOOTER
   Add this to the END of your modern-design.css
   ============================================= */

.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #cbd5e1;
    margin-top: auto;
    position: relative;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(79, 70, 229, 0.5) 50%, transparent 100% );
    }

/* =============================================
   FOOTER MAIN SECTION
   ============================================= */

.footer-main {
    padding: 4rem 0 3rem;
}

    .footer-main .container {
        max-width: 1200px;
    }

/* =============================================
   FOOTER BRAND & DESCRIPTION
   ============================================= */

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

    .footer-logo-link:hover {
        transform: scale(1.05);
    }

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    filter: brightness(1.15);
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    max-width: 340px;
}

/* =============================================
   FOOTER CONTACT INFO
   ============================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.75rem 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .contact-link i {
        width: 18px;
        text-align: center;
        color: #4f46e5;
        font-size: 1rem;
    }

    .contact-link:hover {
        color: #ffffff;
        transform: translateX(3px);
    }

        .contact-link:hover i {
            color: #06b6d4;
        }

/* =============================================
   SOCIAL MEDIA LINKS
   ============================================= */

.footer-social {
    display: flex;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

    .footer-social a {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        font-size: 1.1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
    }

        .footer-social a:hover {
            background: linear-gradient(135deg, #4f46e5, #06b6d4);
            border-color: transparent;
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
        }

/* =============================================
   FOOTER TITLES & LINKS
   ============================================= */

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.875rem;
}

    .footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 36px;
        height: 3px;
        background: linear-gradient(90deg, #4f46e5, #06b6d4);
        border-radius: 3px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.875rem;
    }

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.9rem;
        display: inline-block;
        transition: all 0.3s ease;
        position: relative;
    }

        .footer-links a::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #4f46e5, #06b6d4);
            transition: width 0.3s ease;
        }

        .footer-links a:hover {
            color: #ffffff;
            padding-left: 8px;
        }

            .footer-links a:hover::before {
                width: 100%;
            }

/* =============================================
   NEWSLETTER FORM
   ============================================= */

.newsletter-text {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    /*display: flex;*/
    gap: 0;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px 0 0 10px;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s ease;
}

    .newsletter-input::placeholder {
        color: #64748b;
    }

    .newsletter-input:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    }

.newsletter-btn {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 0 1.25rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .newsletter-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    }

    .newsletter-btn i {
        font-size: 1rem;
    }

/* =============================================
   FOOTER BOTTOM BAR
   ============================================= */

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

    .copyright strong {
        color: #ffffff;
        font-weight: 700;
    }

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

    .footer-legal li {
        display: inline;
    }

    .footer-legal a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.875rem;
        transition: color 0.3s ease;
    }

        .footer-legal a:hover {
            color: #ffffff;
        }

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */

@media (max-width: 991px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        margin-bottom: 1.5rem;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
        text-align: center;
    }

        .footer-bottom .row > div {
            margin-bottom: 1rem;
        }

            .footer-bottom .row > div:last-child {
                margin-bottom: 0;
            }

    .footer-legal {
        justify-content: center;
        gap: 1rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .footer-main .col-6 {
        width: 50%;
        margin-bottom: 2rem;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-desc {
        font-size: 0.875rem;
    }

    .footer-contact {
        gap: 0.875rem;
    }

    .contact-link {
        font-size: 0.85rem;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .newsletter-input {
        font-size: 14px;
        padding: 0.65rem 0.875rem;
    }

    .newsletter-btn {
        padding: 0 1rem;
    }
}

.navbar-light .navbar-toggler-icon, .navbar-light .navbar-toggler-icon::before, .navbar-light .navbar-toggler-icon::after {
    background-color: white;
}

#languagePopup {
    opacity: 0;
    pointer-events: none;
}

    #languagePopup.open {
        opacity: 1;
        pointer-events: auto;
    }

