/********** ULTRA-PREMIUM LIGHT THEME - INVESTOR GRADE **********/
:root {
    /* Primary Orange Accent - KEEPING #F07D1C */
    --sun-primary: #F07D1C;
    --sun-primary-soft: rgba(240, 125, 28, 0.10);
    --sun-primary-glow: rgba(240, 125, 28, 0.35);
    --sun-accent: #ffb457;
    --sun-accent-light: #ffe4c4;
    
    /* Premium Light & White Backgrounds */
    --sun-bg: #ffffff;
    --sun-bg-secondary: #fafbfc;
    --sun-bg-tertiary: #f8f9fa;
    --sun-bg-soft: #fff5eb;
    --sun-border: rgba(240, 125, 28, 0.15);
    --sun-border-light: rgba(240, 125, 28, 0.08);
    --sun-text-main: #1a202c;
    --sun-text-secondary: #2d3748;
    --sun-text-muted: #64748b;

    /* Premium Glass & Cards - Light */
    --sun-card: rgba(255, 255, 255, 0.98);
    --sun-card-strong: rgba(255, 255, 255, 1);
    --sun-glass: rgba(255, 255, 255, 0.92);
    --sun-shadow: 0 12px 48px rgba(240, 125, 28, 0.12);
    --sun-shadow-soft: 0 8px 32px rgba(240, 125, 28, 0.08);
    --sun-shadow-strong: 0 24px 72px rgba(240, 125, 28, 0.18);
    --sun-glow: 0 0 24px var(--sun-primary-glow);
    --sun-glow-strong: 0 0 40px var(--sun-primary-glow), 0 0 80px rgba(240, 125, 28, 0.2);

    --sun-ring: 0 0 0 0.2rem rgba(240, 125, 28, 0.20);
}

body {
    background: var(--sun-bg);
    color: var(--sun-text-secondary);
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    scroll-behavior: smooth;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 🎈 LARGE FLOATING CIRCLE BUBBLES (2-3 CIRCLES) */
body::before {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 125, 28, 0.15) 0%, rgba(255, 180, 87, 0.08) 50%, transparent 70%);
    top: 10%;
    left: 5%;
    pointer-events: none;
    z-index: 0;
    animation: bubble1Float 25s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 180, 87, 0.12) 0%, rgba(240, 125, 28, 0.06) 50%, transparent 70%);
    bottom: 15%;
    right: 8%;
    pointer-events: none;
    z-index: 0;
    animation: bubble2Float 30s ease-in-out infinite;
}

/* Third Bubble using pseudo-element on body */
body {
    background: var(--sun-bg);
    position: relative;
}

body {
    background-image: 
        radial-gradient(circle 300px at 50% 50%, rgba(255, 196, 72, 0.10) 0%, rgba(240, 125, 28, 0.05) 50%, transparent 70%),
        linear-gradient(rgba(240, 125, 28, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 125, 28, 0.015) 1px, transparent 1px);
    background-size: 
        600px 600px,
        50px 50px,
        50px 50px;
    background-position: 
        50% 50%,
        0 0,
        0 0;
    animation: bubble3Float 35s ease-in-out infinite;
}

@keyframes bubble1Float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(100px, -80px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(200px, -50px) scale(0.95);
        opacity: 1;
    }
    75% {
        transform: translate(100px, 50px) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes bubble2Float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    33% {
        transform: translate(-120px, 60px) scale(1.08);
        opacity: 0.9;
    }
    66% {
        transform: translate(-80px, -40px) scale(0.92);
        opacity: 0.8;
    }
}

@keyframes bubble3Float {
    0%, 100% {
        background-position: 50% 50%, 0 0, 0 0;
    }
    50% {
        background-position: 55% 45%, 0 0, 0 0;
    }
}

body > * {
    position: relative;
    z-index: 1;
}

/* Smooth Fade-in Animation for All Elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply smooth animations to sections */
.container-xxl,
.container-fluid {
    animation: fadeInUp 0.8s ease-out;
}

p {
    color: var(--sun-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--sun-text-main);
    transition: color 0.3s ease;
}

.text-primary {
    color: var(--sun-primary) !important;
}

.bg-primary {
    background-color: var(--sun-primary) !important;
}

/* Premium Light Buttons with Smooth Animations */
.btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--sun-primary), #ffb457);
    border-color: transparent;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 999px;
    padding-inline: 1.8rem;
    box-shadow: var(--sun-shadow-soft), var(--sun-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #ffb457, var(--sun-primary));
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--sun-shadow-strong), var(--sun-glow-strong);
    color: #ffffff;
}

.btn-outline-secondary {
    border-radius: 999px;
    border-color: var(--sun-border);
    color: var(--sun-text-secondary);
    background: var(--sun-card);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-outline-secondary:hover {
    border-color: var(--sun-primary);
    color: var(--sun-primary);
    background: var(--sun-primary-soft);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--sun-shadow-soft);
}

.btn-square {
    border-radius: 999px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-square:hover {
    transform: scale(1.1) rotate(5deg);
}

.bg-light {
    background: var(--sun-bg-tertiary) !important;
}

/* Premium Light Navbar with Smooth Transitions */
.navbar-premium {
    background: var(--sun-glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sun-border);
    box-shadow: var(--sun-shadow-soft);
    transition: all 0.4s ease;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffe2bf, var(--sun-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--sun-shadow-soft), var(--sun-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover .brand-mark {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--sun-shadow), var(--sun-glow-strong);
}

.brand-text-main {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sun-text-main);
    line-height: 1.1;
}

.brand-text-sub {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sun-text-muted);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--sun-text-secondary);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.6rem 0.9rem;
    position: relative;
    border-radius: 999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    width: 0;
    height: 2px;
    background: var(--sun-primary);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sun-glow);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 50%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--sun-primary);
    background: var(--sun-primary-soft);
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: var(--sun-border);
    background: var(--sun-card);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.05);
}

.navbar-toggler-icon {
    filter: brightness(0.3);
}

/* Premium Light Hero Section with Smooth Animations */
#home {
    padding-top: 7.5rem;
    padding-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%);
}

/* Clean Hero Section - NO BLUR */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(240, 125, 28, 0.03) 100%);
    pointer-events: none;
}

