* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-grey: #1a1a1a;
    --bright-teal: #00d4ff;
    --teal-dark: #00a8cc;
    --light-grey: #2a2a2a;
    --text-primary: #ffffff;
    --accent-teal: #00d4ff;
}

body {
    font-family: 'Rubik', 'Open Sans', sans-serif;
    background-color: var(--dark-grey);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
header {
    background-color: var(--dark-grey);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bright-teal);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: var(--light-grey);
    width: 100%;
    padding: 1rem 2rem;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    margin: 0.5rem 0;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--bright-teal);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--bright-teal);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-menu {
        display: flex !important;
        position: static;
        background-color: transparent;
        flex-direction: row;
        width: auto;
        padding: 0;
    }

    .nav-menu li {
        margin: 0 2rem;
    }

    .hamburger {
        display: none;
    }
}

/* Hero Carousel */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: var(--light-grey);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--bright-teal);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

section:last-child {
    border-bottom: none;
}

section h2 {
    font-size: 2.5rem;
    color: var(--bright-teal);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.section-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--bright-teal) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-text h3 {
    font-size: 1.5rem;
    color: var(--bright-teal);
    margin-bottom: 1rem;
}

.section-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* Two-column layout for desktop */
@media (min-width: 768px) {
    .section-content {
        grid-template-columns: 1fr 1fr;
    }

    .section-image {
        height: 400px;
    }
}



/*link colors*/


.section-text a {
    color: var(--bright-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-text a:link { color: rgb(250, 179, 0); }

.section-text a:hover {
    color: var(--teal-dark);
}

/*product list*/
.section-text ul {
  padding-left: 5ch; /* Indents precisely 5 character widths */
}
.section-text ol {
    padding-left: 5ch; /* Indents precisely 5 character widths */
}
/* Footer */
footer {
    background-color: var(--light-grey);
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

footer p {
    margin: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
