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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
    transition: all 0.3s ease;
}

.logo img {
    height: 80px;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00274e;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #00274e;
}

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

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #00274e 0%, #003d73 100%);
    color: white;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubbles span {
    position: absolute;
    bottom: -60px;
    width: 40px;
    height: 40px;
    background: rgba(216, 212, 208, 0.3);
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
    left: calc(var(--i) * 3.5%);
    animation-delay: calc(var(--i) * -0.5s);
    box-shadow: 0 0 20px rgba(216, 212, 208, 0.2);
}

.bubbles span:nth-child(even) {
    width: 30px;
    height: 30px;
    animation-duration: 18s;
}

.bubbles span:nth-child(odd) {
    width: 50px;
    height: 50px;
    animation-duration: 22s;
}

@keyframes rise {
    0% {
        bottom: -60px;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(calc(var(--i) * 5px)) scale(1.3);
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    z-index: 2;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide h1,
.carousel-slide h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-slide p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d8d4d0 0%, #ffffff 100%);
    color: #00274e;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.dot.active,
.dot:hover {
    background: white;
}

/* About Section */
.about {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(0, 39, 78, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 39, 78, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 39, 78, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 39, 78, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    pointer-events: none;
    opacity: 0.5;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00274e;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.about p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.growth-chart {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.growth-chart svg {
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.chart-legends {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-box {
    width: 20px;
    height: 12px;
    border-radius: 2px;
}

.legend-box.growth {
    background: #28a745;
}

.legend-box.costs {
    background: #dc3545;
}

.legend-text {
    font-size: 0.9rem;
    color: #00274e;
    font-weight: 600;
}

/* Marketing Costs line (going down) */
.cost-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 3s ease-out infinite;
}

.cost-dot {
    opacity: 0;
    animation: fadeInOutDot 5s ease-out infinite;
}

.cost-dot:nth-child(4) { animation-delay: 0.5s; }
.cost-dot:nth-child(5) { animation-delay: 1s; }
.cost-dot:nth-child(6) { animation-delay: 1.5s; }
.cost-dot:nth-child(7) { animation-delay: 2s; }
.cost-dot:nth-child(8) { animation-delay: 2.5s; }
.cost-dot:nth-child(9) { animation-delay: 3s; }

.cost-arrow {
    opacity: 0;
    animation: fadeInOutDot 5s ease-out 3s infinite;
}

/* Growth line (going up) */
.trend-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 3s ease-out 0.3s infinite;
}

.trend-dot {
    opacity: 0;
    animation: fadeInOutDot 5s ease-out infinite;
}

.trend-dot:nth-child(11) { animation-delay: 0.8s; }
.trend-dot:nth-child(12) { animation-delay: 1.3s; }
.trend-dot:nth-child(13) { animation-delay: 1.8s; }
.trend-dot:nth-child(14) { animation-delay: 2.3s; }
.trend-dot:nth-child(15) { animation-delay: 2.8s; }
.trend-dot:nth-child(16) { animation-delay: 3.3s; }

.trend-arrow {
    opacity: 0;
    animation: fadeInOutDot 5s ease-out 3.3s infinite;
}

@keyframes drawLine {
    0%, 100% {
        stroke-dashoffset: 400;
    }
    60%, 80% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInOutDot {
    0%, 100% {
        opacity: 0;
    }
    20%, 80% {
        opacity: 1;
    }
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #00274e 0%, #003d73 100%);
    text-align: center;
    color: white;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.contact p {
    font-size: 1.125rem;
    color: #d8d4d0;
    margin-bottom: 2rem;
}

.contact-info {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.125rem;
    color: white;
}

/* Footer */
footer {
    background: #001a33;
    color: #d8d4d0;
    padding: 2rem 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-slide h1,
    .carousel-slide h2 {
        font-size: 2rem;
    }

    .carousel-slide p {
        font-size: 1rem;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 10px 15px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .nav-links {
        gap: 1rem;
    }

    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
}
