/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(192, 132, 252, 0.1);
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: center; /* Center navigation menu since site branding is removed */
    align-items: center;
    padding: 1.5rem var(--container-padding);
    position: relative; /* For mobile menu toggle positioning */
}

/* Site branding removed - header shows only navigation menu */

/* Desktop Navigation */
.desktop-navigation {
    display: none;
}

/* Slide-in animation for desktop navigation - Enhanced visibility */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem; /* Increased spacing between items */
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    position: relative;
    animation: slideInFromTop 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Stagger animation for each menu item - Increased delays for better visibility */
.primary-menu li:nth-child(1) { animation-delay: 0.2s; }
.primary-menu li:nth-child(2) { animation-delay: 0.35s; }
.primary-menu li:nth-child(3) { animation-delay: 0.5s; }
.primary-menu li:nth-child(4) { animation-delay: 0.65s; }
.primary-menu li:nth-child(5) { animation-delay: 0.8s; }
.primary-menu li:nth-child(6) { animation-delay: 0.95s; }

.primary-menu a {
    color: var(--color-white);
    font-family: 'Poppins', sans-serif; /* Matching cloud7agency.com */
    font-weight: 600; /* Matching cloud7agency.com */
    font-size: 1rem; /* 16px for desktop */
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
}

/* Sliding background effect on hover */
.primary-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.primary-menu a:hover::before {
    left: 100%;
}

/* Underline animation */
.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-purple);
    transition: width 0.3s ease;
}

.primary-menu a:hover {
    color: var(--color-purple);
    transform: translateY(-2px); /* Subtle lift effect */
}

.primary-menu a:hover::after {
    width: 100%;
}

.primary-menu .current-menu-item a {
    color: var(--color-purple);
}

.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* ==========================================================================
   Mobile Sliding Menu (Pure CSS)
   ========================================================================== */

/* Hide the checkbox input */
.mobile-menu-checkbox {
    display: none;
}

/* Mobile Menu Toggle Label - Hamburger Icon */
label.mobile-menu-toggle {
    z-index: 10000;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: block;
    height: 50px;
    width: 50px;
    cursor: pointer;
}

label.mobile-menu-toggle:hover {
    cursor: pointer;
}

/* Hamburger Icon Lines */
label.mobile-menu-toggle > i {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    background-color: var(--color-white);
    pointer-events: auto;
    transition-duration: 0.35s;
    transition-delay: 0.35s;
}

label.mobile-menu-toggle > i:before,
label.mobile-menu-toggle > i:after {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    left: 50%;
    background-color: var(--color-white);
    content: "";
    transition: transform 0.35s;
    transform-origin: 50% 50%;
}

label.mobile-menu-toggle > i:before {
    transform: translate(-50%, -14px);
}

label.mobile-menu-toggle > i:after {
    transform: translate(-50%, 14px);
}

/* Menu Text (Open/Close) */
label.mobile-menu-toggle .menu-label .label-close,
label.mobile-menu-toggle .menu-label .label-open {
    text-transform: uppercase;
    font-size: 0.8em;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    align-text: center;
    position: absolute;
    transform: translateY(50px);
    text-align: center;
    overflow: hidden;
    transition: width 0.25s 0.35s, color 0.45s 0.35s;
}

label.mobile-menu-toggle .menu-label .label-close {
    color: rgba(0, 0, 0, 0);
    right: 0;
    width: 0;
}

label.mobile-menu-toggle .menu-label .label-open {
    color: var(--color-white);
    width: 100%;
}

/* Overlay that appears when menu is open (click to close) */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 300ms ease;
    z-index: 9500;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Mobile Sliding Navigation */
.mobile-navigation {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    transform: translateX(100%);
    box-sizing: border-box;
    pointer-events: none;
    padding-top: 125px;
    transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.8s 0.1s ease;
    border-bottom-left-radius: 100vw;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .mobile-navigation {
        width: 40vw;
    }
}

