/* =============================================================
   PRAKASH TANK - Main Stylesheet
   Refactored: deduped selectors, media queries consolidated
   ============================================================= */

:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --accent-color: #0ea5e9;
    /* Sky Blue */
    --accent-soft: rgba(14, 165, 233, 0.1);
    --accent-hover: #0284c7;
    --text-main: #0f172a;
    --text-muted: #475569;
    --section-padding: 100px 0;
    --border-radius: 30px;
    --shadow-sm: 0 2px 4px rgba(14, 165, 233, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 10px -6px rgba(14, 165, 233, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 10px -6px rgba(14, 165, 233, 0.1);
}

/* ===== Keyframe Animations ===== */
@keyframes move {
from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

@keyframes gradient-shift {
0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
}

@keyframes glow-rotate {
0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
}

@keyframes pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

@keyframes bounce {
0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
        40% {transform: translateY(-10px) translateX(-50%);}
        60% {transform: translateY(-5px) translateX(-50%);}
}

@keyframes spin-rainbow {
from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
}

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

@keyframes marquee-scroll-left {
0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
0% { transform: translateX(-50%); }
        100% { transform: translateX(0); }
}

@keyframes pulse-slow {
0% { transform: scale(1) translate(0, 0); }
        100% { transform: scale(1.2) translate(-50px, 50px); }
}

@keyframes status-ping-anim {
100% { transform: scale(3); opacity: 0; }
}

@keyframes pulse-online {
0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
        100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ===== Component & Utility Styles ===== */
html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Animated Blob Background */ .blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    animation: move 20s infinite alternate;
}

.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(25px);
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.08);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #0c4a6e !important;
    /* Deep Navy Blue for visibility */
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
}

.navbar-brand .logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 0 15px var(--accent-color);
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0c4a6e !important;
    /* Consistent visibility */
    margin: 0 3px;
    padding: 10px 18px !important;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent-color) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(14, 165, 233, 0.05);
}

.btn {
    border-radius: 16px;
    padding: 14px 34px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.4);
    color: white !important;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(14, 165, 233, 0.5);
}

.btn-outline-accent {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color) !important;
    box-shadow: 0 5px 15px -5px rgba(14, 165, 233, 0.15);
}

.btn-outline-accent:hover {
    background: var(--accent-color);
    color: white !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(14, 165, 233, 0.4);
}

.btn-soft-accent {
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid transparent;
    color: var(--accent-color) !important;
}

.btn-soft-accent:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(14, 165, 233, 0.2);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #0c4a6e;
}

.text-gradient {
    background: linear-gradient(to right, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-card {
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.5s ease;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

/* Pulse Animation */ @keyframes pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.section-padding {
    padding: 100px 0;
}

/* Footer Revitalized Styles */ .footer-section {
    background: linear-gradient(to bottom, #f0f9ff 0%, #e0f2fe 100%);
    /* Light Sky Blue Gradient */
    color: #1e293b;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
}

/* Vibrant Background Blobs */ .footer-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.footer-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.footer-top-cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    border-radius: 40px;
    padding: 80px;
    margin-bottom: 100px;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 80px -20px rgba(14, 165, 233, 0.4);
    transform: translateY(-60px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 500;
}

.footer-top-cta .btn-primary {
    background: #ffffff !important;
    color: #0284c7 !important;
    border: none !important;
    padding: 22px 50px !important;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-top-cta .btn-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    background: #f0f9ff !important;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: #0c4a6e !important;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-bio {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 350px;
    color: #475569 !important;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-link {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    transform: translateY(-10px) rotate(-8deg);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
    border-color: transparent;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: #0ea5e9;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-block;
}

.footer-links li a:hover {
    color: #0ea5e9;
    transform: translateX(8px);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.05);
    margin-bottom: 15px;
}

.contact-info-item:hover {
    background: #ffffff;
    border-color: #0ea5e9;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.2);
}

.contact-info-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

.footer-divider {
    margin: 80px 0 40px;
    border-color: rgba(14, 165, 233, 0.2);
}

.copyright {
    color: #64748b !important;
    font-weight: 500;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    left: auto;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    /* background-color: #0ea5e9; */
    color: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    font-size: 1.8rem;
    line-height: 1;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.5);
    color: #ffffff !important;
}

.hero-container {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    background: radial-gradient(circle at 70% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-card-featured {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 40px 100px -20px rgba(14, 165, 233, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #0ea5e9;
    cursor: pointer;
}

.extremely-small {
    font-size: 0.7rem;
}

/* Full-width Experience Container - No Timeline */ .experience-container {
    max-width: 100%;
}

.exp-item-fullwidth {
    width: 100%;
    transition: all 0.3s ease;
}

.hero-container .cu-circle {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exp-highlight-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.exp-highlight-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.exp-highlight-item::before {
    content: '\F26E';
    /* bi-check2-circle */
        font-family: Bootstrap-icons;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-weight: bold;
}

/* Premium Award Cards - Completely Redesigned */ .award-card-premium {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Animated gradient border */ .award-card-premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, 
            #fbbf24 0%, 
            #f59e0b 25%, 
            #ec4899 50%, 
            #8b5cf6 75%, 
            #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: gradient-shift 3s ease infinite;
}

.award-card-premium:hover::before {
    opacity: 1;
}

/* Gradient background overlay on hover */ .award-card-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
            rgba(251, 191, 36, 0.05) 0%, 
            rgba(236, 72, 153, 0.05) 50%, 
            rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.award-card-premium:hover::after {
    opacity: 1;
}

.award-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 48px rgba(251, 191, 36, 0.25), 
                    0 0 0 1px rgba(251, 191, 36, 0.1);
}

.award-card-glow {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, 
            rgba(251, 191, 36, 0.2) 0%, 
            rgba(236, 72, 153, 0.1) 35%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    animation: glow-rotate 8s linear infinite;
}

.award-card-premium:hover .award-card-glow {
    opacity: 1;
}

/* Card header with gradient accent - optimized for full width */ .award-header {
    position: relative;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 1;
}

.award-icon-premium {
    position: relative;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4),
                    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    flex-shrink: 0;
}

.award-card-premium:hover .award-icon-premium {
    transform: rotate(-12deg) scale(1.15);
    box-shadow: 0 16px 40px rgba(251, 191, 36, 0.6),
                    inset 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.award-icon-shine {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
}

.award-card-premium:hover .award-icon-shine {
    left: 150%;
}

.award-year-badge {
    background: white;
    color: #92400e;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.award-year-badge i {
    font-size: 1rem;
}

.award-card-premium:hover .award-year-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-color: #f59e0b;
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.award-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.award-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.3;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.award-card-premium:hover .award-title {
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(4px);
}

.award-description {
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
}

.award-footer {
    padding: 20px 28px 28px;
    border-top: 2px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.award-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid #bfdbfe;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.award-badge-verified i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.award-card-premium:hover .award-badge-verified {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #1d4ed8;
    transform: translateX(8px) scale(1.05);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.award-card-premium:hover .award-badge-verified i {
    transform: rotate(360deg) scale(1.2);
}

/* Responsive adjustments for awards */ @media (max-width: 768px) {
.award-card-premium {
            border-radius: 24px;
        }

        .award-content {
            padding: 24px;
        }

        .award-title {
            font-size: 1.2rem;
        }

        .award-description {
            font-size: 0.92rem;
        }

        .award-footer {
            padding: 18px 24px 24px;
        }

        .award-badge-verified {
            padding: 9px 16px;
            font-size: 0.8rem;
        }
}

.experience-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: inline-block;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.portfolio-section {
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 40%);
    position: relative;
}

.portfolio-filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.industry-filter {
    padding: 12px 28px;
    border-radius: 100px;
    background: white;
    border: 1px solid rgba(14, 165, 233, 0.1);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.industry-filter:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
}

.industry-filter.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.portfolio-slider-container {
    position: relative;
    padding: 20px 0 80px;
}

.portfolio-swiper {
    overflow: hidden;
    padding: 20px 5px 50px 5px !important;
}

.portfolio-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(14, 165, 233, 0.25);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.15);
}

.portfolio-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
            rgba(2, 6, 23, 0.95) 0%, 
            rgba(2, 6, 23, 0.6) 50%,
            transparent 100%
        );
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-overlay-gradient {
    opacity: 1;
}

.portfolio-content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.portfolio-category-tag {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.category-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.portfolio-card:hover .portfolio-category-tag {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-title {
    color: white;
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.portfolio-card:hover .portfolio-title {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.portfolio-card:hover .portfolio-tech-list {
    transform: translateY(0);
    opacity: 1;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease 0.4s;
}

.portfolio-card:hover .portfolio-footer {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-client {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.portfolio-action-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-action-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.swiper-button-next-port, .swiper-button-prev-port {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #020617;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(14, 165, 233, 0.2);
}

/* Mobile/Default: Bottom Center */ @media (max-width: 991px) {
.swiper-button-next-port, .swiper-button-prev-port {
            bottom: -30px;
        }
        .swiper-button-prev-port { left: calc(50% - 75px); }
        .swiper-button-next-port { right: calc(50% - 75px); }

        .swiper-button-next-port:hover, .swiper-button-prev-port:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
        }
}

/* Desktop: Side Positioning */ @media (min-width: 992px) {
.swiper-button-next-port, .swiper-button-prev-port {
            bottom: auto;
            top: 60%;
            margin-top: -30px;
        }
        .swiper-button-prev-port { left: 10px; }
        .swiper-button-next-port { right: 10px; }

        .swiper-button-next-port:hover, .swiper-button-prev-port:hover {
             background: var(--accent-color);
             color: white;
             transform: scale(1.1);
             box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
        }
}

.swiper-button-next-port::after, .swiper-button-prev-port::after {
    display: none;
    /* Hide default swiper icons */;
}

.swiper-button-next-port i, .swiper-button-prev-port i {
    font-size: 1.5rem;
    line-height: 1;
}

/* Portfolio Pagination Dots */ .portfolio-swiper .swiper-pagination {
    position: absolute;
    bottom: 0px !important;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.portfolio-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    width: 25px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

/* Redesigned Profile Showcase */ .profile-showcase {
    position: relative;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-bg-plate {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    z-index: 1;
    transform: rotate(-2deg);
}

.avatar-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 10;
    margin-bottom: 0;
}

.rainbow-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(
            from 0deg,
            #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000
        );
    animation: spin-rainbow 4s linear infinite;
    mask: radial-gradient(circle, transparent 67%, black 69%);
    -webkit-mask: radial-gradient(circle, transparent 67%, black 69%);
    filter: blur(4px) drop-shadow(0 0 10px rgba(255, 0, 0, 0.3));
    opacity: 0.8;
}

.avatar-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.avatar-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Info Chips */ .info-chip {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 20;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.info-chip:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.chip-1 {
    top: 15%;
    left: -30px;
}

.chip-2 {
    bottom: 20%;
    right: -65px;
}

.chip-3 {
    bottom: -12%;
    left: 10%;
}

.tech-icon-float {
    position: absolute;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    z-index: 15;
    animation: float-y 4s ease-in-out infinite;
}

/* Redesigned Certificate Slider - Premium Nexus Style */ 
.certificate-slider {
    padding: 25px 20px 80px !important;
    /* Force padding to prevent clipping */;
}

.certificate-slider .swiper-slide {
    height: auto;
}

.certificate-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    padding-top: 35px;
    /* Compensate for 5px border */
        border: 1px solid rgba(14, 165, 233, 0.1);
    border-top: 6px solid transparent;
    /* Prepare space for top border */
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 15px 45px rgba(0,0,0,0.03);
    */
        box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
    border-top-color: var(--accent-color);
    /* Show top border */
        z-index: 50;
}

.certificate-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-icon {
    background: var(--accent-color);
    color: white;
    transform: rotateY(180deg);
}

.certificate-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 12px;
}

.certificate-card .issuer-name {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: block;
}

.certificate-card .cert-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.8;
}

.cert-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cert-verify-btn {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.cert-verify-btn:hover {
    color: var(--accent-hover);
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #0ea5e9 !important;
    opacity: 0.2 !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 10px !important;
}

/* Updated Swiper Buttons targeting the new header structure & unified design */ .swiper-nav-group .swiper-button-next-cert, .swiper-nav-group .swiper-button-prev-cert, .swiper-button-next-port, .swiper-button-prev-port, .swiper-button-next-blog, .swiper-button-prev-blog {
    width: 48px !important;
    height: 48px !important;
    background: white !important;
    color: var(--accent-color);
    border: 1px solid rgba(14, 165, 233, 0.1) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 !important;
    /* Reset any default margin */;
}

.swiper-nav-group .swiper-button-next-cert:hover, .swiper-nav-group .swiper-button-prev-cert:hover, .swiper-button-next-port:hover, .swiper-button-prev-port:hover, .swiper-button-next-blog:hover, .swiper-button-prev-blog:hover {
    background: var(--accent-color) !important;
    color: white !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2) !important;
}

.swiper-nav-group .swiper-button-next-cert::after, .swiper-nav-group .swiper-button-prev-cert::after, .swiper-button-next-port::after, .swiper-button-prev-port::after, .swiper-button-next-blog::after, .swiper-button-prev-blog::after {
    display: none;
}

/* Redesigned Education Journey - Premium Timeline V2 */ .edu-section {
    background: #ffffff;
    position: relative;
}

.edu-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
}

.edu-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), var(--accent-color), transparent);
    opacity: 0.2;
}

.edu-item {
    position: relative;
    padding-bottom: 60px;
}

.edu-item:last-child {
    padding-bottom: 0;
}

.edu-marker {
    position: absolute;
    left: -41px;
    top: 0;
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.05);
    transition: all 0.3s ease;
}

