/* Vibrant Colored Circles Effect
   Based on captions.ai design with glowing effect
   Created for Shaheer Designs
*/

/* Common Vibrant Circle Styles */
.glass-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
    filter: blur(60px);
    opacity: 0.85;
    mix-blend-mode: screen;
    pointer-events: none;
    backdrop-filter: blur(5px);
}

/* Dark theme circle colors */
[data-theme="dark"] .circle-purple {
    background: linear-gradient(135deg, #ff6b35, #ff8201);
    box-shadow: 0 0 120px 30px rgba(255, 107, 53, 0.6);
    
    opacity: 0.9 !important;
    filter: blur(400px);

}

[data-theme="dark"] .circle-blue {
    background: linear-gradient(135deg, #4B6FFF, #4169E1);
    box-shadow: 0 0 120px 30px rgba(75, 111, 255, 0.6);
    
    opacity: 0.9 !important;
    filter: blur(400px);

}

[data-theme="dark"] .circle-pink {
    background: linear-gradient(135deg, #FF69B4, #DA70D6);
    box-shadow: 0 0 120px 30px rgba(255, 105, 180, 0.6);
    
    opacity: 0.9 !important;
    filter: blur(400px);

}

/* Light theme circle colors */
[data-theme="light"] .circle-purple {
    background: linear-gradient(135deg, #ff6b35, #ff8201);
    box-shadow: 0 0 100px 20px #000000;
    

}

[data-theme="light"] .circle-blue {
    background: linear-gradient(135deg, #4B6FFF, #6495ED);
    box-shadow: 0 0 100px 20px rgba(75, 111, 255, 0.7);
}

[data-theme="light"] .circle-pink {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    box-shadow: 0 0 100px 20px rgba(255, 105, 180, 0.7);
}

/* Circle Sizes and Positions for Hero Section */
.hero-glass-circle-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    opacity: 0.4;
}

.hero-glass-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -80px;
    right: -80px;
    animation-delay: 2s;
    opacity: 0.4;
}

.hero-glass-circle-3 {
    width: 350px;
    height: 350px;
    top: 40%;
    right: 25%;
    animation-delay: 1s;
    opacity: 0.4;
}

/* Circle Sizes and Positions for Services Section */
.services-glass-circle-1 {
    width: 450px;
    height: 450px;
    top: -100px;
    right: -100px;
    animation-delay: 0.5s;
    opacity: 0.4;
}

.services-glass-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: 1.5s;
    opacity: 0.4;
}

/* Circle Sizes and Positions for Portfolio Section */
.portfolio-glass-circle-1 {
    width: 450px;
    height: 450px;
    top: -100px;
    left: -150px;
    animation-delay: 0.7s;
    opacity: 0.4;
}

.portfolio-glass-circle-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    right: -80px;
    animation-delay: 1.2s;
    opacity: 0.4;
}

/* Circle Sizes and Positions for About Section */
.about-glass-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0.3s;
    opacity: 0.4;
}

.about-glass-circle-2 {
    width: 350px;
    height: 350px;
    bottom: -80px;
    right: -80px;
    animation-delay: 1.8s;
    opacity: 0.4;
}

/* Floating Animation for section circles */
@keyframes float {
    0% {
        transform: translatey(0px) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translatey(-30px) scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: translatey(0px) scale(1);
        opacity: 0.5;
    }
}

/* Subtle pulsing animation for main background circles */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Make sections position relative to contain absolute positioned circles */
.modern-hero-section,
.modern-services-area,
.modern-portfolio-section,
.modern-about-section,
.all-wrapper {
    position: relative;
    overflow: hidden;
}

/* Main background circles for all-wrapper - positioned to be beside content */
.main-circle-1 {
    width: 1000px;
    height: 1000px;
    top: 2%;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 0;
    opacity: 0.9 !important;
    filter: blur(500px);
    animation: pulse 25s infinite ease-in-out;
    mix-blend-mode: inherit;
    backdrop-filter: blur(10px);
}

.main-circle-2 {
    width: 1000px;
    height: 1000px;
    top: 18%;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 0;
    opacity: 0.9 !important;
    filter: blur(500px);
    animation: pulse 30s infinite ease-in-out;
    animation-delay: 2s;
    mix-blend-mode: inherit;
    backdrop-filter: blur(10px);
}

