@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Syne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Adjust this value based on header height */
}

:root {
    --primary-color: #000000;
    --accent-color: #FF8A3D;
    /* Vibrant Orange */
    --text-color: #000000;
    --text-muted: #333333;
    --bg-color: #FF8A3D;
    /* The main background is orange in the design */
    --white: #FFFFFF;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Premium Mesh Gradient Background */
    /* background: radial-gradient(at 0% 0%, rgba(255, 138, 61, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 113, 25, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 138, 61, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 248, 237, 1) 0px, transparent 50%),
        #FFF8ED; */
    background: radial-gradient(at 0% 0%, rgba(216, 223, 148, 0.7) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
        #ffffff;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.2;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(19px);
    -webkit-backdrop-filter: blur(19px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0;
}

nav .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
}

nav {
    width: 100%;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Base Button Style & Animation */
.btn {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 400;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Common Hover Expansion effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    transform: translateY(-50%) scale(1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-pricing::before {
    content: none !important;
}

.btn:hover::before {
    transform: translateY(-50%) scale(15);
}

.btn:hover {
    color: black !important;
}

/* Button Variants */
.btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    padding: 4px 4px 4px 18px;
}

.btn-hero {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 4px 4px 4px 18px;
}

.btn-pricing {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    padding: 4px 4px 4px 18px;
    transition: all 0.3s ease;
}



.btn-cta {
    background-color: rgb(255, 255, 255);
    color: black;
    font-size: 0.8rem;
    padding: 6px 6px 6px 22px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta::before {
    background: black;
}

.btn-cta:hover {
    color: white !important;
}

.btn svg {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    color: black;
    width: 36px;
    height: 36px;
    padding: 0.7rem;
    border-radius: 50%;
    margin-left: 12px;
    z-index: 2;
}

.btn:hover svg {
    background-color: black;
    color: white;
    transform: rotate(-45deg);
}

/* Variant specific icon colors */
.btn-cta svg {
    background-color: black;
    color: white;
}

.btn-cta:hover svg {
    background-color: white;
    color: black;
}




/* Hero Section */
.hero {
    padding: 10rem 0 0;
}

.subheadline {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.headline {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.description {
    font-size: clamp(0.9rem, 1vw, 1rem);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.hero-cta {
    margin-bottom: 5rem;
    font-size: 0.9rem;
}

.hero-image-container {
    position: relative;
    max-width: 1000px;
}

.hero-image {
    width: 100%;
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: black;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }


    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.7) 0%, transparent 50%),
            radial-gradient(at 100% 0%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
            radial-gradient(at 100% 100%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
            radial-gradient(at 0% 100%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
            #ffffff;
        backdrop-filter: blur(5px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }



    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        font-weight: 400;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}


/* Shared Section Styles */
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

section {
    padding: 120px 0;
}

.subheadline {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.5rem, 2vw, 3rem);
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.text-center {
    text-align: center;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    padding-bottom: 3rem;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}


.brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.4;
}

.brands-grid span {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* About Section */
.about-section {
    padding-top: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text p {
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
}

.stat-item h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.5;
}

/* Services Section */
.services-section {
    text-align: center;
    padding-top: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    background: #FFF8ED;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.6;
}

/* Projects Section */
.projects-section .flex-between {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem 0 1rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    cursor: pointer;
    flex-direction: column;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    transition: transform 0.3s ease;
    padding: 1.8rem 1.4rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    background: radial-gradient(at 0% 0%, rgba(216, 223, 148, 0.2) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        #ffffff;
    backdrop-filter: blur(5px);
}

.project-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 1rem 0 0;
    /* text-align: center; */
}

/* Fix Project Contrast for Light Gray Background */
.project-card:nth-child(2) .project-image {
    color: black !important;
}

.project-card:hover .project-image {
    transform: scale(0.98);
}

.project-info h4 {
    font-size: 1.25rem;
    font-family: 'Syne', sans-serif;
    margin-bottom: 0.25rem;
}

.project-info p {
    opacity: 0.5;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pill {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-arrow {
    text-decoration: none;
    color: black;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    /* background: linear-gradient(180deg, #d3eea9 0%, #e0dada 50%, #e0e1db 100%); */
    background: radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.7) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        #ffffff;
    padding: 5rem 3rem;
    /* Increased padding to fix "floating" edge issue */
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);

}

.pricing-card.featured {
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 35%, #0a0a0a 65%, #000000 100%);
    color: white;
    transform: scale(1.05);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--accent-color);
    color: black;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    font-family: 'Syne', sans-serif;
}

.price span {
    font-size: 0.9rem;
    opacity: 0.4;
    font-weight: 400;
}

.price.contact {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-card ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    opacity: 0.8;
}

/* Pricing card specific button adjustments removed in favor of nth-child logic */

/* CTA Banner Space */
.cta-banner {
    margin-top: 50px;
    /* Space between pricing and CTA */
    padding-bottom: 90px;
}

.cta-inner {
    /* High-End Multi-Stop Gradient */
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 35%, #0a0a0a 65%, #000000 100%);
    position: relative;
    overflow: hidden;
    color: rgb(255, 255, 255);
    padding: 8rem 2.5rem;
    border-radius: 80px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(255, 138, 61, 0.3);
}

/* Subtle Glow Ornament for CTA */
.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.cta-inner h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-inner p {
    opacity: 0.6;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 1vw, 1rem);
}

/* Footer */
footer {
    padding: 40px 4px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

footer .container {
    margin-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    opacity: 0.5;
    max-width: 300px;
    font-size: 0.85rem;
}

.footer-links h4 {
    font-family: 'Syne', sans-serif;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    opacity: 0.5;
    transition: 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    opacity: 0.4;
    font-size: 0.76rem;
    text-align: center;
}

.socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(51, 51, 51, 0);
    border-radius: 50%;
    color: #000000;
    transition: 0.2s;
    /* background: #ffffff; */
}

.socials a:hover {
    filter: invert(1);
}

/* Responsive Design */
/* Extra Large Devices (Large Desktops) */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Devices (Desktops/Laptops) */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* .pricing-card.featured {
        transform: none;
    } */

    .footer-grid {
        /* grid-template-columns: repeat(4, 1fr); */
        gap: 2rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 768px) {

    .hero {
        padding: 5rem 0 0;
        margin-top: 3rem;
    }

    section {
        padding: 80px 0;
    }

    .headline {
        font-size: 3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        padding: 6rem 2rem;
    }

    .cta-inner h2 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        text-align: center;
        padding-top: 1rem;
    }

    .container,
    .about-section,
    .services-section {
        padding-bottom: 1rem;
    }

    .subheadline,
    .section-title {
        margin-bottom: 1rem;
    }

    .about-text p {
        margin-bottom: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .services-grid,
    .projects-grid,
    .pricing-grid {
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .btn {

        font-size: 0.8rem;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        gap: 1.5rem;
    }

    .brands-grid span {
        font-size: 1rem;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.5rem;
    }
}