/* ============================================
   Serjoy Agency - Premium Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Colors */
    --primary: #6C3CE1;
    --primary-light: #8B5CF6;
    --primary-dark: #5521C4;
    --primary-glow: rgba(108, 60, 225, 0.3);

    /* Secondary Colors */
    --secondary: #06D6A0;
    --secondary-light: #34E4B8;
    --secondary-dark: #04B384;

    /* Accent */
    --accent: #FF6B6B;
    --accent-light: #FF8E8E;
    --accent-dark: #E84A4A;

    /* Neutrals */
    --dark: #0F0F23;
    --dark-lighter: #1A1A3E;
    --dark-card: #16163A;
    --gray-900: #1E1E42;
    --gray-800: #2D2D5E;
    --gray-700: #3D3D6E;
    --gray-600: #5A5A8A;
    --gray-500: #7A7AAA;
    --gray-400: #9A9AC0;
    --gray-300: #B8B8D4;
    --gray-200: #D4D4E8;
    --gray-100: #EEEEF8;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C3CE1 0%, #8B5CF6 50%, #06D6A0 100%);
    --gradient-dark: linear-gradient(135deg, #0F0F23 0%, #1A1A3E 100%);
    --gradient-hero: linear-gradient(135deg, #0F0F23 0%, #1A1A3E 40%, #2D1B69 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-button: linear-gradient(135deg, #6C3CE1 0%, #8B5CF6 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 30px rgba(108, 60, 225, 0.3);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.12);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-300);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 80;
    line-height: 1.2;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

/* ============ NAVBAR ============ */
.navbar-serjoy {
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1050;
}

.navbar-serjoy.scrolled {
    background: rgba(15, 15, 35, 0.95);
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.navbar-serjoy .nav-link {
    color: var(--gray-300) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar-serjoy .nav-link:hover,
.navbar-serjoy .nav-link.active {
    color: var(--white) !important;
    background: rgba(108, 60, 225, 0.15);
}

.navbar-serjoy .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-serjoy .nav-link:hover::after,
.navbar-serjoy .nav-link.active::after {
    width: 60%;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-xl);
    padding: 4px;
    margin-left: 8px;
}

.lang-switch a {
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    transition: var(--transition);
}

.lang-switch a.active {
    background: var(--primary);
    color: var(--white);
}

.lang-switch a:hover:not(.active) {
    color: var(--white);
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(600px circle at 20% 50%, rgba(108, 60, 225, 0.15) 0%, transparent 50%),
        radial-gradient(500px circle at 80% 30%, rgba(6, 214, 160, 0.1) 0%, transparent 50%),
        radial-gradient(400px circle at 60% 80%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 8s; }
.hero-particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; animation-duration: 6s; }
.hero-particle:nth-child(3) { top: 30%; left: 70%; animation-delay: 2s; animation-duration: 7s; }
.hero-particle:nth-child(4) { top: 70%; left: 80%; animation-delay: 3s; animation-duration: 9s; }
.hero-particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 0.5s; animation-duration: 5s; }
.hero-particle:nth-child(6) { top: 80%; left: 40%; animation-delay: 1.5s; animation-duration: 8s; }
.hero-particle:nth-child(7) { top: 10%; left: 90%; animation-delay: 2.5s; animation-duration: 6s; }
.hero-particle:nth-child(8) { top: 50%; left: 30%; animation-delay: 3.5s; animation-duration: 7s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.4; }
    75% { transform: translateY(-30px) translateX(5px); opacity: 0.5; }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 60, 225, 0.2);
    border: 1px solid rgba(108, 60, 225, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    font-size: 0.7rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size:18px;
    line-height: 1.1;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 540px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    position: absolute;
    border-radius: var(--radius-xl);
    opacity: 0.15;
}

.hero-shape-1 {
    width: 350px;
    height: 350px;
    background: var(--primary);
    top: -20px;
    right: -20px;
    animation: morph 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.hero-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: -10px;
    left: -10px;
    animation: morph 8s ease-in-out infinite reverse;
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ============ BUTTONS ============ */
.btn-serjoy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-serjoy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: var(--transition-slow);
}

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

.btn-primary-serjoy {
    background: var(--gradient-button);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(108, 60, 225, 0.4);
}

.btn-primary-serjoy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 60, 225, 0.5);
    color: var(--white);
}

.btn-outline-serjoy {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-serjoy:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary-serjoy {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(6, 214, 160, 0.3);
}

.btn-secondary-serjoy:hover {
    background: var(--secondary-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 214, 160, 0.4);
}

/* ============ SECTIONS ============ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--dark);
}

.section-darker {
    background: var(--dark-lighter);
}

.section-gradient {
    background: var(--gradient-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 60, 225, 0.15);
    border: 1px solid rgba(108, 60, 225, 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ SERVICES CARDS ============ */
.service-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 60, 225, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: rgba(108, 60, 225, 0.1);
    border-radius: var(--radius-lg);
    font-size: 2rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* ============ STATS SECTION ============ */
.stats-section {
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at 50% 50%, rgba(108, 60, 225, 0.15) 0%, transparent 60%);
}

