/* responsive.css - Optimized for Mobile */
/* ===============================
   MOBILE FIRST APPROACH
   (All styles for mobile, then tablet, then desktop)
================================ */

/* Base mobile styles (applies to all) */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container for mobile */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* ===============================
   TYPOGRAPHY - MOBILE FIRST
================================ */
h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.375rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.75rem;
}

.section-subtitle {
    font-size: 1rem;
}

/* ===============================
   NAVIGATION - MOBILE
================================ */
.navbar {
    padding: 0.75rem 0;
    height: 60px;
}

.nav-container {
    padding: 0 0.75rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 35px !important;
    width: auto;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
}

.nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    flex-direction: column;
    background: var(--light);
    text-align: center;
    transition: 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-menu.active {
    left: 0;
}

.nav-menu li {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.nav-menu a {
    display: block;
    font-size: 1.125rem;
    padding: 0.875rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover {
    background: var(--light-gray);
    color: var(--secondary);
}

.nav-cta {
    margin: 1rem auto;
    width: 80%;
    max-width: 200px;
    border-radius: var(--radius-md);
}

/* Theme Toggle - Mobile */
.theme-toggle {
    margin-right: 0.75rem;
}

.theme-toggle button {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

/* ===============================
   HERO SECTION - MOBILE
================================ */
.hero {
    padding: 5.5rem 0 2.5rem;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content {
    order: 2;
    text-align: center;
}

.hero-title {
    font-size: 2.125rem;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: center;
    margin-top: 1.5rem;
}

.btn {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.hero-image {
    order: 1;
    height: 250px;
    margin: 0 auto;
    max-width: 400px;
}

/* ===============================
   SERVICES SECTION - MOBILE
================================ */
.ourServicesAtK2kBrands {
    font-size: 1.375rem;
    margin: 1.5rem 0;
    padding: 0 0.75rem;
    text-align: center;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 100%;
}

.services-list li {
    margin-bottom: 0.875rem;
}

.service-link {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--light);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--dark);
    margin: 0 0.75rem;
}

.special-tick {
    min-width: 38px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: #fff;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.service-text {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.exp {
    margin: 0.75rem 0 0;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* ===============================
   FEATURED WORK - MOBILE
================================ */
.featured-work {
    padding: 2.5rem 0;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
}

.project-card {
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
}

.project-info {
    padding: 1.25rem;
}

.project-info h3 {
    font-size: 1.25rem;
}

.center-button {
    margin-top: 1.5rem;
    text-align: center;
}

/* ===============================
   SERVICES PREVIEW - MOBILE
================================ */
.services-preview {
    padding: 2.5rem 0;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-card {
    padding: 1.5rem;
    text-align: center;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 1.5rem;
}

/* ===============================
   CTA SECTION - MOBILE
================================ */
.cta-section {
    padding: 2.5rem 0;
}

.cta-container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cta-container p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

/* ===============================
   FOOTER - MOBILE
================================ */
.footer {
    padding: 2.5rem 0 1.5rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-col {
    text-align: center;
}

.footer-logo-img {
    height: 35px;
    margin: 0 auto 1rem;
}

.footer-tagline {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.social-links {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
}

.footer-contact li {
    font-size: 0.875rem;
    justify-content: center;
    text-align: center;
}

.footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
}

/* ===============================
   ABOUT PAGE - MOBILE
================================ */
.about-hero {
    padding: 5.5rem 0 2rem;
}

.about-hero h1 {
    font-size: 2.25rem;
}

.about-hero p {
    font-size: 1.0625rem;
    padding: 0 1rem;
}

.story-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-content h2 {
    font-size: 1.75rem;
}

.story-image {
    height: 300px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat h3 {
    font-size: 1.75rem;
}

.stat p {
    font-size: 0.75rem;
}

.values-grid,
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-card,
.team-member {
    padding: 1.5rem;
}

.team-photo {
    width: 140px;
    height: 140px;
}

.team-role {
    font-size: 0.875rem;
}

.team-bio {
    font-size: 0.875rem;
}

/* ===============================
   SERVICES PAGE - MOBILE
================================ */
.services-hero {
    padding: 5.5rem 0 2rem;
}

.services-hero h1 {
    font-size: 2.25rem;
}

.services-hero p {
    font-size: 1.0625rem;
    padding: 0 1rem;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.service-content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-pricing {
    order: -1;
    padding: 1.5rem;
}

.price-range {
    font-size: 1.75rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.process-step {
    padding: 1.5rem;
}

.faq-question {
    padding: 1.25rem;
    font-size: 0.9375rem;
}

.faq-answer {
    padding: 0 1.25rem;
    font-size: 0.875rem;
}

/* ===============================
   PORTFOLIO PAGE - MOBILE
================================ */
.portfolio-hero {
    padding: 5.5rem 0 1.5rem;
}

.portfolio-hero h1 {
    font-size: 2.25rem;
}

.portfolio-filter-section {
    position: static;
    padding: 1.5rem 0;
}

.filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-buttons::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.portfolio-info {
    padding: 1.25rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
}

/* ===============================
   CONTACT PAGE - MOBILE
================================ */
.contact-hero {
    padding: 5.5rem 0 2rem;
}

.contact-hero h1 {
    font-size: 2.25rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info,
.contact-form-container {
    padding: 1.5rem;
}

.info-item {
    padding: 1rem 0;
}

.info-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.map-container {
    height: 300px;
}

.office-hours {
    padding: 1.5rem;
}

.hours-table {
    font-size: 0.875rem;
}

/* ===============================
   MODAL - MOBILE
================================ */
.modal {
    padding: 1rem;
}

.modal-content {
    max-height: 90vh;
}

.modal-header {
    padding: 2rem 1.5rem 1rem;
}

.modal-title {
    font-size: 1.5rem;
}

.modal-body {
    padding: 0 1.5rem 2rem;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-steps {
    grid-template-columns: 1fr;
}

/* ===============================
   TABLET (≥ 768px)
================================ */
@media (min-width: 768px) {
    /* Container */
    .container {
        padding: 0 2rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.125rem;
    }
    
    /* Navigation - Hide toggle, show menu */
    .menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 1.5rem;
    }
    
    .nav-menu li {
        width: auto;
        border-bottom: none;
        padding: 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 0;
        font-size: 0.9375rem;
    }
    
    .nav-cta {
        margin: 0;
        width: auto;
        max-width: none;
    }
    
    /* Hero */
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .btn {
        width: auto;
    }
    
    /* Services */
    .ourServicesAtK2kBrands {
        font-size: 1.5rem;
    }
    
    /* Projects Grid */
    .projects-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .project-card {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: none;
    }
    
    /* Footer */
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        text-align: left;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-logo-img {
        margin: 0 0 1rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-contact li {
        justify-content: flex-start;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ===============================
   LARGE TABLET (≥ 992px)
================================ */
@media (min-width: 992px) {
    /* Container */
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
    
    /* Typography */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    /* Hero */
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .hero-content {
        order: 1;
        text-align: left;
    }
    
    .hero-image {
        order: 2;
        height: 400px;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    /* Services */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* About Page */
    .story-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .values-grid,
    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* Contact Page */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* ===============================
   DESKTOP (≥ 1200px)
================================ */
@media (min-width: 1200px) {
    /* Container */
    .container {
        max-width: 1140px;
    }
    
    /* Typography */
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    /* Navigation */
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        gap: 3rem;
    }
}

/* ===============================
   UTILITY CLASSES
================================ */
.hidden-mobile {
    display: none;
}

.visible-mobile {
    display: block;
}

@media (min-width: 768px) {
    .hidden-mobile {
        display: block;
    }
    
    .visible-mobile {
        display: none;
    }
}

/* ===============================
   ACCESSIBILITY & TOUCH FRIENDLY
================================ */
@media (hover: none) and (pointer: coarse) {
    /* Improve touch targets */
    .btn,
    .filter-btn,
    .service-tab,
    .service-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects that don't work well on touch */
    .project-card:hover {
        transform: none;
    }
    
    .portfolio-item:hover {
        transform: none;
    }
    
    /* Show overlay on tap instead of hover */
    .project-overlay,
    .portfolio-overlay {
        opacity: 0.9;
    }
}

/* ===============================
   DARK MODE ADJUSTMENTS FOR MOBILE
================================ */
[data-theme="dark"] .service-link {
    background: var(--light-gray);
    border-color: var(--medium-gray);
}

[data-theme="dark"] .nav-menu {
    background: var(--light);
}

[data-theme="dark"] .menu-toggle {
    color: var(--dark);
}

/* ===============================
   SAFE AREA INSETS FOR NOTCHED PHONES
================================ */
@supports (padding: max(0px)) {
    .container,
    .hero,
    .footer {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .navbar {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }
    
    .hero {
        padding-top: max(5.5rem, calc(5.5rem + env(safe-area-inset-top)));
    }
}
/* responsive.css - Mobile Optimizations for Services */
/* Add these to your existing responsive.css */

/* ===============================
   SERVICES INTRO SECTION - MOBILE
================================ */
.services-intro {
    padding: 2rem 0;
}

.services-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 0.75rem;
    line-height: 1.3;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 100%;
}

.services-list li {
    margin-bottom: 0.75rem;
    background: var(--light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    color: var(--dark);
    gap: 0.875rem;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

.special-tick {
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: #fff;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.service-text {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.4;
    text-align: left;
    flex: 1;
    min-width: 0; /* Allows text to shrink */
}

.exp {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--dark-gray);
    margin: 0.5rem 0 0;
    padding: 0 0.5rem 1rem;
    border-top: 1px solid var(--light-gray);
}

/* Show/hide expanded text */
.exp {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.services-list li.active .exp {
    max-height: 500px;
    opacity: 1;
    padding: 0.75rem 0.5rem 1rem;
}

/* Arrow for expandable items */
.service-link::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--dark-gray);
    transition: transform 0.3s ease;
    margin-left: auto;
    padding-left: 0.5rem;
}

.services-list li.active .service-link::after {
    transform: rotate(180deg);
}

/* ===============================
   SERVICES PAGE - DETAILS SECTION - MOBILE
================================ */
.service-details {
    padding: 1.5rem 0;
}

.service-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 1rem;
    margin: 0 -0.75rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.service-tabs::-webkit-scrollbar {
    height: 4px;
}

.service-tabs::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.service-tabs::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 2px;
}

.service-tab {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 0.75rem;
}

.service-description {
    order: 2;
}

.service-description h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-description p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-features i {
    color: var(--secondary);
    font-size: 0.875rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.service-pricing {
    order: 1;
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.service-pricing h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price-range {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.8125rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.pricing-features h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.pricing-features li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
}

/* ===============================
   FAQ SECTION - MOBILE
================================ */
.faq-grid {
    max-width: 100%;
    padding: 0 0.75rem;
}

.faq-item {
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--light);
    border-bottom: 1px solid var(--medium-gray);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.875rem;
    line-height: 1.6;
    background: var(--light);
}

.faq-answer.active {
    padding: 1rem;
    max-height: 1000px;
}

.faq-toggle {
    color: var(--secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* ===============================
   CONTACT FORM - MOBILE
================================ */
.contact-form-container {
    padding: 1.5rem;
}

.contact-form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-form-container p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
}

.textarea-control {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* ===============================
   TEAM SECTION - MOBILE
================================ */
.team-section {
    padding: 2rem 0;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 0.75rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--dark);
    font-size: 0.875rem;
}

/* ===============================
   TABLE OF CONTENTS - MOBILE
================================ */
.table-of-contents {
    position: sticky;
    top: 60px;
    background: var(--light);
    padding: 1rem;
    margin: 0 -0.75rem 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
    z-index: 99;
}

.toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem;
    background: var(--light-gray);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
}

.toc-menu {
    display: none;
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
}

.toc-menu.active {
    display: block;
}

.toc-menu li {
    margin-bottom: 0.5rem;
}

.toc-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.875rem;
    border-left: 3px solid transparent;
}

.toc-menu a:hover,
.toc-menu a.active {
    color: var(--secondary);
    border-left-color: var(--secondary);
    background: var(--light-gray);
}

/* ===============================
   TABLET (≥ 768px)
================================ */
@media (min-width: 768px) {
    /* Services Intro */
    .services-intro h2 {
        font-size: 1.75rem;
        padding: 0;
    }
    
    .services-list {
        max-width: 600px;
    }
    
    .service-text {
        font-size: 1rem;
    }
    
    .exp {
        font-size: 0.875rem;
    }
    
    /* Services Details */
    .service-tabs {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        padding: 0;
        margin: 0 0 2rem;
    }
    
    .service-tab {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
    
    .service-content-grid {
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .service-pricing {
        order: 2;
        margin-bottom: 0;
    }
    
    .service-description {
        order: 1;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 2rem;
    }
    
    /* Team */
    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0;
    }
    
    .team-photo {
        width: 140px;
        height: 140px;
    }
    
    /* Table of Contents */
    .table-of-contents {
        display: none;
    }
}

/* ===============================
   DESKTOP (≥ 992px)
================================ */
@media (min-width: 992px) {
    /* Services Details */
    .service-tabs {
        gap: 1rem;
    }
    
    .service-tab {
        font-size: 0.9375rem;
        padding: 0.875rem 2rem;
    }
    
    .service-description h3 {
        font-size: 1.5rem;
    }
    
    .service-description p {
        font-size: 1rem;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .team-photo {
        width: 160px;
        height: 160px;
    }
    
    .team-bio {
        font-size: 0.875rem;
    }
}

/* ===============================
   JAVASCRIPT ENHANCEMENT CLASSES
================================ */
/* Add these styles for better mobile experience */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-wrap {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.mobile-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hidden {
    scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

/* ===============================
   DARK MODE ADJUSTMENTS
================================ */
[data-theme="dark"] .service-tab:not(.active) {
    background: var(--medium-gray);
    border-color: var(--dark-gray);
    color: var(--dark);
}

[data-theme="dark"] .service-features i {
    color: var(--secondary-light);
}

[data-theme="dark"] .pricing-features li::before {
    color: var(--secondary-light);
}

[data-theme="dark"] .exp {
    border-top-color: var(--medium-gray);
}
/* style.css - Add these styles */

/* Mobile menu base styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure the navbar has proper z-index */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--light);
    box-shadow: var(--shadow-sm);
}

/* Make sure body doesn't scroll under menu */
body.menu-open {
    overflow: hidden;
}

/* Logo styling */
.logo {
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-k2k {
    color: var(--primary);
}

.logo-brands {
    color: var(--secondary);
    margin-left: 0.25rem;
}
/* Fix hamburger visibility */
@media (max-width: 767px) {
    .menu-toggle {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none !important;
    }
}


/* ===== Square images: show full image (no cropping) ===== */
.project-image,
.portfolio-image {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: var(--light-gray);
    overflow: hidden;
}

.project-image img,
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;   /* show full image */
    object-position: center;
    display: block;
}

/* Modal gallery images */
.modal-images img {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;   /* show full image */
    object-position: center;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}