#home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(225deg, transparent 0%, rgba(255, 180, 87, 0.02) 100%);
    pointer-events: none;
}

#home .display-3 {
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 2.6rem;
    
}
#home .displ-4 {
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 2.6rem;
    
}



@media (min-width: 992px) {
    #home .display-3 {
        font-size: 3.1rem;
    }
}

/* 🎨 PREMIUM LIGHT HERO IMAGE WITH SMOOTH SPLASH EFFECT */
#home .col-lg-5 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clean Hero Image Container - NO BLUR */
#home .col-lg-5::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(240, 125, 28, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

#home img {
    max-width: 350px;
    width: 100%;
    border-radius: 2rem;
    border: 4px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, var(--sun-primary), var(--sun-accent), var(--sun-primary)) border-box;
    box-shadow: 
        0 20px 60px rgba(240, 125, 28, 0.15),
        0 0 60px rgba(240, 125, 28, 0.2),
        0 0 100px rgba(240, 125, 28, 0.1),
        inset 0 0 20px rgba(240, 125, 28, 0.05);
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: imagePulseLight 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: brightness(1.02) contrast(1.05);
}

@keyframes imagePulseLight {
    0%, 100% { 
        box-shadow: 
            0 20px 60px rgba(240, 125, 28, 0.15),
            0 0 60px rgba(240, 125, 28, 0.2),
            0 0 100px rgba(240, 125, 28, 0.1),
            inset 0 0 20px rgba(240, 125, 28, 0.05);
        transform: scale(1) translateY(0) rotate(0deg);
    }
    50% { 
        box-shadow: 
            0 30px 80px rgba(240, 125, 28, 0.2),
            0 0 80px rgba(240, 125, 28, 0.3),
            0 0 120px rgba(240, 125, 28, 0.15),
            inset 0 0 30px rgba(240, 125, 28, 0.08);
        transform: scale(1.05) translateY(-10px) rotate(2deg);
    }
}

#home img:hover {
    transform: scale(1.15) rotate(5deg) translateY(-20px);
    box-shadow: 
        0 40px 100px rgba(240, 125, 28, 0.25),
        0 0 100px rgba(240, 125, 28, 0.4),
        0 0 150px rgba(240, 125, 28, 0.2),
        inset 0 0 40px rgba(240, 125, 28, 0.12);
    animation: none;
    border-width: 5px;
    filter: brightness(1.05) contrast(1.08);
}

@media (min-width: 992px) {
    #home img {
        max-width: 380px;
    }
}

@media (max-width: 767px) {
    #home img {
        max-width: 280px;
    }
    
    #home .col-lg-5::before {
        width: 350px;
        height: 350px;
    }
    
    #home .col-lg-5::after {
        width: 300px;
        height: 300px;
    }
}

/* Premium Light Cards with Smooth Animations */
.card,
.bg-light,
.service-item,
.premium-panel,
.stats-card,
.mini-card,
.cap-block,
.timeline-item2,
.focus-card2 {
    background: var(--sun-card) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--sun-border) !important;
    box-shadow: var(--sun-shadow-soft);
    color: var(--sun-text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover,
.premium-panel:hover,
.stats-card:hover,
.mini-card:hover,
.cap-block:hover,
.timeline-item2:hover,
.focus-card2:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--sun-shadow-strong), var(--sun-glow);
    border-color: var(--sun-primary) !important;
}

/* Smooth Icon Animations */
.bg-icon,
.mini-ico {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .bg-icon,
.mini-card:hover .mini-ico {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--sun-glow);
}

/* Premium Light Forms */
.form-control,
.form-select {
    background: var(--sun-card);
    border: 1px solid var(--sun-border);
    color: var(--sun-text-main);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus,
.form-select:focus {
    background: #ffffff;
    border-color: var(--sun-primary);
    color: var(--sun-text-main);
    box-shadow: 0 0 0 0.25rem var(--sun-primary-soft), var(--sun-glow);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--sun-text-muted);
}

.form-floating label {
    color: var(--sun-text-muted);
}

/* Back to Top Button with Smooth Animation */
.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent)) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: var(--sun-shadow), var(--sun-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    z-index: 999 !important;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--sun-accent), var(--sun-primary)) !important;
    color: #ffffff !important;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: var(--sun-shadow-strong), var(--sun-glow-strong);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Premium Light Animations */
@keyframes pulseGlowLight {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1); 
    }
}

@keyframes pulseButtonLight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmerLight {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes numberPulseLight {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 10px rgba(240, 125, 28, 0.2));
    }
    50% { 
        transform: scale(1.1); 
        filter: drop-shadow(0 0 20px rgba(240, 125, 28, 0.4));
    }
}

/* Progress Bar Smooth Animation */
.progress {
    background-color: var(--sun-bg-tertiary);
    border-radius: 999px;
    overflow: hidden;
    height: 0.6rem;
    box-shadow: inset 0 2px 4px rgba(240, 125, 28, 0.08);
    transition: all 0.3s ease;
}

.progress-bar {
    border-radius: 999px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, var(--sun-primary), var(--sun-accent));
    box-shadow: var(--sun-glow);
}

/* Modal Smooth Animations */
.modal-content {
    border-radius: 1.25rem;
    border: 1px solid var(--sun-border);
    background: var(--sun-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: var(--sun-text-secondary);
    box-shadow: var(--sun-shadow-strong);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--sun-primary);
    color: #ffffff;
}

::-moz-selection {
    background: var(--sun-primary);
    color: #ffffff;
}

/* Spinner Light Theme */
#spinner {
    background: var(--sun-bg) !important;
}

.spinner-border.text-primary {
    color: var(--sun-primary) !important;
    filter: drop-shadow(var(--sun-glow));
}

/* Stats Strip Light Theme */
.stats-strip-wrapper {
    background: linear-gradient(to bottom, var(--sun-bg-secondary), var(--sun-bg-tertiary));
    border-top: 1px solid var(--sun-border);
    border-bottom: 1px solid var(--sun-border);
}