.edu-item:hover .edu-marker {
    transform: scale(1.2);
    background: var(--accent-color);
    box-shadow: 0 0 0 12px rgba(14, 165, 233, 0.1);
}

.edu-card-timeline {
    background: #f8fafc;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid rgba(14, 165, 233, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.edu-card-timeline:hover {
    background: white;
    transform: translateX(10px);
    box-shadow: 0 30px 60px -20px rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
}

.edu-year-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.edu-card-timeline h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.edu-card-timeline .edu-univ {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edu-card-timeline .edu-univ i {
    color: var(--accent-color);
}

.edu-card-timeline .edu-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0;
    opacity: 0.9;
}

/* Testimonials Redesign (Masonry) */ .testimonials-section {
    background: #f8fafc;
    overflow: hidden;
    padding-bottom: 100px;
}

.testimonial-masonry {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

@media (max-width: 1200px) {
    .testimonial-masonry {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .testimonial-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .testimonial-masonry {
        column-count: 1;
    }
}

.testimonial-masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    display: block;
    transform: translateZ(0); /* For better rendering with AOS */
}

.testimonial-card-premium {
    width: 100%;
    background: white;
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.testimonial-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15);
}

.quote-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-soft);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin: 0;
    font-weight: 600;
}

.rating-stars {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: flex;
    gap: 4px;
}



/* Contact Section Redesign - Nexus V3 Premium */ .contact-section {
    position: relative;
    padding: 100px 0;
    background: #f8fafc;
    overflow: hidden;
    z-index: 1;
}

/* Technical Mesh Background */ .contact-nexus-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    z-index: -1;
}

.contact-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    filter: blur(80px);
    z-index: -1;
    animation: pulse-slow 15s infinite alternate;
}

.contact-main-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    box-shadow: 0 40px 100px -30px rgba(15, 23, 42, 0.15),
            0 0 0 1px rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    display: flex;
    min-height: 850px;
    position: relative;
}

.contact-sidebar {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 80px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
    pointer-events: none;
}

.contact-sidebar-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contact-sidebar-label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #bae6fd;
    /* Light Sky Blue */
        margin-bottom: 12px;
    display: block;
}

.contact-sidebar-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 20px;
}

