/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #008B8B;
    --secondary-color: #1e3a8a;
    --accent-color: #10b981;
    --light-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #64748b;
    --text-dark: #1e293b;
    --gradient-primary: linear-gradient(135deg, #008B8B 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-link:hover {
    gap: 1rem;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background: var(--light-gray);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.why-choose-text > p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--dark-gray);
    line-height: 1.5;
}

.feature-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.author-info p {
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.stars {
    color: #fbbf24;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient-secondary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--secondary-color);
}

.cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.feature {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* About Page Styles */
.about-hero {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Enhanced About Hero with 3D Floating Elements */
.about-hero {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

/* Floating 3D Elements Container */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    animation: slowFloat 15s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Glassy Bubble Shapes */
.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 18%;
    left: 12%;
    animation-delay: 0s;
    animation-duration: 16s;
}

.floating-element:nth-child(2) {
    width: 140px;
    height: 140px;
    bottom: 30%;
    right: 8%;
    animation-delay: -4s;
    animation-duration: 20s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 35%;
    right: 30%;
    animation-delay: -8s;
    animation-duration: 18s;
}

.floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 25%;
    animation-delay: -12s;
    animation-duration: 22s;
}

/* Slower, Smoother 3D Floating Animation */
@keyframes slowFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotateZ(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(15px) rotateZ(5deg) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-35px) translateX(-8px) rotateZ(-3deg) scale(0.95);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) translateX(-20px) rotateZ(8deg) scale(1.02);
        opacity: 0.8;
    }
}

/* Enhanced content positioning */
.about-hero-content {
    position: relative;
    z-index: 2;
}

/* Add subtle glow effect to the gradient text */
.gradient-text {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

/* Subtle glassy highlight effect */
.floating-element::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: subtlePulse 8s ease-in-out infinite;
}

/* Subtle bottom reflection */
.floating-element::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 25%;
    width: 30%;
    height: 20%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: subtlePulse 8s ease-in-out infinite reverse;
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-element:nth-child(n+3) {
        display: none; /* Keep only 2 bubbles on mobile */
    }
    
    .floating-element {
        opacity: 0.6; /* Make them even more subtle on mobile */
    }
}

/* Our Story */
.our-story {
    padding: 80px 0;
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-text p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Mission Vision Values */
.mission-vision {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.mvv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mvv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mvv-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mvv-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: var(--white);
}

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

.why-us-item {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    justify-items: center;
}

.why-us-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-us-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.why-us-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-us-item p {
    color: var(--dark-gray);
    line-height: 1.5;
}

/* Expertise Section */
.expertise {
    padding: 80px 0;
    background: var(--light-gray);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.expertise-text > p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.expertise-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.expertise-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

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

.expertise-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-secondary);
    color: var(--white);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-description {
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--white);
}

/* Process Section */
.our-process {
    padding: 80px 0;
    background: var(--white);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .story-content,
    .expertise-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mvv-grid,
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .process-step,
    .process-step:nth-child(even) {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .process-step:nth-child(even) .process-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .story-text h2,
    .expertise-text h2 {
        font-size: 2rem;
    }
    
    .mvv-grid,
    .why-us-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-item {
        flex-direction: column;
        text-align: center;
    }
    
    .expertise-list {
        gap: 0.75rem;
    }
}

/* Services Page Styles */
.services-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.services-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.services-hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Services Navigation */
.services-nav {
    background: var(--white);
    padding: 5px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.services-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-nav-item:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
}

.service-nav-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-nav-item span {
    font-weight: 500;
    text-align: center;
    font-size: 0.875rem;
}

/* Service Sections */
.service-section {
    padding: 80px 0;
    background: var(--white);
}

.service-section.alt {
    background: var(--light-gray);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.service-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-description {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.features-list span {
    color: var(--text-dark);
    font-weight: 400;
}

.service-results {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.service-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background: var(--white);
}

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

.additional-service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.additional-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.additional-service-card .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.additional-service-card .service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.additional-service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.additional-service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Service Process */
.service-process {
    padding: 80px 0;
    background: var(--light-gray);
}

.process-steps {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Responsive Design for Services Page */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-text h2 {
        font-size: 2rem;
    }
    
    .services-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-results {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-text h2 {
        font-size: 1.75rem;
    }
    
    .services-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .service-results {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-nav {
        position: static;
    }
}

@media (max-width: 480px) {
    .services-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .service-section {
        padding: 60px 0;
    }
    
    .service-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Portfolio Page Styles */
.portfolio-hero {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.portfolio-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.portfolio-hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Portfolio Filter */
.portfolio-filter {
    background: var(--white);
    padding: 40px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Case Studies */
.case-studies {
    padding: 80px 0;
    background: var(--light-gray);
}

.case-study {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
    overflow: hidden;
}

.case-study.featured-case {
    border: 3px solid var(--primary-color);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.case-study-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.case-study-text {
    padding: 3rem;
}

.case-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.case-study h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.case-description {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.case-challenge,
.case-solution {
    margin-bottom: 2rem;
}

.case-challenge h4,
.case-solution h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.case-challenge i {
    color: #ef4444;
}

.case-solution i {
    color: var(--accent-color);
}

.case-challenge p,
.case-solution p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.case-solution ul {
    list-style: none;
    margin-top: 0.75rem;
}

.case-solution li {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.case-solution li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.case-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.case-result {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.case-result .result-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.case-result .result-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 500;
}

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

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 80px 0;
    background: var(--white);
}

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

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 139, 139, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.portfolio-info {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Client Results */
.client-results {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.result-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.result-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.result-icon i {
    font-size: 2rem;
    color: var(--white);
}

.result-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-stat .stat-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.result-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Industries */
.industries {
    padding: 80px 0;
    background: var(--white);
}

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

.industry-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.industry-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.industry-item p {
    color: var(--dark-gray);
    font-size: 0.875rem;
}

/* Responsive Design for Portfolio Page */
@media (max-width: 1024px) {
    .case-study-content,
    .case-study-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .case-study-text {
        padding: 2rem;
    }
    
    .portfolio-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .case-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-hero-content h1 {
        font-size: 2rem;
    }
    
    .case-study h3 {
        font-size: 1.5rem;
    }
    
    .case-results-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid,
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .portfolio-filter {
        position: static;
    }
}

@media (max-width: 480px) {
    .case-study-text {
        padding: 1.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
}


/* Enhanced Mobile Footer Alignment */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem; /* Reduced gap for mobile */
    }
    
    /* Center social links properly */
    .social-links {
        justify-content: center;
    }
    
    /* Center contact info and maintain icon alignment */
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info p {
        justify-content: center;
        max-width: 280px; /* Prevent text from being too wide */
    }
    
    /* Ensure footer sections are properly spaced */
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    /* Center footer section headings */
    .footer-section h3 {
        text-align: center;
    }
    
    /* Center footer lists */
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Additional fix for very small screens */
@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
        padding: 0 10px; /* Add some padding on very small screens */
    }
    
    .social-links {
        gap: 0.75rem; /* Slightly reduce gap between social icons */
    }
    
    .social-link {
        width: 36px;  /* Slightly smaller on very small screens */
        height: 36px;
    }
}