/* Section 1 CSS — Top Navbar + Hero (matches uploaded design) */

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
:root{
  
  --bg:#0b0016;
  --accent1:#5c35a6;
  --accent2:#7d49e5;
  --accent-grad: linear-gradient(220deg,var(--accent1),var(--accent2));
  --muted:#a6a4a8;
  --glass: rgba(255,255,255,0.02);
  --white:#ffffff;
}
html,body{height:100%}
body{
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background:var(--bg);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* container helper */
.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 24px}

/* HEADER */
/* ======== HEADER & HAMBURGER ======== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 0, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(179, 122, 255, 0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(11, 0, 22, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo/Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(179, 122, 255, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.85rem;
    color: #b37aff;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #b37aff, #7d49e5);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: #b37aff;
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hire Button */
.btn-hire {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-hire:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(125, 73, 229, 0.3);
}

.btn-hire:active {
    transform: translateY(0);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(179, 122, 255, 0.1);
    border-color: rgba(179, 122, 255, 0.4);
}

.hamburger:focus {
    outline: 2px solid rgba(179, 122, 255, 0.5);
    outline-offset: 2px;
}

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-6px);
}

.hamburger-line:nth-child(3) {
    transform: translateY(6px);
}

/* Hamburger Open State */
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 90px;
    right: 24px;
    background: rgba(11, 0, 22, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(179, 122, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    min-width: 280px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-top: 1px solid rgba(179, 122, 255, 0.2);
    border-left: 1px solid rgba(179, 122, 255, 0.2);
    transform: rotate(45deg);
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: rgba(179, 122, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.mobile-menu-link.active {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    color: #b37aff;
    border-left: 3px solid #b37aff;
}

.mobile-menu-link svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.mobile-menu-link:hover svg {
    opacity: 1;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

/* Mobile Menu CTA */
.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.mobile-cta-btn:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-2px);
}

.mobile-cta-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .btn-hire {
        display: none;
    }
    
    .header-inner {
        padding: 15px 20px;
    }
    
    .brand-logo {
        width: 45px;
        height: 45px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .mobile-menu {
        top: 85px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 16px;
    }
    
    .brand {
        gap: 12px;
    }
    
    .brand-logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-sub {
        font-size: 0.8rem;
    }
    
    .hamburger {
        width: 45px;
        height: 45px;
    }
    
    .mobile-menu {
        top: 80px;
        right: 16px;
        left: 16px;
        min-width: auto;
    }
    
    .mobile-menu::before {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 10px 12px;
    }
    
    .brand-logo {
        width: 36px;
        height: 36px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .hamburger {
        width: 40px;
        height: 40px;
    }
    
    .hamburger-line {
        width: 20px;
    }
    
    .mobile-menu {
        top: 75px;
        right: 12px;
        left: 12px;
        padding: 16px;
    }
    
    .mobile-menu::before {
        right: 15px;
    }
    
    .mobile-menu-link {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Accessibility */
.nav-link:focus,
.btn-hire:focus,
.hamburger:focus,
.mobile-menu-link:focus {
    outline: 2px solid rgba(179, 122, 255, 0.5);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .brand,
    .nav-link,
    .btn-hire,
    .hamburger,
    .mobile-menu,
    .mobile-menu-link,
    .mobile-cta-btn {
        transition: none !important;
    }
}

/* Print styles */
@media print {
    .site-header {
        position: static;
        background: #fff !important;
        border-bottom: 1px solid #ddd;
    }
    
    .hamburger,
    .btn-hire,
    .mobile-menu {
        display: none !important;
    }
    
    .main-nav {
        display: block !important;
    }
    
    .nav-list {
        display: flex !important;
        gap: 15px;
    }
    
    .nav-link {
        color: #000 !important;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(92, 53, 166, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(125, 73, 229, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-left {
    align-self: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b37aff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(179, 122, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(179, 122, 255, 0.2);
}

.eyebrow::before {
    content: '👋';
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .plus {
    color: #7d49e5;
    margin-left: 8px;
}

.hero-desc {
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    text-align: center;
    position: relative;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.stat:hover {
    background: rgba(179, 122, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    position: relative;
}

.stat span {
    font-size: 0.9rem;
    color: var(--muted);
    display: block;
}

.stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.3), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary {
    padding: 16px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5c35a6, #7d49e5);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.3);
    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.2), transparent);
    transition: left 0.6s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-ghost {
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(179, 122, 255, 0.3);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
    border-color: #b37aff;
    background: rgba(179, 122, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Social Icons with Hover Effects */
.hero-socials {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    padding: 1px;
    background: linear-gradient(135deg, #5c35a6, #7d49e5);
    -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.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(179, 122, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.social-icon img {
    width: 24px;
    height: 29px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-icon:hover img {
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(230deg) saturate(5);
}

/* Profile Image Styling */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.profile-card {
    position: relative;
    border-radius: 24px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.profile-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 16px;
    display: block;
    transform: translateZ(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1);
    cursor: pointer;
}

.profile-card:hover .profile-img {
    transform: translateZ(30px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 40px 80px rgba(125, 73, 229, 0.3);
    filter: brightness(1.1) contrast(1.2);
    cursor: pointer;

}

.profile-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(92, 53, 166, 0.5), rgba(125, 73, 229, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-card:hover::after {
    opacity: 1;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(179, 122, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    z-index: -1;
}

.floating-element:nth-child(1) {
    top: -30px;
    left: -30px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: 30px;
    right: -30px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: -40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr 380px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 140px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-desc {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
}

/* ======== SERVICES SECTION ======== */
.services-section {
    background: linear-gradient(180deg, #0b0016 0%, #0a0018 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(92, 53, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 73, 229, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.services-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1), transparent);
    -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.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg, transparent, rgba(179, 122, 255, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(179, 122, 255, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(179, 122, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.service-icon img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(230deg) saturate(5);
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #b37aff, #7d49e5);
    border-radius: 2px;
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover .service-content h3::after {
    transform: scaleX(1);
}

.service-content p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover .service-features li {
    transform: translateX(5px);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #b37aff;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.service-card:hover .service-features li::before {
    transform: translateX(3px);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b37aff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #b37aff, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    color: rgba(179, 122, 255, 0.1);
    transform: scale(1.1);
}

/* Active service card */
.service-card.active {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-color: rgba(179, 122, 255, 0.4);
}

.service-card.active .service-link {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Service highlight badges */
.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(125, 73, 229, 0.3);
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    opacity: 1;
    transform: translateY(0);
    animation: float 3s ease-in-out infinite;
}

/* Service card hover glow effect */
.service-glow {
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(179, 122, 255, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover .service-glow {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .service-icon img {
        width: 30px;
        height: 30px;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .service-number {
        font-size: 4rem;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
}

/* ======== RESUME SECTION ======== */
.resume-section {
    background: linear-gradient(180deg, #090015 0%, #080013 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.resume-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(92, 53, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 73, 229, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.resume-header {
    text-align: center;
    margin-bottom: 80px;
}

.resume-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.resume-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Resume Tabs */
.resume-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    position: relative;
}

.resume-tab {
    position: relative;
    background: transparent;
    border: 1px solid rgba(179, 122, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 16px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.resume-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.resume-tab:hover::before {
    left: 100%;
}

.resume-tab:hover {
    color: #fff;
    border-color: rgba(179, 122, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.resume-tab.active {
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.3);
    transform: translateY(-3px);
}

.resume-tab.active:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.4);
}

.resume-tab svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.resume-tab:hover svg {
    transform: scale(1.1);
}

/* Resume Content */
.resume-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.resume-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Resume Grid */
.resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Resume Column */
.resume-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.resume-column:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(179, 122, 255, 0.1);
}

.resume-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7d49e5, #5c35a6);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.resume-column:hover::before {
    transform: scaleX(1);
}

/* Column Header */
.column-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.column-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.resume-column:hover .column-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.column-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
    transition: all 0.3s ease;
}

.resume-column:hover .column-icon svg {
    color: #fff;
    transform: scale(1.1);
}

.column-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

/* Resume Items */
.resume-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.resume-item {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.resume-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.resume-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #7d49e5, #5c35a6);
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.resume-item:hover::before {
    transform: scaleY(1);
}

/* Timeline Indicator */
.timeline-indicator {
    position: absolute;
    left: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    border: 3px solid rgba(11, 0, 22, 0.9);
    z-index: 2;
    box-shadow: 0 0 20px rgba(125, 73, 229, 0.5);
}

/* Item Header */
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.item-company {
    color: #b37aff;
    font-size: 1rem;
    font-weight: 600;
}

.item-period {
    background: rgba(179, 122, 255, 0.1);
    color: #b37aff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(179, 122, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.resume-item:hover .item-period {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    border-color: rgba(179, 122, 255, 0.4);
    transform: translateY(-2px);
}

.item-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: rgba(179, 122, 255, 0.1);
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.skill-percentage {
    color: #b37aff;
    font-weight: 700;
    font-size: 1.1rem;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #7d49e5, #b37aff);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Resume Download CTA */
.resume-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 20px 50px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(179, 122, 255, 0.3);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::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: left 0.6s ease;
}

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

.download-btn:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(125, 73, 229, 0.4);
}

.download-btn:active {
    transform: translateY(-2px);
}

.download-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(2px);
}

/* Resume Stats */
.resume-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .resume-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .resume-section {
        padding: 80px 0;
    }
    
    .resume-title {
        font-size: 2.5rem;
    }
    
    .resume-tabs {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .resume-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .resume-grid {
        gap: 30px;
    }
    
    .resume-column {
        padding: 30px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .resume-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-btn {
        padding: 18px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .resume-title {
        font-size: 2rem;
    }
    
    .resume-subtitle {
        font-size: 1rem;
    }
    
    .resume-column {
        padding: 25px;
    }
    
    .resume-item {
        padding: 25px;
    }
    
    .item-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .item-period {
        align-self: flex-start;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .resume-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* Animation Classes */
.resume-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .resume-section {
        background: #fff !important;
        color: #000 !important;
        padding: 40px 0 !important;
    }
    
    .resume-tabs,
    .resume-cta {
        display: none !important;
    }
    
    .resume-content {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .resume-column {
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .resume-item {
        background: #fff !important;
        border: 1px solid #eee !important;
        color: #000 !important;
    }
    
    .timeline-indicator {
        background: #000 !important;
        border-color: #fff !important;
    }
}



/* ======== SKILLS SECTION ======== */
.skills-section {
    background: linear-gradient(180deg, #080013 0%, #070011 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(92, 53, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(125, 73, 229, 0.15) 0%, transparent 50%);
    z-index: 0;
    animation: gradientShift 10s ease-in-out infinite alternate;
}

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

/* Skills Header */
.skills-header {
    text-align: center;
    margin-bottom: 80px;
}

.skills-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.skills-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Skills Navigation */
.skills-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.skill-category-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(179, 122, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.skill-category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.skill-category-btn:hover::before {
    left: 100%;
}

.skill-category-btn:hover {
    color: #fff;
    border-color: rgba(179, 122, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.skill-category-btn.active {
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.3);
    transform: translateY(-3px);
}

.skill-category-btn.active:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.4);
}

.skill-category-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.skill-category-btn:hover svg {
    transform: scale(1.1);
}

/* Skills Content */
.skills-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skills-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Skill Card */
.skill-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(179, 122, 255, 0.1);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7d49e5, #5c35a6);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

/* Skill Header */
.skill-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.skill-icon svg {
    width: 32px;
    height: 32px;
    color: #b37aff;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon svg {
    color: #fff;
    transform: scale(1.1);
}

.skill-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.skill-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Skill Progress */
.skill-progress {
    margin-top: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.progress-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b37aff;
    background: rgba(179, 122, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(179, 122, 255, 0.2);
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Gradient colors for different skill types */
.progress-fill.frontend {
    background: linear-gradient(90deg, #7d49e5, #b37aff);
}

.progress-fill.design {
    background: linear-gradient(90deg, #ff6b9d, #ff8eb4);
}

.progress-fill.technical {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
}

.progress-fill.soft {
    background: linear-gradient(90deg, #42e695, #3bb2b8);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes gradientShift {
    0% {
        opacity: 0.5;
        transform: translateX(-10px);
    }
    100% {
        opacity: 0.8;
        transform: translateX(10px);
    }
}

/* Skills List */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.skill-tag:hover {
    background: rgba(179, 122, 255, 0.2);
    color: #fff;
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Skills Legend */
.skills-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.frontend {
    background: linear-gradient(90deg, #7d49e5, #b37aff);
}

.legend-color.design {
    background: linear-gradient(90deg, #ff6b9d, #ff8eb4);
}

.legend-color.technical {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
}

.legend-color.soft {
    background: linear-gradient(90deg, #42e695, #3bb2b8);
}

/* Skills Call to Action */
.skills-cta {
    text-align: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.skills-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    color: #b37aff;
    padding: 20px 50px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(179, 122, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.skills-btn:hover {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    color: #fff;
    border-color: rgba(179, 122, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(125, 73, 229, 0.4);
}

.skills-btn:active {
    transform: translateY(-2px);
}

.skills-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.skills-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .skills-section {
        padding: 100px 0;
    }
    
    .skills-title {
        font-size: 3rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .skills-section {
        padding: 80px 0;
    }
    
    .skills-title {
        font-size: 2.5rem;
    }
    
    .skills-subtitle {
        font-size: 1.1rem;
    }
    
    .skills-nav {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .skill-category-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .skill-card {
        padding: 30px;
    }
    
    .skill-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
    
    .skill-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .skills-list {
        justify-content: center;
    }
    
    .skills-legend {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .skills-btn {
        padding: 18px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .skills-title {
        font-size: 2rem;
    }
    
    .skills-subtitle {
        font-size: 1rem;
    }
    
    .skill-card {
        padding: 25px;
    }
    
    .skill-info h3 {
        font-size: 1.5rem;
    }
    
    .progress-value {
        font-size: 1.1rem;
        padding: 5px 12px;
    }
    
    .progress-label {
        font-size: 1rem;
    }
    
    .progress-bar {
        height: 10px;
    }
    
    .skill-tag {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .skills-btn {
        padding: 16px 30px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .skills-section {
        padding: 60px 0;
    }
    
    .skills-grid {
        gap: 20px;
    }
    
    .skill-card {
        padding: 20px;
    }
    
    .skill-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .skill-progress {
        margin-top: 20px;
    }
    
    .skills-list {
        gap: 8px;
    }
    
    .skill-tag {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .skills-section {
        background: #fff !important;
        color: #000 !important;
        padding: 40px 0 !important;
    }
    
    .skills-nav,
    .skills-legend,
    .skills-cta {
        display: none !important;
    }
    
    .skills-content {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .skill-card {
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
    
    .progress-fill {
        background: linear-gradient(90deg, #7d49e5, #b37aff) !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .skill-card,
    .skill-category-btn,
    .progress-fill,
    .skill-tag,
    .skills-btn {
        transition: none !important;
        animation: none !important;
    }
    
    .progress-fill::before {
        animation: none !important;
    }
    
    .skills-section::before {
        animation: none !important;
    }
}


/* ======== PORTFOLIO WORK SECTION ======== */
.portfolio-section {
    background: linear-gradient(180deg, #0a0018 0%, #090015 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(92, 53, 166, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(125, 73, 229, 0.15) 0%, transparent 40%);
    z-index: 0;
}

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

.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.portfolio-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    position: relative;
}

.filter-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(179, 122, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.filter-btn:hover {
    color: #fff;
    border-color: rgba(179, 122, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.3);
    transform: translateY(-3px);
}

.filter-btn.active:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.4);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 400px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(11, 0, 22, 0.95) 90%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover::before {
    opacity: 1;
}

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

.portfolio-item:hover .portfolio-image {
    transform: scale(1.15) rotate(1deg);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    background: rgba(179, 122, 255, 0.2);
    color: #b37aff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 122, 255, 0.3);
    align-self: flex-start;
}

.portfolio-title-small {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.portfolio-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-description {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-actions {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-actions {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.portfolio-link:hover {
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.4);
}

.portfolio-link svg {
    width: 20px;
    height: 20px;
}

/* Portfolio Item Hover Glow Effect */
.portfolio-glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #7d49e5, #5c35a6, #7d49e5);
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-glow {
    opacity: 0.5;
}

/* Portfolio Stats */
.portfolio-stats {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.1s;
    z-index: 4;
}

.portfolio-item:hover .portfolio-stats {
    opacity: 1;
    transform: translateX(0);
}

.stat-badge {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-badge svg {
    width: 14px;
    height: 14px;
    color: #b37aff;
}

/* Portfolio Technology Tags */
.portfolio-tech {
    position: absolute;
    bottom: 30px;
    left: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.15s;
    z-index: 4;
}

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

.tech-tag {
    background: rgba(179, 122, 255, 0.15);
    color: #b37aff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 122, 255, 0.2);
}

/* Portfolio View More Button */
.portfolio-view-more {
    text-align: center;
    margin-top: 60px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    color: #b37aff;
    padding: 18px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(179, 122, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.view-more-btn:hover::before {
    left: 100%;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    border-color: rgba(179, 122, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(179, 122, 255, 0.3);
}

.view-more-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover svg {
    transform: translateX(5px);
}

/* Portfolio Modal Styles */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 0, 22, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.2);
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s ease;
}

.portfolio-modal.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    transform: rotate(90deg);
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 80px 0;
    }
    
    .portfolio-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-item {
        height: 350px;
    }
    
    .portfolio-overlay {
        padding: 30px;
    }
    
    .portfolio-title-small {
        font-size: 1.5rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .portfolio-filters {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .portfolio-title {
        font-size: 2rem;
    }
    
    .portfolio-subtitle {
        font-size: 1rem;
    }
    
    .portfolio-item {
        height: 300px;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
    
    .portfolio-actions {
        flex-wrap: wrap;
    }
    
    .portfolio-link {
        width: 45px;
        height: 45px;
    }
}

/* Portfolio Loading Animation */
@keyframes portfolioLoad {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-item {
    animation: portfolioLoad 0.6s ease forwards;
}

.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.portfolio-item:nth-child(3) { animation-delay: 0.2s; }
.portfolio-item:nth-child(4) { animation-delay: 0.3s; }
.portfolio-item:nth-child(5) { animation-delay: 0.4s; }
.portfolio-item:nth-child(6) { animation-delay: 0.5s; }

/* Portfolio Hover Sound Effect Trigger */
.portfolio-sound-trigger {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
/* accessibility focus */
a:focus,button:focus{outline:3px solid rgba(125,73,229,0.15);outline-offset:3px}

/* ======== TESTIMONIALS SECTION ======== */
.testimonials-section {
    background: linear-gradient(180deg, #070011 0%, #06000f 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(92, 53, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 73, 229, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: pulse 15s ease-in-out infinite alternate;
}

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

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Testimonials Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.testimonials-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonials Container */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Testimonial Cards */
.testimonial-cards {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px;
    gap: 40px;
}

.testimonial-card {
    min-width: 100%;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Testimonial Content */
.testimonial-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(179, 122, 255, 0.15);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.testimonial-card.active .testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(179, 122, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 12rem;
    color: rgba(179, 122, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.quote-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
}

/* Testimonial Text */
.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.testimonial-text p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 0;
    position: relative;
    padding-left: 30px;
}

.testimonial-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #7d49e5, #b37aff);
    border-radius: 2px;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(179, 122, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card.active .author-avatar {
    border-color: rgba(179, 122, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card.active .author-avatar img {
    transform: scale(1.1);
}

.author-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.author-info p {
    color: #b37aff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Company Info */
.company-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.company-info svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.company-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.star {
    width: 20px;
    height: 20px;
    color: #ffd700;
    fill: currentColor;
}

.star.half {
    position: relative;
    overflow: hidden;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffd700;
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Navigation Arrows */
.nav-arrows {
    display: flex;
    gap: 20px;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-arrow:hover::before {
    left: 100%;
}

.nav-arrow:hover {
    background: rgba(179, 122, 255, 0.1);
    border-color: rgba(179, 255, 122, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.3);
}

.nav-arrow:active {
    transform: translateY(-1px);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

/* Pagination Dots */
.pagination-dots {
    display: flex;
    gap: 15px;
}

.pagination-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(179, 122, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pagination-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.pagination-dot:hover::before {
    left: 100%;
}

.pagination-dot:hover {
    background: rgba(179, 122, 255, 0.3);
    transform: scale(1.2);
}

.pagination-dot.active {
    background: linear-gradient(135deg, #7d49e5, #b37aff);
    border-color: transparent;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(125, 73, 229, 0.5);
}

/* Testimonials Stats */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
    margin-top: 80px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 20px 50px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(179, 122, 255, 0.3);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::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: left 0.6s ease;
}

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

.cta-btn:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(125, 73, 229, 0.4);
}

.cta-btn:active {
    transform: translateY(-2px);
}

.cta-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonials-slider {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding: 100px 0;
    }
    
    .testimonials-title {
        font-size: 3rem;
    }
    
    .testimonial-cards {
        padding: 30px;
    }
    
    .testimonial-content {
        padding: 40px;
    }
    
    .testimonial-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-title {
        font-size: 2.5rem;
    }
    
    .testimonials-subtitle {
        font-size: 1.1rem;
    }
    
    .testimonials-slider {
        border-radius: 20px;
    }
    
    .testimonial-cards {
        padding: 20px;
        gap: 5px;
    }
    
    .testimonial-content {
        padding: 30px;
    }
    
    .testimonial-text p {
        font-size: 1.1rem;
        padding-left: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-controls {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }
    
    .nav-arrows {
        order: 2;
    }
    
    .pagination-dots {
        order: 1;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .stat-item {
        padding: 25px;
    }
    
    .cta-btn {
        padding: 18px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-content {
        padding: 25px;
    }
    
    .testimonial-text p {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .testimonial-text p::before {
        width: 3px;
    }
    
    .quote-icon {
        top: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
    
    .quote-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .author-avatar {
        width: 70px;
        height: 70px;
    }
    
    .author-info h4 {
        font-size: 1.2rem;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .cta-btn {
        padding: 16px 30px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonial-cards {
        padding: 15px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-content::before {
        top: -20px;
        left: 15px;
        font-size: 8rem;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .pagination-dot {
        width: 12px;
        height: 12px;
    }
}

/* Print Styles */
@media print {
    .testimonials-section {
        background: #fff !important;
        color: #000 !important;
        padding: 40px 0 !important;
    }
    
    .testimonials-slider,
    .testimonial-controls,
    .testimonials-cta {
        display: none !important;
    }
    
    .testimonial-cards {
        display: block !important;
        padding: 0 !important;
        transform: none !important;
    }
    
    .testimonial-card {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        margin-bottom: 40px;
        break-inside: avoid;
    }
    
    .testimonial-content {
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .testimonial-content::before {
        color: #eee !important;
    }
    
    .testimonials-stats {
        border-top: 1px solid #ddd !important;
    }
    
    .stat-item {
        background: #fff !important;
        border: 1px solid #eee !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .testimonial-cards,
    .testimonial-card,
    .nav-arrow,
    .pagination-dot,
    .stat-item,
    .cta-btn {
        transition: none !important;
        animation: none !important;
    }
    
    .testimonials-section::before {
        animation: none !important;
    }
}

/* ======== BLOG SECTION ======== */
.blog-section {
    background: linear-gradient(180deg, #06000f 0%, #05000d 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(92, 53, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(125, 73, 229, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: blogPulse 20s ease-in-out infinite alternate;
}

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

@keyframes blogPulse {
    0% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1) rotate(1deg);
    }
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 80px;
}

.blog-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.blog-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Categories */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.blog-category-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(179, 122, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.blog-category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.blog-category-btn:hover::before {
    left: 100%;
}

.blog-category-btn:hover {
    color: #fff;
    border-color: rgba(179, 122, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.blog-category-btn.active {
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.3);
    transform: translateY(-3px);
}

.blog-category-btn.active:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.4);
}

.blog-category-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.blog-category-btn:hover svg {
    transform: scale(1.1);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-15px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(179, 122, 255, 0.1);
}

/* Blog Image Container */
.blog-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image {
    transform: scale(1.15) rotate(2deg);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(6, 0, 15, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card:hover .image-overlay {
    opacity: 1;
}

.read-time {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.blog-card:hover .read-time {
    transform: translateY(0);
    opacity: 1;
}

/* Blog Category Badge */
.blog-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(125, 73, 229, 0.3);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-category-badge {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 73, 229, 0.4);
}

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

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.blog-date, .blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-date,
.blog-card:hover .blog-author {
    color: rgba(255, 255, 255, 0.8);
}

.blog-meta svg {
    width: 16px;
    height: 16px;
    color: #b37aff;
}

.blog-title-small {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #fff;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.blog-card:hover .blog-title-small {
    color: #b37aff;
}

.blog-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.blog-tag {
    background: rgba(179, 122, 255, 0.1);
    color: #b37aff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(179, 122, 255, 0.2);
}

.blog-tag:hover {
    background: rgba(179, 122, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b37aff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    position: relative;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #b37aff, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: scaleX(1);
}

.read-more-btn:hover {
    color: #fff;
    gap: 15px;
}

.read-more-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
    transform: translateX(5px);
}

/* Blog Stats */
.blog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.blog-stat:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.blog-stat:hover .stat-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    margin-top: 80px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 20px 50px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(179, 122, 255, 0.3);
    box-shadow: 0 15px 40px rgba(125, 73, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-btn::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: left 0.6s ease;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(125, 73, 229, 0.4);
}

.view-all-btn:active {
    transform: translateY(-2px);
}

.view-all-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover svg {
    transform: translateX(5px);
}

/* Featured Blog Post */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.05), rgba(92, 53, 166, 0.02));
    border: 1px solid rgba(179, 122, 255, 0.15);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.featured-post::before {
    content: 'Featured';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b9d, #ff8eb4);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.featured-image {
    height: 100%;
    min-height: 400px;
}

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

.featured-post:hover .featured-image img {
    transform: scale(1.1);
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
        min-height: auto;
    }
}

@media (max-width: 992px) {
    .blog-section {
        padding: 100px 0;
    }
    
    .blog-title {
        font-size: 3rem;
    }
    
    .blog-grid {
        gap: 30px;
    }
    
    .featured-content {
        padding: 40px;
    }
    
    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 80px 0;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-categories {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .blog-category-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-image-container {
        height: 220px;
    }
    
    .blog-content {
        padding: 25px;
    }
    
    .blog-title-small {
        font-size: 1.3rem;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .blog-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .blog-stat {
        padding: 25px;
    }
    
    .view-all-btn {
        padding: 18px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .blog-image-container {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-title-small {
        font-size: 1.2rem;
    }
    
    .blog-excerpt {
        font-size: 0.95rem;
    }
    
    .featured-content {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .blog-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .view-all-btn {
        padding: 16px 30px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-grid {
        gap: 25px;
    }
    
    .blog-image-container {
        height: 180px;
    }
    
    .blog-category-badge {
        top: 15px;
        left: 15px;
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .read-time {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .blog-tags {
        gap: 8px;
    }
    
    .blog-tag {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .blog-section {
        background: #fff !important;
        color: #000 !important;
        padding: 40px 0 !important;
    }
    
    .blog-categories,
    .blog-cta {
        display: none !important;
    }
    
    .blog-grid {
        display: block !important;
    }
    
    .blog-card {
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        margin-bottom: 40px;
        break-inside: avoid;
    }
    
    .blog-image-container {
        height: 200px !important;
    }
    
    .blog-title-small {
        color: #000 !important;
    }
    
    .blog-excerpt {
        color: #666 !important;
    }
    
    .blog-stats {
        border-top: 1px solid #ddd !important;
    }
    
    .blog-stat {
        background: #fff !important;
        border: 1px solid #eee !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-category-btn,
    .blog-tag,
    .read-more-btn,
    .view-all-btn,
    .blog-stat {
        transition: none !important;
        animation: none !important;
    }
    
    .blog-section::before {
        animation: none !important;
    }
    
    .blog-image {
        transition: none !important;
    }
}

/* ======== CONTACT SECTION ======== */
.contact-section {
    background: linear-gradient(180deg, #05000d 0%, #04000b 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(92, 53, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 73, 229, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: contactPulse 15s ease-in-out infinite alternate;
}

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

@keyframes contactPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.contact-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(20px);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
    padding-bottom: 20px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7d49e5, #b37aff);
    border-radius: 2px;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .info-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
    transition: all 0.3s ease;
}

.contact-info-item:hover .info-icon svg {
    color: #fff;
}

.info-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-content a {
    color: #b37aff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.info-content a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgba(179, 122, 255, 0.1);
    border-color: rgba(179, 122, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(179, 122, 255, 0.2);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-link:hover img {
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(230deg) saturate(5);
    transform: scale(1.1);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(20px);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
    padding-bottom: 20px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7d49e5, #b37aff);
    border-radius: 2px;
}

.form-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(179, 122, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #b37aff;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.form-label .required {
    color: #ff4757;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #b37aff;
    box-shadow: 0 0 0 3px rgba(179, 122, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b37aff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    cursor: pointer;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* Form Validation */
.form-input:invalid:not(:placeholder-shown),
.form-select:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
    border-color: #ff4757;
}

.form-input:valid:not(:placeholder-shown),
.form-select:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
    border-color: #2ed573;
}

/* Submit Button */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    color: #fff;
    padding: 20px 50px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
/* ======== SIMPLE DROPDOWN STYLES ======== */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    line-height: 1.5;
}

/* Custom dropdown arrow */
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b37aff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 50px;
}

/* Hover State */
.form-select:hover {
    border-color: rgba(179, 122, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Focus State */
.form-select:focus {
    border-color: #b37aff;
    box-shadow: 0 0 0 3px rgba(179, 122, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Disabled State */
.form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Invalid State */
.form-select:invalid:not(:placeholder-shown) {
    border-color: #ff4757;
}

.form-select:valid:not(:placeholder-shown) {
    border-color: #2ed573;
}

/* Option Styling */
.form-select option {
    background-color: #0b0016;
    color: #fff;
    padding: 12px;
    font-size: 1rem;
}

/* Placeholder Styling */
.form-select option[value=""][disabled] {
    color: rgba(255, 255, 255, 0.5);
}

/* Selected Option Styling */
.form-select option:checked {
    background-color: rgba(179, 122, 255, 0.2);
    color: #b37aff;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .form-select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding-right: 45px;
    }
    
    /* Larger touch targets for mobile */
    .form-select {
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .form-select {
        padding: 12px 14px;
        font-size: 16px;
        padding-right: 40px;
    }
}

/* ===== MOBILE DROPDOWN FIXES ===== */
/* Only apply to mobile devices */
@media screen and (max-width: 768px) {
    /* Ensure dropdown appears above other elements */
    .form-select {
        position: relative !important;
        z-index: 100 !important;
        font-size: 16px !important; /* Prevents iOS zoom */
        -webkit-appearance: menulist-button !important; /* Shows native dropdown on iOS */
        height: 52px !important; /* Better touch target */
        min-height: 52px !important;
        line-height: 1.5 !important;
        padding: 14px 45px 14px 16px !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(179, 122, 255, 0.3) !important;
    }
    
    /* Fix for iOS Safari */
    @supports (-webkit-touch-callout: none) {
        .form-select {
            padding-right: 40px !important;
            background-image: none !important;
            -webkit-appearance: none !important;
        }
        
        /* Add custom arrow for iOS */
        .select-wrapper::after {
            content: '▼';
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #b37aff;
            font-size: 12px;
            pointer-events: none;
            z-index: 101;
        }
    }
    
    /* Fix for Android Chrome */
    @supports not (-webkit-touch-callout: none) {
        .form-select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23b37aff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: right 16px center !important;
            background-size: 20px !important;
        }
    }
    
    /* Fix for Firefox Mobile */
    @-moz-document url-prefix() {
        .form-select {
            padding-right: 16px !important;
            background-image: none !important;
            text-indent: 0.01px !important;
            text-overflow: '' !important;
        }
        
        /* Add arrow for Firefox */
        .form-select::-moz-focus-inner {
            border: 0 !important;
        }
        
        .form-select:-moz-focusring {
            color: transparent !important;
            text-shadow: 0 0 0 #fff !important;
        }
    }
    
    /* Fix for Samsung Internet */
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
        .form-select {
            transform: translateZ(0); /* Force hardware acceleration */
        }
    }
    
    /* Ensure dropdown options are visible */
    .form-select option {
        background-color: #0b0016 !important;
        color: #fff !important;
        font-size: 16px !important;
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(179, 122, 255, 0.1) !important;
    }
    
    /* Selected option styling */
    .form-select option:checked,
    .form-select option:hover,
    .form-select option:focus {
        background-color: rgba(179, 122, 255, 0.2) !important;
        color: #b37aff !important;
    }
    
    /* Placeholder styling */
    .form-select option[value=""][disabled] {
        color: rgba(255, 255, 255, 0.5) !important;
        font-style: italic !important;
    }
    
    /* Focus state */
    .form-select:focus {
        border-color: #b37aff !important;
        box-shadow: 0 0 0 3px rgba(179, 122, 255, 0.1) !important;
        outline: none !important;
    }
    
    /* Active/open state */
    .form-select:active {
        background-color: rgba(179, 122, 255, 0.1) !important;
    }
    
    /* Disabled state */
    .form-select:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
    }
    
    /* Invalid state */
    .form-select:invalid:not(:placeholder-shown) {
        border-color: #ff4757 !important;
        background-color: rgba(255, 71, 87, 0.05) !important;
    }
    
    /* Valid state */
    .form-select:valid:not(:placeholder-shown) {
        border-color: #2ed573 !important;
        background-color: rgba(46, 213, 115, 0.05) !important;
    }
    
    /* Fix for very small screens */
    @media screen and (max-width: 480px) {
        .form-select {
            padding: 12px 40px 12px 14px !important;
            font-size: 15px !important;
            height: 48px !important;
            min-height: 48px !important;
        }
        
        .select-wrapper::after {
            right: 14px !important;
            font-size: 11px !important;
        }
    }
    
    /* Fix for landscape mode */
    @media screen and (max-height: 500px) and (orientation: landscape) {
        .form-select {
            height: 44px !important;
            min-height: 44px !important;
            padding: 10px 40px 10px 14px !important;
        }
    }
}

/* Fix for touch devices specifically */
@media (hover: none) and (pointer: coarse) {
    .form-select {
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(179, 122, 255, 0.1) !important;
    }
    
    /* Larger hit area for mobile */
    .form-select,
    .select-wrapper {
        min-height: 44px !important;
    }
}

/* Ensure dropdown doesn't break form layout on mobile */
@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .form-group {
        margin-bottom: 0 !important;
    }
    
    /* Make sure dropdown doesn't overflow */
    .form-select {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Fix for Firefox */
@-moz-document url-prefix() {
    .form-select {
        text-indent: 0.01px;
        text-overflow: '';
        padding-left: 15px;
    }
}

/* Fix for Edge */
@supports (-ms-ime-align: auto) {
    .form-select {
        padding-right: 20px;
        background-image: none;
    }
}

/* Remove default styling in IE10/11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .form-select::-ms-expand {
        display: none;
    }
    
    .form-select:focus::-ms-value {
        background: transparent;
        color: #fff;
    }
}

/* Safari specific fixes */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .form-select {
            padding-right: 45px;
        }
    }
}

/* For very small screens (like iPhone SE) */
@media (max-width: 320px) {
    .form-select {
        padding: 10px 12px;
        font-size: 14px;
        padding-right: 35px;
    }
}



.submit-btn::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: left 0.6s ease;
}

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

.submit-btn:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(125, 73, 229, 0.4);
}

.submit-btn:active {
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

/* Form Status Messages */
.form-status {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-status.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
    display: block;
}

.form-status.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Stats */
.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-stat:hover {
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.1), rgba(92, 53, 166, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-stat:hover .stat-icon {
    background: linear-gradient(135deg, rgba(179, 122, 255, 0.2), rgba(92, 53, 166, 0.1));
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: #b37aff;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }
    
    .contact-info-sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding: 100px 0;
    }
    
    .contact-title {
        font-size: 3rem;
    }
    
    .contact-info-sidebar,
    .contact-form-container {
        padding: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info-sidebar,
    .contact-form-container {
        padding: 30px;
        border-radius: 20px;
    }
    
    .sidebar-title,
    .form-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    .contact-info-list {
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .info-content h4 {
        font-size: 1.1rem;
    }
    
    .info-content p {
        font-size: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .form-intro {
        font-size: 1rem;
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .submit-btn {
        padding: 18px 40px;
        font-size: 1rem;
        width: 100%;
    }
    
    .contact-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .contact-stat {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-sidebar,
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 16px;
        font-size: 0.95rem;
    }
    
    .contact-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-container {
        gap: 30px;
    }
    
    .contact-info-sidebar,
    .contact-form-container {
        padding: 20px;
    }
    
    .sidebar-title,
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-info-list {
        gap: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link img {
        width: 20px;
        height: 20px;
    }
}

/* Print Styles */
@media print {
    .contact-section {
        background: #fff !important;
        color: #000 !important;
        padding: 40px 0 !important;
    }
    
    .contact-container {
        display: block !important;
    }
    
    .contact-info-sidebar,
    .contact-form-container {
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        margin-bottom: 40px;
        break-inside: avoid;
    }
    
    .info-content a {
        color: #000 !important;
    }
    
    .social-links {
        display: none !important;
    }
    
    .contact-form {
        display: none !important;
    }
    
    .contact-stats {
        border-top: 1px solid #ddd !important;
    }
    
    .contact-stat {
        background: #fff !important;
        border: 1px solid #eee !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .contact-info-item,
    .social-link,
    .submit-btn,
    .contact-stat,
    .form-input,
    .form-select,
    .form-textarea {
        transition: none !important;
        animation: none !important;
    }
    
    .contact-section::before {
        animation: none !important;
    }
    
    .submit-btn::before {
        animation: none !important;
    }
}

/* ======== FOOTER ======== */
.site-footer {
    background: #04000b;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid rgba(179, 122, 255, 0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 122, 255, 0.3), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-logo-text .logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.footer-logo-text .logo-tagline {
    font-size: 0.9rem;
    color: #b37aff;
    font-weight: 600;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.footer-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #b37aff, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-nav-link:hover {
    color: #fff;
}

.footer-nav-link:hover::after {
    transform: scaleX(1);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.footer-social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 122, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(179, 122, 255, 0.1);
    border-color: rgba(179, 122, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-social-link:hover img {
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(230deg) saturate(5);
}

/* Footer Contact Info */
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-item a {
    color: #b37aff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Copyright */
.footer-copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-credits {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7d49e5, #5c35a6);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(125, 73, 229, 0.3);
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, #8e5aff, #6a3cd4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(125, 73, 229, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-nav {
        gap: 20px;
        margin: 15px 0;
    }
    
    .footer-nav-link {
        font-size: 0.95rem;
    }
    
    .footer-social {
        gap: 15px;
        margin: 15px 0;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-social-link img {
        width: 22px;
        height: 22px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .footer-copyright {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo-text .logo-name {
        font-size: 1.3rem;
    }
}

/* Remove blue tap highlight on mobile devices */
* {
    -webkit-tap-highlight-color: transparent;
}

/* You can also be more specific if needed */
button,
a,
input,
textarea,
select,
.btn-primary,
.btn-secondary,
.nav-link,
.filter-btn,
.blog-category-btn,
.skill-category-btn,
.portfolio-link,
.social-link,
.footer-social-link,
.footer-nav-link,
.mobile-menu-link,
.nav-arrow,
.pagination-dot,
.resume-tab,
.back-to-top,
.cta-btn,
.view-all-btn,
.download-btn,
.skills-btn,
.view-more-btn,
.read-more-btn,
.btn-hire,
.btn-ghost,
.mobile-cta-btn,
.service-link,
.submit-btn {
    -webkit-tap-highlight-color: transparent;
}

/* Also remove the grey overlay on tap for iOS */
@media (hover: none) and (pointer: coarse) {
    button:active,
    a:active,
    .btn-primary:active,
    .btn-secondary:active {
        background-color: transparent !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* For better touch experience */
@media (max-width: 768px) {
    button,
    a,
    input[type="button"],
    input[type="submit"] {
        min-height: 44px; /* Minimum touch target size */
        min-width: 44px;
    }
    
    /* Remove default iOS styles */
    input,
    textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

/* Fix for Resume Stats on Mobile */
@media (max-width: 768px) {
    .resume-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 20px 0 !important;
    }
    
    .resume-stats .stat-card {
        padding: 20px 15px !important;
    }
    
    .resume-stats .stat-value {
        font-size: 1.8rem !important;
    }
    
    .resume-stats .stat-label {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .resume-stats {
        gap: 15px !important;
    }
    
    .resume-stats .stat-card {
        padding: 15px 10px !important;
    }
    
    .resume-stats .stat-value {
        font-size: 1.6rem !important;
    }
}

/* ===== BLOG STATS MOBILE FIX (STRONGER VERSION) ===== */
@media screen and (max-width: 768px) {
    section#blog .blog-stats,
    .blog-section .blog-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 40px auto 0 auto !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    section#blog .blog-stats .blog-stat,
    .blog-section .blog-stats .blog-stat {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    section#blog .blog-stats .blog-stat .stat-icon,
    .blog-section .blog-stats .blog-stat .stat-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 15px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    section#blog .blog-stats .blog-stat .stat-value,
    .blog-section .blog-stats .blog-stat .stat-value {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
        display: block !important;
        width: 100% !important;
    }
}

/* ===== CONTACT STATS MOBILE FIX (STRONGER VERSION) ===== */
@media screen and (max-width: 768px) {
    section#contact .contact-stats,
    .contact-section .contact-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 40px auto 0 auto !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    section#contact .contact-stats .contact-stat,
    .contact-section .contact-stats .contact-stat {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    section#contact .contact-stats .contact-stat .stat-icon,
    .contact-section .contact-stats .contact-stat .stat-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 15px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    section#contact .contact-stats .contact-stat .stat-value,
    .contact-section .contact-stats .contact-stat .stat-value {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
        display: block !important;
        width: 100% !important;
    }
}

/* ===== MODERN LOADER STYLES ===== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0016;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 40px;
    z-index: 2;
}

/* Animated Gradient Background */
.gradient-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, 
                rgba(125, 73, 229, 0.2) 0%,
                rgba(92, 53, 166, 0.1) 30%,
                transparent 70%);
    animation: pulse 8s ease-in-out infinite alternate;
    z-index: 1;
}

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

/* Loader Content */
.loader-content {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(179, 122, 255, 0.1);
    border-radius: 32px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(179, 122, 255, 0.05);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Logo */
.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-spinner {
    width: 80px;
    height: 80px;
    animation: rotate 4s linear infinite;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLogo 2s ease-in-out forwards;
}

.logo-inner {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLogo 2s ease-in-out 0.3s forwards;
}

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
    }
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #b37aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.logo-tagline {
    font-size: 1.1rem;
    color: #b37aff;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Loading Progress */
.loading-progress {
    margin-bottom: 40px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.progress-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.progress-percentage {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7d49e5, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progress Bar */
.progress-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.6s ease 0.5s both;
}

.progress-bar {
    position: relative;
    height: 100%;
    width: 100%;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
                #5c35a6 0%,
                #7d49e5 50%,
                #b37aff 100%);
    border-radius: 12px;
    transition: width 0.3s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 100%);
    animation: shimmer 2s infinite;
    border-radius: 12px;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.progress-dot:nth-child(1) { animation-delay: 0s; }
.progress-dot:nth-child(2) { animation-delay: 0.5s; }
.progress-dot:nth-child(3) { animation-delay: 1s; }
.progress-dot:nth-child(4) { animation-delay: 1.5s; }

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Loading Steps */
.loading-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
    animation: fadeIn 0.6s ease 0.6s both;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    background: rgba(179, 122, 255, 0.1);
    border-color: rgba(179, 122, 255, 0.2);
    opacity: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7d49e5, #b37aff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.step-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
}

/* Loading Stats */
.loading-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease 0.7s both;
}

.loading-stats .stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.loading-stats .stat:hover {
    background: rgba(179, 122, 255, 0.05);
    border-color: rgba(179, 122, 255, 0.1);
    transform: translateY(-5px);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #b37aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Loading Message */
.loading-message {
    text-align: center;
    animation: fadeIn 0.6s ease 0.8s both;
}

.message-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.message-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
                transparent 0%,
                #b37aff 50%,
                transparent 100%);
    animation: typing 3s infinite;
}

@keyframes typing {
    0%, 100% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    75% {
        width: 0;
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .loader-container {
        padding: 20px;
    }
    
    .loader-content {
        padding: 40px 30px;
        border-radius: 24px;
    }
    
    .loader-logo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .logo-spinner {
        width: 60px;
        height: 60px;
    }
    
    .logo-name {
        font-size: 2.2rem;
    }
    
    .logo-tagline {
        font-size: 1rem;
    }
    
    .progress-label {
        font-size: 1rem;
    }
    
    .progress-percentage {
        font-size: 1.5rem;
    }
    
    .loading-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .loading-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .loading-stats .stat {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loader-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .logo-name {
        font-size: 1.8rem;
    }
    
    .progress-track {
        height: 12px;
    }
    
    .loading-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .message-text {
        font-size: 1rem;
    }
}

/* ===== LOADER MOBILE RESPONSIVENESS ===== */
/* Tablet (768px and below) */
@media screen and (max-width: 768px) {
    /* Loading Steps - 2 per row */
    .loading-steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 25px !important;
    }
    
    .step {
        padding: 12px 8px !important;
        min-height: 80px !important;
        justify-content: center !important;
    }
    
    .step-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    
    .step-text {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Loading Stats - 2 per row */
    .loading-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-bottom: 30px !important;
    }
    
    .loading-stats .stat {
        padding: 15px 10px !important;
        min-height: 90px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .loading-stats .stat:hover {
        transform: translateY(-3px) !important;
    }
    
    .stat-value {
        font-size: 1.5rem !important;
        margin-bottom: 3px !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    /* Adjust progress elements */
    .progress-header {
        margin-bottom: 15px !important;
    }
    
    .progress-label {
        font-size: 1rem !important;
    }
    
    .progress-percentage {
        font-size: 1.4rem !important;
    }
    
    .progress-track {
        height: 12px !important;
    }
}

/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .loading-steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }
    
    .step {
        padding: 10px 6px !important;
        min-height: 70px !important;
        border-radius: 12px !important;
    }
    
    .step-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
    
    .step-text {
        font-size: 0.75rem !important;
    }
    
    /* Loading Stats - 2 per row (with adjustments) */
    .loading-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .loading-stats .stat {
        padding: 12px 8px !important;
        min-height: 80px !important;
        border-radius: 12px !important;
    }
    
    .stat-value {
        font-size: 1.3rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
        padding: 0 5px !important;
    }
    
    /* Adjust loader container padding */
    .loader-content {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    
    .loader-logo {
        margin-bottom: 30px !important;
    }
    
    .logo-name {
        font-size: 1.8rem !important;
    }
    
    .logo-tagline {
        font-size: 0.9rem !important;
    }
}

/* Very Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .loading-steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .step {
        padding: 8px 5px !important;
        min-height: 65px !important;
    }
    
    .step-text {
        font-size: 0.7rem !important;
    }
    
    .loading-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .loading-stats .stat {
        padding: 10px 6px !important;
        min-height: 75px !important;
    }
    
    .stat-value {
        font-size: 1.2rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
    }
}

/* Portrait Mode Optimization */
@media screen and (max-height: 700px) and (orientation: portrait) {
    .loader-content {
        padding: 25px 20px !important;
    }
    
    .loader-logo {
        margin-bottom: 25px !important;
    }
    
    .loading-steps {
        margin-top: 20px !important;
    }
    
    .loading-stats {
        margin-bottom: 25px !important;
    }
    
    .loading-message {
        margin-top: 15px !important;
    }
}

/* Landscape Mode on Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .loader-content {
        padding: 20px 15px !important;
    }
    
    .loading-steps,
    .loading-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .step,
    .loading-stats .stat {
        min-height: 60px !important;
        padding: 8px !important;
    }
    
    .step-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
    }
    
    .step-text,
    .stat-label {
        font-size: 0.7rem !important;
    }
    
    .stat-value {
        font-size: 1.1rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .step,
    .loading-stats .stat {
        min-height: 44px !important; /* Apple's minimum touch target */
        padding: 12px !important; /* Extra padding for touch */
    }
    
    .step-icon {
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    /* Improve touch feedback */
    .step:active,
    .loading-stats .stat:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
}

/* High DPI (Retina) Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .progress-track,
    .step,
    .loading-stats .stat {
        border-width: 0.5px !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .loader-overlay {
        background: #0a0014 !important; /* Slightly darker for OLED */
    }
    
    .loader-content {
        background: rgba(20, 10, 40, 0.95) !important;
        border-color: rgba(179, 122, 255, 0.15) !important;
    }
}

/* Reduce Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .gradient-background,
    .logo-spinner,
    .progress-glow,
    .progress-dot,
    .step-icon,
    .message-text::after {
        animation: none !important;
    }
    
    .step:hover,
    .loading-stats .stat:hover {
        transform: none !important;
    }
}