/* Base Variables & Reset */
:root {
    --bg-color: #0d1a33;
    --text-main: #f0f4f8;
    --text-accent: #ffffff;
    --btn-fill: #606A42;
    --btn-border: #EBE05E;
    --font-cursive: 'Caveat', cursive;
    --font-heading: 'Comfortaa', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing: 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%; /* For Safari iOS 100% fixed or 100vh */
    height: 100dvh; /* Modern mobile height */
    background-image: url("raw/Background .webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -5;
    pointer-events: none;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing) 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: normal;
}

.logo-img {
    max-width: 100%;
    height: auto;
    width: 1000px;
    display: block;
    margin: 40px auto 0 auto;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-composite: source-in;

    mask-image:
        linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-composite: intersect;
}





.section-title {
    font-family: var(--font-cursive);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: var(--text-accent);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.accent-text {
    font-style: italic;
    opacity: 0.9;
}

/* Hero Section */
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.hero-text {
    flex: 1 1 300px;
}

.hero-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(235, 224, 94, 0.15) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

.hero-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.highlight-quote {
    font-family: var(--font-cursive);
    font-size: 2.2rem;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.hero-cta-block {
    margin-top: 40px;
    padding-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    text-decoration: none;
    color: var(--text-accent);
    background-color: var(--btn-fill);
    border: 3px solid var(--btn-border);
    border-radius: 50px;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(235, 224, 94, 0.5);
}

.primary-btn {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.secondary-btn {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    padding: 5px 40px;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 224, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(235, 224, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(235, 224, 94, 0);
    }
}

/* Path Items & Image Grids */
.path-items {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.path-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.path-item p {
    margin-bottom: 15px;
}

.path-item ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.path-item ul li::before {
    content: "- ";
}

.image-gallery {
    display: grid;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.03);
    z-index: 2;
}

.two-cols-small {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 500px;
    /* Constrains the max size making them smaller */
}

.two-cols-large {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.three-cols {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.four-cols {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.mt-3 {
    margin-top: 30px;
}

/* Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.audience-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    padding: 35px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.audience-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.audience-card h3 span {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.8;
}

.col-span-2 {
    grid-column: span 2;
}

/* Pricing Section */
.pricing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.price-step {
    padding: 30px 25px;
    border-left: 4px solid var(--btn-border);
    background: linear-gradient(90deg, rgba(235, 224, 94, 0.05) 0%, transparent 100%);
    border-radius: 0 12px 12px 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.price-step:hover {
    background: linear-gradient(90deg, rgba(235, 224, 94, 0.12) 0%, transparent 100%);
    transform: translateX(8px);
}

.price-step h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.price-step h3 span {
    opacity: 0.8;
    font-weight: normal;
}

.price-tag {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--btn-border);
    margin-bottom: 15px;
}

.tech-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px !important;
    border-radius: 12px;
}

.tech-details h3 {
    margin-bottom: 15px;
    font-family: var(--font-cursive);
    font-size: 2rem;
}

.tech-details ul {
    list-style-type: none;
}

.tech-details li {
    margin-bottom: 10px;
}

/* Footer CTA */
.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
    margin-top: 60px;
}

.cta-text {
    max-width: 800px;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.final-quote {
    font-family: var(--font-cursive);
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-logo {
    margin-top: 10px;
    width: 350px;
    animation: none;
}

.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        width: 100%;
        max-width: 400px;
    }


    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text.left-text,
    .hero-text.right-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .col-span-2 {
        grid-column: span 1;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .three-cols {
        grid-template-columns: 1fr;
    }
}