/* WorksDelight Portfolio Page Styles */

/* Use the same CSS Variables for Branding Consistency */
:root {
    --primary: #258412;
    --secondary: #1C2A3E;
    --white: #FFFFFF;
    --wd-primary-color: #258412;
    --wd-secondary-color: #1C2A3E;
    --wd-accent-color: #4ECDC4;
    --wd-text-color: #4A5568;
    --wd-heading-color: #2C3E50;
    --wd-background-light: #F8F9FA;
    --wd-background-dark: #1C2A3E;
    --wd-border-radius: 8px;
    --wd-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Portfolio Hero Section - Creative Design */
.portfolio-hero {
    position: relative;
    padding: 90px 0 74px;
    background-color: var(--white);
    overflow: hidden;
    margin-top: 80px;
    color: var(--wd-secondary-color);
}


/* .nav-links a {
    color: var(--wd-heading-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    width: 100%;
    justify-content: center;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--wd-primary-color);
    transition: width 0.3s ease;
} */


/* Creative Shapes */
.creative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.2;
}

.shape.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    top: -50px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape.square {
    width: 120px;
    height: 120px;
    background-color: var(--wd-primary-color);
    top: 30%;
    right: 10%;
    transform: rotate(45deg);
    animation: rotate 30s linear infinite;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 150px solid var(--wd-primary-color);
    top: 60%;
    left: 10%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite reverse;
}

.shape.dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--wd-primary-color) 10%, transparent 11%),
        radial-gradient(var(--wd-primary-color) 10%, transparent 11%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    top: 40%;
    right: -50px;
    opacity: 0.1;
    animation: float 18s ease-in-out infinite;
}

.shape.zigzag {
    width: 150px;
    height: 150px;
    background:
        linear-gradient(135deg, transparent 45%, var(--wd-primary-color) 45%, var(--wd-primary-color) 55%, transparent 55%),
        linear-gradient(45deg, transparent 45%, var(--wd-primary-color) 45%, var(--wd-primary-color) 55%, transparent 55%);
    background-size: 30px 30px;
    background-repeat: repeat;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.1;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(405deg);
    }
}

/* Creative Hero Content */
.creative-hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

/* Left Side - Text Content */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    align-items: flex-start;
}

.creative-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, var(--wd-primary-color), #4ECDC4);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    margin-bottom: 20px;
    max-width: fit-content;
}

.badge-text {
    font-weight: 500;
    font-size: 14px;
    color: white;
    margin-right: 10px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: white;
    color: var(--wd-primary-color);
    font-size: 12px;
}

.creative-title {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 1.2s ease;
    color: #1c2a3e;
}

.title-line {
    display: block;
}

/* .title-line.emphasis {
    font-size: 62px;
    color: var(--wd-secondary-color);
    margin: 5px 0;
} */

.highlight-text {
    color: var(--wd-primary-color);
    position: relative;
    display: inline-block;
}

.creative-description {
    /* margin-bottom: 40px; */
    max-width: 550px;
}

.creative-description p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--wd-text-color);
    margin-bottom: 30px;
}

.cta-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.creative-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, var(--wd-primary-color), #4ECDC4);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 550;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 132, 18, 0.2);
}

.creative-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 132, 18, 0.3);
}

.btn-text {
    margin-right: 10px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.creative-btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.creative-btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--wd-secondary-color);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--wd-secondary-color);
    transition: all 0.3s ease;
}

.creative-btn-outline:hover {
    background-color: var(--wd-secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* Process Timeline */
#process {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.process-timeline-horizontal {
    overflow-x: auto;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}

.timeline-progress {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #E9ECEF;
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    width: 16%;
    text-align: center;
}

.timeline-marker {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background-color: #258412;
    color: #FFFFFF;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -18px auto 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #1c2a3e;
}

.timeline-content p {
    font-size: 14px;
    color: #6C757D;
    line-height: 1.5;
    display: inline-block;
}

/* Achievement Pills */
.achievement-pills {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--wd-primary-color);
    line-height: 1;
}



.pill-number sup {
    font-size: 18px;
    font-weight: 700;
    top: -0.5em;
}

.pill-text {
    font-size: 14px;
    line-height: 1.2;
    color: var(--wd-text-color);
}

.pill-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 20px;
}

/* Right Side - Image Collage */
.hero-right {
    position: relative;
}

.image-collage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.collage-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.collage-img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 132, 18, 0.2), rgba(78, 205, 196, 0.1));
    z-index: 1;
}

.img-1 {
    width: 60%;
    height: 70%;
    top: 0;
    right: 0;
    z-index: 3;
    transform: rotate(3deg);
}

.img-2 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 0;
    z-index: 2;
    transform: rotate(-5deg);
}

.img-3 {
    width: 45%;
    height: 50%;
    bottom: 0;
    right: 15%;
    z-index: 1;
    transform: rotate(-2deg);
}

