/* ==================== BASE STYLES ==================== */
:root {
    --primary-color: #00f7ff;
    --primary-dark: #00c4cc;
    --secondary-color: #ff4d7d;
    --dark-color: #110a1a;
    --darker-color: #08081a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --dark-gray: #343a40;
    --section-padding: 100px;
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--light-color);
    background-color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    color: var(--primary-color);
    background-color: transparent;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.btn-primary svg {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 247, 255, 0.2);
    z-index: -1;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-inner {
    text-align: center;
}

.loading-text {
    display: flex;
    margin-bottom: 20px;
}

.loading-text-words {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(0.1s * var(--i));
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== PRELOADER MOBILE FIXES ==================== */
@media (max-width: 768px) {
  .preloader {
    padding: 0 10px; /* Add padding to prevent cutting off */
  }
  
  .loading-text-words {
    font-size: 2rem; /* Smaller font size for mobile */
  }
  
  .loading-bar {
    width: 150px; /* Narrower loading bar for mobile */
  }
}

@media (max-width: 480px) {
  .loading-text {
    justify-content: center;
  }
  
  .loading-text-words {
    font-size: 1.5rem; /* Even smaller font size for very small screens */
    margin: 0 5px; /* Add some spacing between letters */
  }
  
  .loading-bar {
    width: 120px; /* Even narrower loading bar */
  }
}
/* Ensure preloader covers the full viewport properly */
.preloader {
  box-sizing: border-box;
  padding: 20px; /* Default padding */
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Center the preloader content */
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ==================== CURSOR ==================== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 999;
    transition: transform 0.1s ease;
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: none;
}

@media (hover: hover) {
    .cursor, .cursor-follower {
        display: block;
    }
}

/* ==================== NAVBAR STYLES ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
    background-color: transparent;
}

.navbar.sticky {
    background-color: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
}

.logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.navbar.sticky .logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
    .logo img {
        height: 30px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--darker-color);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#threejs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 247, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 247, 255, 0.3);
}

.hero-badge svg {
    margin-left: 8px;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero-headline .line {
    display: block;
    overflow: hidden;
}

.hero-headline .line span {
    display: inline-block;
}

.hero-headline .line:nth-child(2) {
    margin-top: 0.5em;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 120;
    max-width: 800px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px 20px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-headline {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(40px);
        opacity: 0;
    }
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: rgba(8, 8, 26, 0.33);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: -1;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 247, 255, 0.1);
}

.hero-content {
    padding: 40px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.1) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-inner {
    position: relative;
    z-index: 2;
}

.service-heading {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    background: linear-gradient(135deg, var(--primary-dark)); 
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card ul {
    margin-bottom: 25px;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background-color: var(--primary-color);
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 247, 255, 0.05);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

@media (max-width: 768px) {
    .service-heading {
        flex-direction: row;
        align-items: center;
    }
    
    .service-icon {
        margin-right: 15px;
        margin-bottom: 0;
        width: 50px;
        height: 50px;
    }
    
    .service-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-color);
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    aspect-ratio: 1/1.2;
    perspective: 1000px;
}

.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-front, .portfolio-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-front {
    background-color: #1a1a2e;
    transform: rotateY(0deg);
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.portfolio-image-frame {
    height: 60%;
    overflow: hidden;
    position: relative;
}

.portfolio-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-front-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.9);
}

.portfolio-front h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light-color);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.portfolio-back {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    align-items: center;
}

.portfolio-content {
    width: 100%;
}

.portfolio-tech h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.tech-tags span {
    background-color: rgba(0, 247, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 247, 255, 0.3);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 12px 0;
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 6px;
}

.portfolio-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.portfolio-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.portfolio-link:hover svg {
    transform: translateX(5px);
}

.portfolio-item:hover .portfolio-item-inner {
    transform: rotateY(180deg);
}

/* Portfolio CTA Buttons */
.portfolio-cta {
    display: flex;
    justify-content: center;
    gap: 20px; /* Desktop gap */
    margin-top: 60px;
    width: 100%;
}

.portfolio-cta .btn {
    min-width: 220px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .portfolio-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Mobile gap - slightly smaller than desktop */
    }
    
    .portfolio-cta .btn {
        width: 100%;
        max-width: 300px; /* Optional max-width for mobile */
    }
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 80px 0;
    }
    
    .portfolio-front h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-back {
        padding: 25px;
    }
    
    .tech-tags span {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ==================== PROCESS SECTION ==================== */
.process {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.process-steps {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 60px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    border: 1px solid rgba(0, 247, 255, 0.3);
}

.step-content {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
}

.step-line {
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -60px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.process-step:last-child .step-line {
    display: none;
}

/* ==================== STATS SECTION ==================== */
.stats {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 30px 15px;
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}
.stat-suffix {
    font-size: 1.5rem;
    margin-left: 2px;
    color: #00f7ff;
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .stats {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .stat-item {
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.testimonials-slider {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 4rem;
    color: rgba(0, 247, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-prev, .testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.contact-info {
    max-width: 500px;
}

.contact-details {
    margin-top: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-detail:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text a {
    font-size: 0.9rem;
    color: var(--light-color);
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--box-shadow);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: var(--transition);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(0, 247, 255, 0.05);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: var(--darker-color);
    padding: 0 5px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact-container {
        gap: 30px;
    }
    
    .contact-details {
        margin-top: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-detail {
        flex-direction: row;
        align-items: center;
        padding: 12px;
    }
    
    .contact-icon {
        margin-right: 12px;
        margin-bottom: 0;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-text a {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
}

/* ==================== FAQ SECTION ==================== */
.faq {
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 70%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 15px;
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 247, 255, 0.3);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== FOOTER STYLES ==================== */
.footer {
    background-color: var(--darker-color);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-col {
    margin-bottom: 40px;
    text-align: center;
}

.footer-col .logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 100%;
}

.footer-title {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links li a:hover::before {
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 0;
}

.trading-llc {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==================== PRICING SECTION ==================== */
.pricing-hero {
    padding-top: 130px;
    padding-bottom: 70px;
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pricing {
    padding: 90px 0;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.pricing-tabs {
    position: relative;
    z-index: 1;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    background-color: transparent;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.1) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-color: var(--primary-color);
}

.pricing-card-inner {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.pricing-price {
    margin-bottom: 10px;
    color: var(--light-color);
    font-family: var(--font-secondary);
}

.pricing-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-timeline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 0;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 25px;
}

.pricing-features p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 14px;
}

.pricing-features ul {
    margin-bottom: 0;
}

.pricing-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.pricing-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {


    section#pricing.pricing {
        padding-top: 40px;
    }

    section.pricing-hero {
        padding-top: 90px;
        padding-bottom: 10px;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .pricing-price .amount {
        font-size: 2.5rem;
    }
}

/* ==================== ABOUT HERO SECTION ==================== */
.about-hero {
    padding-top: 130px;
    padding-bottom: 70px;
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.about-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== ABOUT INTRO SECTION ==================== */
.about-intro {
    padding: var(--section-padding) 0;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ==================== MISSION SECTION ==================== */
.mission {
    padding: var(--section-padding) 0;
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.mission-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.mission-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background-color: rgba(0, 247, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 247, 255, 0.2);
}

.mission-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.mission-icon img {
    width: 40px;
    height: 40px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mission-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ==================== CTA SECTION ==================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(10, 10, 26, 0.8);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    section.about-hero {
        padding-top: 80px;
        padding-bottom: 30px; /* Reduced from likely 80px */
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cta h2 {
        font-size: 1.8rem;
    }
}

/* ==================== BLOG CONTENT SECTION ==================== */
.blog-content {
    padding: 120px 0;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.blog-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 247, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.horizontal-blogs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.1) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
    border-color: rgba(0, 247, 255, 0.3);
}

.blog-post:hover::before {
    opacity: 1;
}

.blog-image-small {
    flex: 0 0 40%;
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

.blog-image-small::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 26, 0.2) 0%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.blog-post:hover .blog-image-small::after {
    background: linear-gradient(to right, rgba(0, 247, 255, 0.1) 0%, transparent 100%);
}

.blog-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-post:hover .blog-image-small img {
    transform: scale(1.1);
}

.blog-text-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-color);
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.blog-post:hover .blog-title {
    color: var(--primary-color);
}

.blog-post:hover .blog-title::after {
    width: 100%;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.blog-category {
    background-color: rgba(0, 247, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 247, 255, 0.3);
    transition: var(--transition);
}

.blog-post:hover .blog-category {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.blog-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.blog-date::before {
    content: '•';
    margin-right: 10px;
    color: var(--primary-color);
}

.blog-content-full p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .blog-post {
        flex-direction: column;
    }
    
    .blog-image-small {
        flex: 0 0 auto;
        width: 100%;
        min-height: 250px;
    }
    
    .blog-text-content {
        padding: 30px;
    }
    
    .blog-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-date::before {
        display: none;
    }
    
    .blog-title {
        font-size: 1.4rem;
    }
    
    .blog-text-content {
        padding: 25px;
    }
}

/* ==================== CYBER WIDGET ==================== */
.cyber-widget {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 8px;
  z-index: 9999;
  width: 110px;
  box-shadow: 0 2px 12px rgba(0, 247, 255, 0.15);
  font-family: 'Roboto', sans-serif;
}

.widget-line {
  display: flex;
  gap: 8px;
  padding: 6px 0;
}

.widget-line:not(:last-child) {
  border-bottom: 1px solid rgba(0, 247, 255, 0.1);
}

.icon {
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.secure-line .icon { color: #00f7ff; }
.visitors-line .icon { color: var(--primary); }
.projects-line .icon { color: var(--accent); }

.text-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.first-line {
  font-size: 0.7rem;
  color: var(--light);
  line-height: 1.2;
}

.second-line {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
}

#visitor-count,
#project-count {
  font-family: 'Orbitron', sans-serif;
  color: var(--secondary);
  margin-right: 4px;
}

@media (max-width: 768px) {
  .visitors-line .text-container,
  .projects-line .text-container {
    flex-direction: column;
  }
  
  .visitors-line .first-line,
  .projects-line .first-line {
    display: flex;
    align-items: center;
  }
  
  .visitors-line .second-line,
  .projects-line .second-line {
    padding-left: 20px;
    margin-top: -4px;
  }
}

@media (min-width: 769px) {
  .cyber-widget {
    width: 170px;
    height: 110px;
    padding: 10px 12px;
    bottom: 20px;
    right: 20px;
  }
  
  .text-container {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }
  
  .first-line,
  .second-line {
    font-size: 0.75rem;
    display: inline;
  }
  
  .second-line::before {
    content: " ";
  }
  
  .visitors-line .second-line,
  .projects-line .second-line {
    padding-left: 0;
    margin-top: 0;
  }
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-headline {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 70px;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        min-height: 700px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-step {
        padding-left: 80px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 50px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-step {
        padding-left: 60px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}