@font-face {
    font-family: 'Recoleta-Bold';
    src: url('/static/fonts/Recoleta-Bold.ttf') format('truetype');
  }

@font-face {
    font-family: 'Recoleta-Medium';
    src: url('/static/fonts/Recoleta-Medium.ttf') format('truetype');
  }

@font-face {
    font-family: 'Recoleta-Regular';
    src: url('/static/fonts/Recoleta-Regular.ttf') format('truetype');
  }

@font-face {
    font-family: 'Recoleta-SemiBold';
    src: url('/static/fonts/Recoleta-SemiBold.ttf') format('truetype');
  }

@font-face {
    font-family: 'Recoleta-Thin';
    src: url('/static/fonts/Recoleta-Thin.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Recoleta-Light';
    src: url('/static/fonts/Recoleta-Light.ttf') format('truetype');
  }

:root {
    --navbar-height: 120px; /* Default height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f0f2f5;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Discount Modal Styles */
.discount-modal {
    display: flex; /* Hidden by default, shown via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Above everything */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.discount-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.discount-modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.modal-content h2 {
    font-family: 'Recoleta-Bold', sans-serif;
    font-size: 2em;
    color: #2c2c2c;
    margin: 0 0 10px;
}

.modal-content p {
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1.2em;
    color: #4b4b4b;
    margin: 0;
}

.discount-code {
    font-weight: bold;
    background: #1670f0;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #9ca3af;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
    color: #2c2c2c;
    transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        max-width: 400px;
    }
    .modal-content h2 {
        font-size: 1.6em;
    }
    .modal-content p {
        font-size: 1em;
    }
    .modal-icon img {
        width: 55px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
        width: 90%;
    }
    .modal-content h2 {
        font-size: 1.4em;
    }
    .modal-content p {
        font-size: 1.1em;
    }
    .modal-icon img {
        width: 45px;
    }
}

/* Navbar Wrapper */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    transition: background 0.3s ease;
    z-index: 1000;
}

.navbar-wrapper.scrolled {
    background: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar-height);
    transition: height 0.3s ease;
    animation: slideIn 0.5s ease-out forwards;
}

.navbar-wrapper.scrolled .navbar {
    height: 70px;
}

.logo {
    transition: all 0.3s ease; /* Keep transition for smooth resizing */
}

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.navbar-wrapper.scrolled .logo img {
    height: 40px; /* Smaller size when scrolled */
    filter: invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 16px;
    padding: 8px 16px;
    transition: color 0.3s ease;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.733);
}

.nav-link:hover {
    color: #ddd;
}

.cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #000;
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hamburger Menu */
.hamburger {
    margin-right: 15px;
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #000000;
    transition: all 0.3s ease;
}