.mobile-navigation .mobile-menu {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
    overflow-x: hidden;
    pointer-events: auto;
    list-style: none;
}

.mobile-navigation .mobile-menu li {
    list-style: none;
    text-transform: uppercase;
    pointer-events: auto;
    white-space: nowrap;
    box-sizing: border-box;
    transform: translateX(100%);
    opacity: 0;
}

.mobile-navigation .mobile-menu li:last-child {
    margin-bottom: 2em;
}

.mobile-navigation .mobile-menu a {
    text-decoration: none;
    color: var(--color-white);
    text-align: center;
    display: block;
    padding: 1rem;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all var(--transition-base);
}

@media (min-width: 768px) {
    .mobile-navigation .mobile-menu a {
        text-align: right;
        padding: 0.5rem 2rem;
    }
}

.mobile-navigation .mobile-menu a:hover {
    cursor: pointer;
    background-color: rgba(192, 132, 252, 0.2);
    color: var(--color-purple);
}

/* Staggered animation for menu items */
.mobile-navigation .mobile-menu li:nth-child(1) {
    transition: transform 1s 0.08s cubic-bezier(0.29, 1.4, 0.44, 0.96),
                opacity 0.6s 0.08s ease;
}

.mobile-navigation .mobile-menu li:nth-child(2) {
    transition: transform 1s 0.16s cubic-bezier(0.29, 1.4, 0.44, 0.96),
                opacity 0.6s 0.16s ease;
}

.mobile-navigation .mobile-menu li:nth-child(3) {
    transition: transform 1s 0.24s cubic-bezier(0.29, 1.4, 0.44, 0.96),
                opacity 0.6s 0.24s ease;
}

.mobile-navigation .mobile-menu li:nth-child(4) {
    transition: transform 1s 0.32s cubic-bezier(0.29, 1.4, 0.44, 0.96),
                opacity 0.6s 0.32s ease;
}

.mobile-navigation .mobile-menu li:nth-child(5) {
    transition: transform 1s 0.40s cubic-bezier(0.29, 1.4, 0.44, 0.96),
                opacity 0.6s 0.40s ease;
}

/* When checkbox is checked - Menu Open State */
.mobile-menu-checkbox:checked ~ .mobile-navigation {
    transform: translateX(0);
    border-bottom-left-radius: 0;
    pointer-events: auto;
}

