/* Reset & Global Styles */
:root {
    --primary-bg: #0f0f0f;
    --secondary-bg: #151515;
    --accent: #d4af37;
    --text: #f8f8f8;
    --light-text: rgba(255, 255, 255, 0.7);
    --dark-text: #111111;
    --muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
}

/* Studio Dark Theme (previously default) */
[data-theme="studio"] {
    --primary-bg: #0f0f0f;
    --secondary-bg: #151515;
    --accent: #d4af37;
    --text: #f8f8f8;
    --light-text: rgba(255, 255, 255, 0.7);
    --dark-text: #111111;
    --muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text);
    font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--light-text);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    cursor: pointer;
}

.btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent);
    z-index: -1;
    transition: height 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn:hover {
    color: var(--dark-text);
}

.btn:hover::after {
    height: 100%;
}

section {
    padding: 10vh 0;
    position: relative;
}

.accent-text {
    color: var(--accent);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Menu Close Button */
.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.menu.active .menu-close {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

.menu-close span {
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.menu-close:hover span {
    background-color: var(--accent);
    transform: scale(1.1);
}

.menu-close:hover span:nth-child(1) {
    transform: rotate(45deg) scale(1.1);
}

.menu-close:hover span:nth-child(2) {
    transform: rotate(-45deg) scale(1.1);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(15, 15, 15, 0.95);
    mix-blend-mode: normal;
    backdrop-filter: blur(10px);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 0.05em;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

a.logo,
.logo,
.navbar .logo {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
}

.logo-text {
    color: var(--text) !important; /* Force white text */
}

.logo-dot {
    color: var(--accent) !important; /* Force accent color for dot only */
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.menu-toggle {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu.active {
    transform: translateX(0);
}

.menu-items {
    list-style: none;
    text-align: center;
}

.menu-items li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(0.1s * var(--i));
}

.menu.active .menu-items li {
    opacity: 1;
    transform: translateY(0);
}

.menu-items a {
    font-size: 2.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.menu-items a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.menu-items a:hover {
    color: var(--accent);
}

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

/* Hero Section */
.hero {
    height: 111vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-bg);

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* Large text mode adjustments for hero */
.large-text-mode .hero-content {
    max-width: 1100px; /* Wider container for large text */
}

/* Better text scaling for hero elements */
.large-text-mode .hero h1 {
    font-size: clamp(3rem, 6vw, 6rem) !important;
    line-height: 1.2 !important; /* Tighter line height */
}

.large-text-mode .hero p {
    font-size: clamp(1.2rem, 1.8vw, 1.32rem) !important;
    max-width: 90%; /* Prevent text from getting too wide */
}


.large-text-mode .hero-tagline {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem) !important;
}

.large-text-mode .hero-badge {
    font-size: 0.96rem !important;
    padding: 0.6rem 1.8rem !important; /* Larger padding */
}

.large-text-mode .btn {
    font-size: 1.08rem !important;
    padding: 1.2rem 3rem !important;
}

/* Chrome-specific hero adjustments */
@supports (-webkit-appearance: none) {
    .large-text-mode .hero {
        min-height: 110vh; /* Slightly taller for Chrome */
    }
    
    .large-text-mode .hero-content {
        max-width: 1000px; /* Chrome-specific width */
    }
    
    .large-text-mode .hero h1 {
        line-height: 1.15 !important; /* Even tighter for Chrome */
    }
}

/* Mobile adjustments for large text */
@media (max-width: 768px) {
    .large-text-mode .hero-content {
        max-width: 95%;
        text-align: center;
    }
    
    .large-text-mode .hero {
        padding-top: 140px; /* More space for larger nav elements */
        padding-bottom: 120px;
    }
    
    .large-text-mode .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }
    
    .large-text-mode .hero p {
        font-size: clamp(1.1rem, 4vw, 1.3rem) !important;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-badge.btn {
    padding: 0.5rem 1.5rem; /* Retain hero-badge padding */
    font-size: 0.8rem; /* Retain hero-badge font size */
    letter-spacing: 0.2em; /* Retain hero-badge letter spacing */
    position: relative; /* Ensure ::after works */
    overflow: hidden; /* Ensure ::after is clipped */
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); /* Match .btn transition */
}

.hero-badge.btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent);
    z-index: -1;
    transition: height 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); /* Match .btn::after transition */
}

.hero-badge.btn:hover {
    color: var(--dark-text); /* Match .btn hover */
}

.hero-badge.btn:hover::after {
    height: 100%; /* Match .btn hover effect */
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin-top: 4rem;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background-color: var(--text);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--accent);
    animation: scrollIndicator 1.5s infinite;
}

@keyframes scrollIndicator {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(300%);
    }
}