.contact-methods-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.contact-method-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-method-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.method-icon-box {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #2563eb;
    /* Blue Icon */
        flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.method-details .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.method-details .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

/* Live Surat Clock */ .surat-clock-widget {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.clock-display {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.clock-location {
    font-size: 0.9rem;
    color: #bae6fd;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-content {
    flex: 1;
    padding: 80px 70px;
    background: transparent;
}

.form-header {
    margin-bottom: 50px;
}

.form-header h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 12px;
}

.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.status-ping {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
}

.status-ping::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: status-ping-anim 1.5s infinite;
}

.form-group-premium {
    position: relative;
    margin-bottom: 35px;
    z-index: 1;
}

.recaptcha-disclaimer {
    line-height: 1.5;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.recaptcha-disclaimer a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* reCAPTCHA v3 floating badge — hidden per Google policy when disclaimer is shown on the form */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form-error {
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
}

.field-error {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: #dc2626;
}

.field-error:empty {
    display: none;
    margin-top: 0;
}

.form-group-premium.is-invalid-group .input-premium,
.form-group-premium.is-invalid-group .iti.iti--allow-dropdown {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.form-group-premium.is-invalid-group .label-premium {
    color: #dc2626 !important;
}

/* Contact form: row gutters handle spacing — avoid double gaps */
.contact-nexus-form .row > [class*="col-"] > .form-group-premium {
    margin-bottom: 0;
}

.label-premium {
    position: absolute;
    left: 24px;
    top: 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.input-premium {
    width: 100%;
    background: rgba(241, 245, 249, 0.5);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 34px 24px 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.input-premium:focus,
input.input-premium:not(:placeholder-shown),
textarea.input-premium:not(:placeholder-shown),
select.input-premium:focus {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.1);
    outline: none;
}

/* Select: filled but not focused — keep default field look, no focus ring */
select.input-premium:valid:not(:focus) {
    background: rgba(241, 245, 249, 0.5);
    border-color: transparent;
    box-shadow: none;
}

.input-premium:focus + .label-premium,
input.input-premium:not(:placeholder-shown) + .label-premium,
textarea.input-premium:not(:placeholder-shown) + .label-premium,
select.input-premium:focus + .label-premium {
    top: 10px;
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

select.input-premium:valid:not(:focus) + .label-premium {
    top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

select.input-premium {
    appearance: none;
    cursor: pointer;
    color: var(--text-main);
}

select.input-premium:invalid {
    color: transparent;
}

select.input-premium:invalid option {
    color: var(--text-main);
}

select.input-premium option {
    color: var(--text-main);
}

/* International Phone Input (intl-tel-input v25+) */
.phone-input-wrapper {
    position: relative;
    width: 100%;
}

.form-group-premium:has(#phone) {
    z-index: 10;
}

.form-group-premium:has(#phone:focus-within) {
    z-index: 100;
}

/* Phone field: flex row so flag, dial code, and number share one baseline */
.form-group-premium:has(#phone) .iti.iti--allow-dropdown {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 34px 0 14px;
    background: rgba(241, 245, 249, 0.5);
    border: 2px solid transparent;
    border-radius: 24px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group-premium:has(#phone:focus-within) .iti.iti--allow-dropdown {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.1);
}

.form-group-premium:has(#phone) .iti--allow-dropdown .iti__country-container {
    position: static;
    flex: 0 0 auto;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    height: auto;
    padding: 0 6px 0 16px;
    display: flex;
    align-items: center;
    z-index: 3;
}

.form-group-premium .iti__selected-country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: auto;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1.5;
}

.form-group-premium .iti__selected-country-primary {
    display: inline-flex;
    align-items: center;
    height: auto;
    padding: 0 4px 0 0;
    background: transparent;
    border: none;
}

.form-group-premium .iti__selected-country-primary:hover {
    background: rgba(14, 165, 233, 0.05);
    border-radius: 8px;
}

.form-group-premium .iti__flag {
    margin: 0;
    flex-shrink: 0;
}

.form-group-premium .iti__arrow {
    margin-left: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-muted);
    transition: border-color 0.3s ease;
}

.form-group-premium .iti--show-flags .iti__arrow {
    border-top-color: var(--accent-color);
}

.form-group-premium .iti--allow-dropdown input#phone.input-premium {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 24px 0 4px !important;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 700;
    height: 1.5em;
}

.form-group-premium:has(#phone) input#phone.input-premium:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Always keep phone label in upper position (label follows .iti wrapper) */
.form-group-premium:has(#phone) .label-premium {
    top: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group-premium:has(#phone:focus-within) .label-premium {
    color: var(--accent-color);
}

.form-group-premium:has(#phone:not(:focus-within)) .label-premium {
    color: var(--text-muted);
}

.form-group-premium .iti .iti__selected-dial-code {
    font-weight: 700;
    color: var(--text-main);
    margin-left: 6px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Dropdown panel (body-mounted, repositioned under full phone field via JS) */
.iti--container {
    z-index: 10050 !important;
    box-sizing: border-box;
}

.iti--container .iti__dropdown-content {
    width: 100% !important;
    margin: 0 !important;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.25);
    overflow: hidden;
}

.iti--container .iti__country-list {
    max-height: min(240px, 40dvh);
    overflow-y: auto;
}

body.phone-dropdown-open .form-group-premium:has(#phone) {
    z-index: 200;
}

@media (max-width: 767.98px) {
    .iti--container .iti__country-list {
        max-height: min(200px, 35dvh);
    }
}

.iti__country {
    padding: 14px 18px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.iti__country:hover, .iti__country.iti__highlight {
    background: var(--accent-soft);
}

.iti__country.iti__active {
    background: rgba(14, 165, 233, 0.15);
    font-weight: 700;
}

.iti__country-name {
    margin-left: 10px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.iti__dial-code {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.iti__search-input {
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
    font-size: 1rem;
    font-weight: 600;
}

/* Scrollbar styling for country list */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.btn-submit-premium {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 24px 44px;
    border-radius: 24px;
    font-weight: 900;
    font-size: 1.1rem;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-submit-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-submit-premium:hover::before {
    left: 100%;
}

.btn-submit-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.4);
    color: white;
}

.btn-submit-premium i {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
}

.btn-submit-premium:hover i {
    transform: translateY(-10px) translateX(10px) scale(1.2);
}

.social-compact {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.social-compact-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 1.2rem;
}

.social-compact-link:hover {
    background: white;
    color: #020617;
    transform: translateY(-8px) rotate(8deg);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* Redesigned About Summary / Profile Card */ .profile-card-wrapper {
    position: relative;
    z-index: 10;
}

.profile-card-inner {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 40px 100px -20px rgba(14, 165, 233, 0.1);
    transition: all 0.5s ease;
}

.profile-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 120px -30px rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
}

.profile-image-container {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Shift focal point up so hair isn’t cropped (tune % if needed) */
    object-position: center 37%;
}

.online-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pulse-dot-online {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-online 2s infinite;
}

.profile-card-content {
    padding: 30px;
}

.verified-badge {
    background: rgba(14, 165, 233, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.success-rate-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}

.success-rate-fill {
    height: 100%;
    background: linear-gradient(to right, #0ea5e9, #2563eb);
    border-radius: 100px;
}

/* About summary — Upwork hire CTA */
.profile-upwork-cta {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-left: 4px solid var(--accent-color);
    border-radius: 20px;
    padding: 1rem 1.1rem 0.85rem;
    box-shadow: 0 12px 32px -12px rgba(14, 165, 233, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.profile-upwork-cta:hover,
.profile-upwork-cta:focus-visible {
    color: inherit;
    transform: translateY(-3px);
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 20px 40px -14px rgba(14, 165, 233, 0.35);
}

.profile-upwork-cta:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.profile-upwork-cta__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.profile-upwork-cta__rate {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.profile-upwork-cta__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.profile-upwork-cta__price {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.profile-upwork-cta__price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.profile-upwork-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-color);
    background: var(--accent-soft);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.profile-upwork-cta__logo {
    object-fit: contain;
    flex-shrink: 0;
}

.profile-upwork-cta__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2563eb 100%);
    box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.45);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.profile-upwork-cta:hover .profile-upwork-cta__action,
.profile-upwork-cta:focus-visible .profile-upwork-cta__action {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #1d4ed8 100%);
    box-shadow: 0 12px 24px -6px rgba(14, 165, 233, 0.55);
}

.profile-upwork-cta__action .bi {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.profile-upwork-cta:hover .profile-upwork-cta__action .bi,
.profile-upwork-cta:focus-visible .profile-upwork-cta__action .bi {
    transform: translate(2px, -2px);
}

.profile-upwork-cta--static .profile-upwork-cta__action {
    text-decoration: none;
    color: #fff;
}

.profile-upwork-cta--static .profile-upwork-cta__action {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2563eb 100%);
    box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.45);
}

.profile-upwork-cta--static .profile-upwork-cta__action:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-hover) 0%, #1d4ed8 100%);
    box-shadow: 0 12px 24px -6px rgba(14, 165, 233, 0.55);
}

/* About summary — CTA buttons */
.about-summary-cta {
    width: 100%;
}

.about-summary-cta-btn {
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .about-summary-cta {
        width: auto;
        max-width: fit-content;
    }

    .about-summary-cta-btn {
        flex: 0 0 auto;
        min-width: 11.5rem;
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}

@media (max-width: 991.98px) {
    .about-summary-cta-btn {
        flex: 1 1 0;
        min-width: 0;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

.stat-box-modern {
    background: white;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.stat-box-modern:hover {
    background: var(--accent-soft);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Blog Section Premium Styles */ .blog-card-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
}

.blog-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card-premium:hover .blog-image {
    transform: scale(1.1);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #cbd5e1;
}

.blog-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 2;
}

.blog-date-badge .day {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.blog-date-badge .month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.blog-read-more {
    margin-top: auto;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--accent-hover);
}

/* Custom Swiper Navigation */ .swiper-nav-custom {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 15px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.swiper-nav-custom:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.2);
}

.swiper-nav-custom::after {
    display: none;
}

.swiper-button-next-blog {
    position: absolute;
    right: 20px;
    bottom: 0;
}

.swiper-button-prev-blog {
    position: absolute;
    right: 80px;
    bottom: 0;
}

.hover-translate-y:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.2);
}

/* Education Card Hover Animation */ .education-card {
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.5s ease;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(14, 165, 233, 0.15) !important;
    border-color: var(--accent-color) !important;
}

.education-card:hover .badge {
    background-color: var(--accent-color) !important;
    color: #fff !important;
}

.blog-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ========================================================================== ABOUT PAGE STYLES (.about-page scope) ========================================================================== */ .about-page .pulse-dot {
    width: 8px;
    height: 8px;
}

.about-page .competency-title {
    font-size: 1rem;
}

.about-page .custom-premium-card {
    background: #ffffff;
}

.about-page .custom-stat-icon {
    width: 50px;
    height: 50px;
}

.about-page .about-header {
    padding-top: 150px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    position: relative;
}

.about-page .about-image-wrapper {
    position: relative;
    z-index: 10;
}

.about-page .about-image-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    transform: rotate(-3deg);
    transition: all 0.5s ease;
}

.about-page .about-image-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-page .about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.2);
    z-index: 20;
    border-left: 5px solid var(--accent-color);
    animation: float 4s ease-in-out infinite;
}

.about-page .stat-card {
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.about-page .stat-card:hover {
    transform: translateY(-10px);
    background: var(--accent-soft);
    border-color: var(--accent-color);
}

.about-page .stat-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-soft);
    color: var(--accent-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.about-page .about-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.about-page .skill-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
}

.about-page .skill-tag:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.about-page .competency-item {
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-page .competency-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.about-page .competency-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-soft);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.about-page .premium-card{
    padding: 1.5rem;
}

/* ========================================================================== BLOG INDEX PAGE STYLES (.blog-index-page scope) ========================================================================== */ .blog-index-page .custom-featured-badge {
    background-color: white;
    color: var(--accent-color, #0ea5e9);
}

.blog-index-page .blog-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.blog-index-page .blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.blog-index-page .blog-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    animation: float 15s infinite ease-in-out reverse;
}

.blog-index-page .blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-index-page .blog-title {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.blog-index-page .blog-subtitle {
    font-size: 1.4rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.blog-index-page .search-filter-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.blog-index-page .search-filter-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -15px rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.blog-index-page .search-input-wrapper {
    position: relative;
}

.blog-index-page .search-input {
    border: 2px solid rgba(14, 165, 233, 0.15);
    border-radius: 20px;
    padding: 18px 24px 18px 60px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.blog-index-page .search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: #ffffff;
}

.blog-index-page .search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.3rem;
}

.blog-index-page .filter-select {
    border: 2px solid rgba(14, 165, 233, 0.15);
    border-radius: 20px;
    padding: 18px 24px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    cursor: pointer;
}

.blog-index-page .filter-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: #ffffff;
}

.blog-index-page .btn-search {
    border-radius: 20px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.05rem;
}

.blog-index-page .blog-grid {
    padding: 60px 0 120px;
}

.blog-index-page .blog-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.blog-index-page .blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.25);
    border-color: var(--accent-color);
}

.blog-index-page .blog-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.blog-index-page .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-index-page .blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-index-page .blog-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

.blog-index-page .blog-card-badge:hover {
    transform: scale(1.05);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(14, 165, 233, 0.4);
}

.blog-index-page .blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-index-page .blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.blog-index-page .blog-card-meta i {
    color: var(--accent-color);
    margin-right: 6px;
}

.blog-index-page .blog-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-index-page .blog-card-title:hover {
    color: var(--accent-color);
}

.blog-index-page .blog-card-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-index-page .blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.blog-index-page .read-more {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-index-page .read-more:hover {
    gap: 12px;
    color: var(--accent-hover);
}

.blog-index-page .read-more i {
    transition: transform 0.3s ease;
}

.blog-index-page .read-more:hover i {
    transform: translateX(4px);
}

.blog-index-page .featured-post {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 30px 80px -20px rgba(14, 165, 233, 0.4);
    position: relative;
}

.blog-index-page .featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="900" cy="100" r="300" fill="rgba(255,255,255,0.05)"/><circle cx="1100" cy="400" r="200" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.blog-index-page .featured-content {
    padding: 80px;
    position: relative;
    z-index: 2;
}

.blog-index-page .featured-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-index-page .featured-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-index-page .featured-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
}

.blog-index-page .featured-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.blog-index-page .featured-meta i {
    margin-right: 8px;
}

.blog-index-page .btn-featured {
    background: #ffffff;
    color: #0284c7;
    border: none;
    padding: 18px 40px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-index-page .btn-featured:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    background: #f0f9ff;
    color: #0284c7;
}

.blog-index-page .featured-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-index-page .featured-image-wrapper {
    height: 100%;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.blog-index-page .featured-post:hover .featured-img-main {
    transform: scale(1.05);
}

.blog-index-page .empty-state {
    text-align: center;
    padding: 100px 20px;
}

.blog-index-page .empty-state i {
    font-size: 6rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.blog-index-page .empty-state h3 {
    font-size: 2rem;
    color: #475569;
    margin-bottom: 1rem;
}

.blog-index-page .empty-state p {
    color: #64748b;
    font-size: 1.1rem;
}

.blog-index-page .pagination {
    gap: 8px;
    justify-content: center;
}

.blog-index-page .pagination .page-item {
    margin: 0 4px;
}

.blog-index-page .pagination .page-link {
    border: 2px solid rgba(14, 165, 233, 0.1);
    border-radius: 16px !important;
    padding: 14px 22px;
    color: #64748b;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.03);
}

.blog-index-page .pagination .page-link:hover {
    background: #ffffff;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.15);
}

.blog-index-page .pagination .page-item.active .page-link {
    background: var(--accent-color);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.blog-index-page .pagination .page-item.disabled .page-link {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.05);
    color: #cbd5e1;
    opacity: 0.6;
}

.blog-index-page .pagination-info {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-index-page .pagination-info span {
    color: var(--accent-color);
    font-weight: 700;
}

.blog-index-page .custom-pagination-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 50px;
}

.blog-index-page .custom-pagination-wrapper nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
    width: 100%;
}

.blog-index-page .custom-pagination-wrapper nav > div:first-child, .blog-index-page .custom-pagination-wrapper nav .small.text-muted, .blog-index-page .custom-pagination-wrapper nav p {
    display: none !important;
}

.blog-index-page .custom-pagination-wrapper nav > div:last-child {
    display: flex !important;
    justify-content: center !important;
}

.blog-index-page .custom-pagination-wrapper .pagination {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 8px;
}

.blog-index-page .custom-pagination-wrapper .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.blog-index-page .custom-pagination-wrapper .page-item:first-child .page-link span:not([aria-hidden]), .blog-index-page .custom-pagination-wrapper .page-item:last-child .page-link span:not([aria-hidden]) {
    display: none !important;
}

.blog-index-page .custom-pagination-wrapper .page-link [aria-hidden="true"] {
    font-size: 1.2rem !important;
}

/* ========================================================================== BLOG DETAIL PAGE STYLES (.blog-detail-page scope) ========================================================================== */ .blog-detail-page .custom-show-badge {
    margin-bottom: 0;
}

.blog-detail-page .blog-detail-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.blog-detail-page .blog-detail-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.blog-detail-page .breadcrumb-wrapper {
    margin-bottom: 2rem;
}

.blog-detail-page .breadcrumb {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.blog-detail-page .breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-detail-page .breadcrumb-item.active {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-detail-page .post-category {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.blog-detail-page .post-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #0c4a6e;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.blog-detail-page .post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
}

.blog-detail-page .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-detail-page .meta-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.blog-detail-page .author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-detail-page .post-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.blog-detail-page .featured-image-wrapper {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    margin-bottom: 80px;
    border: 8px solid #ffffff;
}

.blog-detail-page .featured-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-detail-page .featured-image-wrapper:hover .featured-image {
    transform: scale(1.03);
}

.blog-detail-page .post-content-inner {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.05);
}

.blog-detail-page .blog-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.blog-detail-page .blog-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.blog-detail-page .blog-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.blog-detail-page .blog-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-page .blog-content blockquote {
    background: #f8fafc;
    border-left: 5px solid var(--accent-color);
    padding: 40px;
    margin: 3rem 0;
    border-radius: 0 30px 30px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: #1e293b;
    position: relative;
}

.blog-detail-page .blog-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(14, 165, 233, 0.1);
    font-family: serif;
}

.blog-detail-page .blog-content img {
    max-width: 100%;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-detail-page .blog-content pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    margin: 2.5rem 0;
    overflow-x: auto;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-detail-page .blog-content ul, .blog-detail-page .blog-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-detail-page .blog-content li {
    margin-bottom: 0.8rem;
}

.blog-detail-page .share-sidebar {
    position: absolute;
    left: -70px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.blog-detail-page .share-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.blog-detail-page .share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-size: 0.95rem;
}

.blog-detail-page .share-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14,165,233,0.3);
}

.blog-detail-page .related-posts-section {
    background: #f8fafc;
    padding: 100px 0;
}

.blog-detail-page .section-header {
    margin-bottom: 60px;
}

.blog-detail-page .related-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.05);
}

.blog-detail-page .related-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.25);
}