/* Success Metrics Light Theme - ENHANCED */
.success-metric {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--sun-border);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(240, 125, 28, 0.12),
        0 0 0 1px rgba(240, 125, 28, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.success-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sun-primary), var(--sun-accent), var(--sun-primary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.success-metric:hover::before {
    opacity: 1;
}

.success-metric:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(240, 125, 28, 0.2),
        0 0 0 2px var(--sun-primary),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: var(--sun-primary);
    background: linear-gradient(135deg, #ffffff 0%, #fff9f5 100%);
}

.success-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(240, 125, 28, 0.15));
}

.success-label {
    color: var(--sun-text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .success-metric {
        padding: 2rem 1rem;
    }
    
    .success-number {
        font-size: 2.5rem;
    }
    
    .success-label {
        font-size: 0.8rem;
    }
}

/* Footer Light Theme */
.bg-dark {
    background: var(--sun-bg-secondary) !important;
    border-top: 1px solid var(--sun-border);
}

.bg-dark.text-white,
.bg-dark .text-white {
    color: var(--sun-text-secondary) !important;
}

.bg-dark .text-secondary {
    color: var(--sun-text-muted) !important;
}

/* Smooth Hover Effects for Links */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    transform: translateY(-1px);
}

/* Smooth Transitions for All Interactive Elements */
button,
.btn,
.nav-link,
.card,
input,
textarea,
select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================= 
   SERVICES MARQUEE - AUTO-SCROLL + RESPONSIVE
========================================================== */

.services-marquee {
    position: relative;
    border-radius: 1.35rem;
    padding: .75rem 0;
    overflow: hidden;
}

.services-marquee-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    padding: .35rem 0.25rem;
}

.services-marquee-viewport::-webkit-scrollbar {
    height: 0;
    display: none;
}

.services-marquee-viewport {
    scrollbar-width: none;
}

.services-marquee-track {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    width: max-content;
    padding: 0 .65rem;
    animation: servicesScroll 80s linear infinite;
}

@keyframes servicesScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.services-marquee:hover .services-marquee-track {
    animation-play-state: paused;
}

.service-marquee-card {
    flex: 0 0 auto;
    width: clamp(260px, 38vw, 540px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-marquee-card .d-flex {
    gap: .9rem;
}

.service-marquee-card h4 {
    font-weight: 800;
    margin-bottom: .55rem !important;
    color: var(--sun-text-main);
}

.service-marquee-card span,
.service-marquee-card p {
    margin-bottom: 0 !important;
    color: var(--sun-text-muted);
    line-height: 1.45;
    font-size: .95rem;
}

@media (max-width: 576px) {
    .services-marquee-track {
        padding: 0 .45rem;
    }
}

/* ========================================================= 
   PORTFOLIO & FILTER COMPONENTS
========================================================== */

.portfolio-img {
    background: var(--sun-card);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem !important;
    border: 1px solid var(--sun-border);
    box-shadow: var(--sun-shadow-soft);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.portfolio-img:hover {
    box-shadow: var(--sun-shadow), var(--sun-glow);
    border-color: var(--sun-primary);
}

.portfolio-img img {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio-img:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.portfolio-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-img:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-btn .btn-outline-secondary {
    border-radius: 999px;
    border-color: var(--sun-border);
    background: var(--sun-card);
    backdrop-filter: blur(20px);
    box-shadow: var(--sun-shadow-soft);
}

.portfolio-btn .btn-outline-secondary:hover {
    box-shadow: var(--sun-shadow), var(--sun-glow);
}

.filter-strip {
    background: linear-gradient(135deg, var(--sun-bg-tertiary), var(--sun-bg-secondary));
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--sun-border);
    box-shadow: var(--sun-shadow-soft);
}

.filter-strip-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sun-text-muted);
    margin-bottom: 0.25rem;
}

.filter-strip-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    flex-grow: 1;
}

.filter-scroll::-webkit-scrollbar {
    height: 4px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: var(--sun-primary);
    border-radius: 999px;
}

@media (min-width: 992px) {
    .filter-scroll {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .filter-scroll::-webkit-scrollbar {
        display: none;
    }
}

#portfolio-flters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

#portfolio-flters li {
    cursor: pointer;
    background: var(--sun-card);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid var(--sun-border);
    padding: 0.55rem 1.1rem;
    white-space: nowrap;
    color: var(--sun-text-secondary);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sun-shadow-soft);
    transition: all 0.3s ease;
}

#portfolio-flters li .filter-title {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 0.75rem;
}

#portfolio-flters li.active {
    border-color: var(--sun-primary);
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    color: #ffffff;
    box-shadow: var(--sun-shadow), var(--sun-glow);
}

#portfolio-flters li:hover {
    border-color: var(--sun-primary);
    background: var(--sun-primary-soft);
    color: var(--sun-primary);
    transform: translateY(-2px);
    box-shadow: var(--sun-shadow-soft);
}

.filter-arrow {
    border-radius: 999px;
    border: 1px solid var(--sun-border);
    background: var(--sun-card);
    backdrop-filter: blur(10px);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.filter-arrow i {
    font-size: 0.9rem;
    color: var(--sun-text-muted);
}

.filter-arrow:hover {
    border-color: var(--sun-primary);
    background: var(--sun-primary-soft);
    transform: scale(1.1);
    box-shadow: var(--sun-shadow-soft);
}

.filter-arrow:hover i {
    color: var(--sun-primary);
}

/* ========================================================= 
   PROFILE SECTION & PANELS
========================================================== */

.profile-section {
    position: relative;
    overflow: hidden;
}

/* Clean Profile Section - NO BLUR */
.profile-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(240, 125, 28, 0.03) 100%);
    pointer-events: none;
}

.profile-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(225deg, transparent 0%, rgba(255, 180, 87, 0.02) 100%);
    pointer-events: none;
}

.premium-panel {
    position: relative;
    z-index: 1;
    background: var(--sun-card);
    border: 1px solid var(--sun-border);
    border-radius: 1.5rem;
    box-shadow: var(--sun-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s ease;
}

.premium-panel:hover {
    box-shadow: var(--sun-shadow-strong), var(--sun-glow);
    border-color: var(--sun-primary);
}

.premium-panel-inner {
    padding: 1.25rem;
}

@media (min-width: 992px) {
    .premium-panel-inner {
        padding: 1.65rem;
    }
}

.panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sun-text-muted);
}