/* About Section */
.about {
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.expertise-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-left: 1px solid var(--accent);
}

/* Services Section */
.services {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* Featured service spans all three columns */
.service-card.featured-service {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(21, 21, 21, 0.8) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Light Theme Override */
[data-theme="light"] .service-card.featured-service {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(245, 245, 245, 0.8) 100%);
    border: 2px solid rgba(184, 134, 11, 0.3); /* Use light theme accent */
}

.featured-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    z-index: -1;
}

.featured-service .service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.featured-service h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.featured-service h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

/* Regular service cards - each takes one column */
.service-card:not(.featured-service) {
    grid-column: span 1;
    background-color: var(--secondary-bg);
    padding: 3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent);
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--light-text);
}

.service-card li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Specialty Section */
.specialty {
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.specialty-card {
    grid-column: span 1;
    position: relative;
    padding: 3rem;
    background-color: var(--primary-bg);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.specialty-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.specialty-card .service-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.specialty-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.specialty-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent);
}

.specialty-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.specialty-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--light-text);
}

.specialty-card li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.specialty-note {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 1rem;
}

.referral-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1rem;
}

.strategic-approach {
    background-color: var(--primary-bg);
    padding: 4rem;
    margin-top: 4rem;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    grid-column: span 3;
}

.strategic-approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    z-index: -1;
}

.strategic-approach h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent);
    position: relative;
}

.strategic-approach h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .specialty-card {
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured-service,
    .service-card:not(.featured-service) {
        grid-column: span 1;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
    
    .strategic-approach {
        grid-column: span 1;
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .service-card,
    .specialty-card {
        padding: 2rem;
    }
    
    .strategic-approach {
        padding: 2rem;
    }
    
    .featured-service h3 {
        font-size: 1.6rem;
    }
    
    .strategic-approach h3 {
        font-size: 1.6rem;
    }
}

/* Testimonials */
.testimonials {
    position: relative;
    overflow: hidden;
}

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

.testimonial-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 3rem;
}

.contact-method {
    margin-bottom: 2.5rem;
}

.contact-method h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.contact-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-form {
    position: relative;
    padding: 3rem;
    background-color: var(--primary-bg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.1);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label,
.form-label.active {
    top: -10px;
    font-size: 0.8rem;
    color: var(--accent);
}

.form-control::placeholder {
    color: transparent;
}

.btn-submit {
    width: 100%;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-submit:hover {
    background-color: var(--accent);
    color: var(--dark-text);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.social-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.social-links a:hover::after {
    width: 100%;
}

/* Horizontal Line Design Element */
.horizontal-line {
    width: 100%;
    height: 1px;
    background-color: var(--border);
    margin: 2rem 0;
    position: relative;
}

.horizontal-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--accent);
}

/* Background Design Elements */
.bg-dot-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    background-color: rgba(212, 175, 55, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 600px;
    height: 600px;
    bottom: -300px;
    left: -300px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .specialty-card {
        padding: 3rem;
    }
}

@media (max-width: 992px) {
    .specialty-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured-service,
    .service-card:not(.featured-service) {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        grid-column: span 2;
    }
    
    .menu-items a {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 6vh 0;
    }
    
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .menu-items a {
        font-size: 1.8rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
    }

    .navbar {
        padding: 1.5rem 0; /* Slightly reduce navbar padding */
    }
    
    /* Fix the hero section on mobile */
    .hero {
        height: auto; /* Allow hero to be taller than 100vh if needed */
        min-height: 100vh; /* Ensure minimum full height */
        align-items: flex-start; /* Align content at the top instead of center */
        padding-top: 120px; /* Add significant padding to ensure no overlap with navbar */
        padding-bottom: 100px; /* Add padding at bottom to prevent scroll indicator overlap */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Space out content and scroll indicator */
    }
    
    .hero-badge {
        margin-top: 0; /* Reset previously added margin */
    }
    
    .scroll-indicator {
        position: relative; /* Change from absolute to relative */
        bottom: auto; /* Remove absolute positioning */
        margin-top: 6rem; /* Add margin above scroll indicator */
        left: 50%;
    }
    
    .hero-content .btn {
        margin-bottom: 0; /* Remove bottom margin from button */
    }
}


/* Additional CSS for Updated Delina Yasmeh Website */

/* Hero Section Updates */
.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

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

.philosophy-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    text-align: center;
    margin: 3rem 0;
    color: var(--text);
    font-weight: 300;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 4rem 0;
}

.philosophy-card {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.4s ease;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
}

.philosophy-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.philosophy-conclusion {
    text-align: center;
    margin-top: 4rem;
}

.problem-statement {
    background-color: var(--secondary-bg);
    padding: 3rem;
    margin-top: 3rem;
    border-left: 3px solid var(--accent);
    position: relative;
}

.problem-statement h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.problem-statement p {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
}

/* About Section Updates */
.firm-approach {
    background-color: var(--secondary-bg);
    padding: 3rem;
    margin-top: 3rem;
    border: 1px solid var(--border);
    position: relative;
}

.firm-approach h3 {
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
}

.firm-approach h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent);
}

