/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette inspired by the designs */
    --primary-beige: #f4f1eb;
    --secondary-beige: #e8e2d5;
    --warm-brown: #8b7355;
    --dark-brown: #5d4e37;
    --charcoal: #2c2c2c;
    --soft-gray: #6b6b6b;
    --accent-gold: #d4af37;
    --white: #ffffff;
    --off-white: #fafafa;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 5%;
    --max-width: 1400px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--off-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(244, 241, 235, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 64px;
    margin-top: 8px;
    width: auto;
    object-fit: contain;
}

.nav-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark-brown);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--secondary-beige) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-right: 2rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: var(--charcoal);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    color: var(--warm-brown);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--soft-gray);
    margin-bottom: 3.5rem;
    max-width: 520px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: var(--dark-brown);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--warm-brown);
    transform: translateY(-2px);
}

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    background-image: url('images/maev-sustainable-textile-dyeing-process.webp');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.overlay-content h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Magazine-style Layout */
.about-layout {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 3rem;
    min-height: 80vh;
}

/* Story Block */
.story-block {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--warm-brown);
    font-weight: 500;
}

.story-year {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 300;
    color: var(--secondary-beige);
    line-height: 1;
}

.story-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.2;
    max-width: 600px;
}

/* Founder Quote */
.founder-quote {
    grid-column: 1;
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--primary-beige);
    padding: 3rem;
    border-radius: 0;
    position: relative;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: var(--warm-brown);
    font-family: var(--font-primary);
    opacity: 0.3;
}

.quote-content {
    flex: 1;
}

.quote-content blockquote {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--dark-brown);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.author-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.author-link:hover {
    background: rgba(139, 115, 85, 0.1);
}

.author-name {
    font-weight: 600;
    color: var(--warm-brown);
    position: relative;
    transition: color 0.3s ease;
}

.author-link:hover .author-name {
    color: var(--dark-brown);
}

.external-icon {
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.author-link:hover .external-icon {
    opacity: 1;
    transform: translateX(2px) translateY(-2px);
}

.author-title {
    font-size: 0.9rem;
    color: var(--soft-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.founder-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-image: url('images/neetishaa-singh-maev-founder-ceo.webp');
    background-size: cover;
    background-position: center;
}

/* Story Grid */
.story-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.story-card {
    background: var(--white);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.card-large {
    grid-row: span 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-large .card-image {
    height: 300px;
    background-image: url('images/traditional-textile-artisan-craftsmanship.webp');
    background-size: cover;
    background-position: center;
}

.card-large .card-content {
    padding: 2rem;
}

.card-content .card-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: center;
}

.stat-highlight {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--dark-brown);
    border-radius: 0;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.story-stats .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--soft-gray);
}

.card-medium {
    background: var(--primary-beige);
    padding: 2rem;
    position: relative;
}

.card-medium .card-content h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.card-medium .card-content p {
    color: var(--soft-gray);
    line-height: 1.6;
}

.card-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--warm-brown);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.element-circle {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    border: 2px solid var(--secondary-beige);
    border-radius: 50%;
    opacity: 0.5;
}

.element-line {
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: 200px;
    height: 2px;
    background: var(--warm-brown);
    opacity: 0.3;
}

.element-dot {
    position: absolute;
    top: 50%;
    right: 20%;
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.6;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--primary-beige);
    position: relative;
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--soft-gray);
    line-height: 1.7;
    margin-top: 2rem;
}

/* Services Timeline Layout */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.services-timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--warm-brown), var(--dark-brown));
    z-index: 1;
}