.panel-kicker i {
    color: var(--sun-primary);
    filter: drop-shadow(var(--sun-glow));
}

.panel-title {
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--sun-text-main);
    margin: 0.2rem 0 0.35rem;
}

.panel-sub {
    color: var(--sun-text-secondary);
    font-size: 0.98rem;
    margin-bottom: 0;
}

.metric-badge {
    flex-shrink: 0;
    border-radius: 1.2rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--sun-border);
    background: var(--sun-card-strong);
    backdrop-filter: blur(20px);
    box-shadow: var(--sun-shadow-soft), var(--sun-glow);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--sun-shadow), var(--sun-glow-strong);
}

.metric-value {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sun-text-muted);
}

.investor-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .investor-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mini-title {
    font-weight: 700;
    color: var(--sun-text-main);
    font-size: 0.95rem;
    margin: 0 0 0.15rem;
}

.mini-text {
    margin: 0;
    font-size: 0.88rem;
    color: var(--sun-text-muted);
    line-height: 1.45;
}

.panel-cta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}

.panel-cta .btn {
    padding-block: 0.85rem;
}

/* Skills Components */
.caps-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .caps-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

.cap-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.cap-name {
    font-weight: 700;
    font-size: 0.92rem;
    margin: 0;
    color: var(--sun-text-main);
}

/* 🏷️ PREMIUM PERCENTAGE BADGES */
.cap-pill {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, 
        rgba(240, 125, 28, 0.12) 0%, 
        rgba(255, 180, 87, 0.15) 100%);
    border: 1.5px solid rgba(240, 125, 28, 0.2);
    color: var(--sun-primary);
    white-space: nowrap;
    box-shadow: 
        0 2px 8px rgba(240, 125, 28, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.cap-block:hover .cap-pill {
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    color: #ffffff;
    border-color: var(--sun-primary);
    box-shadow: 
        0 4px 12px rgba(240, 125, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.cap-block .progress {
    height: 0.58rem;
    background: var(--sun-bg-tertiary);
}

/* Premium Tabs - LIQUID MORPHING EFFECT */
.premium-tabs {
    background: var(--sun-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sun-border);
    border-radius: 999px;
    padding: 0.35rem;
    box-shadow: var(--sun-shadow-soft);
    position: relative;
}

.premium-tabs .nav-link {
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--sun-text-muted) !important;
    padding: 0.65rem 0.8rem;
    border: none !important;
    background: transparent !important;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    position: relative;
    z-index: 1;
}

.premium-tabs .nav-link:hover {
    color: var(--sun-text-main) !important;
    transform: scale(1.02);
}

.premium-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent)) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    transform: scale(1.05) !important;
    box-shadow: var(--sun-shadow-soft), var(--sun-glow) !important;
}

.timeline-grid2,
.focus-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

@media (min-width: 576px) {
    .timeline-grid2,
    .focus-grid2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ⭐ PREMIUM TIMELINE DOT */
.t-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    margin-top: 0.4rem;
    background: radial-gradient(circle at 30% 30%, #ffe2bf, var(--sun-primary));
    box-shadow: 
        0 0 0 3px rgba(240, 125, 28, 0.15),
        0 2px 8px rgba(240, 125, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-item2:hover .t-dot {
    transform: scale(1.2);
    box-shadow: 
        0 0 0 5px rgba(240, 125, 28, 0.2),
        0 4px 12px rgba(240, 125, 28, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.t-role {
    font-weight: 800;
    color: var(--sun-text-main);
    font-size: 0.95rem;
    margin: 0 0 0.1rem;
}

.t-meta {
    margin: 0;
    color: var(--sun-text-muted);
    font-size: 0.86rem;
}

.focus-title2 {
    font-weight: 800;
    color: var(--sun-text-main);
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
}

.focus-text2 {
    margin: 0;
    color: var(--sun-text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

/* ========================================================= 
   VENTURE & BADGE COMPONENTS
========================================================== */

.venture-meta {
    font-size: 0.8rem;
    color: var(--sun-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--sun-primary-soft);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid var(--sun-border);
}

.venture-list {
    font-size: 0.8rem;
    color: var(--sun-text-muted);
}

.venture-list li {
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1.2rem;
}

.venture-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sun-primary);
    font-weight: bold;
}

.venture-list li strong {
    color: var(--sun-text-main);
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--sun-border);
    background: var(--sun-card);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    color: var(--sun-text-secondary);
    margin-right: 0.4rem;
    margin-bottom: 0.35rem;
    transition: all 0.3s ease;
}

.link-pill i {
    font-size: 0.8rem;
}

.link-pill:hover {
    border-color: var(--sun-primary);
    background: var(--sun-primary-soft);
    text-decoration: none;
    color: var(--sun-primary);
    transform: translateY(-2px);
    box-shadow: var(--sun-shadow-soft);
}

.badge-year {
    background: var(--sun-primary-soft);
    color: var(--sun-primary);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--sun-border);
    box-shadow: var(--sun-glow);
}

.timeline-label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sun-text-muted);
}

/* ========================================================= 
   MODAL & CHART COMPONENTS
========================================================== */

/* Clean Modal - NO BLUR EFFECTS */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(240, 125, 28, 0.02) 100%);
    pointer-events: none;
}

.modal-header {
    border-bottom-color: var(--sun-border);
    position: relative;
    z-index: 1;
}

.modal-title {
    font-weight: 700;
    color: var(--sun-text-main);
}

.modal-body {
    padding-top: 0.75rem;
    position: relative;
    z-index: 1;
}

.modal-body p,
.modal-body li {
    color: var(--sun-text-secondary);
}

.modal-body a {
    color: var(--sun-primary);
    transition: all 0.3s ease;
}

.modal-body a:hover {
    color: var(--sun-accent);
}

.chart-card {
    border-radius: 1rem;
    border: 1px solid var(--sun-border);
    background: var(--sun-card-strong);
    backdrop-filter: blur(20px);
    padding: 1rem;
    height: 260px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    box-shadow: var(--sun-shadow);
}

.chart-card>div {
    width: 100%;
    height: 100%;
}