/* Services Section Updates */
.services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.featured-service {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(21, 21, 21, 0.8) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.featured-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    z-index: -1;
}

.featured-service .service-icon {
    font-size: 2.5rem;
}

.featured-service h3 {
    font-size: 2rem;
    color: var(--accent);
}

.service-card:not(.featured-service) {
    grid-column: span 1;
}

/* Specialty Section Updates */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.specialty-card {
    grid-column: span 1;
    position: relative;
    padding: 3rem;
    background-color: var(--primary-bg);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.specialty-note {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 1rem;
}

.strategic-approach {
    background-color: var(--primary-bg);
    padding: 4rem;
    margin-top: 4rem;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.strategic-approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    z-index: -1;
}

.strategic-approach h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent);
    position: relative;
}

.strategic-approach h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

/* Footer Updates */
.legal-notice {
    background-color: var(--secondary-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    border-radius: 0;
}

.legal-notice h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-notice p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.legal-notice a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-notice a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Enhanced Responsive Styles */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-service {
        grid-column: span 1;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
    
    .firm-approach,
    .strategic-approach {
        padding: 2.5rem;
    }
    
    .problem-statement {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .philosophy-card,
    .firm-approach,
    .strategic-approach,
    .problem-statement {
        padding: 2rem;
    }
    
    .philosophy-quote {
        font-size: 1.2rem;
    }
    
    .legal-notice {
        padding: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .specialty-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .philosophy-card h3 {
        font-size: 1.5rem;
    }
    
    .featured-service h3 {
        font-size: 1.6rem;
    }
    
    .strategic-approach h3 {
        font-size: 1.6rem;
    }
}

/* ADD THIS TO YOUR EXISTING CSS FILE */

/* Light Theme Override */
[data-theme="light"] {
    --primary-bg: #fafafa;
    --secondary-bg: #ffffff;
    --accent: #b8860b;
    --text: #1a1a1a;
    --light-text: rgba(26, 26, 26, 0.7);
    --dark-text: #ffffff;
    --muted: rgba(26, 26, 26, 0.4);
    --border: rgba(26, 26, 26, 0.12);
}

/* Light theme specific adjustments */
[data-theme="light"] .hero::before {
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.9) 0%, rgba(250, 250, 250, 0.7) 100%);
}

[data-theme="light"] .bg-dot-pattern {
    opacity: 0.4;
}

[data-theme="light"] .floating-shape {
    background-color: rgba(184, 134, 11, 0.05);
}

[data-theme="light"] .navbar.scrolled {
    background-color: rgba(250, 250, 250, 0.95);
}

[data-theme="light"] .custom-cursor {
    mix-blend-mode: normal;
}

[data-theme="light"] .cursor-dot {
    mix-blend-mode: normal;
}

[data-theme="light"] .contact-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Logo Inversion for Light Theme Only */
[data-theme="light"] .logo {
    color: var(--text); /* This will now be dark text */
}

[data-theme="light"] .logo span {
    color: var(--accent); /* Keep accent color */
}
/* Navigation Right Side Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    mix-blend-mode: normal; /* Override navbar's mix-blend-mode */
}

/* Theme Switcher in Navbar - CONSISTENT ACROSS THEMES */
.navbar-theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    mix-blend-mode: normal; /* Override navbar's mix-blend-mode */
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.1); /* Slightly dark background */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Dark border for light theme */
}
.theme-toggle {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2); /* More visible background */
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4); /* More visible border */
    backdrop-filter: blur(10px); /* Add subtle blur effect */
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d4af37;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    mix-blend-mode: normal;
}