.collage-img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

.tech-float {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.tech-float i {
    font-size: 24px;
    color: var(--wd-primary-color);
}

.tech-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.tech-2 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.tech-3 {
    top: 70%;
    right: 5%;
    animation-delay: 4s;
}

/* Brands Section */
.creative-brands {
    background-color: rgba(37, 132, 18, 0.05);
    padding: 70px 0;
    position: relative;
}

.brands-container {
    text-align: center;
}

.brands-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.headline-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--wd-text-color);
    margin: 0 20px;
    white-space: nowrap;
}

.headline-line {
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    max-width: 100px;
}

.brands-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.brands-logo-container img {
    height: 50px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brands-logo-container img:hover {
    opacity: 1;
    filter: grayscale(0);
}



/* Responsive Styles */
@media (max-width: 1200px) {
    .creative-title {
        font-size: 48px;
    }

    .title-line.emphasis {
        font-size: 54px;
    }
}

@media (max-width: 992px) {
    .creative-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        order: 1;
        padding-right: 0;
    }

    .creative-hero-content {
        padding-bottom: 20px;
    }

    .hero-right {
        order: 1;
        margin-bottom: 40px;
    }

    .creative-badge,
    .creative-description {
        margin-left: 0px;
        margin-right: 0px;
    }

    .cta-container {
        justify-content: center;
    }

    .achievement-pills {
        justify-content: center;
    }

    .image-collage {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .creative-title {
        font-size: 36px;
    }

    .title-line.emphasis {
        font-size: 42px;
    }

    .creative-description p {
        font-size: 16px;
    }

    .pill-number {
        font-size: 28px;
    }

    .pill-text {
        font-size: 12px;
    }

    .pill-divider {
        height: 30px;
        margin: 0 15px;
    }

    .image-collage {
        min-height: 350px;
    }

    .collage-img.img-1 {
        width: 70%;
    }

    .collage-img.img-2 {
        width: 60%;
    }

    .collage-img.img-3 {
        width: 55%;
    }

    .achievement-pills {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .portfolio-hero {
        padding: 100px 0 0;
    }

      .creative-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .title-line.emphasis {
        font-size: 28px;
    }

    .cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .achievement-pills {
        flex-direction: row;
        gap: 50px;
    }

    .pill {
        flex-direction: column;
        gap: 5px;
    }

    .pill-divider {
        display: none;
    }

    .image-collage {
        min-height: 300px;
    }

    .tech-float {
        width: 40px;
        height: 40px;
    }

    .tech-float i {
        font-size: 20px;
    }

    .brands-headline {
        flex-direction: column;
        gap: 15px;
    }

    .headline-line {
        display: none;
    }
}

/* Portfolio Showcase Section */
#portfolio-grid {
    background-color: var(--white);
    padding: 50px 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-header h2 {

    font-size: 28px;
    margin-bottom: 16px;
    color: var(--wd-heading-color);
}

/* Filter Controls */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #DEE2E6;
    background-color: transparent;
    color: var(--wd-text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--wd-primary-color);
    color: var(--wd-primary-color);
}

.filter-btn.active {
    background: linear-gradient(90deg, var(--primary), #4ECDC4);
    color: var(--white);
    border-color: transparent;
    border: transparent;
}

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

.footer-policy ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--wd-box-shadow);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

/* Animation class for filtering */
.portfolio-item.show {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    color: var(--white);
    width: 100%;
}

.portfolio-category {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.btn-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-link:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-link:hover:after {
    transform: translateX(5px);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--wd-heading-color);
}

.portfolio-content p {
    color: var(--wd-text-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    background-color: var(--wd-background-light);
    color: var(--wd-text-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.cta-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 500px;
}

/* Featured Project Section */
#featured-project {
    background-color: #f8f9fa;
    padding: 50px 0;
}

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

.featured-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--wd-heading-color);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.featured-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--wd-box-shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.featured-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7);
}

.featured-text {
    padding: 20px;
}

.featured-description p {
    color: var(--wd-text-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.featured-stats .stat-item {
    display: flex;
    flex-direction: column;
}

.featured-stats .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--wd-primary-color);
    margin-bottom: 5px;
}

.featured-stats .stat-label {
    font-size: 14px;
    color: var(--wd-text-color);
}

#contact {
    padding: 50px 0px 50px 0px;
    background-color: #f8f9fa;
}


/* Testimonials Section */
/* #testimonials {
    background-color: #fff;
    position: relative;
    padding: 50px 0;
}

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

.client-details {
    text-align: start;
}

 

.testimonial-content {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 36px;
    color: rgba(43, 185, 101, 0.2);
    margin-bottom: 16px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #495057;
    font-style: italic;
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    overflow: hidden;
}

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

.client-details h4 {
    margin-bottom: 4px;
    font-size: 18px;
    color: #2C3E50;
}

.client-details p {
    margin: 0;
    font-style: normal;
    font-size: 14px;
    color: #6C757D;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.testimonial-prev,
.testimonial-next {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background-color: #FFFFFF;
    border: 1px solid #E9ECEF;
    color: #2C3E50;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: #258412;
    color: #FFFFFF;
    border-color: #258412;
} */

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}