.chart-wrap {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.chart-canvas {
    width: 100%;
    height: 100%;
}

.chart-wrap .apexcharts-canvas,
.chart-wrap svg {
    width: 100% !important;
    height: 100% !important;
}

.modal-carousel img {
    height: 260px;
    object-fit: cover;
    border-radius: 0.9rem;
}

@media (min-width: 992px) {
    .modal-carousel img {
        height: 320px;
    }
}

/* ========================================================= 
   UTILITY CLASSES
========================================================== */

.container-xxl {
    scroll-margin-top: 90px;
}

.border-end {
    border-color: var(--sun-border) !important;
}

.border,
.border-2 {
    border-color: var(--sun-border) !important;
}

.nav-pills .nav-link {
    background: transparent;
    color: var(--sun-text-muted);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background: var(--sun-primary-soft);
    color: var(--sun-primary);
}

.nav-pills .nav-link.active {
    background: var(--sun-card);
    backdrop-filter: blur(10px);
    color: var(--sun-primary);
    box-shadow: var(--sun-shadow-soft), var(--sun-glow);
    border: 1px solid var(--sun-border);
}

hr {
    border-color: var(--sun-border) !important;
    opacity: 0.3;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--sun-text-muted);
    margin-bottom: 0.4rem;
}

.hero-tagline {
    font-size: 1.02rem;
    color: var(--sun-text-secondary);
    margin-bottom: 0.9rem;
}

.hero-meta-line {
    font-size: 0.85rem;
    color: var(--sun-text-muted);
    margin-top: 0.6rem;
}

.hero-meta-line span {
    color: var(--sun-text-main);
    font-weight: 600;
}

.hero-ventures-inline {
    font-size: 0.8rem;
    color: var(--sun-text-muted);
    margin-top: 0.4rem;
}

.hero-ventures-inline span {
    color: var(--sun-text-main);
    font-weight: 600;
}

#home p {
    max-width: 640px;
}

@media (max-width: 575.98px) {
    .metric-badge {
        min-width: 104px;
    }
    .metric-value {
        font-size: 1.5rem;
    }
    .panel-title {
        font-size: 1.35rem;
    }
}

/* Contact Section Glows */
#contact {
    position: relative;
    overflow: hidden;
}

/* Clean Contact Section - NO BLUR */
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(240, 125, 28, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgba(255, 180, 87, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

#contact h3.fw-bold a {
    color: var(--sun-text-main);
    transition: all 0.3s ease;
}

#contact h3.fw-bold a:hover {
    color: var(--sun-primary);
}

/* ========================================================= 
   💎 PREMIUM PANEL STYLES - INVESTOR-GRADE ABOUT + SKILLS
========================================================== */

.profile-section {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

/* Elegant ambient glow effects */
.profile-section::before {
    content: "";
    position: absolute;
    inset: -200px -200px auto auto;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at 30% 30%, rgba(240, 125, 28, 0.15), rgba(240, 125, 28, 0.00) 60%);
    filter: blur(60px);
    pointer-events: none;
    animation: profileGlowLight 18s ease-in-out infinite;
}

.profile-section::after {
    content: "";
    position: absolute;
    inset: auto auto -260px -260px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 180, 87, 0.12), rgba(255, 180, 87, 0.00) 60%);
    pointer-events: none;
    filter: blur(60px);
    animation: profileGlowLight 22s ease-in-out infinite reverse;
}

@keyframes profileGlowLight {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.4;
    }
    50% { 
        transform: translate(50px, -50px) scale(1.2); 
        opacity: 0.7;
    }
}

