/* --- CSS Variables & Design System --- */
:root {
    /* Color Palette */
    --clr-primary: #1e1e1e;
    /* Deep Charcoal */
    --clr-primary-light: #2c2c2c;
    --clr-accent: #c49a6c;
    /* Warm Earthy Gold / Tan */
    --clr-accent-hover: #a88157;
    --clr-bg: #faf9f6;
    /* Off-white / Pearl */
    --clr-bg-light: #ffffff;
    --clr-text: #4a4a4a;
    --clr-text-light: #7a7a7a;

    /* Typography */
    --ff-heading: 'Plus Jakarta Sans', sans-serif;
    --ff-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-pad: 100px 0;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--ff-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-heading);
    color: var(--clr-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-pad);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--clr-text-light);
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

/* --- Buttons --- */
/* --- Buttons --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--ff-body);
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(196, 154, 108, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 154, 108, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--clr-primary) !important;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--clr-accent) !important;
    border: 1.5px solid var(--clr-accent);
    padding: 10px 28px;
    border-radius: 50px;
    white-space: nowrap;
    display: inline-block;
}

.btn-primary-outline:hover {
    background-color: var(--clr-accent);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(196, 154, 108, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* --- Header & Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container,
.custom-logo-link {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img,
.custom-logo {
    height: 100%;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    border-radius: 4px;
}

.header:not(.scrolled) .nav-link:not(.btn-primary-outline) {
    color: #fff;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:not(.btn-primary-outline):hover {
    color: var(--clr-accent) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition-fast);
}

.header:not(.scrolled) .mobile-menu-toggle span {
    background-color: #fff;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: zoomOut 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    color: #fff;
    max-width: 800px;
    margin-right: auto;
}

.hero-content h1 {
    color: #fff;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* --- About Section --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-light);
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    border-left: 2px solid var(--clr-accent);
    padding-left: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--clr-accent);
    margin-bottom: 0.2rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    box-shadow: -20px 20px 0px rgba(196, 154, 108, 0.2);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--clr-primary);
    color: #fff;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    font-family: var(--ff-heading);
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Services Section --- */
.services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.services-carousel-track-container {
    overflow: hidden;
    flex-grow: 1;
    min-width: 0;
    padding: 20px 0;
    margin: -20px 0;
}