.stat-item {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ============ ABOUT SECTION ============ */
.about-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    font-size: 1.2rem;
}

.about-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-feature p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ============ WHY US SECTION ============ */
.why-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    border-color: rgba(6, 214, 160, 0.3);
    transform: translateY(-4px);
}

.why-card-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 214, 160, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ============ BLOG CARDS ============ */
.blog-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 60, 225, 0.3);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.blog-card-meta i {
    margin-right: 4px;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--white);
}

.blog-card h3 a:hover {
    color: var(--primary-light);
}

.blog-card-excerpt {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-400);
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more-link:hover {
    color: var(--secondary);
    gap: 8px;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at 30% 50%, rgba(108, 60, 225, 0.2) 0%, transparent 60%),
                radial-gradient(400px circle at 70% 60%, rgba(6, 214, 160, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark-lighter);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-text {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-light);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-newsletter .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.footer-newsletter .form-control::placeholder {
    color: var(--gray-500);
}

.footer-newsletter .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.2);
    background: rgba(255,255,255,0.08);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============ CONTACT PAGE ============ */
.contact-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    border-color: rgba(108, 60, 225, 0.3);
    transform: translateY(-4px);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 60, 225, 0.15);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--primary-light);
    margin: 0 auto 16px;
}

.contact-form-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-floating > .form-control,
.form-floating > .form-select,
.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus,
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.2);
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

.form-floating > label {
    color: var(--gray-500);
}

/* ============ PAGE HERO ============ */
.page-hero {
    background: var(--gradient-hero);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at 30% 50%, rgba(108, 60, 225, 0.12) 0%, transparent 50%);
}

.page-hero .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 16px;
}

.page-hero .breadcrumb-item a {
    color: var(--gray-400);
}

.page-hero .breadcrumb-item.active {
    color: var(--primary-light);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray-600);
}

/* ============ BLOG PAGE ============ */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-widget .search-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    width: 100%;
}

.sidebar-widget .search-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.2);
}

.sidebar-categories {
    list-style: none;
    padding: 0;
}

.sidebar-categories li {
    margin-bottom: 8px;
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-300);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-categories a:hover {
    background: rgba(108, 60, 225, 0.1);
    color: var(--primary-light);
}

.sidebar-categories .count {
    background: rgba(108, 60, 225, 0.15);
    color: var(--primary-light);
    padding: 2px 8px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Blog Single Post */
.blog-post-content {
    color: var(--gray-300);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 32px 0 16px;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    margin: 28px 0 12px;
}

.blog-post-content p {
    margin-bottom: 16px;
}

.blog-post-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.blog-post-content li {
    margin-bottom: 8px;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(108, 60, 225, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gray-300);
}

.blog-post-content code {
    background: rgba(108, 60, 225, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--primary-light);
}

.blog-post-content pre {
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }

/* ============ PAGINATION ============ */
.pagination .page-link {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--gray-400);
    margin: 0 4px;
    border-radius: var(--radius-sm) !important;
    padding: 10px 16px;
}

.pagination .page-link:hover {
    background: rgba(108, 60, 225, 0.2);
    color: var(--primary-light);
    border-color: rgba(108, 60, 225, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-button);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-glow);
}

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

.scroll-top:hover {
    transform: translateY(-4px);
}

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

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ LOADING ============ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(108, 60, 225, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============ ALERT STYLES ============ */
.alert-serjoy {
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 0.95rem;
}

.alert-serjoy.alert-success {
    background: rgba(6, 214, 160, 0.15);
    border-left: 4px solid var(--secondary);
    color: var(--secondary);
}

.alert-serjoy.alert-danger {
    background: rgba(255, 107, 107, 0.15);
    border-left: 4px solid var(--accent);
    color: var(--accent);
}

.alert-serjoy.alert-info {
    background: rgba(108, 60, 225, 0.15);
    border-left: 4px solid var(--primary);
    color: var(--primary-light);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-visual {
        margin-top: 48px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar-collapse {
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 16px;
        margin-top: 12px;
        border: 1px solid rgba(255,255,255,0.06);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-serjoy {
        justify-content: center;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        padding: 50px 0 30px;
    }
}

/* ============ GLASSMORPHISM CARD ============ */
.glass-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
}

/* ============ GLOWING ORB BACKGROUNDS ============ */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.glow-orb.purple {
    background: var(--primary);
}

.glow-orb.green {
    background: var(--secondary);
}

.glow-orb.red {
    background: var(--accent);
}

/* ============ SEO SCROLLBOX ============ */
.seo-scroll-box {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.seo-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.seo-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.seo-scroll-box::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.seo-scroll-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.seo-content-inner {
    color: var(--gray-400);
    line-height: 1.7;
    font-size: 1.05rem;
}

.seo-content-inner h1, 
.seo-content-inner h2, 
.seo-content-inner h3 {
    color: var(--white);
    margin-top: 24px;
    margin-bottom: 12px;
}

.seo-content-inner ul, 
.seo-content-inner ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.seo-content-inner li {
    margin-bottom: 8px;
}
