/*
* SoftVolta - Modern Technology Company Website
* CSS Styles
*/
/* SoftVolta - Modern Technology Company Website | Cleaned CSS Styles */
/* Removed unused CSS classes and IDs after cross-referencing with PHP and JS files. */
/* ...existing code... */
/* Tablet Responsive Styles */
@media (max-width: 991px) {
    .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    }
    .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    .services-hero,
    .portfolio-hero,
    .testimonials-hero,
    .contact-hero,
    .about-hero {
    padding: 120px 0 80px;
    }
    .about-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    }
    .about-hero .hero-title,
    .about-hero .hero-subtitle {
    text-align: center;
    }
}
/* Mobile Responsive Styles */
/* ...existing code... */
/* ...existing code... */
/* ===== HAMBURGER MENU FIXES ===== */
/* 
* Fixes for hamburger menu positioning
* Keep hamburger fixed to right side on all screen sizes
*/
/* Ensure hamburger menu stays right-aligned on all screen sizes */
.nav-toggle {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
/* Ensure hamburger menu stays consistently in place when scrolling */
.scrolled .nav-toggle {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
}
/* Fix navbar container to ensure proper positioning of all elements */
.navbar .container {
    position: relative !important;
}
/* Ensure hamburger stays in place on very small screens */
@media screen and (max-width: 480px) {
    .nav-toggle {
    right: 15px !important;
    }
    
    .navbar .container {
    padding-right: 50px !important; /* Make space for hamburger */
    }
}
/* Fix for active hamburger state */
.nav-toggle.active {
    position: fixed !important;
    right: 20px !important;
    top: 30px !important;
    transform: translateY(0) !important;
}
/* Fix for mobile browsers that resize on scroll */
@media screen and (max-height: 600px) {
    .nav-toggle.active {
    top: 20px !important;
    }
}
/* Prevent horizontal scrolling on mobile at all times */
@media (max-width: 768px) {
    html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    }
    
    /* Ensure nav menu doesn't cause horizontal scroll */
    .nav-menu.show {
    max-width: 80vw !important;
    }
}
/* ===== PRELOADER ANIMATION ===== */
/*
* SoftVolta - Custom Preloader Animation
*/
/* ===== SINGLE PORTFOLIO PAGE STYLES ===== */
/*
* Single Portfolio Page Styles
* Dedicated CSS for single-portfolio-item.php
* Enhanced Modern Design
*/
/* ===== SINGLE PORTFOLIO PAGE ===== */
/* ===== HERO SECTION ===== */
/* ===== TESTIMONIALS GRID SECTION ===== */
/* ...existing code... */
/* ===== TESTIMONIAL CARDS ===== */
/* ...existing code... */
/*
* SoftVolta - Modern Technology Company Website
* CSS Styles
*/

/* ===== BASE STYLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #00d9ff;
    --secondary-color: #0097b3;
    --accent-color: #01c3e6;
    
    /* Neutral Colors */
    --dark-color: #121212;
    --text-color: #e0e0e0;
    --light-text: #a0a0a0;
    --background: #1a1a1a;
    --light-background: #252525;
    --border-color: #333333;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Shadows */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden !important;
    position: relative;
    perspective: 1000px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-color);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 15px;
    color: var(--light-text);
}

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

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

ul {
    list-style: none;
}

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

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

section {
    padding: 100px 0;
    position: relative;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 217, 255, 0.4);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: revealSection 1s ease forwards;
    opacity: 0;
}

@keyframes revealSection {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide In Left Animation */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.section-header .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.shape-divider path {
    fill: var(--dark-color);
}

.shape-divider.bottom {
    transform: rotate(180deg);
    top: -1px;
    bottom: auto;
}



/* ===== HEADER STYLES ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.scrolled .logo a {
    color: var(--dark-color);
}

.logo span {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5), 0 0 20px rgba(0, 217, 255, 0.3), 0 0 30px rgba(0, 217, 255, 0.1);
    animation: neonPulse 2s infinite alternate;
}

.main-logo a img {
	width: 70px;
    height: auto;
    margin-top: 12px;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 10px rgba(0, 217, 255, 0.5), 0 0 20px rgba(0, 217, 255, 0.3), 0 0 30px rgba(0, 217, 255, 0.1);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 217, 255, 0.7), 0 0 25px rgba(0, 217, 255, 0.5), 0 0 35px rgba(0, 217, 255, 0.3);
    }
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: white;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.scrolled .nav-menu li a {
    color: var(--dark-color);
}

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

.nav-menu li a:hover:after, 
.nav-menu li a.active:after {
    width: 100%;
}

.nav-menu li a.btn-primary {
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    margin-left: 15px;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: absolute;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 9px;
}

.nav-toggle span:nth-child(3) {
    bottom: 0;
}

.scrolled .nav-toggle span {
    background-color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?q=80&w=1932&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(18, 18, 18, 0.85);
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 50%;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 25px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
}

.typing-text {
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 4s steps(50) 0.5s forwards, blink 1s infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 100% { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.hero-buttons {
    display: flex;
}

.hero-buttons .btn-secondary {
    color: white;
    border-color: white;
    margin-left: 15px;
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-image {
    /* width: 50%; */
    text-align: right;
}

