/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&family=Fira+Code:wght@400;500&display=swap');

/* Updated pattern styles */
@keyframes floatSymbol {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.05;
    }
    25% {
        transform: translate(10px, -20px) rotate(5deg);
        opacity: 0.1;
    }
    50% {
        transform: translate(20px, 0) rotate(0deg);
        opacity: 0.07;
    }
    75% {
        transform: translate(10px, 20px) rotate(-5deg);
        opacity: 0.1;
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.05;
    }
}

.code-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: transparent;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: 0.8;
}

.code-symbol {
    position: absolute;
    color: var(--text-primary);
    font-family: var(--font-code);
    user-select: none;
    animation: floatSymbol 8s infinite ease-in-out;
    text-shadow: 0 0 10px rgba(108, 206, 214, 0.15);
    mix-blend-mode: plus-lighter;
}

.code-keyword {
    color: var(--accent-color);
    font-weight: 500;
    text-shadow: 0 0 15px rgba(108, 206, 214, 0.4);
    opacity: 0.2 !important;
}

/* Symbol variations */
.code-symbol:nth-child(odd) {
    animation-duration: 12s;
}

.code-symbol:nth-child(3n) {
    animation-duration: 10s;
    animation-delay: 2s;
}

.code-symbol:nth-child(5n) {
    animation-delay: 4s;
    animation-duration: 15s;
}

.code-symbol:nth-child(7n) {
    animation-delay: 1s;
    animation-duration: 13s;
}

:root {
    /* Colors */
    --primary-color: #003554;
    --secondary-color: #52A3AB;
    --accent-color: #6CCED6;
    --bg-dark: #002233;
    --bg-darker: #001a29;
    --bg-card: rgba(0, 53, 84, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #e6e6e6;
    --text-muted: #b3b3b3;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--bg-dark), var(--primary-color));

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-code: 'Fira Code', 'Consolas', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-family: var(--font-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    background: none;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.95;
    z-index: -1;
}

.section:nth-child(even)::before {
    background: var(--gradient-primary);
    opacity: 0.95;
}

.section:nth-child(even) {
    background: var(--gradient-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-weight: 700;
}

h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.card {
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1 1 300px;
    min-width: 300px;
    max-width: calc(25% - 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 53, 84, 0.85);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
}

.service-icon {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

/* Service Portfolio specific styles */
.service-portfolio .container {
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

.list-items {
    list-style: none;
    margin: 1rem 0;
    width: 100%;
}

.list-items li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.list-items li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Navigation dots */
.nav-dots {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 1rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Contact section */
.contact-info {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Methodology section */
.methodology-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.methodology-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    flex: 1 1 300px;
    min-width: 300px;
    max-width: calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methodology-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-family: var(--font-display);
}

/* Smooth section transitions */
.section {
    position: relative;
    overflow: hidden;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

/* Executive Summary specific styles */
.section .card:only-child {
    max-width: 800px;
    width: 100%;
}

/* Responsive styles */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid .card {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .card {
        max-width: calc(33.333% - 2rem);
    }

    .methodology-card {
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 992px) {
    .card {
        max-width: calc(50% - 2rem);
    }

    .methodology-card {
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .card p,
    .list-items li {
        font-size: 1rem;
    }

    .card {
        max-width: 100%;
    }

    .methodology-grid {
        gap: 1.5rem;
    }

    .methodology-card {
        max-width: 100%;
        min-width: 250px;
        padding: 1.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }
}

/* Remove unnecessary styles */
.slide-control, .slide-btn {
    display: none;
}