/* COMPLETE REDESIGN - ROEL-INSPIRED BOLD AESTHETIC */

:root {
    /* RICH BLACK BASE */
    --color-bg: #111111;
    --color-bg-alt: #0a0a0a;

    /* BRAND COLORS (PRESERVED) */
    --color-primary: #4f46e5;
    /* Indigo 600 */
    --color-primary-dark: #4338ca;
    --color-secondary: #8b5cf6;
    /* Violet 500 */
    --color-accent: #f43f5e;
    --color-coral: #ff7f50;
    /* Coral Orange */

    /* SURFACES */
    --color-surface: #1a1a1a;
    --color-surface-hover: #222222;

    /* TEXT */
    --color-text-main: #ffffff;
    --color-text-muted: #a3a3a3;
    --color-text-light: #666666;

    /* TYPOGRAPHY - BOLD MASSIVE STYLE */
    --font-heading: 'Oswald', 'Impact', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* LAYOUT */
    --container-width: 1400px;
    --section-padding: 10rem 0;
    --border-radius-card: 16px;
    --border-radius-btn: 100px;

    /* EFFECTS */
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;

    /* GLOBAL TEXTURED BACKGROUND - Acts as the "wall" behind all content */
    background-image:
        url('assets/images/concrete-texture.jpg'),
        linear-gradient(135deg,
            #1a1a2e 0%,
            #16213e 25%,
            #1e1b4b 50%,
            #312e81 75%,
            #0a0a14 100%);

    background-size:
        cover,
        400% 400%;

    background-position:
        center,
        0% 50%;

    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed;

    /* Blend the texture with the gradient */
    background-blend-mode: multiply;

    /* Subtle animation */
    animation: gradientShift 20s ease infinite;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* PARALLAX BACKGROUND CONTAINER */
#parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    will-change: transform;

    /* ISOLATION: Override global background to prevent blend mode inheritance */
    background: transparent;
    background-blend-mode: normal;
}

/* Dark overlay to reduce glare from bright spots */
#parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.parallax-column {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    will-change: transform;

    /* ISOLATION: Ensure no background blending */
    background: transparent;
    background-blend-mode: normal;
}

.parallax-image-wrapper {
    flex-shrink: 0;

    /* ISOLATION: Prevent any background effects */
    background: transparent;
    background-blend-mode: normal;
}

.parallax-column-image {
    user-select: none;
    -webkit-user-drag: none;

    /* ISOLATION: Ensure images display with original colors */
    opacity: 0.4;
    background-blend-mode: normal;
    isolation: isolate;
    /* Creates new stacking context */
    position: relative;
    z-index: 1;
}



@keyframes gradientShift {

    0%,
    100% {
        background-position: center, 0% 50%;
    }

    50% {
        background-position: center, 100% 50%;
    }
}


/* NAVIGATION - TRANSPARENT STICKY WITH BLUR */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.nav-links a:hover {
    color: white;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 2001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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


/* HERO - MASSIVE BOLD TYPOGRAPHY */
.hero {
    position: relative;
    padding: 20vh 0 15vh;
    text-align: center;
    overflow: visible;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

/* HERO LOGO - PREMIUM 3D GLOSS EFFECT WITH GLOW */
.hero-logo-container {
    position: relative;
    display: inline-block;
    margin: 0 auto 4rem;
    width: fit-content;
    overflow: visible;
    /* Changed from hidden to prevent clipping */
    padding: 20px;
    /* Added padding to give room for scale expansion */
    border-radius: 12px;
}

/* Constant Soft Sparkle Animation with Double-Layer Black Shadow */
@keyframes softSparkle {

    0%,
    100% {
        filter: drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 60px black) brightness(1);
    }

    50% {
        filter: drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 80px black) brightness(1.08);
    }
}

.hero-logo {
    height: 250px;
    display: block;
    /* Double-layer shadow: tight definition + wide atmosphere */
    filter: drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 60px black);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 0;
    /* Constant sparkle animation with double-layer shadow */
    animation: softSparkle 3s ease-in-out infinite;
}

/* Interaction - Enhanced Hover with Double-Layer Shadow */
.hero-logo-container:hover .hero-logo {
    transform: scale(1.05);
    filter: drop-shadow(0px 0px 8px black) drop-shadow(0px 0px 100px black) brightness(1.1);
}

#hero-title {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 3rem;
    color: white;
    /* Double-layer text shadow: tight crisp + wide soft */
    text-shadow: 0 0 5px black,
        0 0 30px black;
}

#hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    /* Double-layer text shadow: tight crisp + wide soft */
    text-shadow: 0 0 5px black,
        0 0 30px black;
}

/* BUTTONS - BOLD STYLE */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-btn);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ABOUT SECTION */
.about {
    padding: var(--section-padding);
    background-color: transparent;
}

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

#about-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 3rem;
    color: white;
}

