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

/* iOS Safari animation fixes */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
}

/* Force hardware acceleration for smoother animations */
.service__card,
.project__card,
.testimonial__card,
.highlight,
.value__item {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section */
.section {
    padding: 40px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 2px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Make Who We Are description wider on desktop */
.about .section__subtitle {
    max-width: 800px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scroll-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.nav__brand:hover {
    opacity: 0.8;
}

.nav__logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav__brand-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
    color: #dc2626;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__text {
    color: white;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #f1f5f9;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero__button {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.hero__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

/* Hero Services Scroll */
.hero__services {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch;
}

.services__scroll {
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.services__track {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
    width: fit-content;
    will-change: transform;
    -webkit-animation: scroll 20s linear infinite;
}

.services__track:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

/* Force animation on mobile */
@media (max-width: 768px) {
    .services__track {
        animation: scroll 15s linear infinite;
        -webkit-animation: scroll 15s linear infinite;
    }
}

.service__scroll-card {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.service__scroll-card:hover {
    transform: translateY(-10px) translateZ(0);
    -webkit-transform: translateY(-10px) translateZ(0);
}

/* Touch devices interaction */
@media (hover: none) and (pointer: coarse) {
    .service__scroll-card:active {
        transform: translateY(-5px) translateZ(0);
        -webkit-transform: translateY(-5px) translateZ(0);
    }
}

.service__scroll-image {
    height: 180px;
    overflow: hidden;
}

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

.service__scroll-card:hover .service__scroll-image img {
    transform: scale(1.1);
}

.service__scroll-content {
    padding: 20px;
    text-align: center;
}

.service__scroll-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service__scroll-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

/* About Section */
.about {
    background-color: #f8fafc;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__content {
    order: 1;
}

.about__visual {
    order: 2;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.value__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    -webkit-transform: translateY(50px) scale(0.95);
    animation: fadeInUpScale 0.7s ease forwards;
    -webkit-animation: fadeInUpScale 0.7s ease forwards;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    will-change: transform, opacity;
    -webkit-transform: translateZ(0);
}

.value__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03), rgba(185, 28, 28, 0.03));
    transition: left 0.5s ease;
}

.value__item:hover::before {
    left: 0;
}

.value__item:nth-child(1) {
    animation-delay: 0.1s;
}

.value__item:nth-child(2) {
    animation-delay: 0.3s;
}

.value__item:nth-child(3) {
    animation-delay: 0.5s;
}

.value__item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.value__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.value__item:hover .value__icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

.value__icon i {
    transition: all 0.4s ease;
}

.value__item:hover .value__icon i {
    transform: scale(1.1);
}

.value__content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.value__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.value__item:hover .value__title {
    color: #dc2626;
}

.value__text {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.value__item:hover .value__text {
    color: #555;
}

.about__image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.8s ease forwards;
    animation-delay: 0.4s;
}

.about__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about__image:hover img {
    transform: scale(1.05);
}

@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@-webkit-keyframes fadeInUpScale {
    to {
        opacity: 1;
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Services Section */
.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service__card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.05));
    transition: left 0.4s ease;
}

.service__card:hover::before {
    left: 0;
}

.service__card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #dc2626;
}

.service__icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service__card:hover .service__icon {
    transform: rotateY(360deg) scale(1.1);
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
}

.service__icon i {
    transition: all 0.4s ease;
}

.service__card:hover .service__icon i {
    transform: scale(1.2);
}

.service__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service__card:hover .service__title {
    color: #dc2626;
}