[data-theme="light"] .theme-toggle::before {
    transform: translateX(24px);
}

.theme-icon {
    font-size: 0.9rem;
    color: #f8f8f8;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    user-select: none;
    mix-blend-mode: normal;
}

/* Icon highlighting */
[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
    color: #f8f8f8;
    filter: drop-shadow(0 0 8px #060606);
}

[data-theme="light"] .theme-icon.sun {
    opacity: 1;
    color: #000000;
    filter: drop-shadow(0 0 8px #000000);
}
[data-theme="light"] .theme-icon.moon {
    opacity: 1;
    color: #000000;
    filter: drop-shadow(0 0 8px #000000);
}

/* Override the existing menu-toggle to work with nav-right */
.menu-toggle {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 101;
    mix-blend-mode: normal; /* Override navbar's mix-blend-mode */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-right {
        gap: 1rem;
    }
    
    .theme-toggle {
        width: 45px;
        height: 24px;
    }
    
    .theme-toggle::before {
        width: 18px;
        height: 18px;
    }
    
    [data-theme="light"] .theme-toggle::before {
        transform: translateX(21px);
    }
    
    .theme-icon {
        font-size: 0.8rem;
    }
}


.accessibility-toggle {
    display: flex;
    align-items: center;
}

.text-size-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.text-size-toggle:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

.text-size-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}

/* Active state */
.text-size-toggle.large-text .text-size-icon {
    font-size: 18px;
    color: var(--accent);
}

.text-size-toggle.large-text {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.15);
}

/* Light theme adjustments */
[data-theme="light"] .text-size-toggle {
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .text-size-toggle:hover {
    border-color: var(--accent);
    background: rgba(184, 134, 11, 0.1);
}

/* Text size classes */
.large-text-mode {
    font-size: 120% !important;
}

.large-text-mode h1 {
    font-size: clamp(3rem, 6vw, 6rem) !important;
}

.large-text-mode h2 {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem) !important;
}

.large-text-mode h3 {
    font-size: clamp(1.8rem, 3.6vw, 2.64rem) !important;
}

.large-text-mode p {
    font-size: clamp(1.2rem, 1.8vw, 1.32rem) !important;
}

.large-text-mode .btn {
    font-size: 1.08rem !important;
    padding: 1.2rem 3rem !important;
}

.large-text-mode .hero-badge {
    font-size: 0.96rem !important;
}

.large-text-mode .menu-items a {
    font-size: 3rem !important;
}

.large-text-mode .contact-link {
    font-size: 1.92rem !important;
}

.large-text-mode .footer-links a,
.large-text-mode .social-links a {
    font-size: 1.1rem !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .text-size-toggle {
        width: 35px;
        height: 35px;
    }
    
    .text-size-icon {
        font-size: 12px;
    }
    
    .text-size-toggle.large-text .text-size-icon {
        font-size: 16px;
    }
}


/* Hide honeypot field */
.hidden {
    display: none;
}

/* Form success/error states */
.form-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
}

.form-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
}

/* Loading state for submit button */
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Thank You Page Styles */
.thank-you-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    display: none;
}

.thank-you-wrapper h1 {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-wrapper > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--light-text);
}

.next-steps-box {
    background-color: var(--secondary-bg);
    padding: 2rem;
    margin: 3rem 0;
    border-left: 3px solid var(--accent);
    text-align: left;
}

.next-steps-box h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.steps-list p {
    margin-bottom: 1rem;
    color: var(--light-text);
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--dark-text);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.email-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--text);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Terms Page Styles */
.terms {
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
    padding: 10vh 0;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.terms-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.terms-meta {
    font-size: 1rem;
    margin-bottom: 3rem;
    color: var(--muted);
}

.terms-meta strong {
    color: var(--text);
}

.terms-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.terms-link:hover {
    color: var(--text);
    text-decoration: underline;
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.terms-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.terms-section h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.terms-section h4 {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.terms-section p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.terms-section ul {
    list-style: none;
    margin: 1rem 0;
}

.terms-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--light-text);
}

.terms-section li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.terms-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.terms-footer p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.terms-footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.terms-footer a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .terms {
        padding: 6vh 0;
    }
    
    .terms-content {
        max-width: 95%;
    }
    
    .terms-section h2 {
        font-size: 1.6rem;
    }
    
    .terms-section h3 {
        font-size: 1.3rem;
    }
    
    .terms-section h4 {
        font-size: 1.1rem;
    }
    
    .terms-intro {
        font-size: 1.1rem;
    }
    
    .terms-meta {
        font-size: 0.9rem;
    }
}