#about-text {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-tagline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-transform: uppercase;
    background: linear-gradient(to right, white, var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* MISSION SECTION */
.mission {
    padding: var(--section-padding);
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    text-align: center;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

#mission-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 3rem;
    color: white;
}


.mission-tagline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-secondary) 50%, white 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-text-block {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.mission-cta h3 {
    font-size: 1.2rem;
    color: white;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(0, 0, 0, 0.85),
        0 4px 30px rgba(0, 0, 0, 0.8);
}

/* HIGHLIGHTS GRID */
.highlights {
    padding: var(--section-padding);
    background-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.highlight-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-card);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-8px);
    background: rgba(34, 34, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.highlight-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.highlight-card p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* SERVICES SECTION */
.services {
    padding: var(--section-padding);
    background-color: transparent;
}

.services-subheadline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.services-disclaimer {
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(26, 26, 26, 0.3);
    border-radius: var(--border-radius-card);
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-card);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.service-card.selected {
    transform: translateY(-5px);
    background: rgba(34, 34, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card.selected {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px var(--color-secondary);
}

.service-card.dependency-error {
    border-color: var(--color-accent) !important;
    animation: shake 0.4s both;
}

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.service-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.service-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    font-style: italic;
}

/* PLAN SUMMARY SIDEBAR */
.plan-summary {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-card);
    position: sticky;
    top: 6rem;
}

.plan-summary h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.plan-summary #total-cost {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

/* PORTFOLIO SECTION */
.portfolio {
    padding: var(--section-padding);
    background-color: transparent;
}

/* PORTFOLIO FILTER TABS */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 1rem 2.5rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(34, 34, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.filter-btn.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* PORTFOLIO GRID - UNIFORM LAYOUT */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.5);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    filter: contrast(1.1) saturate(1.15);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--color-secondary);
    filter: contrast(1.1) saturate(1.2);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


/* LIGHTBOX MODAL */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--border-radius-card);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* CONTACT PAGE */
.contact-page {
    padding: var(--section-padding);
    text-align: center;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-link {
    color: white;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.contact-link:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

/* CLOSING CTA SECTION */
.closing-cta {
    padding: var(--section-padding);
    background-color: transparent;
}

.closing-cta .container {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#closing-text {
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(0, 0, 0, 0.85),
        0 4px 30px rgba(0, 0, 0, 0.8);
}

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

/* CONTENT CONTAINER UTILITY - For text readability on textured background */
.content-container {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* FOOTER */
.footer {
    background-color: rgba(10, 10, 10, 0.8);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ANIMATIONS */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .plan-summary {
        position: sticky;
        top: 20px;
        z-index: 1000;
        order: -1;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    /* MOBILE BACKGROUND - SIMPLE PORTFOLIO IMAGE ONLY (HOME PAGE ONLY) */
    body[data-page="home"] {
        background-image: url('assets/images/mobile-background.jpg');
        background-size: 100% auto;
        /* Fit to screen width */
        background-position: top center;
        background-repeat: repeat-y;
        background-attachment: scroll;
        background-color: transparent;
        /* Remove dark background */
        background-blend-mode: normal;
        /* Remove multiply blend that darkens the image */
    }

    /* Hide parallax completely on mobile to show clean textured background */
    #parallax-bg {
        display: none;
    }

    /* Section backgrounds restored for text readability */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0.5rem;
        /* Add spacing between menu items */
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 2000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        overflow-y: auto;
    }

    .nav-links.mobile-menu-open {
        right: 0;
    }

    .nav-links a {
        padding: 1.5rem 1rem;
        /* Increased to meet 48px minimum touch target */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
        min-height: 48px;
        /* Ensure minimum touch target height */
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* HERO SECTION MOBILE SCALING */
    .hero {
        padding: 15vh 0 10vh;
    }

    .hero-logo {
        height: 150px;
    }

    #hero-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    #hero-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    /* BUTTON MOBILE SIZING */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* TYPOGRAPHY MOBILE SCALING */
    .section-header h2,
    #about-title {
        font-size: 2.5rem;
    }

    .mission-tagline {
        font-size: 2rem;
    }

    .about-tagline {
        font-size: 2rem;
    }

    /* PORTFOLIO */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
    }

    /* SERVICES */
    .services-list {
        grid-template-columns: 1fr;
    }

    /* PLAN SUMMARY - FIXED BOTTOM BAR ON MOBILE */
    .plan-summary {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        top: auto;
        padding: 1rem 1.5rem;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1001;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }

    .plan-summary h3 {
        display: none;
        /* Hide the "Your Monthly Plan" heading on mobile */
    }

    .plan-summary .selected-items-list {
        display: none;
        /* Hide the list of selected items on mobile */
    }

    .plan-summary .summary-total {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        flex: 1;
    }

    .plan-summary .total-label {
        font-size: 0.75rem;
        opacity: 0.7;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .plan-summary #total-cost {
        font-size: 1.75rem;
        font-weight: 900;
    }

    .plan-summary .btn {
        flex-shrink: 0;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Add padding to services section to prevent content from being hidden behind fixed bottom bar */
    .services {
        padding-bottom: 120px !important;
    }

    /* HIGHLIGHTS */
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    /* ENSURE ALL CONTAINERS ARE MOBILE-FRIENDLY */
    .hero-content,
    .mission-content,
    .about-content,
    .services-container,
    .highlights-grid,
    .portfolio-grid,
    .closing-cta .container {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* FLEX CONTAINERS TO COLUMN */
    .navbar-container,
    .services-container,
    .mission-cta {
        flex-direction: column;
    }

    /* PREVENT OVERFLOW */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* IMAGES AND MEDIA */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    /* CONTAINER PADDING ADJUSTMENTS */
    .container {
        padding: 0 1.5rem;
    }

    /* CARD PADDING */
    .highlight-card,
    .service-card,
    .content-container {
        padding: 2rem 1.5rem;
    }
}

/* SMALL MOBILE (iPhone SE, etc.) */
@media (max-width: 375px) {
    #hero-title {
        font-size: 1.75rem;
    }

    .hero-logo {
        height: 120px;
    }

    .section-header h2,
    #about-title {
        font-size: 2rem;
    }
}