:root {
    --accent-color: #1e4f9e;
    --accent-light: rgba(30, 79, 158, 0.1);
    --text-color: #1d1d1f;
    --light-text: #86868b;
    --white: #ffffff;
    --light-bg: #f5f5f7;
}

.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), #0d2b5e);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    transform-origin: center center;
    transition: transform 0.1s ease-out, filter 0.1s ease-out;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.subtitle {
    font-size: 26px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.primary-cta {
    background-color: var(--white);
    color: var(--accent-color);
}

.secondary-cta {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.cta-button:hover {
    transform: scale(1.05);
}

.section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

.gray-bg {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

/* Service Categories */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-category {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-category:hover {
    transform: translateY(-10px);
}

.service-category h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-category h3::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    margin-right: 15px;
}

.service-category ul {
    list-style-type: none;
}

.service-category li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.service-category li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Feature Sections */
.feature {
    display: flex;
    margin-bottom: 100px;
    align-items: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s, transform 0.8s;
}

.feature.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.feature:nth-child(even).visible {
    transform: translateX(0);
}

.feature-image {
    flex: 1;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.feature-content {
    flex: 1;
    padding: 0 50px;
}

.feature-title {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-text {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 18px;
}

.accent-bar {
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px 0;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 60px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.step-content p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s, box-shadow 0.5s;
    transform: translateY(50px);
    opacity: 0;
}

.card.visible {
    transform: translateY(0);
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    background-position: center;
    background-size: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.card-text {
    color: var(--light-text);
    line-height: 1.5;
}

/* Intro Section */
.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.service-intro h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--light-text);
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.primary-cta {
    background-color: var(--accent-color);
    color: white;
}

.secondary-cta {
    background-color: var(--light-bg);
    color: var(--accent-color);
}

.cta-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 22px;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature:nth-child(even) {
        flex-direction: column;
    }

    .feature-content {
        padding: 30px 0;
    }

    .accent-bar {
        margin: 20px auto;
    }

    .feature-image {
        height: 300px;
        width: 100%;
    }

    nav ul {
        justify-content: space-between;
        padding: 0 10px;
    }

    nav ul li {
        margin: 0 5px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .service-categories {
        grid-template-columns: 1fr;
    }
    
    .service-intro h2 {
        font-size: 32px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* SERVICE INTRO STYLES */
.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.service-intro h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--light-text);
}

/* SERVICE CATEGORIES */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-category {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-category:hover {
    transform: translateY(-10px);
}

.service-category h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-category h3::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    margin-right: 15px;
}

.service-category ul {
    list-style-type: none;
}

.service-category li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.service-category li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* GALLERY STYLES */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* PROCESS STEPS */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 60px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.step-content p {
    color: var(--light-text);
    line-height: 1.6;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .service-categories {
        grid-template-columns: 1fr;
    }
    
    .service-intro h2 {
        font-size: 32px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-content {
        text-align: center;
    }
}