.blog-detail-page .related-img {
    height: 200px;
    overflow: hidden;
}

.blog-detail-page .related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-detail-page .related-card:hover .related-img img {
    transform: scale(1.1);
}

.blog-detail-page .related-content {
    padding: 25px;
}

.blog-detail-page .related-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-detail-page .related-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-detail-page .related-title a:hover {
    color: var(--accent-color);
}

/* ========================================================================== PROJECTS INDEX PAGE STYLES (.projects-index-page scope) ========================================================================== */ .projects-index-page .custom-hero-lead {
    max-width: 750px;
    font-size: 1.25rem;
}

.projects-index-page .projects-hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 70% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
    text-align: center;
    position: relative;
}

.projects-index-page .projects-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.projects-index-page .projects-grid {
    padding: 40px 0 100px;
}

.projects-index-page .category-filter-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.projects-index-page .category-link {
    padding: 12px 28px;
    border-radius: 100px;
    background: white;
    border: 1px solid rgba(14, 165, 233, 0.1);
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.projects-index-page .category-link:hover {
    transform: translateY(-3px);
    border-color: #0ea5e9;
    color: #0ea5e9;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
}

.projects-index-page .category-link.active {
    background: #0ea5e9;
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.projects-index-page .project-card-wrapper {
    margin-bottom: 40px;
}

.projects-index-page .portfolio-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f1f5f9;
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    cursor: pointer;
    border: 1px solid rgba(14, 165, 233, 0.05);
}

.projects-index-page .portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px -20px rgba(14, 165, 233, 0.25);
    border-color: rgba(14, 165, 233, 0.2);
}

