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

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #fafafa;
    width: 100%;
    position: relative;
}

/* Base paragraph font size - increased for better readability */
p {
    font-size: 1.1rem;
    line-height: 1.7;
}

html {
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #666);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

nav.scrolled {
    padding: 0.6rem 5%;
}

.logo img {
    width: 110px;
    transition: width 0.3s ease;
}

nav.scrolled .logo img {
    width: 90px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0px;
}

nav.scrolled .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
}

.nav-links a:hover {
    border-color: #1a1a1a;
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 50%;
}

.nav-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.nav-icon svg {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 10002;
    padding: 2rem;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-header .logo img {
    width: 100px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.mobile-menu-close span {
    position: absolute;
    width: 25px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s;
}

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

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

.mobile-menu-close:hover span {
    background: #666;
}

.mobile-menu-links {
    list-style: none;
    margin-bottom: 3rem;
}

.mobile-menu-links li {
    margin-bottom: 0.5rem;
}

.mobile-menu-links a {
    display: block;
    padding: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-menu-links a:hover {
    background: #f5f5f5;
    padding-left: 1.5rem;
}

.mobile-menu-contact {
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.mobile-menu-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-icon-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-icon-link:hover {
    background: #1a1a1a;
    color: white;
    transform: translateX(5px);
}

.mobile-icon-link svg {
    flex-shrink: 0;
}

.contact-btn {
    background: #1a1a1a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

nav.scrolled .contact-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero {
    margin-top: 110px;
    min-height: calc(100vh - 110px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "content image";
    gap: 4rem;
    padding: 5rem 5%;
    align-items: center;
    transition: margin-top 0.3s ease, padding 0.3s ease;
}

.hero-content {
    grid-area: content;
}

.hero-image {
    grid-area: image;
}

body.scrolled .hero {
    margin-top: 90px;
    padding: 4.5rem 5%;
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -2px;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons-mobile {
    display: none;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: white;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
}

.hero-image {
    height: 64vh;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 20px;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

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

.service-card {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-icon img {
    width: 78px;
    height: 78px;
    transition: transform 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.service-card:hover .service-icon img {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

.service-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #444;
    font-size: 0.95rem;
}

.service-features li:before {
    content: "✓ ";
    color: #1a1a1a;
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

/* Full-Width Service Card */
.service-card-wide {
    background: #fafafa;
    padding: 4rem 5%;
    border-radius: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 3rem -5% 0 -5%;
    width: calc(100% + 10%);
    transition: box-shadow 0.3s;
}

.service-card-wide:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.service-wide-content {
    display: flex;
    flex-direction: column;
}

.service-wide-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.service-wide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-wide-image.service-wide-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: visible;
}

.service-wide-image.service-wide-icon img {
    width: 300px;
    height: 300px;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s;
}

.service-card-wide:hover .service-wide-image img {
    transform: scale(1.05);
}

.service-card-wide:hover .service-wide-image.service-wide-icon img {
    transform: scale(1.1);
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 5%;
    background: #fafafa;
}

.portfolio-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio-carousel-wrapper {
    flex: 1;
    overflow: hidden;
}

.portfolio-carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.portfolio-item {
    flex: 0 0 calc(25% - 1.5rem);
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item-image {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 0.3s;
    display: block;
}

.portfolio-item:hover .portfolio-item-image img {
    transform: scale(1.05);
    opacity: 0.9;
}

.portfolio-carousel-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.portfolio-carousel-btn:hover {
    background: #333;
    transform: scale(1.1);
}

.portfolio-carousel-btn:active {
    transform: scale(0.95);
}

.portfolio-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.portfolio-carousel-btn:disabled:hover {
    transform: none;
    background: #1a1a1a;
}

.portfolio-carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Portfolio Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    overflow: hidden;
    animation: fadeIn 0.3s;
}

.portfolio-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.portfolio-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.portfolio-modal img {
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.portfolio-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.portfolio-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.portfolio-modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.portfolio-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.portfolio-modal-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-modal-prev {
    left: 1rem;
}

.portfolio-modal-next {
    right: 1rem;
}

.portfolio-modal-nav svg {
    width: 24px;
    height: 24px;
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: white;
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 2rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 500px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.about-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    margin-left: auto;
}

@media (min-width: 1025px) {
    .about-image {
        max-width: none;
    }
}

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

/* Testimonials */
.testimonials {
    padding: 8rem 5%;
    background: #1a1a1a;
    color: white;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
}

.testimonials-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials-carousel-wrapper {
    flex: 1;
    overflow: hidden;
}

.testimonials-carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: flex-start;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    height: auto;
    display: flex;
    flex-direction: column;
}

.testimonials-carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.testimonials-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.testimonials-carousel-btn:active {
    transform: scale(0.95);
}

.testimonials-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonials-carousel-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
}

.testimonials-carousel-btn svg {
    width: 24px;
    height: 24px;
}

.stars {
    color: #f0d172;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-date {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.testimonials-footer {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.see-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.bark-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s;
}

.bark-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.bark-link svg {
    flex-shrink: 0;
}

/* Reviews Modal */
.reviews-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.reviews-modal.active {
    display: block;
}

.reviews-modal-header {
    position: sticky;
    top: 0;
    background: #1a1a1a;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10001;
}

.reviews-modal-header h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.reviews-modal-close {
    color: white;
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.reviews-modal-close:hover {
    transform: rotate(90deg);
}

.reviews-modal-content {
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-modal-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-modal-card .stars {
    color: #f0d172;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.reviews-modal-card .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.reviews-modal-card .testimonial-author {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    margin-top: 0.2rem;
}

.contact-item-icon svg {
    display: block;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.1rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #d32f2f;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #d32f2f;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

.form-error {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #d32f2f;
}

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

.submit-btn {
    background: #1a1a1a;
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 5% 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-icon-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-icon-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-icon-link svg {
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

.insta2 {
    color: #666;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-areas: "content" "image";
        min-height: auto;
        padding: 4rem 5%;
        gap: 2rem;
    }

    .hero-content {
        grid-area: content;
    }
    
    .hero-image {
        grid-area: image;
        width: 100%;
        height: 500px;
        position: relative;
        border-radius: 20px;
        overflow: hidden;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .testimonials-carousel {
        gap: 1.5rem;
    }
    
    .testimonials-carousel-container {
        gap: 0.5rem;
    }
    
    .testimonials-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .service-card-wide {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
        width: 100%;
        padding: 2rem 5%;
        border-radius: 16px;
    }

    .service-wide-image {
        height: 300px;
    }

    .portfolio-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .portfolio-carousel-container {
        gap: 0.5rem;
    }
    
    .portfolio-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .portfolio-carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .modal-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-modal-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .about-image {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        display: none;
    }

    .nav-icons {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        width: 85%;
        max-width: 320px;
    }

    .contact-btn {
        display: none;
    }

    /* Ensure all sections don't overflow */
    .hero,
    .services,
    .portfolio,
    .about,
    .testimonials,
    .contact {
        overflow-x: hidden;
    }

    .hero {
        margin-top: 90px;
        padding: 3rem 5%;
        gap: 0;
        grid-template-areas: "content" "image" "buttons";
    }
    
    .hero-content {
        grid-area: content;
        margin-bottom: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        margin-bottom: 0;
    }
    
    .hero-content .hero-buttons-desktop {
        display: none;
    }
    
    .hero-buttons-mobile {
        grid-area: buttons;
        margin-top: 1.5rem;
        justify-content: center;
        display: flex;
    }
    
    .hero-image {
        grid-area: image;
        height: 42.5vh;
        min-height: 255px;
        margin-top: 0;
        border-radius: 20px;
        overflow: hidden;
    }
    
    .hero-slide {
        border-radius: 20px;
    }
    
    .hero-slide img {
        object-position: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        flex: 0 0 100%;
        padding: 0;
        width: 100%;
    }
    
    .portfolio-item-image {
        aspect-ratio: 3/4;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .portfolio-carousel {
        gap: 1.5rem;
    }
    
    .portfolio-carousel-wrapper {
        width: 100%;
    }
    
    .portfolio-carousel-container {
        width: 100%;
        padding: 0;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        height: auto;
        align-self: flex-start;
        padding: 2rem;
    }
    
    .testimonials-carousel {
        gap: 1rem;
        align-items: flex-start;
    }
    
    .testimonials-carousel-container {
        gap: 0.5rem;
    }
    
    .testimonials-carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .portfolio-item {
        flex: 0 0 100%;
    }
    
    .portfolio-carousel {
        gap: 1rem;
    }
    
    .portfolio-carousel-container {
        gap: 0.5rem;
    }
    
    .portfolio-carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .portfolio-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .portfolio-modal-close svg {
        width: 24px;
        height: 24px;
    }
    
    .portfolio-modal-nav {
        width: 45px;
        height: 45px;
    }
    
    .portfolio-modal-prev {
        left: 0.5rem;
    }
    
    .portfolio-modal-next {
        right: 0.5rem;
    }
    
    .portfolio-modal-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .portfolio-modal img {
        max-width: 98%;
        max-height: 90vh;
    }

    .see-more-btn,
    .bark-link {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .testimonials-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .reviews-modal-content {
        grid-template-columns: 1fr;
        padding: 2rem 5%;
        gap: 1.5rem;
    }

    .reviews-modal-header {
        padding: 1.5rem 5%;
    }

    .reviews-modal-header h2 {
        font-size: 1.5rem;
    }

    .reviews-modal-close {
        font-size: 2.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 2rem 1rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }

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

    .service-card-wide {
        padding: 1.5rem;
        margin: 2rem 0;
        width: 100%;
        border-radius: 12px;
    }

    .service-wide-image {
        height: 250px;
    }
    
    .service-wide-image.service-wide-icon img {
        width: 200px;
        height: 200px;
        max-width: 70%;
        max-height: 70%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 100%;
    }
    
    .about {
        grid-template-columns: 1fr;
        grid-template-areas: "content" "image";
    }
    
    .about-content {
        grid-area: content;
    }
    
    .about-image {
        grid-area: image;
        width: 100%;
        max-width: 100%;
        margin: 2rem auto 0 auto;
    }

    nav {
        padding: 1rem 5%;
    }

    .services,
    .portfolio,
    .about,
    .testimonials,
    .contact {
        padding: 4rem 5%;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 90%;
        padding: 1.5rem;
    }

    .mobile-menu-header .logo img {
        width: 80px;
    }

    .mobile-menu-links a {
        font-size: 1rem;
        padding: 0.875rem;
    }

    .mobile-icon-link {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