/* 🎨 ULTRA-PREMIUM PANEL CARD - Main Container */
.premium-panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 1.75rem;
    box-shadow: 
        0 10px 40px rgba(240, 125, 28, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(240, 125, 28, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium gradient border effect */
.premium-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.75rem;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(240, 125, 28, 0.3) 0%, 
        rgba(255, 180, 87, 0.2) 50%, 
        rgba(240, 125, 28, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.premium-panel:hover::before {
    opacity: 1;
}

/* Subtle shimmer effect on hover */
.premium-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(240, 125, 28, 0.08) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.premium-panel:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.premium-panel:hover {
    box-shadow: 
        0 20px 60px rgba(240, 125, 28, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 0 0 2px rgba(240, 125, 28, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(240, 125, 28, 0.2);
}

.premium-panel-inner {
    padding: 1.25rem;
}

@media (min-width: 992px) {
    .premium-panel-inner {
        padding: 1.65rem;
    }
}

.panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sun-text-muted);
}

.panel-kicker i {
    color: var(--sun-primary);
    filter: drop-shadow(var(--sun-glow));
}

.panel-title {
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--sun-text-main);
    margin: 0.2rem 0 0.35rem;
}

.panel-sub {
    color: var(--sun-text-secondary);
    font-size: 0.98rem;
    margin-bottom: 0;
}

/* 🎖️ PREMIUM METRIC BADGE - Years Experience */
.metric-badge {
    flex-shrink: 0;
    border-radius: 1.4rem;
    padding: 1rem 1.1rem;
    border: 2px solid rgba(240, 125, 28, 0.15);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 6px 24px rgba(240, 125, 28, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    min-width: 130px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(240, 125, 28, 0.05) 0%, 
        rgba(255, 180, 87, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-badge:hover::before {
    opacity: 1;
}

.metric-badge:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 
        0 12px 40px rgba(240, 125, 28, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 0 0 2px rgba(240, 125, 28, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(240, 125, 28, 0.3);
}

.metric-value {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sun-text-muted);
}

.investor-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .investor-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 💳 PREMIUM MINI-CARDS - Feature Highlights */
.mini-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(240, 125, 28, 0.12);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    box-shadow: 
        0 4px 16px rgba(240, 125, 28, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay on hover */
.mini-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(240, 125, 28, 0.03) 0%, 
        rgba(255, 180, 87, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mini-card:hover::before {
    opacity: 1;
}

.mini-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(240, 125, 28, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(240, 125, 28, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(240, 125, 28, 0.25);
}

/* 🎯 PREMIUM ICON BADGES */
.mini-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(240, 125, 28, 0.12) 0%, 
        rgba(255, 180, 87, 0.15) 100%);
    color: var(--sun-primary);
    border: 1.5px solid rgba(240, 125, 28, 0.15);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(240, 125, 28, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
}

.mini-ico::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mini-card:hover .mini-ico {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 
        0 6px 20px rgba(240, 125, 28, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(240, 125, 28, 0.3);
}

.mini-card:hover .mini-ico::before {
    opacity: 0.15;
}

.mini-ico i {
    font-size: 1.15rem;
    color: var(--sun-primary);
    filter: drop-shadow(0 2px 4px rgba(240, 125, 28, 0.2));
    position: relative;
    z-index: 1;
}

.mini-title {
    font-weight: 700;
    color: var(--sun-text-main);
    font-size: 0.95rem;
    margin: 0 0 0.15rem;
}

.mini-text {
    margin: 0;
    font-size: 0.88rem;
    color: var(--sun-text-muted);
    line-height: 1.45;
}

.panel-cta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}

.panel-cta .btn {
    padding-block: 0.85rem;
}

/* Skills side */
.caps-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .caps-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

/* 📊 PREMIUM CAPABILITY CARDS - Skills Display */
.cap-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(240, 125, 28, 0.1);
    border-radius: 1.2rem;
    padding: 1.1rem 1.15rem;
    box-shadow: 
        0 4px 16px rgba(240, 125, 28, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cap-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sun-primary), var(--sun-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cap-block:hover::before {
    opacity: 1;
}

.cap-block:hover {
    box-shadow: 
        0 10px 30px rgba(240, 125, 28, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(240, 125, 28, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(240, 125, 28, 0.2);
    transform: translateY(-5px) scale(1.01);
}

.cap-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.cap-name {
    font-weight: 700;
    font-size: 0.92rem;
    margin: 0;
    color: var(--sun-text-main);
}

.cap-pill {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--sun-primary-soft);
    border: 1px solid var(--sun-border);
    color: var(--sun-primary);
    white-space: nowrap;
    box-shadow: var(--sun-glow);
}

.cap-block .progress {
    height: 0.58rem;
    background: var(--sun-bg-tertiary);
}

/* Premium tabs */
.premium-tabs {
    background: var(--sun-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sun-border);
    border-radius: 999px;
    padding: 0.35rem;
    box-shadow: var(--sun-shadow-soft);
}

.premium-tabs .nav-link {
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--sun-text-muted);
    padding: 0.65rem 0.8rem;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-tabs .nav-link:hover {
    color: var(--sun-text-main);
    background: var(--sun-primary-soft);
}

.premium-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--sun-primary), var(--sun-accent));
    color: #ffffff !important;
    border-color: var(--sun-primary);
    box-shadow: var(--sun-shadow-soft), var(--sun-glow);
    font-weight: 800;
}

.timeline-grid2,
.focus-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

@media (min-width: 576px) {
    .timeline-grid2,
    .focus-grid2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* 📅 PREMIUM TIMELINE & FOCUS CARDS */
.timeline-item2,
.focus-card2 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(240, 125, 28, 0.1);
    border-radius: 1.2rem;
    padding: 1rem 1.1rem;
    box-shadow: 
        0 4px 16px rgba(240, 125, 28, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-item2::before,
.focus-card2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--sun-primary), var(--sun-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-item2:hover::before,
.focus-card2:hover::before {
    opacity: 1;
}

.timeline-item2:hover,
.focus-card2:hover {
    box-shadow: 
        0 10px 30px rgba(240, 125, 28, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(240, 125, 28, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(240, 125, 28, 0.2);
    transform: translateY(-5px) scale(1.01);
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin-top: 0.35rem;
    background: radial-gradient(circle at 30% 30%, #ffe2bf, var(--sun-primary));
    box-shadow: var(--sun-glow);
    flex-shrink: 0;
}

.t-role {
    font-weight: 800;
    color: var(--sun-text-main);
    font-size: 0.95rem;
    margin: 0 0 0.1rem;
}

.t-meta {
    margin: 0;
    color: var(--sun-text-muted);
    font-size: 0.86rem;
}

.focus-title2 {
    font-weight: 800;
    color: var(--sun-text-main);
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
}

.focus-text2 {
    margin: 0;
    color: var(--sun-text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Tighter spacing on mobile */
@media (max-width: 575.98px) {
    .metric-badge {
        min-width: 104px;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .panel-title {
        font-size: 1.35rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================================= 
   📱 MOBILE OPTIMIZATION FOR 5-INCH PHONES (320px-575px)
========================================================== */

/* Mobile: Extra Small Devices (320px to 575px) */
@media (max-width: 575.98px) {
    
    /* === GLOBAL MOBILE ADJUSTMENTS === */
    body {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Reduce bubble effects on mobile */
    body::before {
        width: 280px;
        height: 280px;
        top: 5%;
        left: -10%;
    }
    
    body::after {
        width: 250px;
        height: 250px;
        bottom: 10%;
        right: -10%;
    }
    
    /* === TYPOGRAPHY MOBILE === */
    h1, .display-3 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }
    
    h2, .display-4 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    h3, .display-5 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    h5 {
        font-size: 1rem !important;
    }
    
    h6 {
        font-size: 0.9rem !important;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* === SPACING MOBILE === */
    .container,
    .container-fluid,
    .container-xxl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-6 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .pb-5 {
        padding-bottom: 2.5rem !important;
    }
    
    .pt-5 {
        padding-top: 2.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-4 {
        margin-top: 1.5rem !important;
    }
    
    /* === BUTTONS MOBILE === */
    .btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.5rem !important;
        min-height: 44px;
        letter-spacing: 0.02em !important;
    }
    
    .btn-lg {
        padding: 0.85rem 1.8rem !important;
        font-size: 0.95rem !important;
    }
    
    .btn-sm {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-height: 40px;
    }
    
    .btn-square {
        width: 44px !important;
        height: 44px !important;
    }
    
    .btn-lg-square {
        width: 48px !important;
        height: 48px !important;
    }
    
    /* === NAVBAR MOBILE === */
    .navbar-premium {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-brand {
        gap: 0.4rem !important;
    }
    
    .brand-mark {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
    }
    
    .brand-text-main {
        font-size: 0.85rem !important;
        letter-spacing: 0.1em !important;
    }
    
    .brand-text-sub {
        font-size: 0.6rem !important;
        letter-spacing: 0.12em !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
        font-size: 0.85rem !important;
        padding: 0.7rem 1rem !important;
        letter-spacing: 0.05em !important;
    }
    
    .navbar-toggler {
        padding: 0.5rem 0.75rem;
        font-size: 1.1rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* === HERO SECTION MOBILE === */
    #home {
        padding-top: 5rem !important;
        padding-bottom: 2rem !important;
    }
    
    #home .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    #home .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #home .col-lg-7,
    #home .col-lg-5 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    #home img {
        max-width: 240px !important;
        border-width: 3px !important;
        border-radius: 1.5rem !important;
    }
    
    #home .col-lg-5::before {
        width: 280px !important;
        height: 280px !important;
    }
    
    .hero-kicker {
        font-size: 0.7rem !important;
        letter-spacing: 0.12em !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-tagline {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .hero-ventures-inline {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }
    
    .hero-meta-line {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    #home .d-flex.align-items-center {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }
    
    #home .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* === CARDS & PANELS MOBILE === */
    .premium-panel {
        border-radius: 1.2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .premium-panel-inner {
        padding: 1rem !important;
    }
    
    .panel-top {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .panel-kicker {
        font-size: 0.68rem !important;
        letter-spacing: 0.12em !important;
    }
    
    .panel-title {
        font-size: 1.3rem !important;
        margin: 0.3rem 0 0.5rem !important;
    }
    
    .panel-sub {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .metric-badge {
        min-width: 100px !important;
        padding: 0.75rem 0.85rem !important;
        border-radius: 1rem !important;
        align-self: flex-start !important;
    }
    
    .metric-value {
        font-size: 1.4rem !important;
    }
    
    .metric-label {
        font-size: 0.65rem !important;
        margin-top: 0.25rem !important;
    }
    
    /* === SERVICE CARDS MOBILE === */
    .service-item {
        border-radius: 1rem !important;
        padding: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-item .bg-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1rem !important;
    }
    
    .service-item .bg-icon i {
        font-size: 1.5rem !important;
    }
    
    .service-item h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .service-item span,
    .service-item p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }
    
    /* === SERVICE MARQUEE MOBILE === */
    .services-marquee {
        border-radius: 1rem !important;
        padding: 0.5rem 0 !important;
    }
    
    .services-marquee-track {
        gap: 0.75rem !important;
        padding: 0 0.5rem !important;
    }
    
    .service-marquee-card {
        width: 280px !important;
        min-width: 280px !important;
    }
    
    .service-marquee-card .d-flex {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .service-marquee-card .bg-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .service-marquee-card h4 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .service-marquee-card span {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }
    
    /* === PORTFOLIO & FILTERS MOBILE === */
    .filter-strip {
        border-radius: 0.85rem !important;
        padding: 0.65rem 0.75rem !important;
    }
    
    .filter-strip-label {
        font-size: 0.7rem !important;
        letter-spacing: 0.12em !important;
        margin-bottom: 0.4rem !important;
    }
    
    .filter-strip-controls {
        gap: 0.4rem !important;
    }
    
    .filter-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    
    .filter-arrow i {
        font-size: 0.85rem !important;
    }
    
    #portfolio-flters {
        gap: 0.5rem !important;
    }
    
    #portfolio-flters li {
        padding: 0.6rem 1rem !important;
        font-size: 0.75rem !important;
        border-radius: 999px !important;
    }
    
    #portfolio-flters li .filter-title {
        font-size: 0.72rem !important;
        letter-spacing: 0.08em !important;
    }
    
    .portfolio-img {
        border-radius: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .portfolio-btn {
        padding: 1rem !important;
    }
    
    .portfolio-btn .btn {
        width: 44px !important;
        height: 44px !important;
    }
    
    /* === VENTURE CARDS MOBILE === */
    .venture-meta {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.65rem !important;
        letter-spacing: 0.08em !important;
    }
    
    .venture-list {
        font-size: 0.85rem !important;
        padding-left: 1rem !important;
    }
    
    .venture-list li {
        margin-bottom: 0.4rem !important;
        padding-left: 1rem !important;
    }
    
    .link-pill {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.65rem !important;
        margin-right: 0.3rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .link-pill i {
        font-size: 0.75rem !important;
    }
    
    /* === STATS/METRICS MOBILE === */
    .success-metric {
        border-radius: 1.2rem !important;
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .success-number {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .success-label {
        font-size: 0.8rem !important;
        letter-spacing: 0.08em !important;
    }
    
    /* === MINI CARDS MOBILE === */
    .investor-mini-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }
    
    .mini-card {
        border-radius: 1rem !important;
        padding: 0.9rem 1rem !important;
        gap: 0.75rem !important;
    }
    
    .mini-ico {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
    }
    
    .mini-ico i {
        font-size: 1rem !important;
    }
    
    .mini-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .mini-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* === SKILLS/CAPABILITIES MOBILE === */
    .caps-wrap {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .cap-block {
        border-radius: 1rem !important;
        padding: 0.9rem 1rem !important;
    }
    
    .cap-name {
        font-size: 0.88rem !important;
    }
    
    .cap-pill {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .cap-block .progress {
        height: 0.5rem !important;
    }
    
    /* === TABS MOBILE === */
    .premium-tabs {
        border-radius: 999px !important;
        padding: 0.3rem !important;
    }
    
    .premium-tabs .nav-link {
        font-size: 0.75rem !important;
        padding: 0.6rem 0.7rem !important;
        letter-spacing: 0.03em !important;
    }
    
    .timeline-grid2,
    .focus-grid2 {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }
    
    .timeline-item2,
    .focus-card2 {
        border-radius: 1rem !important;
        padding: 0.85rem 0.95rem !important;
        gap: 0.7rem !important;
    }
    
    .t-dot {
        width: 10px !important;
        height: 10px !important;
        margin-top: 0.3rem !important;
    }
    
    .t-role {
        font-size: 0.9rem !important;
    }
    
    .t-meta {
        font-size: 0.82rem !important;
    }
    
    .focus-title2 {
        font-size: 0.9rem !important;
    }
    
    .focus-text2 {
        font-size: 0.85rem !important;
    }
    
    .panel-cta {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .panel-cta .btn {
        width: 100% !important;
        padding: 0.8rem 1.5rem !important;
    }
    
    /* === MODALS MOBILE === */
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
    }
    
    .modal-content {
        border-radius: 1.2rem !important;
    }
    
    .modal-header {
        padding: 1rem !important;
    }
    
    .modal-title {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    
    .modal-body {
        padding: 1rem !important;
    }
    
    .modal-carousel img {
        height: 200px !important;
        border-radius: 0.75rem !important;
    }
    
    .chart-card {
        border-radius: 0.85rem !important;
        padding: 0.75rem !important;
        height: 220px !important;
    }
    
    .timeline-label {
        font-size: 0.75rem !important;
        letter-spacing: 0.08em !important;
    }
    
    .badge-year {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.75rem !important;
        letter-spacing: 0.05em !important;
    }
    
    /* === FORMS MOBILE === */
    .form-floating {
        margin-bottom: 1rem !important;
    }
    
    .form-control,
    .form-select {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        min-height: 48px !important;
        border-radius: 0.75rem !important;
    }
    
    .form-floating > label {
        font-size: 0.85rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        font-size: 0.75rem !important;
        padding: 0.25rem 1rem !important;
    }
    
    textarea.form-control {
        min-height: 120px !important;
    }
    
    /* === CONTACT SECTION MOBILE === */
    #contact h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    #contact h3 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    #contact p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    #contact .btn-square {
        width: 44px !important;
        height: 44px !important;
        margin-right: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* === BACK TO TOP MOBILE === */
    .back-to-top {
        right: 20px !important;
        bottom: 20px !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .back-to-top i {
        font-size: 1rem !important;
    }
    
    /* === FOOTER MOBILE === */
    .container-fluid.py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .container-fluid.py-4 .row {
        text-align: center !important;
    }
    
    .container-fluid.py-4 .col-md-6 {
        margin-bottom: 0.5rem !important;
    }
    
    /* === PROFILE SECTION MOBILE === */
    .profile-section {
        padding: 2rem 0 !important;
    }
    
    .profile-section::before,
    .profile-section::after {
        width: 400px !important;
        height: 400px !important;
    }
    
    /* === UTILITY MOBILE === */
    .g-4 {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1rem !important;
    }
    
    .g-5 {
        --bs-gutter-x: 1.5rem !important;
        --bs-gutter-y: 1.5rem !important;
    }
    
    .row {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }
    
    .row > * {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* === TEXT ALIGNMENT MOBILE === */
    .text-lg-end {
        text-align: center !important;
    }
    
    .text-md-start {
        text-align: center !important;
    }
    
    .text-md-end {
        text-align: center !important;
    }
}

/* Mobile: Very Small Phones (320px to 374px) */
@media (max-width: 374px) {
    
    /* Extra small adjustments */
    h1, .display-3 {
        font-size: 1.6rem !important;
    }
    
    h2, .display-4 {
        font-size: 1.4rem !important;
    }
    
    h3, .display-5 {
        font-size: 1.3rem !important;
    }
    
    .btn {
        font-size: 0.85rem !important;
        padding: 0.7rem 1.3rem !important;
    }
    
    #home img {
        max-width: 220px !important;
    }
    
    .brand-text-main {
        font-size: 0.8rem !important;
    }
    
    .service-marquee-card {
        width: 260px !important;
        min-width: 260px !important;
    }
    
    .success-number {
        font-size: 2rem !important;
    }
    
    .metric-badge {
        min-width: 90px !important;
        padding: 0.65rem 0.75rem !important;
    }
    
    .metric-value {
        font-size: 1.3rem !important;
    }
    
    .container,
    .container-fluid,
    .container-xxl {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Mobile: Landscape Orientation */
@media (max-width: 767px) and (orientation: landscape) {
    
    #home {
        padding-top: 4rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    #home img {
        max-width: 200px !important;
    }
    
    .modal-carousel img {
        height: 180px !important;
    }
    
    .chart-card {
        height: 200px !important;
    }
    
    .py-6 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Touch-friendly adjustments for all mobile */
@media (max-width: 767px) {
    
    /* Ensure all interactive elements are touch-friendly */
    a,
    button,
    .btn,
    .nav-link,
    input,
    textarea,
    select,
    .form-control,
    .portfolio-btn .btn,
    .filter-arrow,
    #portfolio-flters li {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better tap targets for links */
    a:not(.btn) {
        padding: 0.25rem 0;
        display: inline-block;
    }
    
    /* Prevent text selection on buttons */
    .btn,
    button {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better image rendering on mobile */
    img {
        max-width: 100%;
        height: auto;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}
/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================================= 
   📱 MOBILE OPTIMIZATION FOR 5-INCH PHONES (320px-575px)
========================================================== */

/* Mobile: Extra Small Devices (320px to 575px) */
@media (max-width: 575.98px) {
    
    /* === GLOBAL MOBILE ADJUSTMENTS === */
    body {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Reduce bubble effects on mobile */
    body::before {
        width: 280px;
        height: 280px;
        top: 5%;
        left: -10%;
    }
    
    body::after {
        width: 250px;
        height: 250px;
        bottom: 10%;
        right: -10%;
    }
    
    /* === TYPOGRAPHY MOBILE === */
    h1, .display-3 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }
    
    h2, .display-4 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    h3, .display-5 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    h5 {
        font-size: 1rem !important;
    }
    
    h6 {
        font-size: 0.9rem !important;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* === SPACING MOBILE === */
    .container,
    .container-fluid,
    .container-xxl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-6 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .pb-5 {
        padding-bottom: 2.5rem !important;
    }
    
    .pt-5 {
        padding-top: 2.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-4 {
        margin-top: 1.5rem !important;
    }
    
    /* === BUTTONS MOBILE === */
    .btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.5rem !important;
        min-height: 44px;
        letter-spacing: 0.02em !important;
    }
    
    .btn-lg {
        padding: 0.85rem 1.8rem !important;
        font-size: 0.95rem !important;
    }
    
    .btn-sm {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-height: 40px;
    }
    
    .btn-square {
        width: 44px !important;
        height: 44px !important;
    }
    
    .btn-lg-square {
        width: 48px !important;
        height: 48px !important;
    }
    
    /* === NAVBAR MOBILE === */
    .navbar-premium {
        padding: 0.5rem 0 !important;
    }
}