.projects-index-page .portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.projects-index-page .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.projects-index-page .portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.projects-index-page .portfolio-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(2, 6, 23, 0.95) 0%, 
        rgba(2, 6, 23, 0.6) 40%,
        rgba(2, 6, 23, 0.2) 70%,
        transparent 100%
    );
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.projects-index-page .portfolio-card:hover .portfolio-overlay-gradient {
    opacity: 0.95;
}

.projects-index-page .portfolio-content {
    position: absolute;
    inset: 0;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    text-align: left;
}

.projects-index-page .portfolio-category-tag {
    color: #0ea5e9;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.projects-index-page .category-dot {
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 12px #0ea5e9;
}

.projects-index-page .portfolio-card:hover .portfolio-category-tag {
    transform: translateY(0);
    opacity: 1;
}

.projects-index-page .portfolio-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
    letter-spacing: -0.5px;
}

.projects-index-page .portfolio-card:hover .portfolio-title {
    transform: translateY(0);
    opacity: 1;
}

.projects-index-page .portfolio-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.projects-index-page .portfolio-card:hover .portfolio-tech-list {
    transform: translateY(0);
    opacity: 1;
}

.projects-index-page .tech-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.projects-index-page .portfolio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease 0.4s;
}

.projects-index-page .portfolio-card:hover .portfolio-footer {
    transform: translateY(0);
    opacity: 1;
}

.projects-index-page .portfolio-client {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.projects-index-page .portfolio-action-btn {
    width: 56px;
    height: 56px;
    background: white;
    color: #0ea5e9;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.projects-index-page .portfolio-action-btn:hover {
    background: #0ea5e9;
    color: white;
    transform: scale(1.1) rotate(8deg);
}

/* ========================================================================== PROJECTS DETAIL PAGE STYLES (.projects-detail-page scope) ========================================================================== */ .projects-detail-page .floating-accent-tr {
    top: -20px;
    right: -20px;
}

.projects-detail-page .custom-accent-icon {
    font-size: 2rem;
}

.projects-detail-page .floating-accent-bl {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

.projects-detail-page .custom-journal-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.projects-detail-page .custom-prep-desc {
    max-width: 500px;
}

.projects-detail-page .custom-tech-title {
    font-size: 3rem;
    color: #0c4a6e;
}

.projects-detail-page .custom-modules-section {
    background: #ffffff;
}

.projects-detail-page .custom-modules-title {
    font-size: 3rem;
    color: #0c4a6e;
}

.projects-detail-page .custom-similar-title {
    font-size: 3rem;
    color: #0c4a6e;
}

.projects-detail-page .project-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.projects-detail-page .hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.projects-detail-page .glow-1 {
    top: -10%;
    right: -10%;
    animation: float 15s infinite alternate;
}

.projects-detail-page .glow-2 {
    bottom: -10%;
    left: -10%;
    animation: float 20s infinite alternate-reverse;
}

.projects-detail-page .project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.projects-detail-page .project-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #0c4a6e;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.projects-detail-page .project-description {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

.projects-detail-page .hero-image-container {
    position: relative;
    perspective: 2000px;
}

.projects-detail-page .hero-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15),
                0 30px 60px -30px rgba(0, 0, 0, 0.2);
    transform: rotateY(-15deg) rotateX(10deg) scale(1.05);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.projects-detail-page .hero-image-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.1);
    box-shadow: 0 60px 120px -25px rgba(0, 0, 0, 0.2);
}

.projects-detail-page .hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.projects-detail-page .floating-accent {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
    animation: bounce 4s infinite ease-in-out;
}

.projects-detail-page .project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.projects-detail-page .meta-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.projects-detail-page .meta-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.projects-detail-page .meta-card h6 {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 700;
}

.projects-detail-page .meta-card p {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.projects-detail-page .btn-premium {
    position: relative;
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    overflow: hidden;
}

.projects-detail-page .btn-premium-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
    border: none;
}

.projects-detail-page .btn-premium-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.4);
    color: white;
}

.projects-detail-page .btn-premium-outline {
    background: white;
    color: #2563eb;
    border: 2px solid #e2e8f0;
}

.projects-detail-page .btn-premium-outline:hover {
    border-color: #2563eb;
    background: #f8fafc;
    transform: translateY(-5px);
}

.projects-detail-page .project-navigation {
    padding: 80px 0;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.projects-detail-page .nav-circles {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.projects-detail-page .nav-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c4a6e;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.projects-detail-page .nav-circle:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.1);
}

.projects-detail-page .nav-circle.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.projects-detail-page .nav-circle i {
    font-size: 1.8rem;
}

.projects-detail-page .view-archive-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.projects-detail-page .view-archive-link:hover {
    gap: 18px;
    color: #0ea5e9;
}

.projects-detail-page .view-archive-link i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.projects-detail-page .content-card {
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.05);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 1px solid #f1f5f9;
}

.projects-detail-page .content-body {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #334155;
}

.projects-detail-page .content-body h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0c4a6e;
    margin: 60px 0 30px;
    letter-spacing: -0.02em;
}

.projects-detail-page .tech-section {
    padding: 100px 0;
    background: #f8fafc;
}

.projects-detail-page .tech-pill {
    background: white;
    padding: 16px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.projects-detail-page .tech-pill:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

.projects-detail-page .tech-pill i {
    font-size: 1.5rem;
    color: #0ea5e9;
}

.projects-detail-page .tech-name {
    font-weight: 700;
    color: #0f172a;
}

.projects-detail-page .related-section {
    padding: 120px 0;
}

.projects-detail-page .project-card-new {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.projects-detail-page .project-card-new:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.projects-detail-page .card-img-wrapper {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.projects-detail-page .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.projects-detail-page .project-card-new:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.projects-detail-page .card-body-new {
    padding: 32px;
}

.projects-detail-page .module-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.projects-detail-page .module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #0ea5e9;
}

.projects-detail-page .module-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.projects-detail-page .module-card:hover .module-icon-wrapper {
    background: #0ea5e9;
    color: white;
    transform: rotate(10deg);
}

.projects-detail-page .module-title {
    font-weight: 700;
    color: #0c4a6e;
    font-size: 1.1rem;
}

/* ========================================================================== ERROR 404 PAGE STYLES (.error-404-page scope) ========================================================================== */ .error-404-page .error-container {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.error-404-page .error-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--border-radius);
    padding: 5rem 3.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
    max-width: 650px;
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.error-404-page .error-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 40px 80px -15px rgba(14, 165, 233, 0.25);
    transform: translateY(-8px);
}

.error-404-page .error-code {
    font-family: 'Outfit', sans-serif;
    font-size: 9rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -4px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.error-404-page .error-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 1.2rem;
    letter-spacing: -1.5px;
}

.error-404-page .error-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-page .error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-page .btn-outline-premium {
    border: 2px solid rgba(14, 165, 233, 0.25);
    background: transparent;
    color: #0c4a6e !important;
    font-weight: 700;
    border-radius: 16px;
    padding: 14px 34px;
    transition: all 0.4s ease;
}

.error-404-page .btn-outline-premium:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.error-404-page .animated-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: rotateSlow 20s linear infinite;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-404-page .shape-1 {
    position: absolute;
    top: 20%;
    left: 8%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
}

.error-404-page .shape-2 {
    position: absolute;
    bottom: 20%;
    right: 8%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
}

.error-404-page .error-blob-1 {
    width: 450px;
    height: 450px;
    background: rgba(14, 165, 233, 0.12);
    top: 10%;
    left: -10%;
}

.error-404-page .error-blob-2 {
    width: 550px;
    height: 550px;
    background: rgba(37, 99, 235, 0.08);
    bottom: 10%;
    right: -10%;
    animation-delay: -5s;
}

/* ============================================================ UTILITY CLASSES — Partials Inline Style Replacements ============================================================ */ /* Pulse dot (8×8 indicator used in multiple partials) */ .pulse-dot {
    width: 8px;
    height: 8px;
}

/* Hero — floating tech icons position variants */ .tech-icon-float-1 {
    top: -15px;
    right: 10%;
    animation-delay: 0.5s;
}

.tech-icon-float-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.2s;
}

