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

/* ==================== Variables ==================== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-bg: #0a0e27;
    --dark-secondary: #151932;
    --dark-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==================== Top Bar ==================== */
.top-bar {
    background: var(--dark-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.top-bar-content span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-content i {
    color: var(--primary-color);
}

/* ==================== Navigation ==================== */
.navbar {
    background: var(--dark-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    color: var(--primary-color);
    font-size: 28px;
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.6),
        0 0 60px rgba(102, 126, 234, 0.4);
    animation: buttonPulse 0.5s ease;
}

@keyframes buttonPulse {
    0%, 100% { transform: translateY(-5px) scale(1.05); }
    50% { transform: translateY(-7px) scale(1.08); }
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

/* ==================== Hero Slider ==================== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.slide .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 700px;
    animation: slideContentFade 0.8s ease;
}

@keyframes slideContentFade {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-label {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(255, 255, 255, 0.3),
            0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(255, 255, 255, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

.slide-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

/* ==================== Section Headers ==================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Services Section ==================== */
.services {
    background: var(--dark-secondary);
}

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

.service-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(102, 126, 234, 0.3),
        transparent 30%
    );
    animation: cardRotate 4s linear infinite;
    opacity: 0;
    transition: var(--transition);
}

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

.service-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--dark-card);
    border-radius: 14px;
    z-index: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 0 40px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: var(--transition);
    position: relative;
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.5),
        0 0 60px rgba(102, 126, 234, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    animation: iconGlow 2s ease-in-out infinite;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    animation: iconFloat 1s ease-in-out infinite;
}

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

@keyframes iconGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ==================== About Section ==================== */
.about {
    background: var(--dark-bg);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-label,
.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin: 30px 0;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    animation: numberPulse 2s ease-in-out infinite;
}

.stat-number::before {
    content: attr(data-count);
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-plus {
    font-size: 48px;
    color: var(--primary-color);
    margin-left: 8px;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 10px;
    display: block;
}

.image-wrapper {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    height: 500px;
    background: var(--dark-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.about-img-placeholder i {
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.3;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-badge i {
    font-size: 32px;
    color: white;
}

.about-badge span {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* ==================== Video CTA Section ==================== */
.video-cta {
    position: relative;
    padding: 100px 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23667eea" width="1200" height="600"/></svg>') center/cover;
    background-attachment: fixed;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.video-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.video-label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 40px;
    color: white;
}

.video-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.video-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn i {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.video-play-btn:hover i {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ==================== Process Section ==================== */
.process {
    background: var(--dark-secondary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.process-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(102, 126, 234, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.process-card:hover::before {
    left: 100%;
}

.process-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.process-card:hover::after {
    transform: scaleX(1);
}

.process-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 0 40px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(102, 126, 234, 0.1);
}

.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.process-icon::before,
.process-icon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    inset: -10px;
    opacity: 0;
}

.process-card:hover .process-icon {
    transform: rotateY(360deg);
}

.process-card:hover .process-icon::before {
    animation: ripple 1.5s ease-out infinite;
}

.process-card:hover .process-icon::after {
    animation: ripple 1.5s ease-out 0.3s infinite;
}

@keyframes ripple {
    0% {
        inset: -10px;
        opacity: 1;
    }
    100% {
        inset: -30px;
        opacity: 0;
    }
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.process-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Premium Services Section ==================== */
.premium-services {
    background: var(--dark-bg);
}

.premium-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.premium-content .section-label,
.premium-content .section-title {
    text-align: left;
}

.premium-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.premium-list {
    margin: 30px 0;
}

.premium-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.premium-list i {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
}

.premium-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.premium-card {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.premium-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.premium-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.premium-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== Team Section ==================== */
.team {
    background: var(--dark-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(102, 126, 234, 0.3),
        transparent
    );
    transition: left 0.6s;
    z-index: 1;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 
        0 25px 70px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-img-placeholder {
    width: 100%;
    height: 300px;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-img-placeholder i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.3;
}

.team-social {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(102, 126, 234, 0.95);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    transform: translateY(-5px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== Blog Section ==================== */
.blog {
    background: var(--dark-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

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

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
}

.blog-card > * {
    position: relative;
    z-index: 1;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-img-placeholder {
    width: 100%;
    height: 250px;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.blog-card:hover .blog-img-placeholder {
    transform: scale(1.1);
}

.blog-img-placeholder i {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
}

.blog-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 12px;
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* ==================== Newsletter Section ==================== */
.newsletter {
    background: var(--dark-secondary);
    padding: 80px 0;
}

.newsletter-wrapper {
    background: var(--gradient-primary);
    padding: 60px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.5),
        0 0 80px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    animation: newsletterPulse 3s ease-in-out infinite;
}

.newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: newsletterRotate 10s linear infinite;
}

@keyframes newsletterPulse {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(102, 126, 234, 0.5),
            0 0 80px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(102, 126, 234, 0.6),
            0 0 100px rgba(102, 126, 234, 0.4);
    }
}

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

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.newsletter-content p {
    font-size: 16px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    min-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    outline: none;
}

.newsletter-form .btn {
    white-space: nowrap;
    background: white;
    color: var(--primary-color);
}

.newsletter-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.footer-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-post {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.footer-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-date {
    display: block;
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-post h4 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--primary-color);
}

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

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

/* ==================== Scroll To Top ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .about-wrapper,
    .premium-wrapper {
        grid-template-columns: 1fr;
    }
    
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 73px);
        background: var(--dark-secondary);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        border-right: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .video-title {
        font-size: 32px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 20px;
    }
    
    .next-btn {
        right: 20px;
    }
    
    .services-grid,
    .process-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-services-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-wrapper {
        padding: 40px 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 28px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .video-buttons {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-left,
    .top-right {
        font-size: 12px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .slide-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .video-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==================== Advanced Glow Effects ==================== */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(102, 126, 234, 0.4),
            0 0 40px rgba(102, 126, 234, 0.2),
            0 0 60px rgba(102, 126, 234, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(102, 126, 234, 0.6),
            0 0 60px rgba(102, 126, 234, 0.4),
            0 0 90px rgba(102, 126, 234, 0.2);
    }
}

.slider-btn, .scroll-to-top {
    animation: glowPulse 2s ease-in-out infinite;
}

/* ==================== Smooth Loading Animation ==================== */
body {
    opacity: 0;
    animation: fadeInBody 0.5s ease forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

/* ==================== Gradient Text Animation ==================== */
.slide-label, .section-label {
    animation: labelGlow 3s ease-in-out infinite;
}

@keyframes labelGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    }
}

/* ==================== Wave Effect for Footer ==================== */
.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230a0e27'/%3E%3C/svg%3E") center/cover no-repeat;
}

/* ==================== Cursor Trail Effect ==================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    box-shadow: 0 0 15px var(--primary-color);
}

/* ==================== Enhanced Scroll Progress ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    transition: width 0.1s ease;
}

/* ==================== Premium Badge Animation ==================== */
.about-badge {
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

/* ==================== Enhanced Team Social Icons ==================== */
.team-social a {
    animation: socialPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes socialPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* ==================== Blog Date Badge Animation ==================== */
.blog-date {
    animation: dateBounce 2s ease-in-out infinite;
}

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

