/* Projects Section */
:root {
    --primary-color: #6a0dad;
    --background-color: #0f0f0f;
    --text-color: #f0f0f0;
    --card-bg-color: #1a1a1a;
    --border-color: #333;
}

.page-hero {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Improve rendering performance */
    transform: translateZ(0);
    will-change: transform;
}

/* Add cursor styles */
body {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%236a0dad" opacity="0.5"/><circle cx="10" cy="10" r="2" fill="%23fff"/></svg>'),
        auto;
}

/* Custom cursor for interactive elements */
a,
button,
.clickable,
.nav-link,
.social-link {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%236a0dad" opacity="0.7"/><circle cx="12" cy="12" r="3" fill="%23fff"/></svg>'),
        pointer;
}

/* Add glow effect to interactive elements on hover */
a:hover,
button:hover,
.nav-link:hover,
.social-link:hover {
    filter: drop-shadow(0 0 8px rgba(106, 13, 173, 0.6));
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(106, 13, 173, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(86, 40, 238, 0.15) 0%, transparent 25%);
    z-index: 0;
    animation: float 15s infinite ease-in-out;
    /* Improve rendering performance */
    will-change: transform;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform;
}

.page-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
    animation: glow-pulse 2s infinite alternate;
    /* Improve rendering performance */
    will-change: box-shadow;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #b0b0b0;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform;
}

.page-hero .cta-button {
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 5px rgba(106, 13, 173, 0.5);
    }

    100% {
        box-shadow: 0 0 20px rgba(106, 13, 173, 0.8);
    }
}

/* Header styles */
/* 
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: transparent;
    position: relative;
    outline: 1.8px solid #444;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

.logo {
    font-size: 1.8em;
    text-decoration: none;
    margin-left: 20px;
    letter-spacing: 2px;
    font-family: "Roboto Slab", sans-serif;
    font-weight: 500;
    font-style: normal;
    background: linear-gradient(135deg, #4d40c4, #520dad, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(-20px);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(106, 13, 173, 0.5));
    }

    to {
        filter: drop-shadow(0 0 15px rgba(106, 13, 173, 0.8));
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 20px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(106, 13, 173, 0.5);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    z-index: 1;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: 0;
    border-radius: 25px;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: #f0f0f0;
    text-shadow: 0 0 10px rgba(106, 13, 173, 0.7);
}

.nav-link:hover span {
    transform: translateX(5px);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
}

.nav-link.active span {
    color: var(--primary-color);
} */





/* Updated Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 100;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        padding: 10px 3%;
    }

    nav {
        padding: 8px;
    }

    .logo {
        font-size: 1.5em;
        margin-left: 10px;
    }
}

header.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: transparent;
    position: relative;
    outline: 1.8px solid #444;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;

}

.logo {
    font-size: 1.8em;
    text-decoration: none;
    margin-left: 20px;
    letter-spacing: 2px;
    font-family: "Roboto Slab", sans-serif;
    font-weight: 500;
    font-style: normal;
    background: linear-gradient(135deg, #4d40c4, #520dad, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

}


nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 20px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    z-index: 1;

}


.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transition: width 0.3s ease;
    z-index: 0;
    border-radius: 25px;

}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: black;
}

.nav-link:hover span {
    transform: translateX(5px);
}

/* Modern Mobile Navigation */

#hamburger {
    display: none;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    position: relative;
}

#hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

#hamburger span:nth-child(1) {
    top: 0;
}

#hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#hamburger span:nth-child(3) {
    bottom: 0;
}

#hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#hamburger.active span:nth-child(2) {
    opacity: 0;
}

#hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.second-nav {
    display: none;
    list-style: none;
    flex-direction: column;
    top: 80px;
    width: 90%;
    max-width: 400px;
    height: max-content;
    position: fixed;
    z-index: 9999;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    overflow: hidden;
}

.second-nav.active-second-nav {
    display: flex;
    animation: slideDownMobile 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideDownMobile {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.second-nav-li {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    height: max-content;
    text-align: center;
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.second-nav-li:last-child {
    border-bottom: none;
}

.second-nav-li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 13, 173, 0.2), transparent);
    transition: width 0.4s ease;
    z-index: -1;
}

.second-nav-li:hover::before {
    width: 100%;
}

.second-nav-li:hover {
    color: #6a0dad;
    transform: translateX(5px);
}

.second-nav-li a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 18px 0;
    width: 100%;
}

@media (max-width: 768px) {
    #hamburger {
        display: inline-block;
    }

    #first-nav {
        display: none;
    }
}


/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
    /* Improve rendering performance */
    transform: translateZ(0);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 40%, rgba(106, 13, 173, 0.05) 50%, transparent 60%),
        linear-gradient(135deg, transparent 40%, rgba(86, 40, 238, 0.05) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    z-index: 0;
    /* Improve rendering performance */
    will-change: background-position;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Improve rendering performance */
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 13, 173, 0.2);
    border-color: rgba(106, 13, 173, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6a0dad;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(106, 13, 173, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: #b0b0b0;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive styles for small screens */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-item {
        padding: 10px 6px;
        flex: 1;
        min-width: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        margin: 0 10px;
        padding: 20px 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-item {
        text-align: center;
        padding: 6px 4px;
        min-width: 0;
        flex: 1;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }
}

/* Projects Gallery */
.projects-gallery {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    /* Improve rendering performance */
    transform: translateZ(0);
}

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

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 30px auto 0;
    color: #b0b0b0;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform;
}