/* Typography scale helper */ .text-xxs {
    font-size: 0.65rem !important;
}

/* Accent-color text (mirrors --accent-color without inline style) */ .text-accent {
    color: var(--accent-color) !important;
}

.text-accent-icon {
    color: var(--accent-color);
}

/* Flat icon box — sized variant used in experience awards */ .flat-icon-box-sized {
    width: 50px;
    height: 50px;
    background-color: var(--accent-soft);
}

/* Verified achievement badge (accent soft bg + accent color text) */ .badge-verified {
    background-color: var(--accent-soft);
    color: var(--accent-color);
}

/* Line-height helpers */ .lh-relaxed {
    line-height: 1.7 !important;
}

/* Success rate bar — 100% fill */ .success-rate-fill-full {
    width: 100%;
}

/* Contact form textarea */ .textarea-message {
    height: 180px !important;
    resize: none !important;
}

/* Testimonial Upwork badge hover lift */ .hover-lift-sm {
    transition: transform 0.3s ease;
}

.hover-lift-sm:hover {
    transform: translateY(-3px);
}

/* Blog card category badge */ .blog-cat-badge {
    font-size: 0.7rem;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: var(--accent-color, #0ea5e9);
    color: #ffffff;
}

.blog-cat-badge:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* Testimonial card — platform logo images */ .platform-logo-img {
    height: 32px;
    width: 32px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer Upwork Link */ .upwork-footer-link {
    color: #14a800 !important;
    font-weight: 700 !important;
}

.upwork-icon-inline {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 2px;
}

/* Legal Pages (Terms & Privacy) */ .legal-page-container {
    margin-top: 100px;
}

.legal-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =============================================================
   THANK YOU PAGE
   ============================================================= */
.thank-you-section {
    background-color: var(--primary-bg);
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 60px;
}

/* Glowing background blobs */
.ty-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}
.ty-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
    top: 5%;
    left: -5%;
}
.ty-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    bottom: 0%;
    right: -5%;
}

/* Subtle dot-grid overlay */
.ty-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle, rgba(14, 165, 233, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Main card */
.ty-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(14, 165, 233, 0.08);
}

/* Animated success icon */
.ty-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ty-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #0284c7);
    animation: pulse 2.5s ease-in-out infinite;
}
.ty-icon {
    position: relative;
    font-size: 2.6rem;
    color: #fff;
    z-index: 1;
    line-height: 1;
}

/* Fix: ensure icon shows inside all .ty-info-card */
.ty-info-card i.ty-info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Heading */
.ty-heading {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.ty-subtext {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Mini info cards */
.ty-info-card {
    background: var(--accent-soft);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ty-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
}
.ty-info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}
.ty-info-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.ty-info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

/* CTA row — always side by side */
.ty-cta-group {
    flex-wrap: nowrap;
}

.ty-cta-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .ty-cta-btn {
        flex: 0 0 auto;
        padding: 0.875rem 1.75rem !important;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .ty-cta-btn {
        padding: 1rem 2.25rem !important;
        font-size: 1.125rem;
    }
}

/* Buttons */
.ty-btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover)) !important;
    border: none !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease !important;
}
.ty-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4) !important;
}
.ty-btn-secondary {
    color: var(--text-muted) !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
    font-weight: 600;
    transition: all 0.3s ease !important;
}
.ty-btn-secondary:hover {
    background: var(--accent-soft) !important;
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .ty-card { padding: 2.5rem 1.5rem; }
}


/* =============================================================
   RESPONSIVE - MEDIA QUERIES
   All breakpoints consolidated here (desktop-first)
   ============================================================= */

/* --- @media (max-width: 1400px) --- */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 5rem;
    }
}


/* --- @media (max-width: 1200px) --- */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}