.navbar-wrapper.scrolled .hamburger span {
    background: #fff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Animation for navbar load */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Navbar */
@media (max-width: 768px) {
    .navbar {
        height: 70px; /* Fixed height on mobile */
    }

    .navbar-wrapper.scrolled .navbar {
        height: 70px; /* Ensure consistency when scrolled */
    }

    .logo img {
        height: 25px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background: #000;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    .nav-links.active {
        height: auto;
        padding: 20px 0;
    }

    .navbar-wrapper.scrolled .nav-links {
        top: 70px;
    }

    .nav-link, .cta-btn {
        width: 90%;
        text-align: center;
        padding: 15px 0;
    }

    .cta-btn {
        margin: 10px 20px;
        border-radius: 20px;
    }
    .navbar-wrapper.scrolled .logo img{
        height: 25px;
        filter: invert(1);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    background-image: url('/static/images/background6.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 185px 20px;
    gap: 60px;
    position: relative;
}

/* Left Column */
.left-column {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1200px;
    min-height: 600px;
    z-index: 2;
}

/* Right Column */
.right-column {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

/* Card Styles */
.card {
    border: 3px solid rgba(197, 136, 255, 0.3);
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother easing */
    cursor: pointer;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Enhanced Resume Card */
.card-resume {
    width: 400px;
    height: 600px;
    transform: rotateY(25deg) translateZ(0px);
    background: linear-gradient(135deg, rgba(224, 246, 255, 0.5), rgba(253, 240, 224, 0.842));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 50%;
    transform-origin: center;
    margin-left: -200px;
}

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

/* Cover Letter Card */
.card-cover-letter {
    width: 300px;
    height: 300px;
    transform: rotateY(25deg) translateZ(200px);
    margin-left: 80px;
    background: linear-gradient(135deg, rgb(248 246 245 / 66%), rgb(173 229 253 / 67%));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    bottom: 40px;
    position: absolute;
}

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


/* Right Column Content */
.right-column h1 {
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 4.5em;
    font-weight: bold;
    color: #2c2c2c;
    line-height: 1.1;
}

.right-column p {
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1.6em;
    color: #505050;
    max-width: 500px;
}

/* Stats Section Styles */
.stats-section {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px; /* Space after "No Credit Card" text */
    max-width: 100%;
    padding: 0 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; /* Equal width for each item */
}

.stat-number {
    font-family: 'Recoleta-Bold', sans-serif;
    font-size: 2.2em; /* Bold, prominent numbers */
    color: #222222; /* Blue to match your branding */
    line-height: 1;
}

.stat-label {
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 0.95em;
    color: #2c2c2c;
    margin-top: 5px;
}

/* Responsive Adjustments */
@media (max-width: 963px) {
    .stats-section {
        justify-content: center;
        flex-wrap: wrap; /* Enable 2x2 grid */
    }
    .stat-item {
        flex: 0 0 45%; /* 2 items per row */
        margin-bottom: 20px; /* Space between rows */
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 0 5px;
        gap: 10px;
    }
    .stat-item {
        flex: 0 0 48%; /* Slightly tighter fit */
    }
    .stat-number {
        font-size: 1.8em; /* Smaller for mobile */
    }
    .stat-label {
        font-size: 0.85em;
    }
}

/* CTA Button Styles */
.cta-button {
    margin-top: 30px;
    position: relative;
    padding: 12px 24px;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 1.1em;
    font-family: 'Recoleta-Medium', sans-serif;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother easing */
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    width: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-button span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #000000);
    animation: animate1 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.cta-button span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #000000);
    animation: animate2 2s linear infinite;
    animation-delay: 2s;
}

@keyframes animate2 {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.cta-button span:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, transparent, #000000);
    animation: animate3 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate3 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.cta-button span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to top, transparent, #000000);
    animation: animate4 2s linear infinite;
    animation-delay: 2s;
}

@keyframes animate4 {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.cta-button:hover {
    color: #414141;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px) scale(1.05); /* Added subtle scale for polish */
}

/* Media Queries for Responsiveness */

/* 1200px */
@media (max-width: 1200px) {
    .hero-section {
        gap: 25px;
        padding: 140px 15px;
    }
    .left-column,
    .right-column {
        width: 45%;
    }
    .card-resume {
        width: 350px;
        height: 525px;
        margin-left: -175px;
        transform: rotateY(25deg) translateZ(0px);
    }
    .card-cover-letter {
        width: 262.5px;
        height: 262.5px;
        margin-left: 70px;
        transform: rotateY(25deg) translateZ(180px);
        bottom: 35px;
    }
    .left-column {
        min-height: 525px;
    }
    .right-column h1 {
        font-size: 3.5em;
    }
    .right-column p {
        font-size: 1.3em;
    }
}

/* 963px */
@media (max-width: 963px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 40px;
        gap: 40px;
    }
    .left-column,
    .right-column {
        width: 100%;
        align-items: center;
    }
    .right-column {
        text-align: center;
        order: 1;
        margin-bottom: 20px;
    }
    .left-column {
        order: 2;
        min-height: 450px;
    }
    .card-resume {
        width: 300px;
        height: 450px;
        margin-left: -150px;
        transform: rotateY(25deg) translateZ(0px);
    }
    .card-cover-letter {
        width: 225px;
        height: 225px;
        margin-left: 60px;
        transform: rotateY(25deg) translateZ(160px);
        bottom: 30px;
    }
    .right-column h1 {
        font-size: 2.5em;
    }
}

/* 768px (Mobile) */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 40px;
        gap: 50px;
    }
    .left-column {
        min-height: 420px; /* Increased for bigger cards */
    }
    .right-column {
        margin-bottom: 20px;
    }
    .card-resume {
        width: 280px; /* Increased from 240px */
        height: 420px; /* Increased from 360px */
        margin-left: -140px;
        transform: rotateY(15deg) translateZ(0px);
    }
    .card-cover-letter {
        width: 210px; /* 3/4 of 280px */
        height: 210px; /* Half of 420px */
        margin-left: 50px;
        transform: rotateY(15deg) translateZ(140px);
        bottom: 20px;
    }
    .enhanced-resume {
        font-size: 1em;
        top: -20px;
    }
    .cover-letter {
        font-size: 0.8em;
        top: -15px;
    }
    .right-column h1 {
        font-size: 2.5em;
    }
    .right-column p {
        font-size: 1em;
        max-width: 100%;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}

/* 480px (Small Mobile) */
@media (max-width: 480px) {
    .hero-section {
        padding: 90px 15px 100px;
        gap: 5px;
    }
    .left-column {
        min-height: 360px; /* Increased for bigger cards */
    }
    .right-column {
        margin-bottom: 15px;
    }
    .card-resume {
        width: 240px; /* Increased from 200px */
        height: 360px; /* Increased from 300px */
        margin-left: -120px;
        transform: rotateY(15deg) translateZ(0px);
    }
    .card-cover-letter {
        width: 180px; /* 3/4 of 240px */
        height: 180px; /* Half of 360px */
        margin-left: 40px;
        transform: rotateY(15deg) translateZ(120px);
        bottom: 15px;
    }
    .enhanced-resume {
        font-size: 0.8em;
        top: -15px;
    }
    .cover-letter {
        font-size: 0.6em;
        top: -12px;
    }
    .right-column h1 {
        font-size: 2em;
    }
    .right-column p {
        font-size: 1.2em;
    }
    .cta-button {
        margin-top: 0;
    }
}

/* Why Use Section Styles */
.why-use-section {
    background: #f9f9f9; /* Light gray for contrast */
    padding: 60px 20px;
    text-align: center;
}

.why-use-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-use-container h2 {
    font-family: 'Recoleta-Bold', sans-serif;
    font-size: 2.5em;
    color: #2c2c2c;
    margin-bottom: 40px;
}

.comparison-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.comparison-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    flex: 1;
    min-width: 300px; /* Ensures cards don’t get too narrow */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.comparison-card h3 {
    font-family: 'Recoleta-SemiBold', sans-serif;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.comparison-card li {
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1.1em;
    color: #4b4b4b;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.comparison-card .step-icon {
    width: 30px; /* Size for PNGs, adjust as needed */
    height: 30px;
    margin-right: 10px;
    vertical-align: middle; /* Aligns with text */
}

.comparison-card .total {
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 1.2em;
    color: #2c2c2c;
    margin: 0;
}

.manual-card .total {
    color: #e63946; /* Red for manual effort */
}

.ai-card .total {
    color: #1670f0; /* Blue for AI efficiency */
}

.savings {
    font-family: 'Recoleta-Bold', sans-serif;
    font-size: 1.4em;
    color: #1670f0;
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 963px) {
    .why-use-section {
        padding: 40px 15px;
    }
    .why-use-container h2 {
        font-size: 2em;
    }
    .comparison-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .comparison-card {
        width: 100%;
        max-width: 400px; /* Limits width on mobile */
    }
}

@media (max-width: 480px) {
    .why-use-container h2 {
        font-size: 1.6em;
    }
    .comparison-card h3 {
        font-size: 1.3em;
    }
    .comparison-card li {
        font-size: 1em;
    }
    .comparison-card .total {
        font-size: 1.1em;
    }
    .savings {
        font-size: 1.2em;
    }
    .comparison-card .step-icon {
        width: 20px; /* Smaller for mobile */
        height: 20px;
    }
}

/* AI Process Section Styles - General */
.ai-process-section {
    background-image: url('/static/images/bg2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    overflow-x: hidden;
}

.ai-process-container {
    max-width: 1600px; /* Increased max-width slightly for larger images */
    margin: 0 auto;
}

.ai-process-container h2 { /* Keep as is */
    font-family: 'Recoleta-Bold', sans-serif;
    font-size: 2.8em;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.ai-process-container p { /* Keep as is */
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1.2em;
    color: #4b4b4b;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Desktop Layout: Flexbox for horizontal flow */
.ai-process-visual {
    display: flex;
    justify-content: space-between; /* Space out items */
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 50px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; /* Allow steps to grow and shrink */
    min-width: 0; /* Important for flex shrinking */
    max-width: 21%; /* Limit width to roughly fit 4 images + connectors */
}

.process-step img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
}

.process-step h4 { /* Keep as is */
    font-family: 'Recoleta-SemiBold', sans-serif;
    font-size: 1.1em;
    color: #333;
}

.process-connector {
    font-size: 2.5em;
    font-weight: bold;
    color: #9ca3af;
    /* Use margin-top to roughly center connectors vertically with images */
    /* Adjust this value based on your final image height/appearance */
    margin-top: 140px; /* STARTING VALUE - ADJUST AS NEEDED */
    flex-shrink: 0; /* Prevent connectors from shrinking */
    padding: 0; /* Add some horizontal space */
}

/* Style CTA Button */
.process-cta { /* Keep as is */
    display: inline-block;
    margin-top: 20px;
    background: #333;
    color: #fff;
    padding: 12px 30px;
    font-family: 'Recoleta-SemiBold', sans-serif;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-cta:hover { /* Keep as is */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* --- Mobile Layout (Using CSS Grid) --- */
@media (max-width: 768px) {
    .ai-process-section {
        padding: 60px 15px;
    }
    .ai-process-container h2 {
        font-size: 1.8em;
        font-family: 'Recoleta-Medium';
    }
     .ai-process-container p {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .ai-process-visual {
        display: grid;
        /* 3 columns: image, connector, image */
        grid-template-columns: 1fr auto 1fr;
        /* Define rows: top images, connector, bottom images */
        grid-template-rows: auto auto auto; /* Row for Steps 1&2, Row for Connector, Row for Steps 3&4 */
        gap: 15px 10px; /* Row gap, Column gap */
        justify-items: center; /* Center items within grid cells */
        margin-bottom: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-step { /* Keep general step styling */
        max-width: 100%;
        width: 100%;
        margin-bottom: 0;
    }

     .process-step img { /* Keep general image styling */
        margin-bottom: 10px;
    }

     .process-step h4 { /* Keep general heading styling */
        font-size: 0.95em;
    }

    /* --- NEW Grid Placement --- */
    .step-1 { grid-row: 1; grid-column: 1; } /* Top Left */
    .connector-1-2 { /* Plus Connector */
        grid-row: 1;
        grid-column: 2;
        align-self: center;
        margin-top: 0;
        transform: rotate(0deg); /* Ensure no rotation */
    }
    .step-2 { grid-row: 1; grid-column: 3; } /* Top Right */

    .connector-2-3 { /* Arrow pointing DOWN */
        grid-row: 2; /* Middle Row */
        grid-column: 3; /* Align under Step 2 */
        transform: rotate(90deg); /* Point Down */
        margin: 0;
        align-self: center;
    }

    /* --- REVERSED Bottom Row --- */
    .step-4 { grid-row: 3; grid-column: 1; } /* Bottom Left - Step 4 */
    .connector-3-4 { /* Arrow pointing LEFT */
        grid-row: 3; /* Bottom Row */
        grid-column: 2; /* Middle Column */
        transform: rotate(180deg); /* Point Left (<-) */
        margin: 0;
        align-self: center;
        /* Adjust margin-top if needed to center between bottom images */
        /* margin-top: 50px; */
    }
    .step-3 { grid-row: 3; grid-column: 3; } /* Bottom Right - Step 3 */


    /* Adjust connector size on mobile */
    .process-connector { /* Keep as is */
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .ai-process-container h2 {
        font-size: 1.8em;
    }
     .ai-process-container p {
        font-size: 0.95em;
    }
    .ai-process-visual {
       gap: 10px 5px; /* Reduce gaps */
       max-width: 100%; /* Allow full width */
    }
     .process-step h4 {
        font-size: 0.85em;
    }
    .process-connector {
        font-size: 1.8em;
    }
    .connector-3-4 {
         margin-top: -30px; /* Readjust based on smaller image height */
    }
}

/* Control Section Styles */
.control-section {
    width: 100%;
    background-image: url('/static/images/controls-section-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #0c0c0c;
    padding: 80px 20px; /* Adjust padding as needed */
    box-sizing: border-box;
}

.control-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Vertically center items in columns */
    gap: 60px; /* Space between columns */
}

.control-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
}

.control-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
}

.control-left h2 {
    font-family: 'Recoleta-Bold', sans-serif;
    font-size: 4.3em; /* Large heading size */
    line-height: 1.2;
    margin-bottom: 10px; /* Space below heading */
    color: #0c0c0c; /* Light color for heading */
    margin-left: 30px;
}

.settings-dialog-img {
    max-width: 100%;
    height: auto;
}

.toggle-img {
    max-width: 100%; /* Adjust size as needed, looks smaller than the dialog */
    height: auto;
    margin-bottom: 30px; /* Space below toggle */
    align-self: center; /* Center the toggle image within its column */
}

.control-right p {
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1.1em; /* Readable paragraph size */
    line-height: 1.6;
    color: #0c0c0c; /* Light grey for paragraph */
    max-width: 450px; /* Limit paragraph width */
}

.control-right .control-points {
    list-style: none; /* Ensure no default bullets */
    padding-left: 0; /* Ensure no default indentation */
    margin-top: 20px; /* Add some space above the first card */
    counter-reset: points-counter; /* Initialize a counter */
    max-width: 480px; /* Adjust width as needed */
}

.control-right .control-points li {
    background-color: rgba(99, 99, 99, 0.05); /* Slightly lighter than main bg */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    border-radius: 8px; /* Rounded corners for card effect */
    padding: 20px; /* Internal padding */
    padding-left: 65px; /* Extra padding on the left for the number */
    margin-bottom: 20px; /* Space between cards */
    position: relative; /* Needed for positioning the pseudo-element */
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1.05em; /* Adjust font size if needed */
    line-height: 1.6;
    color: #131313;
    counter-increment: points-counter; /* Increment counter for each li */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

/* Style the numbers (1, 2, 3) using ::before */
.control-right .control-points li::before {
    content: counter(points-counter); /* Display the counter value */
    position: absolute;
    left: 15px; /* Position number inside the padding */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Fine-tune vertical centering */
    background-color: #17ebab; /* Use an accent color (matches ATS button?) */
    color: #1a1a1a; /* Dark text color for contrast */
    font-family: 'Recoleta-Bold', sans-serif; /* Make number bold */
    font-size: 1em;
    font-weight: bold;
    border-radius: 50%; /* Make it a circle */
    width: 30px; /* Circle size */
    height: 30px; /* Circle size */
    line-height: 30px; /* Center text vertically in circle */
    text-align: center; /* Center text horizontally in circle */
    display: inline-block;
}

/* Optional Hover Effect */
.control-right .control-points li:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighten background on hover */
    transform: translateY(-3px); /* Subtle lift effect */
    cursor: pointer;
}

/* Adjust span styling if needed (optional) */
.control-right .control-points li span {
    display: inline-block; /* Allows better line wrapping control if needed */
    font-family: 'Recoleta-Regular', sans-serif; /* Make number bold */
    font-size: 1em;
    letter-spacing: 1px;
    font-weight: bold;
}


@media (max-width: 963px) {
    .control-section {
        padding: 60px 15px;
    }

    .control-right .control-points {
        font-size: 1em;
        max-width: 90%;
    }
    .control-right .control-points li {
        font-size: 1em;
        padding: 15px;
        padding-left: 55px; /* Adjust padding for smaller number */
        margin-bottom: 15px;
    }
     .control-right .control-points li::before {
        left: 12px;
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 0.9em;
    }
    .control-container {
        flex-direction: column; /* Stack columns */
        gap: 1px;
        text-align: center; /* Center align text for stacked layout */
    }

    .control-left,
    .control-right {
        width: 100%;
        align-items: center; /* Center items within columns */
    }

    .control-left h2 {
        font-size: 2.8em;
        margin-bottom: 30px;
        margin-left: 0;
    }

    .toggle-img {
        max-width: 50%; /* Adjust if needed */
        margin-bottom: 20px;
    }

    .control-right p {
        font-size: 1em;
        max-width: 100%; /* Allow paragraph to take full width */
    }
}

@media (max-width: 768px) {
    .control-right .control-points li span {
        letter-spacing: 0;
        text-align: left;
    }
    .settings-dialog-img {
        width: 90%;
        height: auto;
    }
    .control-right .control-points {
        font-size: 0.95em;
    }

    .control-right .control-points li {
        font-size: 0.9em;
         padding: 12px;
         padding-left: 50px;
    }
    .control-right .control-points li::before {
        left: 10px;
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 0.8em;
    }

     .control-left h2 {
        font-size: 2.2em;
        font-family: 'Recoleta-Medium', sans-serif;
    }

     .toggle-img {
        max-width: 90%; /* Adjust if needed */
    }
     .control-right p {
        font-size: 0.95em;
    }
}

/* Features Section */
.features-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    background: #f9f9f9;
    padding: 20px;
    box-sizing: border-box;
}

.features-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 40px;
    flex-grow: 1;
    align-items: center;
    margin: 0 auto;
}

.features-left {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-stack {
    position: relative;
    width: 500px; /* 300px * 2.5 */
    height: 600px; /* 400px * 2.5 */
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.dialog-image {
    opacity: 95%;
    border-radius: 20px;
    width: 80%; /* Adjusted for overlap */
    position: absolute;
    z-index: 2;
    transition: transform 0.3s ease, z-index 0s;
}

.job-title-img {
    top: 40%;
    left: -10%; /* Overflow left */
    z-index: 2;
}

.job-desc-img {
    top: 60%; /* Overlap with job-title-img */
    left: 25%;
    z-index: 3;
}

.dialog-image.active {
    transform: scale(1.2);
    z-index: 4;
}

.features-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.features-right h2 {
    font-size: 2.5em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #2c2c2c;
    text-align: center;
    margin-left: -100px;
}

.feature-box {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 80%; /* Slightly narrower for zigzag */
}

.feature-box.zigzag-left {
    transform: translateX(-20px); /* Shift left */
}

.feature-box.zigzag-right {
    transform: translateX(20px); /* Shift right */
}

.feature-box:hover {
    transform: translateY(-5px) translateX(0); /* Override zigzag on hover */
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-box h3 {
    font-size: 1.5em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 10px;
    text-align: center;
}

.feature-box p {
    font-size: 1em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #4b4b4b;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .features-container {
        max-width: 1000px;
        gap: 30px;
    }

    .image-stack {
        width: 625px; /* 250px * 2.5 */
        height: 833px; /* 333px * 2.5 */
    }

    .features-right h2 {
        font-size: 2.2em;
    }

    .feature-box {
        width: 85%;
    }
}

@media (max-width: 963px) {
    .features-section {
        height: auto;
        padding: 15px;
    }

    .features-container {
        flex-direction: column;
        gap: 20px;
    }

    .features-left, .features-right {
        width: 100%;
    }

    .image-stack {
        width: 500px; /* 200px * 2.5 */
        height: 665px; /* 266px * 2.5 */
    }

    .dialog-image {
        width: 55%;
        height: 35%;
    }

    .feature-box {
        padding: 15px;
        width: 90%;
    }

    .feature-box.zigzag-left, .feature-box.zigzag-right {
        transform: translateX(0); /* Remove zigzag on smaller screens */
    }

    .feature-box h3 {
        font-size: 1.3em;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .features-section {
        height: auto;
        padding: 10px;
    }

    .features-right h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .features-container {
        gap: 15px;
    }

    .image-stack {
        width: 450px; /* 180px * 2.5 */
        height: 600px; /* 240px * 2.5 */
    }

    .dialog-image {
        width: 60%;
        height: 40%;
    }

    .feature-box {
        padding: 10px;
        width: 100%;
    }

    .feature-box h3 {
        font-size: 1.2em;
    }

    .feature-box p {
        font-size: 0.9em;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
    }
}

/* Templates Section */
.templates-section {
    width: 100%;
    background: #f5f5f5;
    background-color: #071c39; /* Match body? Or a complementary color */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.templates-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
    z-index: 2;
}

.templates-content h2 {
    font-size: 2.5em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #eeeeee;
    margin-bottom: 20px;
}

.templates-content p {
    font-size: 1.2em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

.templates-carousel {
    width: 100%;
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.carousel-track {
    display: flex;
    position: relative;
    width: 100%;
    height: 550px;
    justify-content: center;
    align-items: center;
}

.template-slide {
    width: 330px;
    height: 500px;
    position: absolute;
    border-radius: 20px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0s;
    opacity: 0;
    padding: 10px;
}

.template-slide.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 5;
}

.template-slide.prev-2 {
    transform: translateX(-720px); /* Two slides to the left */
    opacity: 0.4;
    z-index: 2;
}

.template-slide.prev-1 {
    transform: translateX(-360px); /* One slide to the left */
    opacity: 0.6;
    z-index: 3;
}

.template-slide.next-1 {
    transform: translateX(360px); /* One slide to the right */
    opacity: 0.6;
    z-index: 3;
}

.template-slide.next-2 {
    transform: translateX(720px); /* Two slides to the right */
    opacity: 0.4;
    z-index: 2;
}

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

.template-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-slide:hover .template-btn {
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .templates-content h2 {
        font-size: 2.2em;
    }

    .templates-content p {
        font-size: 1.2em;
        max-width: 500px;
    }

    .carousel-track {
        height: 420px;
    }

    .template-slide {
        width: 310px;
        height: 420px;
    }

    .template-slide.prev-2 {
        transform: translateX(-600px);
        opacity: 0.3;
    }

    .template-slide.prev-1 {
        transform: translateX(-300px);
        opacity: 0.5;
    }

    .template-slide.next-1 {
        transform: translateX(300px);
        opacity: 0.5;
    }

    .template-slide.next-2 {
        transform: translateX(600px);
        opacity: 0.3;
    }

    .gradient { --size: 500px; }
}

@media (max-width: 963px) {
    .templates-section {
        padding: 30px 15px;
    }

    .templates-content h2 {
        font-size: 2em;
    }

    .templates-content p {
        font-size: 1.2em;
    }

    .carousel-track {
        height: 300px;
    }

    .template-slide {
        width: 245px;
        height: 300px;
    }

    .template-slide.prev-2 {
        transform: translateX(-480px);
        opacity: 0.2;
    }

    .template-slide.prev-1 {
        transform: translateX(-240px);
        opacity: 0.4;
    }

    .template-slide.next-1 {
        transform: translateX(240px);
        opacity: 0.4;
    }

    .template-slide.next-2 {
        transform: translateX(480px);
        opacity: 0.2;
    }

    .template-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .gradient { --size: 400px; }
}

@media (max-width: 768px) {
    .templates-section {
        height: auto;
        padding: 60px 10px;
    }

    .templates-content h2 {
        font-size: 1.8em;
        font-family: 'Recoleta-Medium', sans-serif;
        padding: 0 20px;
    }

    .templates-content p {
        font-size: 1em;
        max-width: 90%;
        letter-spacing: 0.5px;
    }

    .carousel-track {
        height: 350px;
    }

    .template-slide {
        width: 220px;
        height: 320px;
    }

    .template-slide.prev-2 {
        transform: translateX(-432px);
        opacity: 0.1;
    }

    .template-slide.prev-1 {
        transform: translateX(-216px);
        opacity: 0.3;
    }

    .template-slide.next-1 {
        transform: translateX(216px);
        opacity: 0.3;
    }

    .template-slide.next-2 {
        transform: translateX(432px);
        opacity: 0.1;
    }

    .template-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .gradient { --size: 300px; }
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white; /* SVG uses fill="currentColor", inheriting this */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex; /* Keep flex for centering icon */
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    padding: 0; /* Reset padding */
    /* Remove text properties */
    /* font-size: 24px; */
    /* font-weight: bold; */
    /* line-height: 1; */
}

/* Style the SVG icon */
.carousel-nav-btn svg {
    width: 18px;  /* Control icon size */
    height: 18px; /* Control icon size */
    display: block; /* Good practice for SVG */
}

.carousel-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

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

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

/* Adjust button/SVG size slightly for smaller screens if needed */
@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }
     .carousel-nav-btn svg {
         width: 16px; /* Slightly smaller icon on mobile */
         height: 16px;
     }
    .carousel-nav-btn.prev {
        left: 10px;
    }
    .carousel-nav-btn.next {
        right: 10px;
    }
}

/* Precision Customization Section - Combined Desktop Image / Split Descriptions */
.precision-section {
    width: 100%;
    padding: 80px 20px 0px 20px;
    background: rgb(9,9,9);
    background: linear-gradient(180deg, rgba(9,9,9,1) 0%, rgb(29, 29, 29) 100%);
    box-sizing: border-box;
    overflow: hidden;
}

.precision-container {
    max-width: 1300px; /* Adjust to match site */
    margin: 0 auto;
    text-align: center;
}

.precision-container h2 {
    font-family: 'Recoleta-SemiBold', sans-serif;
    font-size: 2.8em;
    color: #f3f3f3;
    margin-bottom: 40px;
    position: relative;
    min-height: 1.2em;
}

/* Ensure typed text and cursor match the heading font */
.precision-container h2 .typing-precision-words,
.precision-container h2 .typing-cursor {
    font-family: inherit; /* Force inheritance from the h2 */
    font-weight: inherit; /* Ensure font weight also matches */
    color: inherit;       /* Ensure color matches */
}

.typing-cursor {
    /* display: inline-block; */ /* Usually inline is fine */
    margin-left: 3px; /* Adjust spacing after text */
    font-weight: inherit; /* Match heading weight */
    color: inherit; /* Match heading color (#f3f3f3) */
    opacity: 1;
    /* Blinking animation */
    animation: blink 0.8s infinite;
}

/* Blinking Animation */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Default Styles (Desktop) --- */

/* Hide mobile view by default */
.mobile-view {
    display: none;
}

.desktop-view {
    display: block; /* Make sure it's visible */
    width: 100%;
}

.combined-desktop-image {
    width: 100%;
    margin-bottom: 60px; /* Space below combined image */
}
.combined-desktop-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Wrapper for the two descriptions on desktop */
.desktop-view .description-wrapper {
    display: flex;
    justify-content: space-between; /* Pushes descriptions apart */
    align-items: flex-start;        /* Align text tops */
    /* The wrapper takes full width of container */
    margin-bottom: 60px; /* Space before bottom image */
    gap: 90px; /* Add gap between description columns */
}

/* Common description styling (used by desktop children) */
.precision-description {
    font-family: 'Recoleta-Light', sans-serif;
    font-size: 1.8em;
    color: #bbbbbb;
    line-height: 1.2;
    letter-spacing: 1px;
    flex-basis: calc(50% - 10px);
    margin-top: 0;
}

/* Specific alignment for desktop descriptions */
.desktop-view .precision-description.description-left {
    text-align: left;
}
.desktop-view .precision-description.description-right {
    text-align: right;
}
/* --- End Desktop Styles --- */

/* Bottom Image (Common) */
.precision-bottom-image {
    width: 100%;
    margin-top: 30px; /* Space above bottom image */
}
.precision-bottom-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* --- Mobile Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .precision-section {
        padding: 60px 15px 0px 15px;
    }
    .precision-container h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
        font-family: 'Recoleta-Medium', sans-serif;
        padding: 0 20px;
    }

    /* Hide desktop elements */
    .desktop-view {
        display: none;
    }

    /* Show mobile view container */
    .mobile-view {
        display: block;
        width: 100%;
    }

    /* Style the blocks within mobile view */
    .mobile-block {
        width: 90%; /* Constrain width of content */
        max-width: 450px;
        margin: 0 auto 30px auto; /* Center block, add bottom margin */
        text-align: center;
    }
    /* Remove bottom margin from last mobile block before image 3 */
    .mobile-block:last-of-type {
         margin-bottom: 30px;
    }

    .mobile-block img {
        width: 100%; /* Image takes width of .mobile-block */
        height: auto;
        display: block;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 35px; /* Space below image, before text */
    }

    /* Mobile descriptions */
    .mobile-view .precision-description.description-mobile {
        font-size: 0.95em;
        padding: 0;
        text-align: center !important; /* Override any desktop alignment */
        width: 100%; /* Takes width of .mobile-block */
        line-height: 1.5;
        margin-bottom: 35px;
    }

    /* Adjust bottom image for mobile */
     .precision-bottom-image {
          width: 90%;
          max-width: 450px;
          margin: 0 auto; /* Remove top margin, center */
     }
}

/* Optional: Tablet Styles (Between Mobile and Desktop) */
@media (min-width: 769px) and (max-width: 963px) {
     .precision-container h2 { font-size: 2.4em; margin-bottom: 40px; }
     /* Tablet uses desktop view by default */
     .desktop-view .precision-description { font-size: 1em; flex-basis: calc(50% - 10px); }
}

/* ATS Section */
.ats-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ats-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.ats-content h2 {
    font-size: 2.5em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #fff;
    margin-bottom: 20px;
}

.ats-content p {
    font-size: 1.2em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #d3d3d3;
    max-width: 600px;
    margin: 0 auto 40px;
}

.ats-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.ats-section .ats-feature-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ats-section .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.ats-section .ats-feature-box h3 {
    font-size: 1.2em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #fff;
    margin: 0;
}

.ats-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #000;
    background: #00c4b4;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.ats-button:hover {
    background: #00a89a;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .ats-content h2 {
        font-size: 2.2em;
    }

    .ats-content p {
        font-size: 1.1em;
        max-width: 500px;
    }

    .ats-section .ats-feature-box {
        width: 180px;
        padding: 15px;
    }
}

@media (max-width: 963px) {
    .ats-section {
        padding: 40px 15px;
    }

    .ats-content h2 {
        font-size: 2em;
    }

    .ats-content p {
        font-size: 1em;
    }

    .ats-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .ats-section .ats-feature-box {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .ats-section {
        padding: 30px 10px;
    }

    .ats-content h2 {
        font-size: 1.8em;
    }

    .ats-content p {
        font-size: 0.9em;
        max-width: 100%;
    }

    .ats-section .ats-feature-box {
        width: 100%;
        max-width: 300px;
        padding: 10px;
    }

    .ats-section .ats-feature-box h3 {
        font-size: 1.1em;
    }

    .ats-section .feature-icon {
        width: 35px;
        height: 35px;
    }

    .ats-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}

.cover-letter-section {
    background: #4e54c8;
    background: -webkit-linear-gradient(to right, #f5f5f5, #d3d3d3);
    background: linear-gradient(to right, #f5f5f5, #d3d3d3);
    padding: 60px 20px;
    position: relative;
}

.cover-letter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    position: relative; /* Add relative positioning */
    z-index: 2; /* Place above .circles */
}

.cover-letter-visual {
    flex: 0 0 650px; /* Fixed width to match image */
    max-width: 650px;
    text-align: center;
}

.cover-letter-dialog {
    width: 650px;
    height: 750px; /* Exact dimensions from your source */
    object-fit: cover;
    border-radius: 8px;
}

.cover-letter-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.cover-letter-content h2 {
    font-size: 2.5rem;
    font-family: 'Recoleta-Medium', sans-serif;
    color: #1b1b1b;
    letter-spacing: 1.2px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.cover-letter-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.cover-letter-points li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-left: 10px;
    position: relative;
    font-family: "Recoleta-Regular", sans-serif;
}

.cover-letter-points .point-icon {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 4px; /* Align with text */
}

.cover-letter-points span {
    font-size: 1.1rem;
    color: #202020;
    line-height: 1.6;
    font-family: "Recoleta-Regular", sans-serif;
    color: #1b1b1b;
    letter-spacing: 0.4px;
}

/* Removed the bullet point */
/* .cover-letter-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: #007bff;
    border-radius: 50%;
} */

.cover-letter-button {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #1b1b1b;
    text-decoration: none;
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 1rem;
    border-radius: 30px;
    border: 1px solid #1b1b1b;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cover-letter-button:hover {
    background: #40a76ea2;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .cover-letter-visual {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cover-letter-dialog {
        width: 100%;
        height: auto;
        max-width: 650px;
    }

    .cover-letter-container {
        flex-direction: column;
        text-align: center;
    }

    .cover-letter-content h2 {
        font-size: 2rem;
    }

    .cover-letter-points span {
        font-size: 1rem;
        padding-right: 20px;
    }

    .cover-letter-points li {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .cover-letter-section {
        padding: 40px 15px;
    }

    .cover-letter-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .cover-letter-dialog {
        max-width: 70%;
        margin-bottom: 10px;
    }

    .cover-letter-visual {
        margin-top: 30px;
    }

    .cover-letter-button {
        margin: 20px auto;
        display: block;
        width: 70%;
        text-align: center;
    }
}

/* Combo Section */
.combo-section {
    background: rgb(41,41,41);
    background: radial-gradient(circle, rgba(41,41,41,1) 0%, rgba(14,14,14,1) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.combo-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
}

.combo-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.combo-content h2 {
    font-size: 2.5rem;
    font-family: 'Recoleta-Medium', sans-serif; /* Match your site’s typography */
    color: #f3f3f3;
    line-height: 1.2;
    margin-bottom: 20px;
}

.combo-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: 'Recoleta-Light', sans-serif;
}

.combo-button {
    display: inline-block;
    padding: 12px 24px;
    background:#0505054f;
    color: #e9e9e9;
    text-decoration: none;
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 2px solid rgb(92, 92, 92);
    border-bottom: 2px solid rgb(92, 92, 92);
    transition: background 0.3s ease, transform 0.2s ease;
}

.combo-button:hover {
    background: radial-gradient(
        ellipse at bottom,
        rgba(71, 81, 92, 1) 0%,
        #0505054f 55%
    );
    transform: translateY(-2px);
}

.combo-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.combo-mockup {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.resume-mockup,
.cover-letter-mockup {
    width: 300px;
    height: auto;
    transform: rotate(-5deg); /* Slight tilt for visual interest */
    border: 1px solid white;
}

.cover-letter-mockup {
    width: 400px;
    transform: rotate(5deg);
}

.combo-arrow {
    font-size: 3rem;
    color: #f3f3f3;
    animation: pulse 1.5s infinite;
}

.combo-label {
    margin-top: 20px;
    font-family: 'Recoleta-Medium', sans-serif;
    font-size: 1.2rem;
    color: #e9e9e9;
    padding: 8px 16px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .combo-container {
        flex-direction: column;
        text-align: center;
    }

    .combo-content h2 {
        font-size: 1.8em;
        font-family: 'Recoleta-Medium', sans-serif;
        text-align: center;
        padding: 0 20px;
    }

    .combo-content p {
        font-size: 1rem;
        text-align: center;
    }

    .combo-button {
        display: block;
        margin: 0 auto;
        width: 80%;
        text-align: center;
    }

    .resume-mockup,
    .cover-letter-mockup {
        width: 150px;
    }

    .combo-arrow {
        font-size: 1.5rem;
    }

    .combo-label {
        font-size: 1rem;
    }

    .combo-mockup {
        gap: 10px;
    }
}

/* Cross-Device Section */
.cross-device-section {
    width: 100%;
    padding: 60px 20px 0px 20px;
    box-sizing: border-box;
    background: #f9f9f9; /* Light background for contrast */
}

.cross-device-content {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    align-items: center;
    gap: 20px;
}

.cross-device-left {
    width: 30%;
    padding-left: 40px;
}

.cross-device-left h2 {
    font-size: 2.5em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.cross-device-left p {
    font-size: 1.2em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #4b4b4b;
    margin-bottom: 30px;
    max-width: 500px;
}

.cross-device-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #fff;
    background: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cross-device-button:hover {
    background: #555;
}

.cross-device-right {
    width: 70%;
    text-align: center;
}

.cross-device-right img {
    max-width: 100%;
    height: auto;
    margin-bottom: -4px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .cross-device-content {
        max-width: 1000px;
        gap: 30px;
    }

    .cross-device-left h2 {
        font-size: 2.2em;
    }

    .cross-device-left p {
        font-size: 1.1em;
        max-width: 450px;
    }
}

@media (max-width: 963px) {
    .cross-device-section {
        padding: 40px 15px 0px 15px;
    }

    .cross-device-content {
        flex-direction: column;
        gap: 20px;
    }

    .cross-device-left, .cross-device-right {
        width: 100%;
        text-align: center;
        padding-left: 0px;
    }

    .cross-device-left h2 {
        font-size: 2em;
    }

    .cross-device-left p {
        font-size: 1em;
        max-width: 100%;
        margin: 0 auto 30px;
    }

    .cross-device-right img {
        margin-top: 20px;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .cross-device-section {
        padding: 30px 10px 0px 10px;
    }

    .cross-device-left h2 {
        font-size: 1.8em;
        font-family: 'Recoleta-Medium', sans-serif;
        padding: 0 30px;
    }

    .cross-device-left p {
        font-size: 0.9em;
    }

    .cross-device-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .cross-device-right img {
        max-width: 90%;
        margin-bottom: -4px;
    }
}


/* Pricing Section */
.pricing-section {
    width: 100%;
    background: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-content h2 {
    font-size: 2.5em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.pricing-content p {
    font-size: 1.2em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #4b4b4b;
    max-width: 600px;
    margin: 0 auto 40px;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card.basic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f0f0f0;
    width: 400px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.pricing-card.pro {
    width: 450px; /* Wider for combined plan */
}

.gradient-border-wrap {
    height: 100%;
    padding: 3px;
    background: linear-gradient(45deg, #00c4b4, #8a4af3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.inner-card {
    background: #fff;
    height: 100%;
    padding: 30px;
    border-radius: 7px;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.8em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.toggle-label {
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1em;
    color: #4b4b4b;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s ease;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s ease;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1670f0;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-card .price {
    font-size: 2.2em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.price-period {
    font-size: 0.6em;
    color: #4b4b4b;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    font-size: 1em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #4b4b4b;
    margin-bottom: 12px;
    display: flex;
    justify-content: center; /* Center-align list items */
    align-items: center;
    text-align: center;
}

.x-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.pricing-card .pricing-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #fff;
    background: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.pricing-card.pro .pricing-button {
    background: linear-gradient(45deg, #00c4b4, #8a4af3);
}

.pricing-card .pricing-button:hover {
    background: #555;
    transform: translateY(-3px);
}

.pricing-card.pro .pricing-button:hover {
    background: linear-gradient(45deg, #00a89a, #6a3cc2);
}

/* Comparison Table */
.comparison-table {
    margin-top: 60px;
    text-align: left;
}

.comparison-table h3 {
    font-size: 1.8em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-table table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    font-family: 'Recoleta-Regular', sans-serif;
    font-size: 1em;
    color: #4b4b4b;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background: #f0f0f0;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #2c2c2c;
}

.comparison-table td {
    text-align: center;
}

.x-icon-table {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Responsive Breakpoints */
@media (max-width: 963px) {
    .pricing-section {
        padding: 40px 15px;
    }
    .pricing-content h2 {
        font-size: 2em;
    }
    .pricing-content p {
        font-size: 1em;
        max-width: 500px;
    }
    .pricing-plans {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .pricing-card.basic, .pricing-card.pro {
        width: 100%;
        max-width: 350px;
    }
    .comparison-table table {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .pricing-content h2 {
        font-size: 1.8em;
    }
    .pricing-content p {
        font-size: 0.9em;
        max-width: 100%;
    }
    .pricing-card.basic, .pricing-card.pro {
        max-width: 300px;
    }
    .pricing-card h3 {
        font-size: 1.6em;
    }
    .pricing-card .price {
        font-size: 2em;
    }
    .comparison-table h3 {
        font-size: 1.6em;
    }
    .comparison-table th, .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 30px 10px;
    }
    .pricing-card.basic, .pricing-card.pro {
        padding: 20px;
    }
    .pricing-card h3 {
        font-size: 1.4em;
    }
    .pricing-card .price {
        font-size: 1.8em;
    }
    .pricing-card ul li {
        font-size: 0.9em;
    }
    .toggle-wrapper {
        gap: 10px;
    }
    .toggle-switch {
        width: 50px;
        height: 28px;
    }
    .slider:before {
        height: 20px;
        width: 20px;
        left: 4px;
        bottom: 4px;
    }
    input:checked + .slider:before {
        transform: translateX(22px);
    }
    .comparison-table table {
        font-size: 0.8em;
    }
}

/* FAQ Section */
.faq-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    background: #f9f9f9;
}

.faq-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.faq-content h2 {
    font-size: 2.5em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.faq-content p {
    font-size: 1.2em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #4b4b4b;
    margin-bottom: 40px;
}

.faq-list {
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question span:first-child {
    font-size: 1.1em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #2c2c2c;
}

.faq-toggle {
    font-size: 1.5em;
    color: #333;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Rotate "+" to "x" when active */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content height */
}

.faq-answer p {
    font-size: 1em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #4b4b4b;
    padding: 0 0 15px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .faq-content h2 {
        font-size: 2.2em;
    }

    .faq-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 963px) {
    .faq-section {
        padding: 40px 15px;
    }

    .faq-content h2 {
        font-size: 2em;
    }

    .faq-content p {
        font-size: 1em;
    }

    .faq-question span:first-child {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 30px 10px;
    }

    .faq-content h2 {
        font-size: 1.8em;
    }

    .faq-content p {
        font-size: 0.9em;
    }

    .faq-question span:first-child {
        font-size: 0.9em;
    }

    .faq-toggle {
        font-size: 1.3em;
    }

    .faq-answer p {
        font-size: 0.9em;
    }
}

/* Footer Section */
.footer-section {
    width: 100%;
    background: #333;
    color: #fff;
    padding: 60px 20px 20px;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h3 {
    font-size: 1.8em;
    font-family: 'Recoleta-Bold', sans-serif;
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #d3d3d3;
}

.footer-links, .footer-social, .footer-contact {
    min-width: 200px;
}

.footer-links h4, .footer-social h4, .footer-contact h4 {
    font-size: 1.2em;
    font-family: 'Recoleta-SemiBold', sans-serif;
    color: #fff;
    margin-bottom: 15px;
}

.footer-links ul, .footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-social ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-social ul li a, .footer-contact p a {
    font-size: 1em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #d3d3d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover, .footer-social ul li a:hover, .footer-contact p a:hover {
    color: #00c4b4; /* Cyan hover effect to match your theme */
}

.footer-contact p {
    font-size: 1em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #d3d3d3;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9em;
    font-family: 'Recoleta-Regular', sans-serif;
    color: #d3d3d3;
    margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .footer-content {
        max-width: 1000px;
    }

    .footer-logo h3 {
        font-size: 1.6em;
    }

    .footer-links h4, .footer-social h4, .footer-contact h4 {
        font-size: 1.1em;
    }
}

@media (max-width: 963px) {
    .footer-section {
        padding: 40px 15px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-logo h3 {
        font-size: 1.5em;
    }

    .footer-links h4, .footer-social h4, .footer-contact h4 {
        font-size: 1em;
    }

    .footer-links ul li a, .footer-social ul li a, .footer-contact p a {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 30px 10px 20px;
    }

    .footer-logo h3 {
        font-size: 1.4em;
    }

    .footer-logo p {
        font-size: 0.9em;
    }

    .footer-links h4, .footer-social h4, .footer-contact h4 {
        font-size: 0.9em;
    }

    .footer-links ul li a, .footer-social ul li a, .footer-contact p a {
        font-size: 0.85em;
    }

    .footer-bottom p {
        font-size: 0.8em;
    }
}

/* === Add these new styles for the animated background === */

.circles{
    position: absolute; /* Positioned relative to .cover-letter-section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Takes height of the section */
    overflow: hidden;
    z-index: 0; /* Behind the content */
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(107, 107, 107, 0.15); /* Slightly more opaque */
    animation: animate 25s linear infinite;
    bottom: -150px; /* Start below the fold */
}

/* Specific styles for each circle (size, position, delay, duration) */
.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}
.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}
.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

/* The animation keyframes */
@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        /* Adjust -1000px if section height varies greatly */
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* === Add these new styles for the gradient blob background === */

@keyframes rotate {
    0% {
      transform: translate(-50%, -50%) rotate(0deg); /* Combine translate and rotate */
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg); /* Combine translate and rotate */
    }
}
  
.gradient {
    /* --- Configuration --- */
    --size: 600px;   /* Adjusted size - Tweak this value! */
    --speed: 40s;    /* Adjusted speed */
    --easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);
  
    /* --- Base Styles --- */
    width: var(--size);
    height: var(--size);
    filter: blur(calc(var(--size) / 6)); /* Adjust blur intensity if needed */
    /* Gradient colors from example - change if desired */
    background-image: linear-gradient(hsl(222, 84%, 60%), hsl(164, 79%, 71%));
    animation: rotate var(--speed) var(--easing) alternate infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Blob shape */
  
    /* --- Positioning --- */
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); /* Center - now included in animation */
    z-index: 0; /* Sit behind the content */
  }