/* Reset and Base Styles */
:root {
    --primary-color: #1e40af;
    --secondary-color: #1e3a8a;
    --accent-color: #0ea5e9;
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --background-dark: #030712;
    --background-light: #111827;
    --card-bg: rgba(17, 24, 39, 0.5);
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --section-padding: 8rem 5%;
    --blue: #1e40af;
    --gradient-blue: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    flex: 1;
    max-width: 400px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.logo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.logo-text {
    flex: 1;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.logo-text p {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

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

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

.nav-links a.active {
    color: var(--primary-color);
}

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

.quote-button {
    background: var(--gradient-primary);
    color: var(--text-dark) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.quote-button::after {
    display: none;
}

.quote-button:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    width: fit-content;
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.1));
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--card-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateX(10px);
    background: var(--gradient-primary);
}

.feature-tag i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-tag span {
    color: var(--text-dark);
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.scroll-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.scroll-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .feature-tag {
        padding: 0.6rem 1.2rem;
    }
}

/* Sections */
section {
    position: relative;
    z-index: 1;
    display: block;
    visibility: visible;
    padding: 6rem 5%;
    opacity: 1 !important;
    transform: none !important;
}

section[data-aos],
.contact[data-aos],
.testimonials[data-aos],
.contact-container[data-aos],
.testimonials-container[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Section Headings */
section h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    letter-spacing: -0.025em;
    line-height: 1.2;
    padding: 0 2rem;
}

section h2::before,
section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateY(-50%);
}

section h2::before {
    left: -20px;
}

section h2::after {
    right: -20px;
}

/* Individual Section Headings */
.about h2 {
    color: var(--text-dark);
}

.about h2::before,
.about h2::after {
    background: var(--gradient-primary);
}

.services h2 {
    color: var(--text-dark);
}

.services h2::before,
.services h2::after {
    background: var(--gradient-accent);
}

.projects h2 {
    color: var(--text-dark);
}

.projects h2::before,
.projects h2::after {
    background: var(--gradient-primary);
}

.contact h2 {
    color: var(--text-dark);
}

.contact h2::before,
.contact h2::after {
    background: var(--gradient-accent);
}

/* Section Subheadings */
.feature h3,
.service-card h3,
.project-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.025em;
    position: relative;
    display: inline-block;
}

.feature h3::after,
.service-card h3::after,
.project-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.feature:hover h3::after,
.service-card:hover h3::after,
.project-card:hover h3::after {
    width: 100%;
}

/* Responsive Headings */
@media (max-width: 768px) {
    section h2 {
        font-size: 2.5rem;
        padding: 0 1.5rem;
    }

    section h2::before,
    section h2::after {
        width: 30px;
    }

    section h2::before {
        left: -15px;
    }

    section h2::after {
        right: -15px;
    }

    .feature h3,
    .service-card h3,
    .project-card h3 {
        font-size: 1.5rem;
    }
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--background-dark), var(--background-light));
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature {
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature i {
    color: var(--primary-color);
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature:hover i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
}

/* Enhanced About Section */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.highlight-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}

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

.about-image:hover img.rounded-image {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-stats {
        order: 2;
    }
    
    .about-highlights {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 250px;
    }
}

/* Services Section */
.services {
    background: linear-gradient(to bottom, var(--background-light), var(--background-dark));
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%233b82f6" opacity="0.1"/></svg>');
    opacity: 0.1;
    z-index: 0;
}

