/* Base fonts */
body {
    font-family: 'Lato', sans-serif;
}
h1, h2, h3, h4, h5, h6, .font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Color scheme */
:root {
    --bg-dark: #0F172A;      /* bg-slate-900 */
    --bg-medium: #1E293B;    /* bg-slate-800 */
    --text-light: #CBD5E1;   /* text-slate-300 */
    --text-heading: #F1F5F9; /* text-slate-100 */
    --border-color: #334155; /* border-slate-700 */
    --accent: #38BDF8;       /* text-sky-500 */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Nav buttons (desktop) */
.nav-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-btn {
    padding: 1rem 0.5rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}
.nav-btn:hover {
    color: var(--text-heading);
}

/* Page content transition */
.page-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service cards */
.service-card {
    background-color: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem; /* rounded-xl */
    padding: 2.5rem;        /* p-10 */
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2.5rem;
    border-left: 2px solid var(--border-color);
}
.timeline-item:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -0.7rem;
    top: 0.15rem;
    height: 1.25rem;  /* w-5 */
    width: 1.25rem;   /* h-5 */
    background-color: var(--accent);
    border-radius: 9999px;   /* rounded-full */
    border: 3px solid var(--bg-dark);
}

/* Form styles */
.form-input {
    width: 100%;
    background-color: var(--bg-medium);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    border-radius: 0.5rem;   /* rounded-lg */
    padding: 0.75rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

/* Primary button */
.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;   /* rounded-lg */
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #7dd3fc; /* sky-300 */
}

/* Mobile nav buttons */
.nav-btn-mobile {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem; /* p-3 px-4 */
    border-radius: 0.375rem; /* rounded-md */
    text-align: left;
    font-weight: 500;
    color: var(--text-heading);
    transition: background-color 0.3s, color 0.3s;
}
.nav-btn-mobile:hover {
    background-color: var(--bg-medium);
    color: var(--accent);
}

/* Carousel styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid var(--border-color);
    background-color: var(--bg-medium);
}
.carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    width: 100%;
    flex-shrink: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(15, 23, 42, 0.7); /* bg-slate-900/70 */
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 9999px; /* rounded-full */
    width: 3rem;  /* w-12 */
    height: 3rem; /* h-12 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-button:hover {
    background-color: var(--bg-dark);
}
.carousel-button.prev {
    left: 1rem;
}
.carousel-button.next {
    right: 1rem;
}

/* Blog-specific styles */
.blog-card {
    cursor: pointer;
}
.blog-card-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

/* All blog articles are hidden by default, JS will activate one */
.blog-article {
    display: none;
}
.blog-article-active {
    display: block;
}

/* hide pricing in articles */
article .pricing {
    display: none;
}