.main-circle-3 {
    width: 1000px;
    height: 1000px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 0;
    opacity: 0.9 !important;
    filter: blur(500px);
    animation: pulse 20s infinite ease-in-out;
    animation-delay: 1s;
    mix-blend-mode: inherit;
    backdrop-filter: blur(10px);
}   

.main-circle-4 {
    width: 1000px;
    height: 1000px;
    top: 65%;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 0;
    opacity: 0.9 !important;
    filter: blur(500px);
    animation: pulse 20s infinite ease-in-out;
    animation-delay: 1s;
    mix-blend-mode: inherit;
    backdrop-filter: blur(10px);
}      
.main-circle-5 {
    width: 1000px;
    height: 1000px;
    top: 80%;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 0;
    opacity: 0.9 !important;
    filter: blur(500px);
    animation: pulse 20s infinite ease-in-out;
    animation-delay: 1s;
    mix-blend-mode: inherit;
    backdrop-filter: blur(10px);
}  
[data-theme="light"] .all-wrapper .main-circle-1, .main-circle-2, .main-circle-3, .main-circle-4, .main-circle-5 {
 
   opacity: 0.3 !important;
   filter: blur(200px);
   mix-blend-mode: normal;
   backdrop-filter: blur(50px);
}
[data-theme="light"] .all-wrapper .main-circle-1, .main-circle-3, .main-circle-5 {
    width:  500px;
    height: 500px;
    left: 0% !important;
     
 }
 [data-theme="light"] .all-wrapper .main-circle-2, .main-circle-4{  
    width: 500px;
    height: 500px;
    left: auto !important;
    right: 0% !important;
    transform: translateX(0%) !important;
     
 }
 [data-theme="light"]  .glass-effect {
    background: rgb(255 255 255);
}
[data-theme="light"]  .tech-category {
    background: rgb(255 255 255);
}
[data-theme="light"] .tech-item {
    
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
[data-theme="light"].all-wrapper::before{
    display: none;
}

[data-theme="light"] .testimonials_content{
    background-color: #ffffff !important; 
}
[data-theme="light"] .testimonials1_date-details{

color: var(--about-text-secondary);
}

/* Modern Single Tech Box Layout */
.single-tech-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.single-tech-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(75, 111, 255, 0.08) 0%, 
        rgba(255, 130, 1, 0.08) 50%, 
        rgba(138, 43, 226, 0.08) 100%);
    z-index: -1;
}

.single-tech-box:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 15px 30px rgba(75, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 130, 1, 0.3);
}

.unified-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

/* Modern Tech Section Enhancements */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.tech-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(75, 111, 255, 0.1) 0%, 
        rgba(255, 130, 1, 0.1) 50%, 
        rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tech-category:hover::after {
    opacity: 1;
}

.tech-category:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(75, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 130, 1, 0.3);
}

.category-header {
    margin-bottom: 2rem;
}

.category-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}

.tech-category:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.category-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(102, 126, 234, 0.3);
    border-color: rgba(118, 75, 162, 0.4);
}

.tech-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.2) rotate(5deg);
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.tech-item:hover .tech-icon img {
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.4));
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--about-text-secondary);
    transition: color 0.3s ease;
    text-align: center;
}

.tech-item:hover .tech-name {
    color: #fff;
}

/* Enhanced animations */
@keyframes techFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.tech-item:nth-child(odd) {
    animation: techFloat 3s ease-in-out infinite;
    animation-delay: 0s;
}

.tech-item:nth-child(even) {
    animation: techFloat 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Responsive improvements */
@media (max-width: 1200px) {
    .unified-tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .single-tech-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin-top: 2rem;
    }
    
    .unified-tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 1rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }
    
    .tech-item {
        min-height: 100px;
        padding: 1rem 0.8rem;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .single-tech-box {
        padding: 1.5rem 1rem;
    }
    
    .unified-tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.8rem;
    }
    
    .tech-item {
        min-height: 85px;
        padding: 0.8rem 0.5rem;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.5rem;
    }
    
    .tech-name {
        font-size: 0.75rem;
    }
}
[data-theme="light"] .tech-item {
    background: rgba(255, 255, 255, 0.466) !important; 
}
[data-theme="light"] .tech-item:hover  .tech-name{
 color: var(--about-text-secondary);
}