/* Project Filter */
.project-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid rgba(106, 13, 173, 0.3);
    background: transparent;
    color: #b0b0b0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform, box-shadow;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    transition: width 0.3s ease;
    z-index: -1;
    /* Improve rendering performance */
    will-change: width;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: #6a0dad;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
}

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

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Project Card */
.project-card {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    transform: translateZ(0);
    will-change: transform, opacity, box-shadow;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(106, 13, 173, 0.3);
    border-color: rgba(106, 13, 173, 0.3);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* Improve rendering performance */
    will-change: transform;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(106, 13, 173, 0.8), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Improve rendering performance */
    will-change: opacity;
}

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

.project-category {
    background: rgba(106, 13, 173, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.project-info p {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.project-tags span {
    background: rgba(106, 13, 173, 0.2);
    color: #b0b0b0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    /* Remove animations */
    opacity: 1;
    transform: none;
    /* Improve rendering performance */
    will-change: auto;
}

.project-card:hover .project-tags span {
    background: rgba(106, 13, 173, 0.4);
    color: white;
}
a{
    text-decoration: none;
}

.project-card .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    width: auto;
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
    position: relative;
    z-index: 10;
    /* Remove animations */
    opacity: 1;
    transform: none;
    /* Improve rendering performance */
    will-change: auto;
}

.project-card .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.5);
    color: #fff !important;
}

.project-card .cta-button i {
    margin-left: 8px;
    /* Remove animations */
    transition: none;
    /* Improve rendering performance */
    will-change: auto;
}

.project-card .cta-button:hover i {
    /* Remove icon animation */
    transform: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
    /* Improve rendering performance */
    transform: translateZ(0);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(106, 13, 173, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 70% 80%, rgba(86, 40, 238, 0.1) 0%, transparent 20%);
    z-index: 0;
}

.testimonials-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    /* Improve rendering performance */
    will-change: opacity, transform;
}

.testimonials-header .line {
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    margin: 20px auto 0;
    border-radius: 2px;
    /* Improve rendering performance */
    will-change: width;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Improve rendering performance */
    will-change: opacity, display;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #e2e2e2;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: #6a0dad;
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: -20px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -20px;
}

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

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #6a0dad;
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
}

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

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.author-role {
    font-size: 1rem;
    color: #b0b0b0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(106, 13, 173, 0.2);
    color: white;
    border: 2px solid rgba(106, 13, 173, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    /* Improve rendering performance */
    will-change: transform, box-shadow;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    /* Improve rendering performance */
    will-change: transform, background;
}

.indicator.active {
    background: #6a0dad;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(148, 163, 184, 0.8);
}

/* footer section styling */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 20px;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(106, 13, 173, 0.3);
    box-shadow: 0 -5px 30px rgba(106, 13, 173, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6a0dad, #5628ee, #6a0dad, transparent);
}

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

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

.footer-column h3.footer-logo {
    font-size: 1.8rem;
    color: #6a0dad;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-column h4 {
    font-size: 1.3rem;
    color: #6a0dad;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #6a0dad;
    margin-right: 10px;
    width: 20px;
}

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

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    margin-right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #6a0dad;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-newsletter-text {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter-form input:focus {
    border-color: #6a0dad;
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.3);
}

.footer-newsletter-form button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.5);
}

.footer-social h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.social-media {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.social-media a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

/* Social media specific background colors on hover */
.social-media a:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
}

.social-media a[href*="instagram.com"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-media a[href*="github.com"]:hover {
    background: linear-gradient(45deg, #24292e, #343a40);
}

.social-media a[href*="twitter.com"]:hover,
.social-media a[href*="x.com"]:hover {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-media a[href*="linkedin.com"]:hover {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.social-media a[href*="youtube.com"]:hover {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.social-media a[href*="facebook.com"]:hover {
    background: linear-gradient(45deg, #4267B2, #3b5998);
}

.social-media a[href*="dribbble.com"]:hover {
    background: linear-gradient(45deg, #ea4c89, #d6356c);
}

.social-media a[href*="behance.net"]:hover {
    background: linear-gradient(45deg, #1769ff, #0057e7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #6a0dad;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-bottom {
        justify-content: center;
    }

    .footer-column h3.footer-logo {
        font-size: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-form input,
    .footer-newsletter-form button {
        width: 100%;
    }

    .footer-newsletter-form button {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .footer-column h3.footer-logo {
        font-size: 1.3rem;
    }

    .footer-column h4 {
        font-size: 1.1rem;
    }

    .social-media {
        justify-content: center;
    }
}


/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    /* Improve rendering performance */
    will-change: opacity, visibility, transform, box-shadow;
}

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

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(106, 13, 173, 0.5), 0 0 20px rgba(106, 13, 173, 0.3);
}

.scroll-to-top:active {
    transform: translateY(0) scale(1.05);
}