/* Light Theme Adjustments */
[data-theme="light"] .terms {
    background-color: var(--primary-bg);
}

[data-theme="light"] .terms-section h2 {
    color: var(--accent);
}

[data-theme="light"] .terms-section h3 {
    color: var(--text);
}

[data-theme="light"] .terms-section h4 {
    color: var(--light-text);
}

[data-theme="light"] .terms-section li::before {
    color: var(--accent);
}

[data-theme="light"] .terms-footer {
    border-top: 1px solid var(--border);
}

/* NEW SECTIONS CSS - Add this to your existing CSS file */

/* Who This Is For Section */
.who-this-is-for {
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
    padding: 8vh 0;
}

.who-this-is-for .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.target-list {
    list-style: none;
    margin: 2rem 0 3rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.target-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--light-text);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.target-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

/* Firm Overview Section */
.firm-overview {
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

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

.problem-statement {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
    text-align: center;
    margin: 3rem 0;
    color: var(--text);
    line-height: 1.4;
}

.solution {
    background-color: var(--secondary-bg);
    padding: 3rem;
    margin: 4rem 0;
    border-left: 3px solid var(--accent);
    position: relative;
}

.solution h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.conclusion {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    text-align: center;
    margin: 3rem 0;
    color: var(--text);
    font-weight: 400;
    font-style: italic;
}

/* Why Work With This Firm Section */
.why-work-with-firm {
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.why-work-with-firm .content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lead {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 400;
    margin: 3rem 0;
    color: var(--text);
    line-height: 1.4;
}

.credentials {
    background-color: var(--primary-bg);
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid var(--border);
    text-align: left;
}

.positioning {
    margin-top: 3rem;
}

.positioning p {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: var(--text);
}

/* Updated About Section */
.about .title {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2rem;
    text-align: center;
}

.career-section {
    margin: 3rem 0;
}

.career-section h3 {
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
}

.career-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.current-practice {
    background-color: var(--primary-bg);
    padding: 3rem;
    margin-top: 3rem;
    border: 1px solid var(--border);
    position: relative;
}

.current-practice h3 {
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
}

.current-practice h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent);
}

/* Services Grid Update for 5 Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* First service (Business Diagnostics) spans full width */
.service-card:nth-child(1) {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(21, 21, 21, 0.8) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* Other services span one column each */
.service-card:nth-child(2),
.service-card:nth-child(3) {
    grid-column: span 1;
}

/* Last two services span full width each */
.service-card:nth-child(4),
.service-card:nth-child(5) {
    grid-column: span 2;
}

/* Light Theme Adjustments for New Sections */
[data-theme="light"] .who-this-is-for {
    background-color: var(--secondary-bg);
}

[data-theme="light"] .firm-overview {
    background-color: var(--primary-bg);
}

[data-theme="light"] .why-work-with-firm {
    background-color: var(--secondary-bg);
}

[data-theme="light"] .solution {
    background-color: var(--primary-bg);
}

[data-theme="light"] .credentials {
    background-color: var(--secondary-bg);
}

[data-theme="light"] .current-practice {
    background-color: var(--secondary-bg);
}

[data-theme="light"] .service-card:nth-child(1) {
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(245, 245, 245, 0.8) 100%);
    border: 2px solid rgba(184, 134, 11, 0.3);
}

/* Responsive Design for New Sections */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 1;
    }
    
    .credentials,
    .solution,
    .current-practice {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .target-list {
        text-align: left;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .target-list li {
        padding-left: 1.5rem;
        text-align: left;
    }
    
    .problem-statement {
        font-size: 1.2rem;
    }
    
    .lead {
        font-size: 1.2rem;
    }
    
    .conclusion {
        font-size: 1.1rem;
    }
    
    .credentials,
    .solution,
    .current-practice {
        padding: 2rem;
    }
    
    .career-section h3,
    .current-practice h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .who-this-is-for,
    .firm-overview,
    .why-work-with-firm {
        padding: 6vh 0;
    }
    
    .target-list li {
        font-size: 1rem;
        padding-left: 1rem;
    }
    
    .problem-statement {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* About Section with Photo CSS */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-text {
    max-width: none;
}

.about-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.photo-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--secondary-bg);
}

.photo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: -1;
}