.mobile-menu-checkbox:checked ~ .mobile-navigation li {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu-checkbox:checked ~ .mobile-navigation a {
    padding-right: 15px;
}

/* When checkbox is checked - Hamburger Icon Animation */
.mobile-menu-checkbox:checked ~ label.mobile-menu-toggle > i {
    background-color: transparent;
    transform: rotate(90deg);
}

.mobile-menu-checkbox:checked ~ label.mobile-menu-toggle > i:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-checkbox:checked ~ label.mobile-menu-toggle > i:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* When checkbox is checked - Text Animation */
.mobile-menu-checkbox:checked ~ label.mobile-menu-toggle .menu-label .label-close {
    color: var(--color-white);
    width: 100%;
}

.mobile-menu-checkbox:checked ~ label.mobile-menu-toggle .menu-label .label-open {
    color: rgba(0, 0, 0, 0);
    width: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 60px; /* Reduced from 80px */
    padding-bottom: 60px; /* Added bottom padding for scroll indicator */
    background: linear-gradient(135deg, #000000 0%, #1a0033 100%);
    min-height: 100vh;
    max-height: 100vh; /* Ensure it doesn't exceed viewport */
}

.hero-container {
    text-align: center;
    max-width: 1000px;
    padding: 0 1rem;
}

.hero-content {
    margin-bottom: 2rem; /* Reduced from 4rem */
}

.hero-headline {
    font-size: 4rem; /* Reduced from 5rem (80px to 64px) for better fit */
    font-weight: 700;
    line-height: 1.15; /* Tighter line height */
    letter-spacing: 1.5px; /* Slightly reduced */
    margin-bottom: 1rem; /* Reduced from 1.5rem */
    color: var(--color-white);
    text-align: center;
}

.hero-headline .word {
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Animate all words with staggered delays */
.hero-headline .word:nth-child(1) { animation-delay: 0.1s; }
.hero-headline .word:nth-child(2) { animation-delay: 0.15s; }
.hero-headline .word:nth-child(3) { animation-delay: 0.2s; }
.hero-headline .word:nth-child(4) { animation-delay: 0.25s; }
.hero-headline .word:nth-child(5) { animation-delay: 0.3s; }
.hero-headline .word:nth-child(6) { animation-delay: 0.35s; }
.hero-headline .word:nth-child(7) { animation-delay: 0.4s; }
.hero-headline .word:nth-child(8) { animation-delay: 0.45s; }
.hero-headline .word:nth-child(9) { animation-delay: 0.5s; }
.hero-headline .word:nth-child(10) { animation-delay: 0.55s; }

.hero-description {
    font-size: 1rem; /* Slightly reduced from var(--font-size-lg) */
    color: var(--color-gray);
    max-width: 650px; /* Slightly narrower */
    margin: 0 auto 1.5rem; /* Reduced from 2.5rem */
    line-height: 1.6; /* Tighter line height */
}

.hero-cta {
    display: flex;
    gap: 1rem; /* Reduced from 1.5rem */
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 1.5rem; /* Reduced from 2rem */
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-purple);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-down svg {
    animation: bounce 2s infinite;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-title {
    text-align: center;
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Project Brief Section - Inspired by cloud7agency.com "Marketing Made Easy" */
.project-brief-section .section-title {
    font-size: 2.375rem; /* 38px from cloud7 */
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.project-brief-section .section-title::before {
    content: "What we do";
    display: block;
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 0.625rem; /* 10px */
}

.brief-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: transparent; /* Changed from subtle background to transparent */
    border-radius: 1rem;
    border: 2px solid #c084fc; /* Changed to prominent pink/purple border matching brief cards */
    transition: all var(--transition-base);
}

.brief-intro:hover {
    border-color: rgba(192, 132, 252, 1);
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.2);
}

.brief-intro .emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.brief-intro p {
    font-size: var(--font-size-lg);
    color: var(--color-white);
    margin: 0;
}

.brief-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns like cloud7 */
    gap: 2.5rem;
    margin-top: 3rem;
}

.brief-card {
    padding: 2rem; /* Added padding for border spacing */
    background: transparent;
    border: 2px solid #c084fc; /* Purple border */
    border-radius: 1rem; /* Rounded corners */
    transition: all var(--transition-base);
}

.brief-card:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 132, 252, 1); /* Brighter purple on hover */
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.2); /* Purple glow on hover */
}

.brief-card .emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.25rem; /* 20px like cloud7 h5 margin */
}

.brief-card h3 {
    font-size: 1.375rem; /* 22px like cloud7 h5 */
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.25rem; /* 20px */
}

.brief-card p {
    font-size: 0.9375rem; /* 15px */
    line-height: 2; /* 30px / 15px = 2 */
    color: rgb(136, 136, 136); /* Gray from cloud7 */
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.service-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    background: rgba(192, 132, 252, 0.05);
    border-color: var(--color-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.2);
}

.service-card .emoji {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    color: var(--color-purple);
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--color-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features .checkmark {
    color: var(--color-purple);
    margin-right: 0.5rem;
    font-weight: 700;
}

/* Case Study Link button inside service cards */
.case-study-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    color: var(--color-white);
    border: 1px solid var(--color-purple);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}
.case-study-link:hover {
    background: rgba(192, 132, 252, 0.2);
    color: var(--color-purple);
    transform: translateY(-2px);
}

/* Ensure service card buttons stick to the bottom and are centered */
.service-card .case-study-link {
    margin-top: auto;
    align-self: center;
}

