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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: linear-gradient(135deg, #1a4d4d 0%, #23605f 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #2DD4BF;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a4d4d" width="1200" height="600"/><path fill="%2323605f" d="M0 300L50 280L100 310L150 290L200 320L250 300L300 330L350 310L400 340L450 320L500 350L550 330L600 360L650 340L700 370L750 350L800 380L850 360L900 390L950 370L1000 400L1050 380L1100 410L1150 390L1200 420V600H0Z"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: #2DD4BF;
    color: #1a4d4d;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #14b8a6;
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a4d4d;
}

.services {
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #1a4d4d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Portfolio/Gallery Section */
.portfolio {
    background: white;
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    aspect-ratio: 4/3;
    min-height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 77, 77, 0.95), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.gallery-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Slideshow specific styles */
.gallery-slideshow {
    position: relative;
}

.gallery-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-slideshow img.slideshow-active {
    opacity: 1;
    position: relative;
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #2DD4BF;
}

.gallery-slideshow:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-slideshow:hover .slideshow-dots {
    bottom: 90px;
}

/* Transformation Video Section */
.transformation {
    background: #f8f9fa;
    padding: 4rem 0;
}

.video-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.video-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: #000;
}

.video-box video {
    width: 100%;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.video-label {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-label.before {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.video-label.after {
    background: rgba(45, 212, 191, 0.9);
    color: #1a4d4d;
}

.video-divider {
    font-size: 3rem;
    color: #1a4d4d;
    font-weight: bold;
}

.video-divider span {
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.why-us {
    background: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: #2DD4BF;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #1a4d4d;
    margin-bottom: 0.5rem;
}

.contact {
    background: linear-gradient(135deg, #1a4d4d 0%, #23605f 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

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

.contact-form button {
    background: #2DD4BF;
    color: #1a4d4d;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #14b8a6;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

@media (max-width: 968px) {
    /* Navigation */
    nav {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Hero Section */
    .hero {
        padding: 5rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Services Grid */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        min-height: 280px;
    }
    
    /* Video Comparison */
    .video-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-divider {
        text-align: center;
        transform: rotate(90deg);
        font-size: 2.5rem;
    }
    
    .video-box video {
        max-height: 300px;
    }
    
    /* Features */
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 576px) {
    /* Container padding */
    .container {
        padding: 2rem 1rem;
    }
    
    /* Typography */
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Hero */
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Gallery */
    .gallery-item {
        min-height: 250px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    /* Slideshow dots */
    .slideshow-dots {
        bottom: 10px;
    }
    
    .gallery-slideshow:hover .slideshow-dots {
        bottom: 10px;
    }
    
    /* Video section */
    .video-label {
        top: 10px;
        left: 10px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .video-box video {
        max-height: 250px;
    }
    
    .video-divider {
        font-size: 2rem;
    }
    
    /* Features */
    .feature {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* Contact form */
    .contact-form button {
        width: 100%;
        padding: 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-item {
        min-height: 220px;
    }
    
    .video-box video {
        max-height: 200px;
    }
}