.delina-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
    filter: grayscale(20%);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-container:hover .delina-photo {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.photo-container:hover .photo-overlay {
    opacity: 1;
}

/* Career Section Grid */
.career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.career-item {
    background-color: var(--primary-bg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.4s ease;
}

.career-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.career-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.career-item:hover::before {
    opacity: 1;
}

.career-item h4 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
}

.career-item h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 1px;
    background-color: var(--accent);
}

.career-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Light Theme Adjustments */
[data-theme="light"] .photo-container {
    background-color: var(--primary-bg);
}

[data-theme="light"] .career-item {
    background-color: var(--secondary-bg);
}

[data-theme="light"] .photo-overlay {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, transparent 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-photo {
        order: -1;
        padding-top: 0;
    }
    
    .photo-container {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .career-item {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        gap: 2rem;
    }
    
    .photo-container {
        max-width: 200px;
    }
    
    .career-item {
        padding: 1.5rem;
    }
    
    .career-item h4 {
        font-size: 1.2rem;
    }
    
    .career-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .photo-container {
        max-width: 180px;
    }
    
    .about-grid {
        gap: 1.5rem;
    }
}

/* Footer link styling to match site design */
.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom a:hover::after {
    width: 100%;
}
/* Mobile Hero Section Spacing Fix */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px; /* Increase top padding on mobile */
        min-height: 100vh;
        align-items: flex-start;
    }
    
    .hero-content {
        padding-top: 2rem; /* Additional padding for content */
    }
    
    .hero-content .hero-badge.btn {
        margin-top: -1rem; /* Negative margin to raise the badge higher */
        margin-bottom: 1.5rem; /* Ensure proper spacing below */
    }
    
    .hero-content .btn:last-child {
        margin-top: 1rem; /* Add margin to push Learn More button down */
    }
    
    /* Adjust navbar padding on mobile */
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.75rem 0;
    }
}

/* Hero Contact Buttons */
.hero-contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem; /* Add significant bottom margin */
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent) !important;
    color: #ffffff !important;
    border: 1px solid var(--accent) !important;
}

.btn-primary:hover {
    background: var(--accent) !important;
    color: #ffffff !important;
    border: 1px solid var(--accent) !important;
    transform: translateY(-2px);
}

/* Primary button icons - always white */
.btn-primary .btn-icon {
    color: #ffffff !important;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--text);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--dark-text);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--dark-text);
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Primary button icons - always white text on gold background */
.btn-primary .btn-icon {
    color: #ffffff !important;
}

/* Secondary button icons */
.btn-secondary .btn-icon {
    color: inherit;
}

/* Outline button icons */
.btn-outline .btn-icon {
    color: inherit;
}

/* Light theme specific overrides */
[data-theme="light"] .btn-secondary .btn-icon {
    color: #1a1a1a !important;
}

[data-theme="light"] .btn-outline .btn-icon {
    color: #b8860b !important;
}

/* Dark theme specific overrides */
[data-theme="dark"] .btn-secondary .btn-icon {
    color: #f8f8f8 !important;
}

[data-theme="dark"] .btn-outline .btn-icon {
    color: #d4af37 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-contact-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem; /* Add bottom margin to button group */

    }
    
    .hero-contact-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
}

/* Footer CSS - Debug and Fix */

/* Make sure the footer grid is properly defined */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Ensure footer links styling */
.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-links span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Footer bottom styling */
.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}

.legal-notice h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-notice p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

/* Ensure proper link styling for footer bottom */
.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

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


/* ===================================
   CLARITY THEME - EASY-TO-READ COLOR SCHEME
   Add this CSS after your existing styles
   =================================== */

/* Clarity Theme - High Contrast Readable */
[data-theme="clarity"] {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --accent: #1a5490;
    --text: #1a1a1a;
    --light-text: #2c2c2c;
    --dark-text: #ffffff;
    --muted: #5a5a5a;
    --border: #d1d5db;
}

/* Clarity Dark Theme */
[data-theme="clarity-dark"] {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2d2d2d;
    --accent: #4a9eff;
    --text: #f5f5f5;
    --light-text: #e0e0e0;
    --dark-text: #1a1a1a;
    --muted: #a0a0a0;
    --border: #404040;
}

