/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease-in-out, transform 2s ease-in-out;
}

.hero-image.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 2rem;
    line-height: 1.4;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.btn-outline-light {
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #99ab9c;
    border-color: #99ab9c;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #7a8c7d;
    border-color: #7a8c7d;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.section-title {
    color: #2c3b35;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #99ab9c;
}

.service-block {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.service-block:nth-child(even) {
    background-color: #f8f9fa;
}

.service-content {
    padding: 2rem;
    text-align: left;
}

.service-title {
    color: #2c3b35;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.service-subtitle {
    color: #99ab9c;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    text-align: left;
}

.feature-list li i {
    color: #99ab9c;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.service-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* CTA Section */
.cta-section {
    background-color: #2c3b35;
    color: #fff;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Creative Image Layouts */

/* Social Media Grid */
.image-grid {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2rem 0;
}

.grid-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-image.main-image {
    position: absolute;
    width: 80%;
    height: 300px;
    object-fit: cover;
    z-index: 1;
    left: 0;
    top: 0;
}

.grid-image.overlay-1 {
    position: absolute;
    width: 40%;
    height: 200px;
    object-fit: cover;
    z-index: 2;
    right: 0;
    top: 50px;
    transform: rotate(5deg);
}

.grid-image.overlay-2 {
    position: absolute;
    width: 40%;
    height: 200px;
    object-fit: cover;
    z-index: 3;
    right: 40px;
    bottom: 0;
    transform: rotate(-5deg);
}

.image-grid:hover .grid-image {
    transform: scale(1.02) rotate(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Content Creation Collage */
.image-collage {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2rem 0;
}

.collage-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-image.main {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.collage-image.overlay {
    position: absolute;
    width: 50%;
    height: 200px;
    object-fit: cover;
    right: -20px;
    bottom: -20px;
    border: 5px solid #fff;
}

.image-collage:hover .collage-image.main {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-collage:hover .collage-image.overlay {
    transform: translateY(10px) rotate(5deg);
}

/* Copywriting Floating Text */
.floating-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2rem 0;
    overflow: hidden;
}

.floating-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keyword {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.floating-image-container:hover .floating-image {
    filter: brightness(0.6);
    transform: scale(1.05);
}

.floating-image-container:hover .text-overlay {
    opacity: 1;
}

.floating-image-container:hover .keyword {
    transform: translateY(0);
}

/* Web Development Tech Stack */
.tech-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2rem 0;
    overflow: hidden;
}

.tech-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-overlay i {
    color: #fff;
    font-size: 3rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.tech-overlay i:nth-child(1) {
    transition-delay: 0.1s;
}

.tech-overlay i:nth-child(2) {
    transition-delay: 0.2s;
}

.tech-overlay i:nth-child(3) {
    transition-delay: 0.3s;
}

.tech-overlay i:nth-child(4) {
    transition-delay: 0.4s;
}

.tech-overlay i:nth-child(5) {
    transition-delay: 0.5s;
}

.tech-image-container:hover .tech-image {
    filter: brightness(0.7);
    transform: scale(1.05);
}

.tech-image-container:hover .tech-overlay {
    opacity: 1;
}

.tech-image-container:hover .tech-overlay i {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section {
        min-height: 80vh;
    }

    .service-block {
        padding: 40px 0;
    }

    .service-content {
        text-align: left !important;
        padding: 2rem 0;
    }

    .feature-list li {
        justify-content: flex-start !important;
    }

    .service-title,
    .service-subtitle,
    .service-text {
        text-align: left !important;
    }

    .service-image {
        margin: 2rem 0;
        max-width: 90%;
    }

    .image-grid,
    .image-collage,
    .floating-image-container,
    .tech-image-container {
        height: 300px;
        margin: 1rem 0;
    }

    .grid-image.main-image {
        width: 100%;
        height: 250px;
    }

    .grid-image.overlay-1,
    .grid-image.overlay-2 {
        display: none;
    }

    .collage-image.overlay {
        width: 40%;
        height: 150px;
    }

    .tech-overlay {
        opacity: 1;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    }

    .tech-overlay i {
        font-size: 2rem;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .service-block {
        padding: 40px 0;
    }

    .service-title {
        font-size: 1.8rem;
    }

    .service-subtitle {
        font-size: 1.2rem;
    }

    .keyword {
        font-size: 1.5rem;
    }

    .tech-overlay {
        gap: 15px;
    }

    .tech-overlay i {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-lg {
        width: 100%;
    }
}