.hero-img-container {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

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

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

/* ===== SERVICES SECTION ===== */
.services {
    background: url('https://images.unsplash.com/photo-1633356122102-3fe601e05bd2?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(18, 18, 18, 0.9);
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

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

.service-card {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    height: 5px;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

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

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
}

.read-more {
    margin-top: 15px;
    display: inline-block;
    font-weight: 500;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

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

/* ===== ABOUT SECTION ===== */
.about {
    background: url('https://images.unsplash.com/photo-1541185934-01b600ea069c?q=80&w=1771&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(26, 26, 26, 0.9);
    background-blend-mode: overlay;
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-image {
    width: 50%;
}

.about-text {
    width: 50%;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-weight: 500;
    margin-bottom: 0;
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: url('https://images.unsplash.com/photo-1478760329108-5c3ed9d495a0?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(26, 26, 26, 0.85);
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

.feature-icon i {
    font-size: 28px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    /* margin-bottom: 30px; */
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    margin: 0 5px;
}

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

.filter-btn.active, .filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn.active:after, .filter-btn:hover:after {
    width: 100%;
}

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

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-item:hover {
    transform: translateY(-10px) rotate3d(1, 3, 1, 5deg);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.1);
}


.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 20px;
}

.portfolio-info p {
    color: var(--accent-color);
    margin-bottom: 0;
}

.portfolio-link {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--transition);
}

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

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: url('https://images.unsplash.com/photo-1492619375914-88005aa9e8fb?q=80&w=1846&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(18, 18, 18, 0.85);
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: borderGlow 3s infinite;
}

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

.testimonial-content {
    position: relative;
    margin-bottom: 30px;
}

.testimonial-content p {
    padding-left :20px;
}

.quote-icon {
    font-size: 30px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}



.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    margin-bottom: 0;
    font-size: 14px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--secondary-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 50px;
}

.contact-info {
    width: 100%;
}

.contact-form {
    width: 100%;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.contact-card {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.contact-details p {
    margin-bottom: 0;
}

.contact-social h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 217, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-3px) rotate(360deg);
}

.social-icons a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(0, 217, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.5s, height 0.5s, opacity 0.3s;
    z-index: 0;
}

.social-icons a:hover::after {
    width: 120%;
    height: 120%;
    opacity: 1;
}

.social-icons a i {
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover i {
    color: white;
}

.contact-form h3 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(18, 18, 18, 0.7);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
    font-family: var(--body-font);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    background-color: rgba(26, 26, 26, 0.9);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.contact-form .btn-primary {
    width: 100%;
    background-image: linear-gradient(45deg, var(--primary-color), #0088cc, var(--primary-color));
    background-size: 200% auto;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.map-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    padding: 60px 0;
    background-color: var(--dark-color);
}

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

.newsletter-text {
    color: white;
    width: 40%;
}

.newsletter-text h2 {
    color: white;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    width: 60%;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn-primary {
    border-radius: 0 30px 30px 0;
    padding: 15px 30px;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: inline-block;
}

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

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

.footer-links ul li a,
.footer-services ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
}

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

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom i {
    color: var(--primary-color);
}

/* ===== BACK TO TOP BUTTON ===== */
/* ...existing code... */

/* Responsive styles for back-to-top button */
/* ...existing code... */

/* Removed unused CSS classes and IDs after cross-referencing with PHP and JS files. */
/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 90%;
        padding: 0 15px;
    }
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, 
    .hero-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .about-image, 
    .about-text {
        width: 100%;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info, 
    .contact-form {
        width: 100%;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text, 
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-text {
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition: all 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.show {
        right: 0;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        color: var(--text-color);
        display: block;
        font-size: 18px;
        padding: 10px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .nav-menu li a:hover {
        background-color: rgba(0, 217, 255, 0.1);
        color: var(--primary-color);
    }
    
    .nav-menu li.current-menu-item a {
        color: var(--primary-color);
        background-color: rgba(0, 217, 255, 0.1);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .btn-primary, 
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-secondary {
        margin: 15px 0 0;
    }
    
    .hero-buttons .btn-primary {
        margin-right: 0;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-img {
        margin: 0 0 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
}



/* 
* SoftVolta - Animations CSS
* Additional animations and effects for the website
*/



/* Apply animations to elements */
.reveal-animate {
    animation: fadeIn 1s ease-out forwards;
}

.section-header.reveal-animate {
    animation: slideUp 1s ease-out forwards;
}

.service-card.reveal-animate {
    animation: scaleUp 0.8s ease-out forwards;
}

.about-image.reveal-animate {
    animation: slideInLeft 1s ease-out forwards;
}

.about-text.reveal-animate {
    animation: slideInRight 1s ease-out forwards;
}

.feature-card.reveal-animate {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.portfolio-item.reveal-animate {
    animation: scaleUp 0.8s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.testimonial-card.reveal-animate {
    animation: fadeIn 1s ease-out forwards;
}

.contact-form.reveal-animate {
    animation: slideInRight 1s ease-out forwards;
}

.contact-info.reveal-animate {
    animation: slideInLeft 1s ease-out forwards;
}

/* Loading animation for forms */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

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

/* Animated background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 151, 179, 0.15) 100%);
    background-size: 200% 200%;
    animation: gradientBackground 15s ease infinite;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Nav toggle animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    background-color: var(--primary-color);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
    background-color: var(--primary-color);
}

/* Service card hover effect */
.service-card:hover h3 {
    color: var(--primary-color);
    transition: var(--transition);
}

/* ===== NEW ANIMATIONS FOR PARALLAX AND PARTICLES ===== */

/* Parallax effect for sections */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Floating particles animation */
@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-30px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

/* Glowing effect animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.8), 0 0 40px rgba(0, 217, 255, 0.3);
    }
}

/* Create animated background particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.3);
    pointer-events: none;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    opacity: 0.3;
    animation: float-particle 8s infinite ease-in-out, glow 4s infinite ease-in-out;
    filter: blur(5px);
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 5%;
    opacity: 0.2;
    animation: float-particle 9s infinite ease-in-out, glow 5s infinite ease-in-out;
    animation-delay: 1s;
    filter: blur(4px);
}

.particle:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 30%;
    right: 10%;
    opacity: 0.25;
    animation: float-particle 10s infinite ease-in-out, glow 6s infinite ease-in-out;
    animation-delay: 2s;
    filter: blur(6px);
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    opacity: 0.15;
    animation: float-particle 12s infinite ease-in-out, glow 7s infinite ease-in-out;
    animation-delay: 3s;
    filter: blur(8px);
}

.particle:nth-child(5) {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 30%;
    opacity: 0.2;
    animation: float-particle 11s infinite ease-in-out, glow 5s infinite ease-in-out;
    animation-delay: 4s;
    filter: blur(3px);
}

/* Parallax scrolling effect for content */
.parallax-content {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.parallax-slow {
    transform: translateZ(-100px) scale(1.15);
}

.parallax-medium {
    transform: translateZ(-50px) scale(1.05);
}

.parallax-fast {
    transform: translateZ(50px) scale(0.95);
}

/* Glow effect for service icons */
.service-icon {
    animation: glow 3s infinite ease-in-out;
}

/* Neon border effect */
.neon-border {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    background-size: 400%;
    z-index: -1;
    animation: neon-border-animation 10s linear infinite;
    filter: blur(5px);
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

.neon-border:hover::after {
    opacity: 1;
}

@keyframes neon-border-animation {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 300% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Glitch effect for text */
.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #00d9ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00d9ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch {
    2%, 64% { transform: translate(2px, 0); }
    4%, 60% { transform: translate(-2px, 0); }
    62% { transform: translate(0, 0); }
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    5% { clip: rect(70px, 9999px, 71px, 0); }
    10% { clip: rect(29px, 9999px, 83px, 0); }
    15% { clip: rect(5px, 9999px, 13px, 0); }
    20% { clip: rect(66px, 9999px, 57px, 0); }
    25% { clip: rect(20px, 9999px, 28px, 0); }
    30% { clip: rect(27px, 9999px, 91px, 0); }
    35% { clip: rect(56px, 9999px, 27px, 0); }
    40% { clip: rect(20px, 9999px, 69px, 0); }
    45% { clip: rect(35px, 9999px, 79px, 0); }
    50% { clip: rect(82px, 9999px, 73px, 0); }
    55% { clip: rect(33px, 9999px, 10px, 0); }
    60% { clip: rect(64px, 9999px, 78px, 0); }
    65% { clip: rect(75px, 9999px, 23px, 0); }
    70% { clip: rect(72px, 9999px, 22px, 0); }
    75% { clip: rect(75px, 9999px, 38px, 0); }
    80% { clip: rect(22px, 9999px, 60px, 0); }
    85% { clip: rect(45px, 9999px, 15px, 0); }
    90% { clip: rect(80px, 9999px, 7px, 0); }
    95% { clip: rect(28px, 9999px, 59px, 0); }
    100% { clip: rect(67px, 9999px, 98px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(96px, 9999px, 72px, 0); }
    5% { clip: rect(79px, 9999px, 23px, 0); }
    10% { clip: rect(21px, 9999px, 45px, 0); }
    15% { clip: rect(63px, 9999px, 21px, 0); }
    20% { clip: rect(8px, 9999px, 9px, 0); }
    25% { clip: rect(18px, 9999px, 41px, 0); }
    30% { clip: rect(41px, 9999px, 16px, 0); }
    35% { clip: rect(53px, 9999px, 86px, 0); }
    40% { clip: rect(76px, 9999px, 97px, 0); }
    45% { clip: rect(62px, 9999px, 29px, 0); }
    50% { clip: rect(11px, 9999px, 63px, 0); }
    55% { clip: rect(44px, 9999px, 59px, 0); }
    60% { clip: rect(36px, 9999px, 26px, 0); }
    65% { clip: rect(85px, 9999px, 90px, 0); }
    70% { clip: rect(38px, 9999px, 46px, 0); }
    75% { clip: rect(63px, 9999px, 76px, 0); }
    80% { clip: rect(35px, 9999px, 31px, 0); }
    85% { clip: rect(80px, 9999px, 44px, 0); }
    90% { clip: rect(96px, 9999px, 92px, 0); }
    95% { clip: rect(1px, 9999px, 61px, 0); }
    100% { clip: rect(18px, 9999px, 97px, 0); }
}

/* ===== TEMPLATE PAGES STYLING ===== */

/* Common Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Hero Sections for Template Pages */
.services-hero,
.portfolio-hero,
.testimonials-hero,
.contact-hero,
.about-hero {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 50%, #252525 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before,
.portfolio-hero::before,
.testimonials-hero::before,
.contact-hero::before,
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 217, 255, 0.1), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 151, 179, 0.08), transparent 50%);
    z-index: 1;
}

/* Decorative elements for hero sections */
.services-hero::after,
.portfolio-hero::after,
.testimonials-hero::after,
.contact-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.portfolio-hero::after {
    top: 60%;
    left: 10%;
    animation-delay: -2s;
}

.testimonials-hero::after {
    top: 40%;
    right: 20%;
    animation-delay: -4s;
}

.contact-hero::after {
    top: 70%;
    left: 20%;
    animation-delay: -1s;
}

.services-hero .container,
.portfolio-hero .container,
.testimonials-hero .container,
.contact-hero .container,
.about-hero .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation for Template Pages */
.template-breadcrumb {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: var(--light-text);
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb-separator {
    color: var(--border-color);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
}

.services-hero .hero-content,
.portfolio-hero .hero-content,
.testimonials-hero .hero-content,
.contact-hero .hero-content,
.about-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ===== SERVICES PAGE STYLES ===== */
.services-page {
    background: var(--background);
}

/* About Page Hero Special Styling */
.about-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    max-width: 1200px;
}

.about-hero .hero-text {
    animation: slideInLeft 1s ease-out;
}

.about-hero .hero-image {
    animation: slideInRight 1s ease-out;
    text-align: center;
}

.about-hero .hero-title {
    text-align: left;
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
}

.about-hero .hero-subtitle {
    text-align: left;
    margin: 0;
    font-size: 1.2rem;
}

.about-hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 217, 255, 0.2));
    animation: float 4s ease-in-out infinite;
}

.services-grid {
    padding: 80px 0;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--light-text);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Services Process */
.services-process {
    background: var(--light-background);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.process-step h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.services-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.services-cta p {
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-page {
    background: var(--background);
}

.about-content {
    padding: 80px 0;
    /* background: var(--light-background); */
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 20px 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
}

/* Values Section */
.about-values {
    padding: 80px 0;
    background: var(--background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--light-background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.value-icon i {
    color: white;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Team Section */
.about-team {
    padding: 80px 0;
    background: var(--light-background);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--background);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.15);
}

.member-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.member-description {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.about-stats {
    /* padding: 80px 0; */
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    opacity: 0.95;
}

/* About CTA Section */
.about-cta {
    padding: 80px 0;
    background: var(--background);
    text-align: center;
}

.about-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-cta p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

/* ===== PORTFOLIO PAGE STYLES ===== */
.portfolio-filter {
    text-align: center;
    padding: 40px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.portfolio-grid {
    padding: 40px 0 80px;
}

.portfolio-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-links {
    margin-top: 1rem;
}

.portfolio-links .btn-outline,
.portfolio-links .btn-primary {
    margin: 0 0.5rem;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

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

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.portfolio-tags {
    margin-top: 1rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Portfolio Stats */
.portfolio-stats {
    background: var(--light-background);
    padding: 80px 0;
    /* margin-top: 10px; */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background), var(--light-background));
}

.portfolio-cta h2 {
    margin-bottom: 1rem;
}

.portfolio-cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TESTIMONIALS PAGE STYLES ===== */
.featured-testimonial {
    padding: 80px 0;
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--light-background), var(--background));
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.rating i {
    color: #ffd700;
}

blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials-grid {
    padding: 80px 0;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Client Logos */
.client-logos {
    background: var(--light-background);
    padding: 80px 0;
    text-align: center;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.logo-item {
    padding: 1.5rem;
    background: var(--background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.logo-item span {
    color: var(--light-text);
    font-weight: 500;
}

/* Video Testimonial */
.video-testimonial {
    padding: 80px 0;
    text-align: center;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.video-placeholder {
    background: var(--light-background);
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.testimonials-cta h2,
.testimonials-cta p {
    color: white;
}

.testimonials-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-content {
    padding: 80px 0;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--body-font);
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.info-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--light-text);
    margin: 0;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

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

/* Contact Map */
.contact-map {
    background: var(--light-background);
    padding: 80px 0;
}

.map-wrapper {
    margin-top: 3rem;
}

.map-placeholder {
    background: var(--background);
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-content p {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.map-content small {
    color: var(--light-text);
    opacity: 0.7;
}

/* Contact FAQ */
.contact-faq {
    padding: 80px 0;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: var(--light-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background);
}

.faq-question h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    color: var(--light-text);
    margin: 0;
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background), var(--light-background));
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-error-message {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-error-message h4 {
    margin: 0 0 0.5rem 0;
    color: white;
}

.contact-error-message ul {
    margin: 0;
    padding-left: 1.5rem;
}

.contact-error-message li {
    margin-bottom: 0.25rem;
}

/* ===== ADDITIONAL RESPONSIVE STYLES ===== */

/* Tablet Responsive Styles */
@media (max-width: 991px) {
    .about-content .content-wrapper {
        flex-direction: column;
    }
    
    .about-text, .about-values {
        width: 100%;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .services-wrapper,
    .portfolio-wrapper,
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
    
    .process-steps,
    .stats-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Template pages responsive styles */
    .services-hero,
    .portfolio-hero,
    .testimonials-hero,
    .contact-hero,
    .about-hero {
        padding: 120px 0 80px;
    }
    
    .about-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero .hero-title,
    .about-hero .hero-subtitle {
        text-align: center;
    }
}

/* Mobile Responsive Styles */
/* ...existing code... */



/* Back to Top Button */

.back-to-top {
    position: sticky;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.5rem;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

/* Media query for smaller devices */

@media (max-width: 1024px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .back-to-top {
        width: 36px;
        height: 36px;
        bottom: 16px;
        right: 16px;
        font-size: 1rem;
    }
}

/* Stop animations during window resizing */
.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

/* Touch device styles */
.touch-device .portfolio-item:hover .portfolio-overlay {
    opacity: 0;
}

.touch-device .portfolio-item.touch-focus .portfolio-overlay {
    opacity: 1;
}

/* Fix form fields on mobile */
@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Fix portfolio display on mobile */
@media (max-width: 768px) {
    .portfolio-item {
        margin-bottom: 20px;
    }
    
    .portfolio-overlay {
        opacity: 0.9;
    }
}

/* Fix service cards on mobile */
@media (max-width: 768px) {
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        margin-bottom: 15px;
    }
}

/* Fix testimonial display on mobile */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
    }
}

/* Fix about page layout on mobile */
@media (max-width: 768px) {
    .about-content .about-text,
    .about-content .about-values {
        padding: 0;
    }
    
    .values-grid {
        gap: 15px;
    }
}

/* Fix contact page on mobile */
@media (max-width: 768px) {
    .contact-info {
        margin-bottom: 30px;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
}

/* Fix footer on mobile */
@media (max-width: 768px) {
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-links h3,
    .footer-services h3,
    .footer-contact h3 {
        margin-top: 20px;
    }
}

/* ===== HAMBURGER MENU FIXES ===== */
/* 
* Fixes for hamburger menu positioning
* Keep hamburger fixed to right side on all screen sizes
*/

/* Ensure hamburger menu stays right-aligned on all screen sizes */
.nav-toggle {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Ensure hamburger menu stays consistently in place when scrolling */
.scrolled .nav-toggle {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
}

/* Fix navbar container to ensure proper positioning of all elements */
.navbar .container {
    position: relative !important;
}

/* Ensure hamburger stays in place on very small screens */
@media screen and (max-width: 480px) {
    .nav-toggle {
        right: 15px !important;
    }
    
    .navbar .container {
        padding-right: 50px !important; /* Make space for hamburger */
    }
}

/* Fix for active hamburger state */
.nav-toggle.active {
    position: fixed !important;
    right: 20px !important;
    top: 30px !important;
    transform: translateY(0) !important;
}

/* Fix for mobile browsers that resize on scroll */
@media screen and (max-height: 600px) {
    .nav-toggle.active {
        top: 20px !important;
    }
}

/* Prevent horizontal scrolling on mobile at all times */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Ensure nav menu doesn't cause horizontal scroll */
    .nav-menu.show {
        max-width: 80vw !important;
    }
}

/* ===== PRELOADER ANIMATION ===== */
/*
* SoftVolta - Custom Preloader Animation
*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

/* When preloader is active, prevent scrolling */
body.preloader-active {
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
}

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

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 800px;
    margin: 0 auto;
}

.loader-cube {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    transform-style: preserve-3d;
    animation: rotate 4s infinite linear;
}

.loader-face {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-face:nth-child(1) {
    transform: translateZ(40px);
}

.loader-face:nth-child(2) {
    transform: rotateY(180deg) translateZ(40px);
}

.loader-face:nth-child(3) {
    transform: rotateY(90deg) translateZ(40px);
}

.loader-face:nth-child(4) {
    transform: rotateY(-90deg) translateZ(40px);
}

.loader-face:nth-child(5) {
    transform: rotateX(90deg) translateZ(40px);
}

.loader-face:nth-child(6) {
    transform: rotateX(-90deg) translateZ(40px);
}

.loader-text {
    white-space: nowrap;
    position: absolute;
    bottom: -50px;
    text-align: center;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 2px;
    width: 100%;
    left: 0;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    animation: fadeInOut 1.5s infinite;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }
.loader-text span:nth-child(4) { animation-delay: 0.4s; }
.loader-text span:nth-child(5) { animation-delay: 0.5s; }
.loader-text span:nth-child(6) { animation-delay: 0.6s; }
.loader-text span:nth-child(7) { animation-delay: 0.7s; }
.loader-text span:nth-child(8) { animation-delay: 0.8s; }
.loader-text span:nth-child(9) { animation-delay: 0.9s; }
.loader-text span:nth-child(10) { animation-delay: 1s; }

@keyframes rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: rotateX(90deg) rotateY(90deg);
    }
    50% {
        transform: rotateX(180deg) rotateY(180deg);
    }
    75% {
        transform: rotateX(270deg) rotateY(270deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateY(5px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SINGLE PORTFOLIO PAGE STYLES ===== */
/*
* Single Portfolio Page Styles
* Dedicated CSS for single-portfolio-item.php
* Enhanced Modern Design
*/

/* ===== SINGLE PORTFOLIO PAGE ===== */
.single-portfolio-page {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 151, 179, 0.05) 0%, transparent 50%),
        var(--background);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.single-portfolio-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2300d9ff" fill-opacity="0.02"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
    pointer-events: none;
    z-index: 0;
}

/* ===== HERO SECTION ===== */
.single-portfolio-hero {
    padding: 60px 0 40px;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.95) 0%, 
            rgba(37, 37, 37, 0.9) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
    position: relative;
    z-index: 1;
}

.single-portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.1) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

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

.template-breadcrumb {
    /* margin-bottom: 0; */
    position: relative;
    z-index: 2;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 20px 0;
    margin: 0;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

/* ===== PROJECT HEADER ===== */
.project-header {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.project-header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
    animation: fadeInUp 0.8s ease-out;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-category {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

.project-title {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.project-tags .tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-tags .tag:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.project-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

/* ===== ENHANCED BUTTON ANIMATIONS ===== */
.btn-primary i,
.btn-outline i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i,
.btn-outline:hover i {
    transform: scale(1.1);
}

.fa-external-link-alt {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* ===== ENHANCED PROJECT META ===== */
.project-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

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

.project-date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 8px;
}

/* ===== FEATURED IMAGE ===== */
.project-featured-image {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.featured-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

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

.project-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-image-wrapper:hover .project-main-image {
    transform: scale(1.02);
}

/* ===== PROJECT CONTENT ===== */
.project-content {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.main-content {
    animation: fadeInLeft 0.8s ease-out 0.4s both;
}

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

.project-description h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.project-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.content-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

/* ===== PROJECT GALLERY ===== */
.project-gallery {
    margin-bottom: 50px;
}

.project-gallery h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.project-gallery h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 217, 255, 0.2), rgba(0, 151, 179, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 217, 255, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ===== LIGHTBOX EFFECT FOR GALLERY ===== */
.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== TECHNOLOGIES ===== */
.project-technologies {
    margin-bottom: 40px;
}

.project-technologies h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.project-technologies h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-item {
    background: rgba(37, 37, 37, 0.8);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    background: rgba(0, 217, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    border-color: var(--primary-color);
}

/* ===== PROJECT SIDEBAR ===== */
.project-sidebar {
    animation: fadeInRight 0.8s ease-out 0.6s both;
}

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

/* ===== ENHANCED SIDEBAR SECTIONS ===== */
.sidebar-section {
    background: rgba(37, 37, 37, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sidebar-section:hover::before {
    transform: scaleX(1);
}

.sidebar-section:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.15);
    transform: translateY(-5px);
}

.sidebar-section h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.detail-item:hover::before {
    width: 100%;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item:hover {
    padding-left: 10px;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
}

.detail-item strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item strong::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.detail-item span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-align: right;
    transition: color 0.3s ease;
}

.detail-item:hover span {
    color: rgba(255, 255, 255, 0.9);
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.status-badge:hover::before {
    left: 100%;
}

.status-badge:hover {
    transform: scale(1.05);
}

.status-completed {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-ongoing {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.status-planned {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.share-btn:hover::before {
    transform: translateX(100%);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    color: white;
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
    color: white;
}

.share-btn.email {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    text-align: center;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== RELATED PROJECTS ===== */
.related-projects {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(37, 37, 37, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%
        );
    position: relative;
}

.related-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 151, 179, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.related-projects h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.related-projects h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.related-project-card {
    background: rgba(37, 37, 37, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.related-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.3);
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-overlay i {
    font-size: 2rem;
    color: white;
}

.related-project-card:hover .related-project-image img {
    transform: scale(1.1);
}

.related-project-card:hover .project-overlay {
    opacity: 1;
}

.related-project-content {
    padding: 25px;
}

.related-project-content h4 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.related-subtitle {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.related-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== NO PROJECT SECTION ===== */
.no-project {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
}

.no-project h1 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-weight: 700;
}

.no-project p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.project-cta {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, 
            var(--primary-color) 0%, 
            var(--secondary-color) 50%,
            var(--primary-color) 100%
        );
    position: relative;
    overflow: hidden;
}

.project-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

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

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

.cta-content h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-size: 1.3rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 18px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-content .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .project-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .project-title {
        font-size: 2.5rem;
    }

    .project-subtitle {
        font-size: 1.2rem;
    }

    .project-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .related-projects-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb-list {
        flex-wrap: wrap;
        padding: 12px 20px;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .single-portfolio-hero {
        padding: 40px 0 30px;
    }

    .project-header {
        padding: 50px 0;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

    .project-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        min-width: auto;
    }

    .sidebar-section {
        padding: 20px;
    }

    .project-content {
        padding: 50px 0;
    }

    .related-projects {
        padding: 60px 0;
    }

    .project-cta {
        padding: 70px 0;
    }

    .cta-content h2 {
        font-size: 1.9rem;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== FOCUS STYLES ===== */
.breadcrumb-item a:focus,
.share-btn:focus,
.btn-primary:focus,
.btn-outline:focus,
.project-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== LOADING STATES ===== */
.project-loading {
    position: relative;
}

.project-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(0, 217, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: projectLoading 1s linear infinite;
    z-index: 1000;
}

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

/* ===== IMAGE LAZY LOADING ===== */
.gallery-item img[loading="lazy"],
.related-project-image img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item img[loading="lazy"].loaded,
.related-project-image img[loading="lazy"].loaded {
    opacity: 1;
}

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

.animate-on-scroll {
    animation: slideInFromBottom 0.8s ease-out;
}

/* ===== ENHANCED BUTTON EFFECTS ===== */
.btn-primary::before,
.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

/* ===== PROJECT STATUS VARIATIONS ===== */
.status-in-progress {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.status-maintenance {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-archived {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

/* ===== ENHANCED TOOLTIPS ===== */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 117%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ===== PRINT STYLES ===== */
@media print {
    .single-portfolio-page {
        background: white !important;
    }
    
    .single-portfolio-hero,
    .project-cta,
    .share-section,
    .contact-cta {
        display: none !important;
    }
    
    .project-header-content {
        grid-template-columns: 1fr !important;
    }
    
    .content-grid {
        grid-template-columns: 1fr !important;
    }
    
    .project-title,
    .project-description h2,
    .project-technologies h3,
    .project-gallery h3 {
        color: #000 !important;
    }
    
    .content-text,
    .detail-item {
        color: #333 !important;
    }
}



/* ===== SINGLE TESTIMONIAL PAGE ===== */
.single-testimonial-page {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 151, 179, 0.05) 0%, transparent 50%),
        var(--background);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.single-testimonial-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2300d9ff" fill-opacity="0.02"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
    pointer-events: none;
    z-index: 0;
}

/* ===== HERO SECTION ===== */
.single-testimonial-hero {
    padding: 60px 0 40px;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.95) 0%, 
            rgba(37, 37, 37, 0.9) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
    position: relative;
    z-index: 1;
}

.single-testimonial-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.1) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.breadcrumb-item a i {
    font-size: 0.9rem;
}

.breadcrumb-item a span {
    font-size: 0.95rem;
}

/* ===== TESTIMONIAL DETAIL CARD ===== */
.single-testimonial-content {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.testimonial-detail-card {
    background: rgba(37, 37, 37, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.testimonial-detail-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
    animation: floatingGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatingGlow {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-48%, -52%) rotate(180deg); }
}

/* ===== TESTIMONIAL HEADER ===== */
.testimonial-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.testimonial-person-info {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.testimonial-large-image {
    flex-shrink: 0;
    position: relative;
}

.testimonial-large-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

.testimonial-large-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 217, 255, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonial-large-image:hover img {
    transform: scale(1.05);
    box-shadow: 
        0 20px 45px rgba(0, 217, 255, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.testimonial-person-details h1 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.testimonial-person-position {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.testimonial-person-position::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.testimonial-person-company {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    gap: 8px;
    align-items: center;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-rating i:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #ffd700);
}

/* ===== QUOTE SECTION ===== */
.testimonial-quote-section {
    position: relative;
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    z-index: 1;
    animation: floatQuote 3s ease-in-out infinite;
}

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

.testimonial-content {
    font-size: 1.5rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    padding: 30px 0 30px 60px;
    font-style: italic;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--primary-color) 0%, 
        rgba(0, 217, 255, 0.3) 50%, 
        transparent 100%);
    border-radius: 2px;
}

.testimonial-content p {
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.testimonial-content p:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 2px 8px rgba(0, 217, 255, 0.2);
}

/* ===== PROJECT DETAILS ===== */
.project-details {
    margin-bottom: 50px;
    padding: 40px;
    background: 
        linear-gradient(145deg, rgba(0, 0, 0, 0.4), rgba(37, 37, 37, 0.2)),
        rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.project-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.project-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

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

.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.project-info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-2px);
}

.project-info-item strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.project-info-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

.project-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-info-item a:hover {
    color: var(--secondary-color);
    text-shadow: 0 2px 8px rgba(0, 217, 255, 0.3);
    transform: translateX(5px);
}

/* ===== SOCIAL SHARE ===== */
.testimonial-share {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.testimonial-share::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
}

.testimonial-share h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.3);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.share-btn.facebook:hover {
    box-shadow: 0 15px 25px rgba(59, 89, 152, 0.5);
}

.share-btn.twitter:hover {
    box-shadow: 0 15px 25px rgba(29, 161, 242, 0.5);
}

.share-btn.linkedin:hover {
    box-shadow: 0 15px 25px rgba(0, 119, 181, 0.5);
}

/* ===== RELATED TESTIMONIALS ===== */
.related-testimonials {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(37, 37, 37, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%
        );
    position: relative;
}

.related-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 151, 179, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.related-testimonials h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 60px;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.related-testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.related-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.related-testimonial-card {
    background: rgba(37, 37, 37, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
}

.related-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-testimonial-card:hover::before {
    opacity: 1;
}

.related-testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 217, 255, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 217, 255, 0.3);
}

.testimonial-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-testimonial-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.related-testimonial-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, 
        rgba(37, 37, 37, 0.8) 0%, 
        transparent 100%);
}

.related-testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.related-testimonial-card:hover .related-testimonial-image img {
    transform: scale(1.15);
}

.related-testimonial-content {
    padding: 30px;
    position: relative;
}

.related-testimonial-content h4 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.related-designation {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== NO TESTIMONIAL SECTION ===== */
.no-testimonial {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
}

.no-testimonial h1 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-weight: 700;
}

.no-testimonial p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.testimonials-cta {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, 
            var(--primary-color) 0%, 
            var(--secondary-color) 50%,
            var(--primary-color) 100%
        );
    position: relative;
    overflow: hidden;
}

.testimonials-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

.testimonials-cta h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.testimonials-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-size: 1.3rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .single-testimonial-hero {
        padding: 40px 0 30px;
    }

    .breadcrumb-list {
        padding: 12px 20px;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .testimonial-detail-card {
        padding: 40px 25px;
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .testimonial-person-info {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .testimonial-large-image img {
        width: 120px;
        height: 120px;
    }
    
    .testimonial-person-details h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .testimonial-person-position {
        font-size: 1.2rem;
    }
    
    .testimonial-content {
        font-size: 1.2rem;
        padding: 25px 0 25px 40px;
        line-height: 1.8;
    }

    .quote-icon {
        font-size: 3.5rem;
        left: -15px;
        top: -15px;
    }
    
    .project-details {
        padding: 30px 20px;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-testimonials h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .single-testimonial-hero {
        padding: 30px 0 20px;
    }
    
    .single-testimonial-content {
        padding: 50px 0;
    }
    
    .testimonial-detail-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .testimonial-person-details h1 {
        font-size: 1.9rem;
    }

    .testimonial-person-position {
        font-size: 1.1rem;
    }

    .testimonial-person-company {
        font-size: 1rem;
    }
    
    .testimonial-content {
        font-size: 1.1rem;
        padding: 20px 0 20px 30px;
    }

    .quote-icon {
        font-size: 3rem;
        left: -10px;
        top: -10px;
    }
    
    .breadcrumb-list {
        padding: 10px 15px;
        gap: 8px;
    }

    .project-details {
        padding: 25px 15px;
    }

    .project-details h3 {
        font-size: 1.5rem;
    }

    .related-testimonials {
        padding: 60px 0;
    }

    .related-testimonials h2 {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }

    .related-testimonial-content {
        padding: 25px 20px;
    }

    .related-testimonial-content h4 {
        font-size: 1.2rem;
    }

    .testimonials-cta {
        padding: 70px 0;
    }

    .cta-content h2 {
        font-size: 1.9rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .share-buttons {
        gap: 15px;
    }

    .share-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
.breadcrumb-item a:focus,
.share-btn:focus,
.btn-primary:focus,
.testimonial-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== LOADING ANIMATION ===== */
.testimonial-detail-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.testimonial-detail-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(0, 217, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: loading 1s linear infinite;
    z-index: 1000;
}

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

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: light) {
    .single-testimonial-page {
        --text-primary: #333333;
        --text-secondary: #666666;
    }
}


/* ===== TESTIMONIALS GRID SECTION ===== */
.testimonials-grid {
    padding: 80px 0;
    background-color: var(--background);
}

.testimonials-page-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-page-card {
    background: rgba(37, 37, 37, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 30px;
    height: 100%;
}

.testimonial-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: var(--transition);
}

.testimonial-page-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.1);
}

.testimonial-page-card:hover::before {
    transform: translateX(0);
}

/* Card Header */
.testimonial-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.testimonial-page-person {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.testimonial-page-image {
    flex-shrink: 0;
}

.testimonial-person-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.testimonial-page-info {
    flex: 1;
}

.testimonial-page-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.testimonial-page-position {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
    line-height: 1.4;
}

/* Rating Stars */
.testimonial-page-rating {
    display: flex;
    gap: 3px;
    margin-left: 10px;
}

.testimonial-page-rating i {
    color: #ffd700;
    font-size: 16px;
}

/* Quote Icon */
.testimonial-page-quote-icon {
    text-align: center;
    margin-bottom: 15px;
}

.testimonial-page-quote-icon i {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.7;
}

/* Content */
.testimonial-page-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-text);
    font-style: italic;
}

.testimonial-page-content p {
    margin-bottom: 15px;
}

.testimonial-page-content p:last-child {
    margin-bottom: 0;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: var(--light-background);
    color: var(--text-color);
    min-width: 44px;
    text-align: center;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .prev,
.pagination .next {
    font-weight: 600;
    padding: 10px 20px;
}

/* ===== NO TESTIMONIALS MESSAGE ===== */
.no-testimonials {
    text-align: center;
    padding: 80px 20px;
    background: var(--light-background);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.no-testimonials p {
    font-size: 18px;
    color: var(--light-text);
    margin: 0;
}

/* ===== CTA SECTION ===== */
.testimonials-cta {
    background: linear-gradient(135deg, var(--light-background), rgba(0, 217, 255, 0.05));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1), transparent 70%);
    pointer-events: none;
}

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

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    
    .testimonials-grid {
        padding: 60px 0;
    }
    
    .testimonials-cta {
        padding: 60px 0;
    }
    
    .testimonials-page-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-page-card {
        padding: 25px;
    }
    
    .testimonial-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .testimonial-page-rating {
        margin-left: 0;
    }
    
    .breadcrumb-list {
        justify-content: flex-start;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 14px;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .testimonial-page-person {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-person-img {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-page-name {
        font-size: 16px;
    }
    
    .testimonial-page-position {
        font-size: 13px;
    }
}

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

.testimonial-page-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-page-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-page-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-page-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-page-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-page-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-page-card:nth-child(6) { animation-delay: 0.6s; }

/* Initial state for animation */
.testimonial-page-card {
    opacity: 0;
    transform: translateY(30px);
}

/* ===== READ MORE INDICATOR ===== */
.read-more-indicator {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0.8;
    transition: var(--transition);
}

.testimonial-page-card:hover .read-more-indicator {
    opacity: 1;
    color: var(--primary-color);
}

.read-more-indicator span {
    font-size: 14px;
    font-weight: 500;
}

.read-more-indicator i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.testimonial-page-card:hover .read-more-indicator i {
    transform: translateX(5px);
}

/* ===== LOADING STATE ===== */
.testimonials-loading {
    text-align: center;
    padding: 60px 20px;
}

.testimonials-loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== SINGLE SERVICE PAGE ===== */
.single-service-page {
    padding-top: 0;
}

/* Single Service Hero */
.single-service-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--light-background) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.single-service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.service-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
    transition: var(--transition);
}

.service-hero-icon i {
    font-size: 60px;
    color: var(--dark-color);
}

.service-hero-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 25px 50px rgba(0, 217, 255, 0.4);
}

.service-hero-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Single Service Content */
.single-service-content {
    padding: 80px 0;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Main Content */
.service-main-content {
    background: var(--light-background);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--box-shadow);
}

.service-description {
    margin-bottom: 50px;
}

.service-description h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Technologies Section */
.service-technologies {
    margin-bottom: 50px;
}

.service-technologies h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.tech-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.tech-list li {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--dark-color);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.tech-list li:hover {
    transform: translateX(5px);
    background: rgba(0, 217, 255, 0.1);
    border-left-color: var(--accent-color);
}

.tech-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 12px;
}

.tech-list li span {
    font-size: 1rem;
    color: var(--text-color);
}

/* Benefits Section */
.service-benefits {
    margin-bottom: 0;
}

.service-benefits h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    background: var(--dark-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.benefit-item h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: var(--light-background);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-card p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

#contact {
    padding-bottom: 0;
}

/* Contact Card */
.contact-card .btn-primary {
    width: 100%;
    text-align: center;
    display: block;
}

/* Related Services */
.related-services-list {
    list-style: none;
}

.related-services-list li {
    margin-bottom: 15px;
}

.related-services-list li:last-child {
    margin-bottom: 0;
}

.related-services-list a {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--dark-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-services-list a:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.related-services-list a i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.related-services-list a span {
    font-size: 1rem;
    font-weight: 500;
}

/* Info Card */
.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 12px;
    min-width: 25px;
}

.info-list li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-list li a:hover {
    color: var(--primary-color);
}

/* Single Service CTA */
.single-service-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
}

.single-service-cta .cta-content h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.single-service-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(18, 18, 18, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.single-service-cta .btn-primary {
    background: var(--dark-color);
    color: var(--primary-color);
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
}

.single-service-cta .btn-primary:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design - Single Service */
@media (max-width: 992px) {
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-sidebar {
        order: -1;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-service-hero {
        padding: 80px 0 60px;
    }
    
    .service-hero-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .service-hero-icon i {
        font-size: 50px;
    }
    
    .service-hero-title {
        font-size: 2rem;
    }
    
    .single-service-content {
        padding: 60px 0;
    }
    
    .service-main-content {
        padding: 30px;
    }
    
    .service-description h2,
    .service-technologies h2,
    .service-benefits h2 {
        font-size: 1.5rem;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
    }
    
    .single-service-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .single-service-cta .cta-content p {
        font-size: 1rem;
    }
}