.service__description {
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service__card:hover .service__description {
    color: #555;
}

/* Projects Section */
.projects {
    background-color: #f8fafc;
}

.projects__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project__card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.project__card:hover {
    transform: translateY(-10px);
}

.project__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.project__card:hover .project__image img {
    transform: scale(1.1);
}

.project__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project__card:hover .project__overlay {
    opacity: 1;
}

.project__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.project__category {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.project__view-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project__view-btn:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal__content {
    position: relative;
    margin: 5% auto;
    max-width: 80%;
    max-height: 80%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.modal__info {
    padding: 30px;
}

.modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.modal__category {
    color: #dc2626;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background-color: #f0f9ff;
}

.testimonials__slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials__wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial__card {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    margin: 0 auto;
    max-width: 800px;
}

.testimonial__card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial__text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.testimonial__info {
    text-align: left;
}

.testimonial__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.testimonial__position {
    color: #888;
    font-size: 0.9rem;
}

.testimonials__navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.nav__arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.nav__arrow:hover {
    border-color: #dc2626;
    color: #dc2626;
    transform: scale(1.1);
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #dc2626;
}

.dot:hover {
    background-color: #dc2626;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background-color: #f8fafc;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact__info-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact__detail i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact__detail h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.contact__detail p {
    color: #666;
}

/* Form Styles */
.contact__form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form__group {
    margin-bottom: 25px;
}

.form__label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__button {
    width: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.form__button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form__status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form__status.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form__status.error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.footer__logo:hover {
    opacity: 0.8;
}

.footer__logo img {
    width: 40px;
    height: 40px;
}

.footer__logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer__description {
    color: #ccc;
    line-height: 1.6;
    max-width: 300px;
}

.footer__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #dc2626;
}

.footer__social-links {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #dc2626;
    transform: translateY(-3px);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer__copy {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .section {
        padding: 30px 0;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 40px 20px;
    }
    
    .nav__menu.show-menu {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .nav__link {
        font-size: 1.1rem;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .hero {
        background-attachment: scroll;
        padding: 100px 0 60px;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero__text {
        order: 2;
    }
    
    .hero__services {
        order: 1;
    }
    
    .service__scroll-card {
        min-width: 250px;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about__content {
        order: 2;
    }
    
    .about__visual {
        order: 1;
    }
    
    .about__values {
        gap: 20px;
    }
    
    .value__item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .value__icon {
        margin: 0 auto 15px;
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .value__title {
        font-size: 1.2rem;
    }
    
    .value__text {
        font-size: 0.9rem;
    }
    
    .services__container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .projects__container {
        grid-template-columns: 1fr;
    }
    
    .testimonial__author {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial__info {
        text-align: center;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__brand {
        text-align: left;
        padding: 0 15px 30px;
        border-bottom: 1px solid #374151;
        margin-bottom: 20px;
    }
    
    .footer__links {
        text-align: left;
        padding: 0 15px;
    }
    
    .footer__title {
        margin-bottom: 20px;
        font-size: 1.1rem;
        border-bottom: 2px solid #dc2626;
        padding-bottom: 8px;
        display: inline-block;
    }
    
    .footer__list {
        margin-bottom: 30px;
    }
    
    .footer__social {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #374151;
    }
    
    .footer__social-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer__bottom {
        text-align: center;
        margin-top: 30px;
        padding-top: 25px;
        border-top: 2px solid #374151;
    }
    
    .footer__copy {
        font-size: 0.9rem;
        line-height: 1.6;
        color: #9ca3af;
    }
    
    .modal__content {
        margin: 10% auto;
        max-width: 95%;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .contact__form {
        padding: 25px;
    }
    
    .services__container {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5);
}

/* Loading Animation */
.button__icon {
    transition: transform 0.3s ease;
}

.form__button:hover .button__icon {
    transform: translateX(5px);
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
    .service__card,
    .project__card,
    .testimonial__card {
        animation: fadeInUp 0.6s ease forwards;
    }
}nial__card,
    .highlight {
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .service__card:nth-child(1) { animation-delay: 0.1s; }
    .service__card:nth-child(2) { animation-delay: 0.2s; }
    .service__card:nth-child(3) { animation-delay: 0.3s; }
    .service__card:nth-child(4) { animation-delay: 0.4s; }
    .service__card:nth-child(5) { animation-delay: 0.5s; }
    .service__card:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