.services-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-main {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.service-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-main:hover .service-icon {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-accent);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 0.05;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-accent);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-content p {
    color: var (--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.card-features li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.card-features li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.card-features li:hover {
    transform: translateX(5px);
    color: var(--text-dark);
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    background-color: var(--dark-bg);
    position: relative;
    overflow: visible;
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 1.2rem;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Base Project Card */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    height: 100%;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Standard Card Style */
.project-card .project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.project-card .project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.project-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.project-card .project-content {
    padding: 2rem;
}

.project-card .project-content h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: var(--primary-color);
}

.project-card .project-content p {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-card .project-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.project-card .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.project-card .detail-item:hover {
    transform: translateX(5px);
}

.project-card .detail-item i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.project-card:hover .detail-item i {
    transform: scale(1.2);
}

/* Horizontal Card Layout */
.project-card.horizontal {
    display: grid;
    grid-template-columns: 40% 60%;
    height: 100%;
}

.project-card.horizontal .project-image {
    height: 100%;
}

.project-card.horizontal .project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Featured Card Layout */
.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 60% 40%;
}

.project-card.featured .project-image {
    height: 100%;
}

.project-card.featured .project-content {
    padding: 3rem;
}

.project-card.featured .project-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.project-card.featured .project-details {
    grid-template-columns: 1fr 1fr;
}

/* Overlay Card Layout */
.project-card.overlay {
    position: relative;
    height: 400px;
}

.project-card.overlay .project-image {
    height: 100%;
}

.project-card.overlay .project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 2rem;
    transform: translateY(60%);
    transition: transform 0.4s ease;
}

.project-card.overlay:hover .project-content {
    transform: translateY(0);
}

.project-card.overlay .project-content h3,
.project-card.overlay .project-content p {
    color: white;
}

.project-card.overlay .project-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.project-card.overlay:hover .project-details {
    max-height: 200px;
    opacity: 1;
}

/* Minimal Card Layout */
.project-card.minimal {
    background: transparent;
    border: none;
    box-shadow: none;
}

.project-card.minimal .project-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.project-card.minimal:hover .project-image {
    box-shadow: var(--shadow-lg);
}

.project-card.minimal .project-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-card.minimal .project-content {
    padding: 1.5rem 0.5rem;
}

/* Card Badge Styles */
.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.project-badge.featured {
    background: linear-gradient(135deg, #f5a623, #e44d26);
}

.project-badge.new {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.project-badge.ongoing {
    background: linear-gradient(135deg, #2196f3, #0d47a1);
}

/* Card with Border Animation */
.project-card.border-anim {
    position: relative;
    z-index: 1;
    border: none;
    background: rgba(255, 255, 255, 0.05);
}

.project-card.border-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(315deg, var(--primary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card.border-anim:hover::before {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .project-card.featured,
    .project-card.horizontal {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
    
    .project-card.featured .project-image,
    .project-card.horizontal .project-image {
        height: 250px;
    }
    
    .project-card.featured .project-content {
        padding: 2rem;
    }
    
    .project-card.featured .project-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.overlay {
        height: 350px;
    }
    
    .project-card.overlay .project-content {
        transform: translateY(40%);
    }
}

.project-card.hidden {
    display: none;
}

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

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

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.detail-item i {
    color: var(--accent-color);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--primary-color);
    gap: 1rem;
}

.view-more-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .projects {
        padding: 3rem 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: var(--background-dark);
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1 !important;
    transform: none !important;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    visibility: visible;
    opacity: 1 !important;
    transform: none !important;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Details Only Layout */
.contact-details-only {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-details-only .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-details-only .contact-cta {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.contact-details-only .contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-details-only .contact-cta .cta-button {
    margin: 0.5rem;
    min-width: 180px;
}

@media (min-width: 768px) {
    .contact-details-only {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
    
    .contact-details-only .contact-info {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .contact-details-only .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-details-only .contact-cta {
        padding: 2rem 1rem;
    }
    
    .contact-details-only .contact-cta h3 {
        font-size: 1.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 6rem 2rem;
    background: var(--dark-bg);
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color-dark) 0%, transparent 100%);
    opacity: 0.1;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    margin: 2rem 0;
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem;
}

.testimonial-content {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var (--glass-border);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.author-info h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-info p {
    font-size: 0.95rem;
    color: var (--text-muted);
    margin: 0;
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prev-testimonial,
.next-testimonial {
    background: var(--card-bg);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1rem;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-controls {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .author-info p {
        font-size: 0.9rem;
    }
}

/* Redesigned Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--background-dark), var(--background-light));
    position: relative;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--background-dark);
    color: var(--text-dark);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-section {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--accent-color);
    color: var(--text-dark);
}

.footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    position: relative;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.footer-contact span {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.apex-logo {
    height: 20px;
    width: auto;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.apex-logo:hover {
    filter: brightness(1);
}

.footer-copyright p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-credit {
    position: relative;
}

.credit-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.credit-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.credit-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.credit-badge:hover .credit-icon {
    background: var(--accent-color);
}

.credit-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.credit-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credit-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.credit-badge:hover .credit-name {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .credit-badge {
        padding: 0.6rem 1.2rem;
    }

    .credit-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

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

    .credit-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .credit-badge {
        padding: 0.5rem 1rem;
    }

    .credit-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

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

    .footer-section {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    footer {
        padding: 3rem 5% 1.5rem;
    }

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

    .footer-contact li {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-main {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }

    .service-icon {
        margin-bottom: 2rem;
    }

    .service-content p {
        max-width: 100%;
    }

    .service-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        background: var(--card-bg);
        padding: 1.5rem;
        border-radius: 20px;
        width: 90%;
        max-width: 400px;
        text-align: center;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .quote-button {
        margin-top: 1rem;
        padding: 0.8rem 2rem !important;
        display: inline-block;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    section {
        padding: 5rem 5%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 200px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .logo {
        max-width: 300px;
    }

    .logo-text h1 {
        font-size: 1.25rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .logo-placeholder {
        width: 40px;
        height: 40px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .service-content h3 {
        font-size: 2rem;
    }

    .service-content p {
        font-size: 1.1rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .services {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-content h3 {
        font-size: 1.5rem;
    }

    .card-content p {
        font-size: 1rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }
}

/* Dynamic Elements */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button.secondary {
    background: var(--gradient-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Social Links Enhancement */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
    color: var(--white);
}

/* Mobile Menu Enhancement */
.mobile-menu {
    display: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 12px;
    position: relative;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    z-index: 1100;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.mobile-menu:hover {
    background: rgba(30, 64, 175, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hamburger Icon Animation */
.hamburger-icon {
    width: 26px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
    width: 80%;
    right: 0;
    left: auto;
}

.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) {
    top: 8px;
}

.hamburger-icon span:nth-child(4) {
    top: 16px;
    width: 80%;
    right: 0;
    left: auto;
}

.hamburger-icon.open span:nth-child(1) {
    top: 8px;
    width: 0%;
    right: 50%;
}

.hamburger-icon.open span:nth-child(2) {
    transform: rotate(45deg);
    background: var(--primary-color);
}

.hamburger-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    background: var(--primary-color);
}

.hamburger-icon.open span:nth-child(4) {
    top: 8px;
    width: 0%;
    right: 50%;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 280px;
        max-width: 80%;
        height: auto;
        flex-direction: column;
        background: rgba(17, 24, 39, 0.9);
        padding: 2rem;
        border-radius: 16px;
        text-align: left;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: 1px solid rgba(30, 64, 175, 0.2);
        backdrop-filter: blur(15px);
        z-index: 1000;
    }

    .nav-links.active {
        right: 20px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 1.2rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
        transition-delay: calc(0.05s * var(--item-index, 0));
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:last-child {
        margin-bottom: 0;
    }

    .nav-links a {
        width: 100%;
        display: block;
        padding: 0.8rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        color: var(--text-light);
        font-weight: 500;
    }

    .nav-links a:hover {
        background: rgba(30, 64, 175, 0.2);
        color: var(--accent-color);
        transform: translateX(5px);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.active {
        background: var(--gradient-primary);
        color: var(--text-dark);
    }

    .quote-button {
        margin-top: 1rem;
        padding: 0.8rem 1.5rem !important;
        text-align: center;
        width: 100%;
        background: var(--gradient-accent) !important;
        transform: none !important;
        box-shadow: var(--shadow-md);
    }

    .quote-button:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px) !important;
    }

    .mobile-menu {
        display: flex;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 990;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    body.menu-open.active::after {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile Menu Enhancement */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    padding: 0.5rem;
    background: var(--card-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.mobile-menu:hover {
    transform: rotate(90deg);
    background: var(--accent-color);
    color: var(--text-dark);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform-origin: top;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Section Title Enhancement */
section h2::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

section h2::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Feature Cards Enhancement */
.feature {
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::after {
    transform: scaleX(1);
}

/* Service Cards Enhancement */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card i {
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
}

/* Contact Info Enhancement */
.info-item {
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var (--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-item:hover::before {
    transform: scaleY(1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
    }

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

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--background-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Card Styles */
.feature, .service-card, .project-card, .info-item, .contact-form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .feature h3, .service-card h3, .project-card h3 {
        font-size: 1.5rem;
    }
}

/* Stats Counter */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.testimonial-card {
    min-width: 100%;
    padding: 1rem;
}

.testimonial-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prev-testimonial,
.next-testimonial {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var (--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Floating Action Button */
.floating-action {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.fab-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.fab-button i {
    font-size: 1.2rem;
}

.fab-button span {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonial-content {
        padding: 2rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .fab-button span {
        display: none;
    }

    .fab-button {
        padding: 1rem;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .testimonial-controls {
        gap: 1rem;
    }
}

/* Ensure proper stacking context */
section {
    position: relative;
    z-index: 1;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
.team {
    padding: 5rem 2rem;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    z-index: 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:not(.ceo-card) {
    max-width: 400px;
    margin: 0 auto;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
}

.team-member.ceo-card .member-image {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-member.ceo-card:hover .member-image img {
    transform: scale(1.05);
}

.member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.member-placeholder i {
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.7;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.member-info .position {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.member-info .description {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

.team-member.ceo-card {
    grid-column: 1 / -1;
    max-width: 1000px;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
}

.team-member.ceo-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.team-member.ceo-card:hover::before {
    opacity: 1;
}

.team-member.ceo-card .member-info {
    padding: 3rem;
    text-align: center;
}

.team-member.ceo-card .member-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-member.ceo-card .member-info .position {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.team-member.ceo-card .member-info .description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.ceo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

.ceo-badge i {
    font-size: 1.2rem;
}

.member-image img.ceo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .team {
        padding: 3rem 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member.ceo-card .member-image {
        height: 350px;
    }

    .team-member.ceo-card .member-info {
        padding: 2rem;
    }

    .team-member.ceo-card .member-info h3 {
        font-size: 2rem;
    }

    .team-member.ceo-card .member-info .position {
        font-size: 1.2rem;
    }

    .team-member.ceo-card .member-info .description {
        font-size: 1rem;
    }
}

/* Redesigned Team Section */
.team {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--background-light), var(--background-dark));
    position: relative;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* CEO Profile Styles */
.ceo-profile {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ceo-image {
    width: 40%;
    position: relative;
}

.ceo-info {
    width: 60%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.ceo-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceo-info .position {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.ceo-info .description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.ceo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.ceo-badge i {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    color: var(--text-dark);
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.member-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.member-avatar {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.member-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.member-title .position {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.member-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .ceo-profile {
        flex-direction: column;
    }
    
    .ceo-image,
    .ceo-info {
        width: 100%;
    }
    
    .ceo-image {
        height: 300px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .ceo-info {
        padding: 2rem;
    }
    
    .ceo-info h3 {
        font-size: 2rem;
    }
    
    .ceo-info .position {
        font-size: 1.1rem;
    }
}

/* Static Stats Styling */
.static-stat {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
    line-height: 1;
}

.static-stat::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.hero-stats .stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-stats .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.stats-container .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-container .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

@media (max-width: 768px) {
    .static-stat {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-stats .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}

/* Mobile Menu Styles - Fixed */
@media (max-width: 992px) {
    .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        cursor: pointer;
        z-index: 1001;
        border: 1px solid var(--glass-border);
        transition: all 0.3s ease;
    }

    .mobile-menu:hover {
        background: var(--primary-color);
    }

    .mobile-menu:hover i {
        color: var(--text-dark);
    }

    .mobile-menu.active {
        background: var(--primary-color);
    }
    
    .mobile-menu.active i {
        color: var(--text-dark);
    }

    .mobile-menu i {
        font-size: 1.5rem;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .mobile-menu.active i::before {
        content: "\f00d"; /* Font Awesome icon for close (X) */
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
        background: var(--background-light);
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        border: 1px solid var(--glass-border);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-links a::after {
        bottom: 0.5rem;
    }

    .quote-button {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Gallery Section */
.gallery {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--background-dark), var(--background-light));
    position: relative;
    overflow: hidden;
}

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

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-filter {
    padding: 0.7rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter:hover, .gallery-filter.active {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease-out;
    cursor: pointer;
    background: var(--card-bg);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info {
    z-index: 2;
}

.gallery-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.gallery-info p {
    color: var(--text-light);
    font-size: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-info h3,
.gallery-item:hover .gallery-info p {
    transform: translateY(0);
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom:hover {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -2rem;
    right: -2rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--gradient-accent);
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    color: var(--white);
    padding: 1rem;
    text-align: center;
    width: 100%;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-load-more {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

#load-more-btn {
    background: var(--gradient-primary);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Gallery Responsive Styles */
@media (max-width: 1200px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-auto-rows: 250px;
    }
    
    .lightbox-prev {
        left: -45px;
    }
    
    .lightbox-next {
        right: -45px;
    }
}

@media (max-width: 992px) {
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .gallery-item.big {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        grid-auto-rows: 220px;
    }
    
    .gallery-info h3 {
        font-size: 1.3rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }
    
    .gallery-filter {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        grid-auto-rows: 180px;
        gap: 1rem;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .gallery-info h3 {
        font-size: 1.1rem;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
    }
    
    .gallery-zoom {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-info h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .gallery-info p {
        font-size: 0.75rem;
    }
    
    .gallery-zoom {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* Contact Section - Modern Layout */
.contact {
    padding: 6rem 0;
    background: var(--background-light);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-header {
    margin-bottom: 1rem;
}

.contact-header-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-header-content p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    max-width: 540px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--card-bg-light);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.contact-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--heading);
    font-weight: 600;
}

.contact-card-content p {
    color: var(--text);
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: var(--background-dark);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.action-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--card-bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--heading);
    font-weight: 600;
}

.action-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.action-card .cta-button {
    min-width: 160px;
}

.contact-map {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    max-width: 70%;
    box-shadow: var(--shadow-md);
}

.location-marker {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.overlay-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.overlay-text p {
    font-size: 0.9rem;
}

/* Media queries */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 400px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        grid-template-columns: 1fr;
    }
    
    .contact-header-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .action-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}