/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .portfolio-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badges,
    .hero-stats,
    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-showcase {
        max-width: 600px;
        margin: 0 auto;
        order: -1;
    }

    .showcase-grid {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        padding: 90px 0 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .clients-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .client-logos {
        gap: 20px;
    }

    .client-logos img {
        height: 20px;
    }

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

    .btn-outline {
        width: 100%;
    }

    #portfolio-grid {
        padding: 40px 0;
    }

    .portfolio-image {
        position: relative;
        height: 230px;
        overflow: hidden;
        margin: 0;
    }

    .featured-content {
        display: block;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .cta-image {
        height: auto;
    }

    .cta-container {
        margin: 0px;
    }

    .creative-brands {
        padding: 40px 0;
    }

    .featured-header h2 {
        font-size: 28px;
    }

    .creative-description {
        margin-bottom: 20px;
    }

    .footer-policy li a {
        font-size: 13px;
        padding: 5px;
        font-weight: 500;
    }

    .footer-policy ul {
        display: flex;
        gap: 10px !important;
        list-style: none;
    }

  .timeline-item {
        width: 100%;
        display: inline-block;
        margin-bottom: 40px;
    }

    .timeline-track {
        min-width: auto;
        display: block;
    }

    .timeline-progress {
        display: none;
    }

    .feature-list-bottom {
        justify-content: start;
    }

    .featured-stats {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .main-item {
        grid-column: 1;
        grid-row: 1;
    }

    .tech-badges {
        justify-content: center;
    }
}

/* Technology Expertise Section */
.tech-expertise-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.05) 0%, rgba(78, 205, 196, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.tech-expertise-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(rgba(37, 132, 18, 0.08), transparent 70%);
    top: -150px;
    right: -100px;
    z-index: 0;
}

.tech-expertise-section::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(rgba(78, 205, 196, 0.08), transparent 70%);
    bottom: -200px;
    left: -150px;
    z-index: 0;
}

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

.tech-expertise-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.tech-expertise-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Reuse tech-tabs styles from the main CSS but with portfolio-specific tweaks */
.tech-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    gap: 10px;
}

.tech-tab {
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    user-select: none;
}

.tech-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tech-tab.active {
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    color: white;
    border-color: white;
    box-shadow: 0 5px 15px rgba(37, 132, 18, 0.25);
    animation: subtle-pulse 2s infinite;
}

@keyframes subtle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 132, 18, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 132, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 132, 18, 0);
    }
}

.tech-content-wrapper {
    position: relative;
    z-index: 1;
}

.tech-content {
    display: none;
    animation: fadeInRight 0.5s ease-in-out;
}

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

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

.tech-content.active {
    display: block;
}

.tech-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tech-main {
    background-color: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--wd-primary-color);
}

.tech-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tech-title i {
    font-size: 28px;
    margin-right: 18px;
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tech-title h3 {
    font-size: 26px;
    margin: 0;
    font-weight: 600;
}

.tech-main p {
    color: var(--wd-text-color);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 16px;
}

.tech-hexgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.hex-item {
    width: 100%;
    position: relative;
    padding-bottom: 115%;
    overflow: visible;
}

.hex-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    z-index: 1;
}

.hex-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15%;
    z-index: 2;
}

.hex-content i {
    font-size: 32px;
    color: var(--wd-primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.hex-content span {
    font-size: 15px;
    font-weight: 600;
    color: var(--wd-heading-color);
    transition: all 0.3s ease;
}

.hex-item:hover::before {
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 132, 18, 0.2);
}

.hex-item:hover .hex-content i,
.hex-item:hover .hex-content span {
    color: white;
}

@media (max-width: 992px) {
    .tech-expertise-section {
        padding: 80px 0;
    }

    .tech-expertise-header h2 {
        font-size: 36px;
    }

    .tech-hexgrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-title h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .tech-expertise-section {
        padding: 70px 0;
    }

    .tech-expertise-header h2 {
        font-size: 32px;
    }

    .tech-showcase {
        gap: 20px;
    }

    .tech-main {
        padding: 25px;
    }

    .tech-hexgrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tech-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .tech-title i {
        font-size: 24px;
    }

    .tech-title h3 {
        font-size: 22px;
    }

    .tech-main p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tech-expertise-section {
        padding: 60px 0;
    }

    .tech-expertise-header h2 {
        font-size: 28px;
    }

    .tech-hexgrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tech-tabs {
        margin-bottom: 30px;
    }

    .tech-tab {
        margin-bottom: 8px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .hex-content i {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .hex-content span {
        font-size: 12px;
    }

    .tech-main {
        padding: 20px;
    }
}