/* =========================================
   1. GOOGLE FONTS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #0f172a;   /* Deep Tech Blue */
    --accent-blue: #3b82f6;    /* Vibrant Blue */
    --accent-teal: #10b981;    /* Success/Growth Teal */
    --bg-light: #f8fafc;
    --text-dark: #334155;
    --text-muted: #64748b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .uk-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.header-top {
    background-color: var(--primary-blue);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
}
.header-top a { 
    color: #e2e8f0; 
    text-decoration: none; 
}
.header-top a:hover { 
    color: var(--accent-blue); 
}

.main-nav {
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.uk-navbar-nav > li > a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
    color: var(--text-dark);
}
.uk-navbar-nav > li > a:hover, .uk-navbar-nav > li.uk-active > a {
    color: var(--accent-blue) !important;
}

/* =========================================
   3. GOOGLE TRANSLATE PREMIUM STYLING
   ========================================= */
#google_translate_element select {
    background-color: transparent !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    padding: 2px 5px !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    cursor: pointer;
}
#google_translate_element select option {
    color: var(--text-dark) !important;
    background-color: #fff !important;
}
.goog-te-gadget { color: transparent !important; }
.goog-te-gadget .goog-te-combo { margin: 0 !important; }
.goog-logo-link { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; }

/* =========================================
   4. PAGE BANNERS & COMPONENTS
   ========================================= */
.page-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -50px; left: 0; right: 0;
    height: 100px;
    background: var(--bg-light);
    transform: skewY(-2deg);
}
.page-banner h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-banner p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.agency-btn {
    background-color: var(--accent-blue);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}
.agency-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

/* =========================================
   5. HOMEPAGE SPECIFIC HOOKS
   ========================================= */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(15, 23, 42, 0.9) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 5px;
}
.process-step {
    width: 60px;
    height: 60px;
    background-color: var(--accent-teal);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* =========================================
   6. FOOTER & SOCIAL ICONS
   ========================================= */
.agency-footer {
    background-color: var(--primary-blue);
    color: #cbd5e1;
    padding-top: 60px;
}
.agency-footer h4 { color: #fff; margin-bottom: 20px; }
.agency-footer a { color: #94a3b8; transition: 0.3s; }
.agency-footer a:hover { color: var(--accent-blue); text-decoration: none; }

.footer-socials a {
    color: #cbd5e1;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}
.footer-socials a:hover {
    color: var(--accent-blue) !important;
    transform: translateY(-4px);
}

/* =========================================
   7. FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    animation: pulse-glow 2s infinite;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   8. PREMIUM ANIMATED TEAM CARDS
   ========================================= */
.team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e2e8f0;
    position: relative;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
    border-color: var(--accent-blue);
}
.team-img-container {
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}
.team-img-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.team-card:hover .team-img-container img {
    transform: scale(1.06);
}
.team-socials a {
    background: #f8fafc;
    color: var(--text-dark);
    transition: all 0.3s ease;
}
.team-card:hover .team-socials a { background: var(--primary-blue); color: #fff; }
.team-card:hover .team-socials a:hover { background: var(--accent-blue); }

/* =========================================
   9. PREMIUM SERVICES CARDS
   ========================================= */
.service-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
}
.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: transparent;
}
.service-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}
.service-card-premium:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
}
.icon-blue { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.icon-teal { background: rgba(16, 185, 129, 0.1); color: var(--accent-teal); }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.icon-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.icon-orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.icon-red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* =========================================
   10. MOBILE MENU (OFF-CANVAS)
   ========================================= */
.mobile-menu-container {
    background-color: rgba(15, 23, 42, 0.98) !important; 
    backdrop-filter: blur(10px); 
    padding: 40px 30px;
}
.mobile-menu-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    display: inline-block;
}
.mobile-nav-list { margin: 0; padding: 0; list-style: none; }
.mobile-nav-list li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.5s forwards ease-out;
}
.mobile-nav-list li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-list li:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-list li:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-list li:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-list li:nth-child(5) { animation-delay: 0.5s; }
.mobile-nav-list li:nth-child(6) { animation-delay: 0.6s; }

.mobile-nav-list a {
    color: #e2e8f0;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.mobile-nav-list a:hover, 
.mobile-nav-list li.uk-active a { color: var(--accent-blue); }
.mobile-nav-list .uk-icon { margin-right: 15px; color: var(--accent-blue); }
.uk-offcanvas-close {
    color: #fff !important;
    top: 20px !important;
    right: 20px !important;
    transition: transform 0.3s ease;
}
.uk-offcanvas-close:hover { transform: rotate(90deg); }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   11. MOBILE RESPONSIVE FIXES (HERO SECTION)
   ========================================= */
@media screen and (max-width: 959px) {
    /* Adjusting Hero Header Text for Tablets */
    .hero-gradient h1.uk-heading-medium {
        font-size: 3.5rem !important;
        line-height: 1.2;
    }
    .hero-gradient p.uk-text-lead {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media screen and (max-width: 640px) {
    /* Adjusting Hero Section for Mobile Phones */
    .hero-gradient {
        padding: 60px 15px !important; /* Adds breathing room on sides */
        min-height: auto !important; /* Prevents stretching */
    }
    .hero-gradient h1.uk-heading-medium {
        font-size: 2.2rem !important; /* Scales down massive text */
        margin-top: 15px;
    }
    .hero-gradient p.uk-text-lead {
        font-size: 1rem;
        padding: 0;
        margin-top: 15px !important;
    }
    
    /* Fixing Buttons stacking on Mobile */
    .hero-gradient .uk-button-large {
        width: 100%; /* Makes buttons full width on small screens */
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* Adjusting Top Label */
    .hero-gradient .uk-label {
        font-size: 0.75rem;
        white-space: normal; /* Allows text to break if needed */
        text-align: center;
    }

    /* WhatsApp Button Mobile Adjustment */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =========================================
   12. PREMIUM TECH STACK CARDS
   ========================================= */
.tech-card {
    background-color: #f8fafc; /* Very light gray/blue */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
}
.tech-card:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}
.tech-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.tech-card:hover i {
    color: var(--accent-blue);
}
.tech-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* AI Service Icon Color */
.icon-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }