/* Import patterns */
@import url('patterns.css');

/* Root variables for consistent theming */
:root {
    --primary-color: #2563eb;
    --primary-color-rgb: 37, 99, 235;
    --secondary-color: #3b82f6;
    --secondary-color-rgb: 59, 130, 246;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --nav-bg: #ffffff;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --nav-height: 70px;
}

/* Dark theme variables */
[data-theme="dark"] {
    --background-color: #0f172a;
    --card-background: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --nav-bg: #1e293b;
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: calc(var(--nav-height) + 20px);
    right: 20px;
    z-index: 1000;
    background: var(--card-background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.theme-toggle i {
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: transform var(--transition-speed) ease;
}

.theme-toggle:hover i {
    transform: rotate(360deg);
}

/* Global Styles */

a{
    color: var(--primary-color);
    text-decoration: none;
}

a:hover{
    color: var(--secondary-color);
}

[data-theme = "dark"] a{
    color: var(--secondary-color);
}

[data-theme = "dark"] a:hover{
    color: var(--primary-color);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Navigation styles */
.main-nav {
    background: var(--nav-bg);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);

}


[data-theme="dark"] .nav-logo {
    color: var(--text-primary);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

[data-theme="dark"] .nav-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-links a:hover i {
    transform: translateY(-2px);
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

[data-theme="dark"] .nav-links a:not(.cta-button)::after {
    background: var(--text-primary);
}

.nav-links a:not(.cta-button):hover::after {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .cta-button {
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .nav-links .cta-button {
    color: var(--text-primary);
}

.nav-links .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    background: transparent;
    color: var(--primary-color);
}

.nav-links .cta-button:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero section styles */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #0f2547, #1e3a8a, #2563eb);
    background-size: 400% 400%;
    padding: 6rem 0;
    overflow: hidden;
    margin-top: var(--nav-height);
    animation: gradientBG 15s ease infinite;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #020617, #0f172a, #1e293b);
}

[data-theme="dark"] .hero-bg {
    opacity: 0.5;
    background: linear-gradient(45deg, #020617, #0f172a, #1e293b);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #f0f9ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: 0.3;
    filter: blur(8px);
    transform: translateY(4px);
    animation: titleShadow 3s ease-in-out infinite;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Floating elements */
.floating-element {
    position: absolute;
    border-radius: 20%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float 20s infinite linear;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    transform-origin: center;
}

[data-theme="dark"] .floating-element {
    background: rgba(37,99,235, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 14, 43, 0.5);
    border: 1px solid rgba(80, 132, 243, 0.2);
}

.floating-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    border-radius: inherit;
}

.floating-element:nth-child(1) {
    width: 180px;
    height: 180px;
    top: 15%;
    left: 8%;
    animation: float 25s infinite linear;
    transform: rotate(45deg);
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 55%;
    right: 12%;
    animation: float 20s infinite linear reverse;
    transform: rotate(-30deg);
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 20%;
    animation: float 30s infinite linear;
    transform: rotate(60deg);
}

.floating-element:nth-child(4) {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 20%;
    animation: float 22s infinite linear reverse;
    transform: rotate(-15deg);
}

/* Animated background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #2563eb, #3b82f6, #60a5fa);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    opacity: 0.8;
}

/* Stats container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    perspective: 1000px;
}


.stat-item {
    text-align: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: statsAppear 0.6s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

[data-theme="dark"] .stat-item {
    background: rgba(37,99,235, 0.1);
    border: none;
}

[data-theme="dark"] .stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), transparent);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}



.stat-item:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.3);
}

[data-theme="dark"] .stat-item:hover {
    border-color: rgba(37,99,235, 0.5);
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes statsAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes borderGlow {
    0% {
        transform: rotate(0deg);
        left: -100%;
    }
    50% {
        left: 0%;
    }
    100% {
        transform: rotate(360deg);
        left: 100%;
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
    }
}

/* Adjust content padding */
.content-section {
    padding: 4rem 0;
    background: var(--background-color);
}

/* Responsive hero section */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.custom-project body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Project card styles */
.project-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all var(--transition-speed) ease-in-out;
    padding: 1.5rem;
    position: relative;
    opacity: 0;
}

.project-card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-5px);
}

[data-theme="dark"] .project-card:hover{
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.4);

}

.project-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

/* Mobile styles for project buttons */
@media screen and (max-width: 768px) {
    .project-buttons {
        gap: 1rem;
    }
    
    .project-btn {
        font-size: 0.8rem !important;
    }
    
    .project-btn i {
        font-size: 0.9rem !important;
    }
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding: 0.25rem 0;
}

.project-btn i {
    font-size: 1rem;
    transition: transform var(--transition-speed) ease;
}

.project-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.project-btn:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .project-btn:hover {
    color: #fff;
}

.project-btn:hover i {
    transform: translateY(-2px);
}

.project-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.project-view-btn i {
    font-size: 0.85rem;
}

.project-download-btn i {
    font-size: 1.1rem;
}

.project-icon {
    background: var(--primary-color);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-state code {
    background: #e2e8f0;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--card-background);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        justify-content: center;
    }
    
    .nav-links .cta-button {
        margin-top: 0.5rem;
    }

    .nav-links a:not(.cta-button)::after {
        bottom: 0;
        left: 10%;
        width: 80%;
    }

    .hero-section{
        padding: 3rem 0;
    }
}

/* Loading animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    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); }
}

/* New Sections Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}



/* Tech Stack Section */
.tech-stack-section {
    padding: 6rem 0;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.tech-stack-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(var(--primary-color-rgb), 0.03) 0%, 
        rgba(var(--secondary-color-rgb), 0.03) 100%);
    z-index: 0;
}