.services-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.service-card {
    background-color: var(--clr-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
    flex: 0 0 calc(33.333% - 1.334rem);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-img {
    height: 240px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-content p {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--clr-accent);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: auto;
}

.service-link:hover {
    color: var(--clr-primary);
}

/* --- Portfolio Section --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 24px;
    font-family: var(--ff-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-fast);
    color: var(--clr-text-light);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

.portfolio-carousel-wrapper {
    position: relative;
    display: block;
    margin-bottom: 3rem;
}

.portfolio-carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-radius: 8px;
    cursor: pointer;
}

.portfolio-item.hide {
    display: none !important;
}

.portfolio-item.show {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.carousel-nav-btn {
    background-color: var(--clr-bg-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--clr-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    transform: scale(1.05);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info span {
    color: var(--clr-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.portfolio-info h3 {
    color: #fff;
    font-size: 1.5rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    gap: 4rem;
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
}

.contact-details {
    margin-top: 2.5rem;
}

.contact-details li {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: rgba(196, 154, 108, 0.1);
    color: var(--clr-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-svg-icon {
    width: 20px;
    height: 20px;
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
}

.contact-details strong {
    color: var(--clr-primary);
    font-size: 1rem;
    font-weight: 600;
}

.contact-details span {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    margin-top: 2px;
}

.contact-wa-card {
    background-color: var(--clr-bg-light);
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(196, 154, 108, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-wa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-accent) 0%, var(--clr-accent-hover) 100%);
}

.wa-card-badge {
    background-color: rgba(196, 154, 108, 0.1);
    color: var(--clr-accent);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-wa-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
    font-family: var(--ff-heading);
}

.contact-wa-card p {
    color: var(--clr-text-light);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.btn-wa-chat {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #25D366;
    color: white !important;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-wa-chat:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.wa-icon-inline {
    width: 22px;
    height: 22px;
}

.wa-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--clr-text-light);
    width: 100%;
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--clr-primary);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--ff-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--clr-accent);
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li,
.footer-social li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes zoomOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Partners Section --- */
.partners {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-title {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    font-weight: 600;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.partner-logo {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    transition: var(--transition-fast);
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-logo:hover {
    color: var(--clr-primary);
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Pricing Section --- */
.pricing-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-carousel-track-container {
    overflow: hidden;
    flex-grow: 1;
    min-width: 0;
    padding: 40px 0;
    margin: -40px 0;
}

.pricing-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.pricing-card {
    background-color: var(--clr-bg-light);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    transition: var(--transition-slow);
    position: relative;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 1.334rem);
    flex-shrink: 0;
}

.pricing-card.featured {
    background-color: #fff;
    border-color: var(--clr-accent);
    box-shadow: 0 25px 60px rgba(196, 154, 108, 0.12);
    transform: translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--clr-accent);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(196, 154, 108, 0.3);
}

.pricing-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
    border-color: rgba(196, 154, 108, 0.25);
}

.pricing-card.featured:hover {
    transform: translateY(-22px);
    box-shadow: 0 30px 65px rgba(196, 154, 108, 0.2);
    border-color: var(--clr-accent);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(196, 154, 108, 0.25);
}

.pricing-header h3 {
    font-size: 1.3rem;
    color: var(--clr-primary);
    margin-bottom: 0.8rem;
    font-family: var(--ff-body);
    font-weight: 600;
}

.price {
    font-size: 2.2rem;
    font-family: var(--ff-heading);
    color: var(--clr-accent);
    font-weight: 700;
}

.pricing-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    color: var(--clr-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-features li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: rgba(196, 154, 108, 0.12);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49a6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    background-color: var(--clr-bg-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--ff-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--clr-accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-accent);
    transition: var(--transition-fast);
}

.faq-item.active .faq-question::after {
    content: '\2212';
    /* Minus sign */
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 500px;
}

/* --- Floating WhatsApp --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.floating-wa svg {
    width: 35px;
    height: 35px;
}

.floating-wa:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Responsive Design --- */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-container,
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-item,
    .service-card,
    .pricing-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media screen and (max-width: 1024px) {
    .nav-list {
        gap: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: #fff;
        padding: 120px 2rem 40px 2rem;
        box-shadow: -10px 0 45px rgba(0, 0, 0, 0.07);
        transition: var(--transition-fast);
        border-radius: 32px 0 0 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1.25rem;
    }

    .nav-list li {
        width: auto;
        text-align: center;
    }

    .nav-link:not(.btn-primary-outline) {
        color: var(--clr-primary) !important;
        font-size: 1.25rem;
        font-weight: 500;
        display: inline-block;
        padding: 8px 0;
        position: relative;
    }

    .nav-link:not(.btn-primary-outline)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--clr-accent);
        transition: var(--transition-fast);
        transform: translateX(-50%);
    }

    .nav-link:not(.btn-primary-outline):hover::after {
        width: 24px;
    }

    .nav-link.btn-primary-outline {
        display: inline-block;
        margin-top: 1.5rem;
        font-size: 1rem;
        padding: 10px 36px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header:not(.scrolled) .mobile-menu-toggle.active span {
        background-color: var(--clr-primary);
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-text {
        text-align: center;
    }

    .section-title {
        text-align: center;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat-item {
        text-align: center;
        padding-left: 0;
        border-left: none;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details li {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .contact-icon-wrapper {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        font-size: 0.85rem;
        bottom: -10px;
        right: -10px;
        line-height: 1.2;
    }

    .portfolio-item,
    .service-card,
    .pricing-card {
        flex: 0 0 100%;
    }

    .portfolio-carousel-wrapper,
    .services-carousel-wrapper,
    .pricing-carousel-wrapper {
        gap: 0.5rem;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer {
        padding-top: 2rem;
    }

    .logo-container,
    .custom-logo-link {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* --- Lightbox Modal --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    transition: var(--transition-fast);
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--clr-accent);
    transform: rotate(90deg);
}

.lightbox-caption {
    margin: 15px auto;
    text-align: center;
    color: #ccc;
    font-family: var(--ff-body);
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes zoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Lightbox --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--clr-accent);
}