/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1F1F1F;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Properties */
:root {
    --primary-color: #1F1F1F;
    --secondary-color: #545454;
    --accent-color: #20C997;
    --light-gray: #F8F9FA;
    --medium-gray: #DADADA;
    --white: #FFFFFF;
    --shadow: 0px 10px 100px rgba(0, 0, 0, 0.14);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    animation: slideInFromTop 0.6s ease-out;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 24px;
    color: var(--primary-color);
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 4px;
}

.logo-img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #545454;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #1F1F1F;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #1F1F1F;
    font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-btn {
    background: #1F1F1F;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    background: #545454;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 31, 31, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #1F1F1F;
}

.title-line {
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    margin-right: 8px;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight {
    color: #20C997;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 18px;
    color: #545454;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    font-weight: 400;
}

.hero-cta {
    background: #1F1F1F;
    color: #FFFFFF;
    border: none;
    padding: 18px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.hero-cta:hover {
    background: #545454;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(31, 31, 31, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #545454;
    font-weight: 400;
}

.hero-images {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(3deg);
    transition: var(--transition);
}

.hero-image-main:hover {
    transform: rotate(0deg) scale(1.02);
}

.main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(31, 31, 31, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.hero-image-main:hover .image-overlay {
    opacity: 1;
}

.hero-image-secondary {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(-5deg);
    transition: var(--transition);
}

.hero-image-secondary:hover {
    transform: rotate(0deg) scale(1.05);
}

.secondary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-light {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.light-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.light-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 2s infinite;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.header-line {
    width: 100px;
    height: 3px;
    background: #1F1F1F;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #1F1F1F;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--white);
    transition: var(--transition);
}

.service-icon i {
    font-size: 28px;
    color: var(--white);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    transform: rotate(5deg) scale(1.1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--white);
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-description {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 16px;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-image:hover {
    transform: scale(1.02);
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.detail-description {
    color: var(--secondary-color);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.service-list {
    margin-bottom: 40px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(31, 31, 31, 0.02);
    padding-left: 10px;
}

.service-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.service-arrow {
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.service-item:hover .service-arrow {
    transform: translateX(5px);
}

.learn-more-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.learn-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 31, 31, 0.3);
}

/* Process Section */
.process {
    padding: 120px 0;
    background: var(--light-gray);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 60px;
    line-height: 1.2;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.step-number i {
    font-size: 28px;
    color: var(--white);
}

.process-step:hover .step-number {
    background: var(--accent-color);
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.step-description {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 16px;
}

.process-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.process-img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    border-radius: 8px;
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 31, 31, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.process-image:hover .process-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--white);
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    max-width: 100%;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--medium-gray);
    color: var(--secondary-color);
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(31, 31, 31, 0.8), rgba(31, 31, 31, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-content {
    text-align: center;
    color: var(--white);
}

.gallery-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-content p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--light-gray);
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--primary-color);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    animation: fadeInUp 0.8s ease-out;
}

.quote-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    line-height: 1;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Newsletter Section */
.newsletter {
    padding: 120px 0;
    background: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.newsletter-description {
    color: var(--secondary-color);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 60px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.email-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.email-field i {
    color: var(--secondary-color);
    font-size: 18px;
}

.email-field input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--primary-color);
}

.email-field input::placeholder {
    color: var(--secondary-color);
}

.subscribe-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 20px 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--secondary-color);
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.contact-extra-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-hours,
.contact-cta,
.contact-features {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-hours:hover,
.contact-cta:hover,
.contact-features:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.extra-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-title i {
    color: var(--accent-color);
    font-size: 16px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hour-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--primary-color);
}

.time {
    color: var(--secondary-color);
    font-size: 14px;
}

.cta-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-cta-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    width: fit-content;
}

.contact-cta-btn:hover {
    background: #17a2b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 201, 151, 0.3);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 16px;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-map-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-map-container iframe {
    width: 100%;
    max-width: 600px;
    height: 580px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1F1F1F;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder,
.modal-form input::placeholder,
.modal-form select::placeholder,
.modal-form textarea::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #20C997;
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.1);
    transform: translateY(-1px);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.modal-form input:hover,
.modal-form select:hover,
.modal-form textarea:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.submit-btn {
    background: #1F1F1F;
    color: #FFFFFF;
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(31, 31, 31, 0.15);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: #545454;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 31, 31, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(31, 31, 31, 0.2);
}

/* Modal form row styling */
.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
}

/* Enhanced select dropdown styling */
.contact-form select,
.modal-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Textarea specific styling */
.contact-form textarea,
.modal-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

/* Form validation states */
.contact-form input:invalid,
.modal-form input:invalid {
    border-color: #EF4444;
}

.contact-form input:valid,
.modal-form input:valid {
    border-color: #10B981;
}

/* Form validation states */
.modal-form input:invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.modal-form input:valid {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modal-form input:focus:invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.modal-form input:focus:valid {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Loading state for submit button */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 4px;
    filter: brightness(0) invert(1); /* Makes the logo white for dark footer */
}

.footer-logo-img:hover {
    transform: scale(1.1);
    filter: brightness(0) invert(1) brightness(1.2);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #FFFFFF;
    padding: 50px;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #F8F9FA;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #545454;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #1F1F1F;
    color: #FFFFFF;
    transform: scale(1.1);
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.2;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    animation: fadeIn 0.3s ease-out;
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    margin-top: 5vh;
    margin-bottom: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.lightbox-close:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff4444;
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-prev {
    margin-left: 20px;
}

.lightbox-next {
    margin-right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        margin: 20px 0;
        font-size: 18px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-title {
        text-align: center;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        overflow-x: auto;
        padding-bottom: 20px;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }
    
    .gallery::-webkit-scrollbar {
        height: 6px;
    }
    
    .gallery::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .gallery::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }
    
    .gallery-grid {
        display: flex;
        gap: 20px;
        width: max-content;
        min-width: 100%;
    }
    
    .gallery-item {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lazy Loading Styles */
img.loading {
    opacity: 0.3;
    filter: blur(5px);
    transition: all 0.3s ease;
}

img.loaded {
    opacity: 1;
    filter: blur(0);
    transition: all 0.3s ease;
}

img.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .gallery-filter {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .gallery-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    /* Reduce image quality on mobile for faster loading */
    .gallery-item img {
        image-rendering: optimizeSpeed;
        image-rendering: -webkit-optimize-contrast;
    }
    
    /* Logo responsive sizing */
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        width: 130px;
        height: 130px;
    }
    
    .contact-info-footer {
        text-align: center;
    }
    
    .contact-info-footer p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Mobile lightbox adjustments */
    .lightbox-content {
        max-width: 98vw;
        max-height: 90vh;
        margin-top: 5vh;
        margin-bottom: 5vh;
        padding: 20px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 32px;
        width: 45px;
        height: 45px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    /* Center Start Project button on mobile */
    .hero-cta {
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center service card content on mobile */
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-title {
        text-align: center;
    }
    
    .service-description {
        text-align: center;
    }
    
    /* Mobile map responsiveness */
    .contact-map-container {
        padding: 20px;
    }
    
    .contact-map-container iframe {
        height: 380px;
    }
}

/* Connection-based optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Low data mode optimizations */
@media (prefers-reduced-data: reduce) {
    .gallery-item img {
        filter: grayscale(50%);
    }
    
    .hero-image-main img,
    .hero-image-secondary img {
        filter: brightness(0.8);
    }
}

/* Performance optimizations */
.gallery-item {
    contain: layout style paint;
}

.hero-images {
    contain: layout style paint;
}

.service-image {
    contain: layout style paint;
}
