/* ==========================================================================
   Web Tech Empower Custom Styling
   ========================================================================== */

/* Design Variables */
:root {
    --color-primary: #0046C7;
    --color-primary-light: #EBF1FF;
    --color-primary-dark: #0A192F;
    --color-accent: #EF4444;
    --color-accent-light: #FEE2E2;
    --color-accent-dark: #B91C1C;
    --color-purple: #8B5CF6;
    --color-purple-light: #F5F3FF;
    
    --color-text-main: #334155;
    --color-text-muted: #64748B;
    --color-bg-light: #FAFDFE;
    --color-bg-light-alt: #F8FAFC;
    --color-border: #E2E8F0;
    
    --navy-gradient: linear-gradient(135deg, #050C1B 0%, #0B1E3F 100%);
    --light-gradient: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 100%);
    --stats-gradient: linear-gradient(90deg, #F0F4FC 0%, #F5F8FE 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Base resets & styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
}

.fw-extra-bold {
    font-weight: 800;
}

.fw-bold {
    font-weight: 700;
}

.max-w-700 {
    max-width: 700px;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

a {
    transition: var(--transition-fast);
}

/* Custom Text utilities */
.text-blue-dark { color: var(--color-primary-dark); }
.text-blue-primary { color: var(--color-primary); }
.text-danger-coral { color: var(--color-accent); }
.bg-blue-light { background-color: var(--color-primary-light); }
.bg-red-light { background-color: var(--color-accent-light); }
.bg-purple-light { background-color: var(--color-purple-light); }
.text-purple { color: var(--color-purple); }

/* SVG Arrows and links styling */
.arrow-icon {
    transition: transform 0.25s ease;
}
a:hover .arrow-icon {
    transform: translateX(4px);
}

/* Header & Navigation Styling */
.navbar-wrapper {
    transition: var(--transition-normal);
    z-index: 1030;
}

.navbar {
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.navbar-brand {
    padding: 0;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 1px;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-main);
    padding: 0.5rem 1rem !important;
    margin: 0 0.15rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.btn-primary-cta {
    background-color: var(--color-primary-dark);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-primary-cta:hover {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 70, 199, 0.25);
    transform: translateY(-1px);
}

/* Sticky Nav scroll custom class */
.navbar-scrolled .navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(235, 241, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(254, 226, 226, 0.3) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-subtitle {
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    color: var(--color-primary);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-accent) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 540px;
}

.btn-hero-primary {
    background-color: var(--color-primary-dark);
    color: white;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.btn-hero-primary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 70, 199, 0.25);
}

.btn-hero-secondary {
    background-color: white;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-hero-secondary:hover {
    background-color: var(--color-bg-light-alt);
    border-color: #CBD5E1;
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Floating Statistics elements */
.hero-image-wrapper {
    position: relative;
    padding-right: 1.5rem;
    margin-left: 2rem;
}

.hero-main-img {
    filter: drop-shadow(0 20px 40px rgba(10, 25, 47, 0.1));
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    animation: floatingEffect 6s ease-in-out infinite;
    z-index: 5;
}

.floating-card .icon-box {
    width: 42px;
    height: 42px;
}

/* Position Floating Cards */
.card-projects {
    top: 5%;
    left: -10%;
    animation-delay: 0s;
}

.card-satisfaction {
    bottom: 30%;
    left: -5%;
    animation-delay: 2s;
}

.card-experience {
    bottom: 5%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes floatingEffect {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Trust Section */
.trust-banner {
    border-top: 1px solid var(--color-border);
}

.trust-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.brand-svg-logo {
    height: 24px;
    transition: var(--transition-fast);
}

.brand-logo-item:hover .brand-svg-logo {
    color: var(--color-primary-dark);
    transform: scale(1.08);
}

/* Services Section */
.bg-light-gradient {
    background: var(--light-gradient);
}

.section-subtitle {
    letter-spacing: 1.5px;
}

.section-title {
    font-size: 2.25rem;
    letter-spacing: -0.75px;
}

.section-desc {
    max-width: 580px;
    margin: 0 auto;
}

.service-card {
    border-radius: 12px;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1 !important;
}

.service-icon-box {
    width: 64px;
    height: 64px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-link {
    text-decoration: none;
    font-size: 0.92rem;
}

.service-link:hover {
    color: var(--color-accent);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background: var(--navy-gradient);
}

.why-choose-us-section .glow-effect {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 70, 199, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.btn-why-cta {
    background-color: var(--color-accent);
    color: white;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: var(--transition-fast);
}

.btn-why-cta:hover {
    background-color: var(--color-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.why-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: var(--transition-normal);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.why-icon-box {
    width: 44px;
    height: 44px;
}

.bg-red-coral-dark { background-color: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); }
.bg-blue-accent-dark { background-color: rgba(0, 70, 199, 0.2); border: 1px solid rgba(0, 70, 199, 0.4); }
.bg-danger-dark { background-color: rgba(220, 53, 69, 0.15); border: 1px solid rgba(220, 53, 69, 0.3); }
.bg-purple-dark { background-color: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3); }

/* Solutions / Portfolio Section */
.portfolio-card {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1 !important;
}

.portfolio-img-wrapper {
    aspect-ratio: 16 / 9;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.04);
}

.portfolio-link {
    text-decoration: none;
    font-size: 0.95rem;
}

/* Stats Counter Section */
.bg-stats-banner {
    background: var(--stats-gradient);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-number {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

/* Testimonials Section */
.testimonial-card {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quote-mark {
    font-size: 7.5rem;
    font-family: var(--font-heading);
    top: -1.5rem;
    left: 1rem;
    line-height: 1;
}

.client-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.carousel-dots-wrapper .dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CBD5E1;
    border: none;
    padding: 0;
    transition: var(--transition-fast);
}

.carousel-dots-wrapper .dot-btn.active {
    background-color: var(--color-accent);
    width: 24px;
    border-radius: 6px;
}

/* Blog Section */
.blog-card {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1 !important;
}

.blog-img-wrapper {
    aspect-ratio: 4 / 3;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.uppercase-tag {
    letter-spacing: 0.5px;
    font-size: 0.65rem;
}

.blog-card-title {
    line-height: 1.35;
}

.blog-card-title a {
    transition: var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--color-primary) !important;
}

.blog-readmore {
    text-decoration: none;
}

.view-posts-link {
    text-decoration: none;
}

/* CTA Banner Section */
.bg-cta-box {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0036A3 100%);
}

.rounded-cta {
    border-radius: 20px;
}

.cta-phone-icon-box {
    width: 64px;
    height: 64px;
}

.btn-cta-danger {
    background-color: var(--color-accent);
    color: white;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-cta-danger:hover {
    background-color: var(--color-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
}

/* Footer Section */
.bg-dark-navy {
    background-color: #040A15;
}

.footer-logo {
    letter-spacing: -0.5px;
}

.footer-bio {
    max-width: 320px;
}

.social-links-box .social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.social-links-box .social-icon:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links a {
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white !important;
    padding-left: 3px;
}

.footer-contact i {
    font-size: 1rem;
}

.footer-contact a {
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: white !important;
}

.footer-wrapper address {
    font-style: normal;
}

.fs-7 {
    font-size: 0.82rem;
}

/* ==========================================================================
   Responsive Overrides & Media Queries
   ========================================================================== */

/* Large screens (Desktops) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-image-wrapper {
        margin-left: 0;
    }
}

/* Medium screens (Tablets) */
@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-wrapper {
        padding-right: 0;
        margin-left: 0;
        max-width: 480px;
        margin: 2rem auto 0;
    }
    
    .card-projects {
        top: 2%;
        left: -5%;
    }
    
    .card-satisfaction {
        bottom: 25%;
        left: -2%;
    }
    
    .card-experience {
        bottom: 2%;
        right: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Small screens (Mobiles) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-buttons {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .floating-card {
        display: none !important; /* Hide floating stats cards on mobile to avoid UI overlap */
    }
    
    .hero-image-wrapper {
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-phone-icon-box {
        width: 52px;
        height: 52px;
    }
}