/* Studio Theme (Original Dark) */
[data-theme="studio"] {
    --primary-bg: #0f0f0f;
    --secondary-bg: #151515;
    --accent: #d4af37;
    --text: #f8f8f8;
    --light-text: rgba(255, 255, 255, 0.7);
    --dark-text: #111111;
    --muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
}

/* Studio Light Theme (Original Light) */
[data-theme="studio-light"] {
    --primary-bg: #fafafa;
    --secondary-bg: #ffffff;
    --accent: #b8860b;
    --text: #1a1a1a;
    --light-text: rgba(26, 26, 26, 0.7);
    --dark-text: #ffffff;
    --muted: rgba(26, 26, 26, 0.4);
    --border: rgba(26, 26, 26, 0.12);
}

/* Enhanced text contrast and sizing for Clarity themes only */
[data-theme="clarity"] body,
[data-theme="clarity-dark"] body {
    font-size: 18px; /* Base font size increase */
    line-height: 1.7; /* Better line spacing */
}

[data-theme="clarity"] h1,
[data-theme="clarity-dark"] h1 {
    color: var(--text);
    font-weight: 600; /* Slightly bolder for better contrast */
}

[data-theme="clarity"] h2,
[data-theme="clarity-dark"] h2 {
    color: var(--text);
    font-weight: 500;
}

[data-theme="clarity"] h3,
[data-theme="clarity-dark"] h3 {
    color: var(--text);
    font-weight: 500;
}

[data-theme="clarity"] p,
[data-theme="clarity-dark"] p {
    color: var(--light-text);
    font-size: 1.1rem; /* Slightly larger paragraph text */
    line-height: 1.8; /* More generous line spacing */
    font-weight: 400; /* Normal weight for better readability */
}

/* Enhanced button contrast for Clarity themes */
[data-theme="clarity"] .btn,
[data-theme="clarity-dark"] .btn {
    border: 2px solid var(--accent); /* Thicker border */
    color: var(--accent);
    font-weight: 500;
    padding: 1.2rem 2.8rem; /* Slightly larger buttons */
}

[data-theme="clarity"] .btn:hover,
[data-theme="clarity-dark"] .btn:hover {
    background: var(--accent);
    color: var(--dark-text);
}

/* Enhanced form field contrast for Clarity themes */
[data-theme="clarity"] .form-control,
[data-theme="clarity-dark"] .form-control {
    border-bottom: 2px solid var(--border);
    color: var(--text);
    font-size: 1.1rem;
}

[data-theme="clarity"] .form-control:focus,
[data-theme="clarity-dark"] .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 3px 6px rgba(26, 84, 144, 0.15);
}

[data-theme="clarity"] .form-label,
[data-theme="clarity-dark"] .form-label {
    color: var(--muted);
    font-weight: 500;
}

[data-theme="clarity"] .form-control:focus ~ .form-label,
[data-theme="clarity"] .form-control:not(:placeholder-shown) ~ .form-label,
[data-theme="clarity"] .form-label.active,
[data-theme="clarity-dark"] .form-control:focus ~ .form-label,
[data-theme="clarity-dark"] .form-control:not(:placeholder-shown) ~ .form-label,
[data-theme="clarity-dark"] .form-label.active {
    color: var(--accent);
    font-weight: 600;
}

/* Enhanced link contrast for Clarity themes */
[data-theme="clarity"] a,
[data-theme="clarity-dark"] a {
    color: var(--accent);
    font-weight: 500;
}

[data-theme="clarity"] a:hover,
[data-theme="clarity-dark"] a:hover {
    color: var(--text);
}

/* Menu improvements for Clarity themes */
[data-theme="clarity"] .menu-items a,
[data-theme="clarity-dark"] .menu-items a {
    color: var(--text);
    font-weight: 500;
}

[data-theme="clarity"] .menu-items a:hover,
[data-theme="clarity-dark"] .menu-items a:hover {
    color: var(--accent);
}

/* Service cards with better contrast for Clarity themes */
[data-theme="clarity"] .service-card,
[data-theme="clarity-dark"] .service-card {
    border: 2px solid var(--border);
    background-color: var(--secondary-bg);
}

[data-theme="clarity"] .service-card:hover,
[data-theme="clarity-dark"] .service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(26, 84, 144, 0.1);
}

[data-theme="clarity"] .featured-service,
[data-theme="clarity-dark"] .featured-service {
    background: var(--secondary-bg);
    border: 3px solid var(--accent);
}

