/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a12;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.8s ease;
}

.loader-logo {
    position: relative;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00f5ff, #667eea, #764ba2);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShine 4s ease-in-out infinite;
}

.loader-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00f5ff, #667eea);
    animation: progressLoad 2s ease-in-out forwards;
}

@keyframes progressLoad {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Hide content until loader is done */
body:not(.loaded) #main-content {
    opacity: 0;
    visibility: hidden;
}

body.loaded #main-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #000000 100%);
    --accent-color: #00f5ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
}

/* Background Effects */
.ultra-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #000000 100%);
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 50% 100%, 0% 0%;
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 0%, 100% 100%;
        filter: hue-rotate(45deg) brightness(1.2);
    }
}

/* Navigation */
.ultra-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ultra-navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.ultra-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ultra-logo {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(45deg, #00f5ff, #667eea, #764ba2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShine 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ultra-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
}

@keyframes logoShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ultra-nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.ultra-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ultra-nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #667eea);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ultra-nav-link:hover {
    color: #00f5ff;
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.ultra-nav-link:hover::before {
    width: 100%;
}

/* Enhanced Hero Section */
/* Hero Section Enhancements */
/* Hero Section Enhancements */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ffffff, #00f5ff, #667eea, #764ba2);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ultraTextGlow 8s ease-in-out infinite;
}

.highlights-text {
    display: inline-block;
    position: relative;
}

.highlights-texts::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 90%;
    height: 10px;
    background: linear-gradient(90deg, rgba(0, 245, 255, 0.3), rgba(102, 126, 234, 0.3));
    z-index: -1;
    border-radius: 20px;
    transform: scaleX(1.1);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(45deg, #00f5ff, #667eea);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00f5ff;
    border: 2px solid #00f5ff;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(102, 126, 234, 0.1));
}

/* Animations */
@keyframes ultraTextGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    z-index: 10;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin-top: 10px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 10px;
    background: #00f5ff;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
    100% {
        opacity: 0;
        transform: translateY(15px) translateX(-50%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}
/* Sections */
.section-title h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #00f5ff, #667eea);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
    letter-spacing: -1px;
}

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(102, 126, 234, 0.1));
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.6);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
    letter-spacing: 1px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
}

.member-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    color: white;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.member-info p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.form-group input:focus ~ .input-highlight,
.form-group select:focus ~ .input-highlight,
.form-group textarea:focus ~ .input-highlight {
    width: 100%;
}

.contact-info {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 3px;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Animations */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-stat {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .stats-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
/* Scroll Animation Styles */
[data-animate] {
    opacity: 0;
    transition: all 0.8s ease-out;
}

[data-animate="fadeIn"] {
    transform: translateY(30px);
}

[data-animate="fadeInUp"] {
    transform: translateY(50px);
}

[data-animate="fadeInLeft"] {
    transform: translateX(-50px);
}

[data-animate="fadeInRight"] {
    transform: translateX(50px);
}

[data-animate="zoomIn"] {
    transform: scale(0.9);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay Classes */
.delay-1 { transition-delay: 0.2s !important; }
.delay-2 { transition-delay: 0.4s !important; }
.delay-3 { transition-delay: 0.6s !important; }
.delay-4 { transition-delay: 0.8s !important; }

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}


/* Why Choose Us Section */
.why-choose {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #00f5ff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
    position: relative;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.5;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0.5; }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.feature-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(102, 126, 234, 0.1));
    transition: all 0.5s ease;
    z-index: -1;
}

.feature-card:hover .feature-hover-effect {
    height: 100%;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.stat-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f5ff, #667eea);
    transition: all 0.5s ease;
}

.stat-item:hover .stat-line {
    width: 80%;
}

/* Floating Elements */
.section-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 15s infinite linear;
}

.floating-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    background: #00f5ff;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    background: #667eea;
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}
/* Enhanced Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px; /* Fixed height for consistency */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(100%);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Enhanced Section Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* About Section Enhancements */
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 10px;
    pointer-events: none;
    z-index: 3;
}

/* Testimonials Enhancements */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--glass-border);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section Enhancements */
.team-member {
    position: relative;
    overflow: visible;
}

.member-image {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.member-info {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    border: 1px solid var(--glass-border);
    border-top: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-top: 50px;
    }

    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .services-grid, .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, 50px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Gradient Mesh Overlay */
.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 245, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Add this to your styles.css */
/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.5);
    border: 2px solid #667eea;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition:
        transform 0.2s ease,
        width 0.3s ease,
        height 0.3s ease,
        background 0.3s ease;
}

.custom-cursor.active {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.3);
    border: 2px solid #00f5ff;
}

.cursor-click-effect {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.3);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Cursor effects on hoverable elements */
a, button, .btn, .service-card, .portfolio-item, .team-member,
input, textarea, select, .read-more, .ultra-nav-link {
    cursor: none !important;
}

/* Hover effects on specific elements */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
.btn:hover ~ .custom-cursor,
.service-card:hover ~ .custom-cursor,
.portfolio-item:hover ~ .custom-cursor,
.team-member:hover ~ .custom-cursor {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.3);
    border: 2px solid #00f5ff;
}