.service-step {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.service-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.service-step:nth-child(even) .timeline-line {
    right: 50px;
    left: auto;
}

.step-number {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 3px solid var(--warm-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-brown);
    flex-shrink: 0;
}

.step-2 .step-number {
    background: var(--dark-brown);
    color: var(--white);
    border-color: var(--dark-brown);
}

.step-content {
    flex: 1;
    max-width: 500px;
}

.step-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.step-card.featured {
    background: var(--dark-brown);
    color: var(--white);
}

.step-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.step-card.featured h3 {
    color: var(--white);
}

.step-card p {
    color: var(--soft-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.step-visual {
    height: 120px;
    margin-top: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.visual-element {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0.8;
}

.design-visual {
    background-image: url('images/textile-design-prototyping-process.webp');
}

.sourcing-visual {
    background-image: url('images/textile-sourcing-supply-chain-management.webp');
}

.manufacturing-visual {
    background-image: url('images/textile-manufacturing-assembly-process.webp');
}

.packaging-visual {
    background-image: url('images/sustainable-textile-packaging-distribution.webp');
}

/* Services Sidebar */
.services-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.process-summary h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.process-summary p {
    color: var(--soft-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.process-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary-beige);
    border-radius: 4px;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--warm-brown);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--soft-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: #f8f6f3;
    position: relative;
}

.portfolio-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Grid - 3 Columns */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Portfolio Category Card */
.portfolio-category {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Category Image */
.category-image {
    width: 100%;
    overflow: hidden;
    background: #f5f3f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-category:hover .category-image img {
    transform: scale(1.05);
}

/* Category Content */
.category-content {
    padding: 2rem;
    text-align: left;
}

.category-content h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-content p {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--soft-gray);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--soft-gray);
    line-height: 1.7;
    margin: 2rem 0 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--soft-gray);
}

.contact-form {
    background: var(--primary-beige);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--warm-brown);
    background: transparent;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--dark-brown);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--soft-gray);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.footer-brand h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand p {
    color: var(--soft-gray);
}

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

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--soft-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--soft-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 4%;
    }
    
    .hero {
        padding: 90px 0 60px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .logo-icon {
        height: 48px;
        margin-top: 6px;
    }
    
    .nav-logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(244, 241, 235, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(20px);
        padding: 1rem 0;
        z-index: 1000;
        height: auto;
        min-height: calc(100vh - 70px);
        overflow-y: auto;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        margin: 0;
        line-height: 1.2;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        min-height: 60vh;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-image-overlay {
        padding: 2rem 1rem 1.5rem;
    }
    
    .overlay-content h3 {
        font-size: 1.4rem;
    }
  
    .about-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        min-height: auto;
    }
    
    .story-block {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .story-header {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .story-year {
        font-size: 2.5rem;
    }
    
    .founder-quote {
        grid-column: 1;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .founder-quote::before {
        font-size: 4rem;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .founder-image {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-large {
        grid-row: span 1;
    }
    
    .card-large .card-image {
        height: 200px;
    }
    
    .story-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-around;
    }
    
    .stat-highlight {
        padding: 1.5rem 1rem;
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .floating-elements {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-content {
        padding: 1.5rem;
    }
    
    .category-content h3 {
        font-size: 1.1rem;
    }
    
    .category-content p {
        font-size: 0.9rem;
    }  
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
        
    .services-sidebar {
        position: static;
        order: -1;
    }
        
    .sidebar-content {
        padding: 2rem;
    }
        
    .timeline-line {
        left: 25px;
    }
        
    .service-step {
        flex-direction: row !important;
        text-align: left !important;
        margin-bottom: 3rem;
    }
        
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
        
    .step-content {
        max-width: none;
    }
        
    .step-card {
        padding: 2rem;
    }
        
    .step-visual {
        height: 100px;
    }
        
    .process-stats {
        flex-direction: row;
        gap: 1rem;
    }  
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 6px 0;
    }
    
    .logo-icon {
        height: 40px;
        margin-top: 4px;
    }
    
    .nav-logo h1 {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-content {
        padding: 1.25rem;
    }
    
    .category-content h3 {
        font-size: 1rem;
    }
    
    .category-content p {
        font-size: 0.85rem;
    }
}
