:root {
    /* Basecamp-inspired Palette */
    --bg-color: #FFFCF5; /* Warm paper white */
    --text-color: #222222; /* Soft black */
    --accent-color: #3C4858; /* Slate blue/grey */
    --highlight-color: #FFD609; /* Warm orange */
    --success-color: #25D366; /* WhatsApp Green */
    --border-color: #E0DED5;

    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

/* Header */
.site-header {
    padding: 30px 0;
    border-bottom: 1px solid transparent; /* Placeholder */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

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

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
    text-decoration-color: var(--highlight-color);
    text-decoration-thickness: 2px;
}

.btn-nav {
    border: 2px solid var(--text-color);
    padding: 8px 16px;
    border-radius: 50px; /* Pill shape */
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.city-highlight {
    display: inline-flex;
    align-items: center;
    background-color: var(--highlight-color);
    color: var(--text-color);
    padding: 0 6px;
    border-radius: 2px 8px 3px 5px; /* Organic shape */
    transform: rotate(-2deg);
    margin: 0 6px;
    font-weight: 700;
    vertical-align: middle;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.city-highlight span {
    /* Removed skew un-skew logic for a simpler rotation */
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.city-icon {
    width: 50px; /* Slightly smaller for better balance */
    height: 50px;
    fill: currentColor;
    margin-top: -2px; /* Visual alignment */
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-right: 10px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--success-color); /* WhatsApp Green */
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .city-highlight {
        margin-bottom: 4px;
    }
    
    nav a {
        margin: 0 10px;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white; /* Slight contrast from main bg */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

/* Basecamp-style underline highlight */
.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--highlight-color);
    opacity: 0.3;
    z-index: -1;
    transform: skewX(-10deg);
}

.service-card p {
    font-size: 1.1rem;
    color: var(--accent-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
}

.founder-letter {
    max-width: 800px;
    margin: 40px auto 0; /* Changed margin to separate from title */
    font-size: 1.25rem;
    color: var(--text-color);
    transform: rotate(-1deg);
    
    /* Paper styling */
    background-color: #FFF9C4; /* Light yellow paper */
    padding: 60px 60px 40px;
    position: relative;
    
    /* Drop shadow that follows the mask shape */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
    
    /* Scalloped (Wavy) Top Edge effect */
    --mask-radius: 10px;
    /* Create the 'bite' at the top */
    mask-image: radial-gradient(
        circle at 50% 0, 
        transparent var(--mask-radius), 
        black calc(var(--mask-radius) + 0.5px)
    );
    /* Width = 2 * radius ensures they touch */
    mask-size: calc(2 * var(--mask-radius)) 100%;
    mask-repeat: repeat-x;
    
    -webkit-mask-image: radial-gradient(
        circle at 50% 0, 
        transparent var(--mask-radius), 
        black calc(var(--mask-radius) + 0.5px)
    );
    -webkit-mask-size: calc(2 * var(--mask-radius)) 100%;
    -webkit-mask-repeat: repeat-x;
}

.founder-letter p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.signature-block {
    margin-top: 40px;
}

.signature-image {
    margin-bottom: 10px;
    margin-left: -10px; /* Slight offset for organic feel */
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.founder-photo img, .founder-photo div {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e0e0e0; /* Fallback */
}

.founder-details {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
}

.founder-details strong {
    font-weight: 700;
    color: var(--text-color);
}

.founder-details a {
    color: #2b6dad; /* Link blue */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.founder-details span {
    font-style: italic;
    color: var(--accent-color);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .founder-letter {
        font-size: 1.1rem;
        padding: 40px 30px 30px; /* Adjusted padding for mobile */
    }
    
    .founder-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Footer / Contact */
.site-footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 80px 0 40px;
    text-align: center;
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

.contact-details {
    margin-bottom: 60px;
}

.contact-item {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #E0E0E0;
}

.contact-item strong {
    color: white;
    font-weight: 600;
}

.contact-item a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #444;
    padding-top: 40px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

@media (max-width: 768px) {
    .footer-content h2 {
        font-size: 1.75rem;
    }

    .contact-item {
        font-size: 1.1rem;
    }
}

/* Client Ticker */
.client-ticker {
    background-color: var(--bg-color);
    padding: 30px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    text-align: center; /* Center align content */
}

.client-ticker-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0.7;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    gap: 80px;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); } 
}

.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.client-item:hover {
    transform: translateY(-2px);
}

.client-logo-wrapper {
    height: 60px;
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.client-logo {
    display: block;
    width: 100%;
    height: 100%;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background-color: var(--accent-color); /* Default state: Slate Blue */
    transition: background-color 0.3s ease;
}

.logo-huft {
    mask-image: url('assets/clients/huft.svg');
    -webkit-mask-image: url('assets/clients/huft.svg');
}

.logo-nykaa {
    mask-image: url('assets/clients/nykaa.svg');
    -webkit-mask-image: url('assets/clients/nykaa.svg');
}

.logo-kia {
    mask-image: url('assets/clients/kia.svg');
    -webkit-mask-image: url('assets/clients/kia.svg');
}

.logo-mypol {
    mask-image: url('assets/clients/mypol.png');
    -webkit-mask-image: url('assets/clients/mypol.png');
}

.client-item:hover .client-logo {
    background-color: var(--highlight-color); /* Highlight state: Yellow/Orange */
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: color 0.2s ease;
    text-align: center;
    font-family: var(--font-body);
}

.client-item:hover .client-name {
    color: var(--text-color);
}