/* --- @media (max-width: 991px) --- */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }
    .navbar {
        padding: 1rem 0;
    }
    .section-title {
        font-size: 2.5rem;
        line-height: 1.35;
    }
    .arikajs-section .section-title {
        line-height: 1.4;
    }
    .section-padding {
        padding: 80px 0;
    }
    .footer-top-cta {
        padding: 40px;
        text-align: center;
    }
    .footer-top-cta .btn {
        margin-top: 30px;
    }
    .cta-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-container {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .experience-tag {
        margin-top: 5px;
        font-size: 0.75rem;
    }
    .exp-highlight-item {
        padding-left: 20px;
        font-size: 0.85rem;
    }
    .profile-showcase {
        padding: 28px 0 56px;
    }
    .chip-1 {
        left: 5%;
        top: 5%;
    }
    .chip-2 {
        right: 5%;
        bottom: 10%;
    }
    .chip-3 {
        bottom: -5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .tech-icon-float {
        display: none;
    }
    .edu-grid {
        grid-template-columns: 1fr;
    }
    .contact-section {
        padding: 60px 0;
    }
    .contact-main-card {
        flex-direction: column;
        min-height: auto;
        border-radius: 32px;
        overflow: hidden;
    }
    .contact-sidebar {
        flex: none;
        width: 100%;
        padding: 60px 40px;
    }
    .contact-content {
        flex: none;
        width: 100%;
        padding: 60px 40px;
    }
    .contact-sidebar-header {
        margin-bottom: 24px;
    }
    .surat-clock-widget {
        margin-top: 28px;
        padding-top: 28px;
    }
    .contact-sidebar > .mt-5 {
        margin-top: 1.5rem !important;
    }
    .contact-sidebar-title {
        font-size: 2rem;
    }
    .clock-display {
        font-size: 2.5rem;
    }
    .profile-image-container {
        height: 300px;
    }
    .stat-box-modern {
        padding: 20px;
        text-align: center;
    }
    .swiper-button-next-blog, .swiper-button-prev-blog {
        display: none;
    }
    .about-page .about-header {
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center;
    }
    .about-page .about-image-wrapper {
        margin-bottom: 50px;
    }
    .about-page .display-4 {
        font-size: 2.5rem;
    }
    .blog-index-page .blog-hero {
        padding: 100px 0 50px;
    }
    .blog-index-page .blog-title {
        font-size: 2.8rem;
    }
    .blog-index-page .featured-content {
        padding: 40px;
    }
    .blog-index-page .featured-title {
        font-size: 1.8rem;
    }
    .blog-index-page .blog-subtitle {
        font-size: 1.2rem;
    }
    .blog-detail-page .blog-detail-hero {
        padding: 120px 0 60px;
    }
    .blog-detail-page .share-container {
        position: relative;
        top: 0;
        margin-left: 0;
        display: flex;
        gap: 15px;
        margin-bottom: 40px;
        justify-content: center;
    }
    .projects-index-page .portfolio-title {
        font-size: 1.8rem;
    }
    .projects-detail-page .project-hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    .projects-detail-page .hero-image-container {
        margin-top: 60px;
    }
    .projects-detail-page .hero-image-wrapper {
        transform: none !important;
    }
    .projects-detail-page .content-card {
        padding: 30px;
        margin-top: -30px;
        border-radius: 20px;
    }
    .projects-detail-page .project-actions {
        justify-content: center;
    }
    .projects-detail-page .project-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* --- @media (max-width: 768px) --- */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    .section-title {
        font-size: 1.8rem;
        line-height: 1.35;
    }
    .arikajs-section .section-title {
        line-height: 1.38;
    }
    .premium-card {
        padding: 1.5rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    #certificates.section-padding {
        padding-bottom: 2.5rem;
    }
    .certificate-slider-container {
        padding-left: 0;
        padding-right: 0;
    }
    .certificate-slider {
        padding: 12px 0 28px !important;
    }
    .certificate-slider .swiper-pagination {
        margin-top: 0.75rem !important;
    }
    .footer-section {
        padding: 48px 0 24px;
    }
    .footer-main-content > .row {
        --bs-gutter-y: 1.25rem;
    }
    .footer-top-cta {
        padding: 35px 20px;
        border-radius: 25px;
        transform: translateY(-30px);
        margin-bottom: 32px;
    }
    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    .cta-subtitle {
        font-size: 1rem;
    }
    .footer-top-cta .btn-primary {
        padding: 16px 35px !important;
        font-size: 1.05rem;
        border-radius: 18px;
    }
    .footer-brand {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    .footer-bio {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    .footer-socials {
        gap: 10px;
        margin-bottom: 0;
    }
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 14px;
    }
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .footer-links li a {
        font-size: 0.95rem;
    }
    .contact-info-item {
        padding: 12px 18px;
        gap: 12px;
        border-radius: 16px;
        margin-bottom: 10px;
    }
    .contact-info-item:last-child {
        margin-bottom: 0;
    }
    .contact-info-item i {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    .contact-info-item span {
        font-size: 0.9rem;
    }
    .footer-contact-col {
        margin-top: 1.5rem;
    }

    .footer-contact-col .footer-heading {
        margin-bottom: 20px;
    }

    .footer-contact-col .contact-info-list {
        margin-top: 4px;
    }

    .footer-divider {
        margin: 24px 0 16px;
    }
    .copyright {
        font-size: 0.85rem;
    }
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 16px;
        left: auto;
        font-size: 1.5rem;
        border-radius: 50%;
        padding: 0;
    }
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.15;
    }
    .hero-subtitle {
        font-size: 1.15rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }
    .hero-btn-group {
        margin-bottom: 0;
    }
    .portfolio-content {
        padding: 25px;
    }
    .portfolio-title {
        font-size: 1.4rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .avatar-wrapper {
        width: 280px;
        height: 280px;
    }
    .profile-showcase {
        padding: 32px 0 52px;
    }
    .avatar-wrapper {
        margin-top: 8px;
        margin-bottom: 20px;
    }
    .rainbow-ring {
        inset: -6px;
        filter: blur(2px);
    }
    .info-chip {
        padding: 8px 12px;
    }
    .info-chip span.d-block {
        font-size: 0.75rem;
    }
    .edu-timeline {
        padding-left: 20px;
    }
    .edu-marker {
        left: -31px;
        width: 20px;
        height: 20px;
    }
    .edu-card-timeline {
        padding: 30px;
        border-radius: 24px;
    }
    .edu-card-timeline h3 {
        font-size: 1.4rem;
    }
    .testimonial-card-premium {
        padding: 25px;
    }
    .input-premium {
        padding: 28px 20px 10px;
        border-radius: 20px;
    }
    .contact-sidebar {
        padding: 35px 20px;
    }
    .contact-content {
        padding: 35px 20px;
    }
    .contact-sidebar-header {
        margin-bottom: 20px;
    }
    .contact-methods-group {
        gap: 14px;
    }
    .contact-method-card {
        padding: 18px;
        gap: 14px;
    }
    .method-icon-box {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        border-radius: 14px;
    }
    .surat-clock-widget {
        margin-top: 20px;
        padding-top: 20px;
    }
    .contact-sidebar-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    .clock-display {
        font-size: 1.8rem;
    }
    .contact-section {
        padding: 50px 0;
    }
    .form-header {
        margin-bottom: 28px;
    }
    .form-header h3 {
        font-size: 1.5rem;
    }
    .contact-nexus-form .row {
        --bs-gutter-y: 1rem;
    }
    .contact-nexus-form .row > .col-12.pt-3 {
        padding-top: 0 !important;
    }
    .textarea-message {
        height: 120px !important;
        min-height: 120px;
    }
    .btn-submit-premium {
        padding: 18px 30px;
        font-size: 1rem;
    }
    .blog-content {
        padding: 25px;
    }
    .blog-image-wrapper {
        height: 200px;
    }
    .blog-detail-page .post-content-inner {
        padding: 30px 20px;
        border-radius: 24px;
    }
    .blog-detail-page .post-container {
        margin-top: -30px;
    }
    .blog-detail-page .post-title {
        font-size: 2.2rem;
    }
    .blog-detail-page .featured-image-wrapper {
        margin-bottom: 40px;
        border-radius: 24px;
        border-width: 4px;
    }
    .blog-detail-page .blog-content h2 {
        font-size: 1.8rem;
    }
    .projects-index-page .portfolio-card {
        aspect-ratio: 1/1;
    }
    .projects-index-page .portfolio-title {
        font-size: 1.5rem;
    }
    .projects-index-page .portfolio-content {
        padding: 30px;
    }
    .projects-detail-page .project-title {
        font-size: 2.2rem;
    }
    .projects-detail-page .project-description {
        font-size: 1.1rem;
    }
    .projects-detail-page .content-body h2 {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
    .projects-detail-page .tech-section h2, .projects-detail-page .related-section h2 {
        font-size: 2.2rem !important;
    }
    .error-404-page .error-container {
        padding: 120px 0 60px;
    }
    .error-404-page .error-card {
        padding: 3.5rem 2rem;
        margin: 0 15px;
    }
    .error-404-page .error-code {
        font-size: 7rem;
    }
    .error-404-page .error-title {
        font-size: 2rem;
    }
    .error-404-page .error-desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}


/* --- @media (max-width: 576px) --- */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    .arikajs-section .section-title {
        line-height: 1.45;
    }
    .section-padding {
        padding: 50px 0;
    }
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }
    .hero-btn-group {
        flex-direction: row;
        width: 100%;
        gap: 12px;
    }
    .hero-btn-group .btn {
        flex: 1;
        padding: 12px 10px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 25px;
        line-height: 1.65;
    }
    .extremely-small {
        font-size: 0.65rem;
    }
    .award-header {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .award-icon-premium {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    .award-year-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .award-content {
        padding: 20px;
    }
    .award-title {
        font-size: 1.1rem;
    }
    .award-footer {
        padding: 16px 20px 20px;
    }
    .avatar-wrapper {
        width: min(280px, 78vw);
        height: min(280px, 78vw);
        margin: 12px auto 28px;
    }
    .rainbow-ring {
        inset: -5px;
    }
    .info-chip {
        position: static !important;
        margin: 8px auto !important;
        width: 100% !important;
        max-width: 100%;
        transform: none !important;
        justify-content: flex-start;
        padding: 10px 18px;
        border-radius: 15px;
    }
    .profile-showcase {
        flex-direction: column;
        padding: 16px 0 44px;
        align-items: center;
        gap: 0;
    }
    .profile-bg-plate {
        display: none !important;
    }
    /* Certificate/Project Slider Mobile Refinements */ .certificate-card {
        padding: 18px !important;
        border-radius: 20px !important;
    }
    .certificate-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .certificate-slider-container {
        padding: 0;
    }
    .certificate-slider {
        padding-bottom: 20px !important;
    }
    #certificates.section-padding {
        padding-bottom: 2rem;
    }
    .swiper-button-next-cert, .swiper-button-prev-cert {
        width: 32px;
        height: 32px;
    }
    .swiper-button-next-cert::after, .swiper-button-prev-cert::after {
        font-size: 0.85rem;
    }
    .portfolio-content {
        padding: 20px;
    }
    .portfolio-title {
        font-size: 1.2rem;
    }
    .about-page .about-image-container {
        max-width: 280px;
        margin: 0 auto;
        border-radius: 24px;
    }
    .about-page .experience-badge {
        right: 0;
        bottom: 0;
        padding: 12px 18px;
    }
    .about-page .experience-badge span.fs-1 {
        font-size: 1.5rem !important;
    }
    .about-page .display-4 {
        font-size: 2rem;
    }
    .about-page .about-content {
        font-size: 1rem;
    }
    .blog-index-page .blog-title {
        font-size: 1.8rem;
    }
    .blog-index-page .blog-subtitle {
        font-size: 1rem;
    }
    .blog-index-page .featured-content {
        padding: 25px 15px;
    }
    .blog-index-page .featured-title {
        font-size: 1.4rem;
    }
    .blog-index-page .featured-meta {
        gap: 15px;
        font-size: 0.85rem;
    }
    .blog-index-page .btn-featured {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    .blog-detail-page .post-title {
        font-size: 1.8rem;
    }
    .blog-detail-page .post-meta {
        gap: 15px;
        justify-content: flex-start !important;
        text-align: left;
    }
    .blog-detail-page .meta-item {
        font-size: 0.85rem;
    }
    .blog-detail-page .breadcrumb {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    .projects-detail-page .project-meta-grid {
        grid-template-columns: 1fr;
    }
    .projects-detail-page .project-actions .btn-premium {
        width: 100%;
        justify-content: center;
    }
    .projects-detail-page .tech-pill {
        padding: 12px 18px;
    }
    .projects-detail-page .nav-circle {
        width: 60px;
        height: 60px;
    }
}


/* --- @media (max-width: 480px) --- */
@media (max-width: 480px) {
    .testimonial-card-premium {
        padding: 20px;
    }
}


/* --- @media (min-width: 992px) --- */
@media (min-width: 992px) {
    .portfolio-slider-container {
        padding: 20px 0 30px;
    }
}


/* --- @media (max-width: 767px) --- */
@media (max-width: 767px) {
    .blog-index-page .blog-title {
        font-size: 2.2rem;
    }
    .blog-index-page .search-filter-card {
        padding: 1.5rem;
    }
    .blog-index-page .blog-card-image {
        height: 220px;
    }
    .blog-index-page .featured-image-wrapper {
        height: 250px;
    }
    .blog-index-page .featured-excerpt {
        font-size: 1rem;
    }
    .blog-index-page .blog-hero {
        padding: 80px 0 40px;
    }
}

/* ============================================
   LEGAL PAGE (Privacy Policy, Terms, etc.)
   ============================================ */

.legal-page {
    min-height: 100vh;
}

.legal-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.legal-content-section {
    padding: 60px 0 100px;
}

/* Table of Contents */
.legal-toc {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.legal-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-toc-link {
    display: block;
    padding: 8px 12px;
    color: #64748b;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.legal-toc-link:hover,
.legal-toc-link.active {
    color: var(--accent-color);
    background: rgba(14,165,233,0.06);
    border-left-color: var(--accent-color);
}

/* Legal Body */
.legal-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.legal-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 40px;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.legal-section:hover {
    box-shadow: 0 8px 30px rgba(14,165,233,0.08);
}

.legal-section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), #7c3aed);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.legal-section p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Icon List */
.legal-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.legal-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.legal-list-item i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-list-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legal-list-item strong {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.legal-list-item span {
    color: #64748b;
    font-size: 0.875rem;
}

/* Bullet List */
.legal-ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-ul li {
    position: relative;
    padding-left: 22px;
    color: #64748b;
    line-height: 1.7;
}

.legal-ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Contact Card */
.legal-contact-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 16px;
}

/* DB-sourced privacy policy content styling */
.legal-db-content {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
}

.legal-db-content h3,
.legal-db-content h2 {
    display: none; /* Hide redundant DB heading (e.g. "Privacy Policy") */
}

.legal-db-content p,
.legal-db-content br + br {
    margin-bottom: 10px;
    display: block;
}

.legal-db-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-db-content a:hover {
    text-decoration: underline;
}

/* ============================================
   ARIKAJS FRAMEWORK SECTION
   ============================================ */
.arikajs-section {
    position: relative;
    overflow: hidden;
}

.arikajs-section .section-title {
    color: #0f172a;
}

.arikajs-section .hero-subtitle {
    color: #475569;
}

.arika-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--accent-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.05);
}

.arika-features li {
    font-size: 1.05rem;
    color: var(--text-main);
    text-align: left;
}

.arika-features li span {
    text-align: left;
}

.arika-features i {
    color: var(--accent-color) !important; 
}

.arika-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.arika-code-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(14, 165, 233, 0.1);
    border-radius: 20px;
    background-color: #0f172a !important;
}

.code-window-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #1e293b !important;
}

.code-window-body {
    background-color: #0f172a !important;
}

.arika-float-badge {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    z-index: 2;
}

.badge-node {
    top: -20px;
    left: -20px;
    color: #4CAF50;
    animation: float-y 4s ease-in-out infinite;
}

.badge-speed {
    bottom: -20px;
    right: -20px;
    color: #FFC107;
    animation: float-y 4s ease-in-out infinite 1s;
}

@media (max-width: 991px) {
    .badge-node { top: -15px; left: -5px; }
    .badge-speed { bottom: -15px; right: -5px; }
}

/* ============================================
   ARIKAJS ECOSYSTEM SECTION
   ============================================ */
.ecosystem-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(14, 165, 233, 0.08);
}