/* Contact section improvements for Clarity themes */
[data-theme="clarity"] .contact-link,
[data-theme="clarity-dark"] .contact-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.4rem; /* Larger contact links */
}

/* Footer improvements for Clarity themes */
[data-theme="clarity"] .footer-links a,
[data-theme="clarity-dark"] .footer-links a {
    color: var(--light-text);
    font-weight: 400;
}

[data-theme="clarity"] .footer-links a:hover,
[data-theme="clarity-dark"] .footer-links a:hover {
    color: var(--accent);
}

/* Navbar improvements for all themes */
[data-theme="clarity"] .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="clarity-dark"] .navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

[data-theme="studio"] .navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
}

[data-theme="studio-light"] .navbar.scrolled {
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
}

/* Logo improvements for all themes */
[data-theme="clarity"] .logo,
[data-theme="clarity-dark"] .logo,
[data-theme="studio"] .logo,
[data-theme="studio-light"] .logo {
    color: var(--text);
    font-weight: 600;
}

[data-theme="clarity"] .logo span,
[data-theme="clarity-dark"] .logo span,
[data-theme="studio"] .logo span,
[data-theme="studio-light"] .logo span {
    color: var(--accent);
}

/* Hero section improvements for Clarity themes */
[data-theme="clarity"] .hero-tagline,
[data-theme="clarity-dark"] .hero-tagline {
    color: var(--accent);
    font-weight: 600;
}

[data-theme="clarity"] .hero-badge,
[data-theme="clarity-dark"] .hero-badge {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
}

/* Accent text improvements for all themes */
[data-theme="clarity"] .accent-text,
[data-theme="clarity-dark"] .accent-text,
[data-theme="studio"] .accent-text,
[data-theme="studio-light"] .accent-text {
    color: var(--accent);
    font-weight: 600;
}

/* Background improvements for all themes */
[data-theme="clarity"] .hero::before {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="clarity-dark"] .hero::before {
    background: rgba(26, 26, 26, 0.95);
}

[data-theme="studio"] .hero::before {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.7) 100%);
}

[data-theme="studio-light"] .hero::before {
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.9) 0%, rgba(250, 250, 250, 0.7) 100%);
}

/* Remove decorative elements for Clarity themes only */
[data-theme="clarity"] .bg-dot-pattern,
[data-theme="clarity-dark"] .bg-dot-pattern {
    opacity: 0.1;
}

[data-theme="clarity"] .floating-shape,
[data-theme="clarity-dark"] .floating-shape {
    display: none;
}

/* Keep decorative elements for Studio themes */
[data-theme="studio"] .bg-dot-pattern,
[data-theme="studio-light"] .bg-dot-pattern {
    opacity: 0.3;
}

[data-theme="studio"] .floating-shape,
[data-theme="studio-light"] .floating-shape {
    display: block;
}

[data-theme="studio-light"] .floating-shape {
    background-color: rgba(184, 134, 11, 0.05);
}

/* Improved focus states for accessibility */
[data-theme="clarity"] *:focus,
[data-theme="clarity-dark"] *:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Better list styling for Clarity themes */
[data-theme="clarity"] .service-card li,
[data-theme="clarity"] .target-list li,
[data-theme="clarity-dark"] .service-card li,
[data-theme="clarity-dark"] .target-list li {
    color: var(--light-text);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Enhanced section spacing for Clarity themes */
[data-theme="clarity"] section,
[data-theme="clarity-dark"] section {
    padding: 8vh 0; /* More generous section spacing */
}

/* Studio theme specific adjustments */
[data-theme="studio-light"] .service-card.featured-service {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(245, 245, 245, 0.8) 100%);
    border: 2px solid rgba(184, 134, 11, 0.3);
}

[data-theme="studio-light"] .custom-cursor {
    mix-blend-mode: normal;
}

[data-theme="studio-light"] .cursor-dot {
    mix-blend-mode: normal;
}

[data-theme="studio-light"] .contact-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Mobile optimizations for Clarity themes */
@media (max-width: 768px) {
    [data-theme="clarity"] body,
    [data-theme="clarity-dark"] body {
        font-size: 16px;
    }
    
    [data-theme="clarity"] p,
    [data-theme="clarity-dark"] p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    [data-theme="clarity"] .contact-link,
    [data-theme="clarity-dark"] .contact-link {
        font-size: 1.2rem;
    }
}