/* Ensure pricing card buttons stick to bottom */
.pricing-card .btn {
    margin-top: auto;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.pricing-card {


    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--color-purple);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(192, 132, 252, 0.3);
}

.pricing-card.featured {
    background: rgba(192, 132, 252, 0.05);

    border-color: var(--color-purple);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-purple);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-card h3 {

    color: var(--color-purple);
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    margin-bottom: 2rem;
}

.pricing-card .amount {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.pricing-card .vat {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-gray);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--color-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Pyramid layout: center the 3rd pricing card on its own row on tablet/desktop */
@media (min-width: 769px) {
  .pricing-grid .pricing-card:nth-child(3) {
    grid-column: 1 / -1;           /* place on its own row */
    justify-self: center;          /* center horizontally */
    width: 100%;
    max-width: calc((900px - 2rem) / 2); /* match one column width of the 900px grid minus gap */
  }
}


/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all var(--transition-base);
}

.team-member:hover {
    background: rgba(192, 132, 252, 0.05);
    border-color: var(--color-purple);
    transform: translateY(-5px);
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-purple);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--color-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--color-gray);
    text-align: left;
}

/* Team Member Website Link */
.member-website {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid var(--color-purple);
    border-radius: 0.5rem;
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.member-website svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-purple);
    transition: all var(--transition-base);
}

.member-website:hover {
    background: var(--color-purple);
    color: var(--color-white);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(192, 132, 252, 0.3);
}

.member-website:hover svg {
    stroke: var(--color-white);
    transform: translateX(3px) translateY(-3px);
}

/* Contact Section */
.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 3rem;
    background: rgba(192, 132, 252, 0.05);
    border: 2px solid var(--color-purple);
    border-radius: 1rem;
    color: var(--color-white);
    font-weight: 600;
    transition: all var(--transition-base);
    min-width: 200px;
}

.contact-method:hover {
    background: var(--color-purple);
    color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.4);
}

/* SVG Icon Styles for Contact Methods */
.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-purple);
    transition: all var(--transition-base);
}

.contact-method:hover .contact-icon svg {
    stroke: var(--color-white);
    transform: scale(1.1);
}

/* Legacy emoji support (if any remain) */
.contact-method .emoji {
    font-size: 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(192, 132, 252, 0.2);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-branding .custom-logo {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-gray);
    font-size: var(--font-size-sm);
}

.footer-navigation-wrapper .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-navigation-wrapper .footer-menu a {
    color: var(--color-gray);
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.footer-navigation-wrapper .footer-menu a:hover {
    color: var(--color-purple);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--color-gray);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    color: var(--color-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray);
}

.footer-bottom .copyright {
    text-align: center;
}

.footer-bottom .credits {
    text-align: center;
}

.footer-bottom a {
    color: var(--color-purple);
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--color-purple-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-purple);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-purple-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(192, 132, 252, 0.4);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (min-width: 1025px) {
    .desktop-navigation {
        display: block;
    }

    /* Keep hamburger and drawer visible on desktop as requested */
    /* No hiding rules here */

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

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-headline {
        font-size: 2.5rem; /* Optimized for tablet viewport */
        letter-spacing: 1px;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .hero-content {
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-scroll-indicator {
        bottom: 1rem;
    }

    .brief-grid {
        grid-template-columns: 1fr; /* Single column on tablet */
    }

    .services-grid,
    .pricing-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-headline {
        font-size: 1.75rem; /* Optimized for mobile viewport */
        letter-spacing: 0.5px;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .hero-content {
        margin-bottom: 1rem;
    }

    .hero-cta {
        gap: 0.5rem;
    }

    .hero-scroll-indicator {
        bottom: 0.75rem;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .project-brief-section .section-title {
        font-size: 1.75rem; /* Smaller on mobile */
    }

    .brief-card h3 {
        font-size: 1.125rem; /* Smaller card headings on mobile */
    }
}