.tech-stack-section.pattern-circuit {
    position: relative;
}

.tech-stack-section.pattern-circuit > * {
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.tech-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tech-card:hover::before {
    animation: borderGlow 2s linear infinite;
    opacity: 1;
}

.tech-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon-wrapper i {
    transform: translateY(-5px);
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-card {
        padding: 2rem 1.5rem;
    }
}

/* Why Choose Us Section Styles */
.why-choose-us {
    background: var(--background-color);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .why-choose-us {
    background: #0f172a;
    color: #fff;
}

.why-choose-us.pattern-plus > * {
    position: relative;
    z-index: 1;
}

.why-choose-us .section-title,
.why-choose-us .section-description {
    color: var(--text-primary);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.feature-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(128, 128, 128, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-circle {
    transform: rotate(-15deg);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.icon-circle::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
    z-index: -1;
}

.feature-card:hover .icon-circle::after {
    opacity: 0.5;
}

.icon-circle i {
    font-size: 1.75rem;
    color: white;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-circle i {
    transform: scale(1.1);
}

.feature-content {
    flex-grow: 1;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    position: relative;
    text-align: left;
}

.feature-card p {
    color: var(--text-primary);
    line-height: 1.6;
    text-align: left;
    font-size: 0.95rem;
}

[data-theme="dark"] .feature-card h3 {
    color: #fff;
}

[data-theme="dark"] .feature-card p {
    color: rgba(255, 255, 255, 0.7);
}

.wcu-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5rem;
    gap: 3rem;
    position: relative;
}

.wcu-stats-row::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent
    );
}

.wcu-stat-block {
    text-align: center;
    padding: 2.5rem;
    background: var(--card-background);
    border: 1px solid rgba(128, 128, 128, 0.1);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .wcu-stat-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wcu-stat-number {
    color: var(--primary-color);
}

[data-theme="dark"] .wcu-stat-number {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wcu-stat-label {
    color: var(--text-primary);
}

[data-theme="dark"] .wcu-stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.wcu-stat-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), transparent);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.wcu-stat-block:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.wcu-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.wcu-stat-number::after {
    content: attr(data-suffix);
    font-size: 1.5rem;
    margin-left: 0.25rem;
    opacity: 0.8;
}

.wcu-stat-label {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.wcu-stat-block:hover .wcu-stat-number {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .wcu-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        gap: 2rem;
    }
    
    .wcu-stats-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-card h3,
    .feature-card p {
        text-align: center;
    }
    
    .wcu-stat-block {
        padding: 2rem;
    }
    
    .wcu-stat-number {
        font-size: 3rem;
    }
}



/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #020617, #0f172a, #1e293b);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .cta-section .cta-button {
    color: var(--text-primary);
    background: var(--primary-color);
}


/* FAQ Styles */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto;
}

.faq-item {
    background: var(--card-background);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

[data-theme="dark"] .faq-item::before {
    background: var(--secondary-color);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .faq-question i {
    color: var(--secondary-color);
    
}

.faq-item:hover .faq-question i {
    transform: rotate(15deg);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}


/* Responsive adjustments */
@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .faq-item {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .faq-grid {
        gap: 1rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-item {
        padding: 1.25rem;
    }
}


/* Footer Styles */

.site-footer{
    background-color: var(--nav-bg);
    padding: 2rem 0;
}

[data-theme="dark"] .site-footer {
    background: var(--nav-bg);
}


.footer-bottom {
    max-width: var(--container-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .footer-links {
        justify-content: center;
        text-align: center;
        gap: 1rem 2rem;
    }
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .tech-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}