.ecosystem-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

.eco-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

.bg-soft-primary { background-color: var(--accent-soft); }
.text-primary { color: var(--accent-color) !important; }

/* =============================================================
   MOBILE NAV — full redesign (max-width 991px only)
   Desktop (992px+) uses default Bootstrap navbar styles
   ============================================================= */
@media (max-width: 991.98px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    .navbar,
    .navbar.scrolled {
        overflow: visible !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .navbar {
        z-index: 1000;
    }

    body.mobile-nav-open .navbar {
        z-index: 1070;
    }

    .navbar .container {
        position: relative;
        z-index: 1;
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .mobile-nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-toggler {
        position: relative;
        z-index: 2;
        width: 44px;
        height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(14, 165, 233, 0.15) !important;
        box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .mobile-nav-toggler[aria-expanded="true"] {
        box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2);
    }

    .mobile-nav-toggler-box {
        width: 22px;
        height: 16px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-nav-toggler-line {
        display: block;
        width: 100%;
        height: 2.5px;
        background: #0c4a6e;
        border-radius: 4px;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, width 0.35s ease;
        transform-origin: center;
    }

    .mobile-nav-toggler[aria-expanded="true"] .mobile-nav-toggler-line:nth-child(1) {
        transform: translateY(6.75px) rotate(45deg);
    }

    .mobile-nav-toggler[aria-expanded="true"] .mobile-nav-toggler-line:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .mobile-nav-toggler[aria-expanded="true"] .mobile-nav-toggler-line:nth-child(3) {
        transform: translateY(-6.75px) rotate(-45deg);
    }

    .navbar-collapse.mobile-nav-panel {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100vw;
        z-index: 1050;
        margin: 0 !important;
        padding: 96px 28px 32px;
        background: linear-gradient(165deg, #ffffff 0%, #f0f9ff 55%, #e0f2fe 100%);
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0.35s ease;
        flex-direction: column;
    }

    .navbar-collapse.mobile-nav-panel.show,
    .navbar-collapse.mobile-nav-panel.collapsing {
        display: flex !important;
        flex-direction: column;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
    }

    .navbar-collapse.mobile-nav-panel.collapsing {
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0.35s ease !important;
    }

    .mobile-nav-list {
        width: 100%;
        flex: 1;
        align-items: flex-start !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .mobile-nav-list > .nav-item:not(.mobile-nav-cta) {
        width: 100%;
    }

    .mobile-nav-list .nav-item {
        opacity: 0;
        transform: translateX(24px);
    }

    .mobile-nav-panel.show .mobile-nav-list .nav-item,
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item {
        animation: mobileNavItemSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(1),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(1) { animation-delay: 0.06s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(2),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(2) { animation-delay: 0.1s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(3),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(3) { animation-delay: 0.14s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(4),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(4) { animation-delay: 0.18s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(5),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(5) { animation-delay: 0.22s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(6),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(6) { animation-delay: 0.26s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(7),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(7) { animation-delay: 0.3s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(8),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(8) { animation-delay: 0.34s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(9),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(9) { animation-delay: 0.38s; }
    .mobile-nav-panel.show .mobile-nav-list .nav-item:nth-child(10),
    .mobile-nav-panel.collapsing .mobile-nav-list .nav-item:nth-child(10) { animation-delay: 0.42s; }

    .mobile-nav-list .nav-link {
        display: inline-block;
        width: auto;
        text-align: left;
        padding: 12px 2px 14px !important;
        margin: 0 !important;
        font-size: 1.125rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        position: relative;
        transition: color 0.25s ease;
    }

    .mobile-nav-list .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 6px;
        width: 0;
        height: 2px;
        border-radius: 2px;
        background: var(--accent-color);
        transition: width 0.25s ease;
    }

    .mobile-nav-list .nav-link:hover,
    .mobile-nav-list .nav-link:focus {
        color: var(--accent-color) !important;
        background: transparent !important;
        transform: none !important;
    }

    .mobile-nav-list .nav-link:hover::after,
    .mobile-nav-list .nav-link:focus::after {
        width: 100%;
    }

    .mobile-nav-list .nav-link.active {
        color: var(--accent-color) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mobile-nav-list .nav-link.active::after {
        width: 100%;
    }

    .mobile-nav-cta {
        opacity: 0;
        transform: translateY(16px);
        margin-top: auto !important;
        padding-top: 12px;
    }

    .mobile-nav-panel.show .mobile-nav-cta,
    .mobile-nav-panel.collapsing .mobile-nav-cta {
        animation: mobileNavCtaUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
    }

    .mobile-nav-hire-btn {
        padding: 16px 24px !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        border-radius: 18px !important;
        border: none !important;
        background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
        box-shadow: 0 12px 32px rgba(14, 165, 233, 0.35);
        position: relative;
        overflow: hidden;
    }

    .mobile-nav-hire-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
        animation: mobileNavShine 3s ease-in-out infinite;
    }
}

@keyframes mobileNavItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mobileNavFadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileNavCtaUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileNavShine {
    0%, 100% { left: -100%; }
    50% { left: 120%; }
}

@media (prefers-reduced-motion: reduce) {
    @media (max-width: 991.98px) {
        .mobile-nav-backdrop,
        .navbar-collapse.mobile-nav-panel,
        .mobile-nav-toggler-line,
        .mobile-nav-list .nav-item,
        .mobile-nav-cta {
            transition: none !important;
            animation: none !important;
        }

        .navbar-collapse.mobile-nav-panel.show,
        .navbar-collapse.mobile-nav-panel.collapsing {
            transform: none;
        }

        .mobile-nav-list .nav-item,
        .mobile-nav-cta {
            opacity: 1;
            transform: none;
        }
    }
}

@media (min-width: 992px) {
    .mobile-nav-backdrop {
        display: none !important;
    }

    .mobile-nav-toggler {
        display: none !important;
    }

    #navbarNav.navbar-collapse.mobile-nav-panel {
        position: static;
        inset: auto;
        width: auto;
        max-width: none;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0;
        margin: 0;
        background: transparent;
        overflow: visible;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        box-shadow: none;
    }
}