.hero-section {
    position: relative;
    min-height: 70vh;
    background: #e9ecef;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
    overflow: hidden;
    padding: 20px;
}

.hero-grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-grid-boxes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.hero-grid-box {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.hero-grid-box:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 80px;
}

.hero-grid-box:nth-child(2) {
    top: 30%;
    right: 8%;
    width: 100px;
    height: 100px;
}

.hero-grid-box:nth-child(3) {
    bottom: 20%;
    left: 8%;
    width: 140px;
    height: 60px;
}

.hero-grid-box:nth-child(4) {
    bottom: 35%;
    right: 15%;
    width: 80px;
    height: 80px;
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    padding: 100px 20px;
    text-align: center;
}

.hero-content-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 20px;
    z-index: -1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #6c757d;
    margin: 0 15px;
}

.hero-stat-icon {
    margin-right: 8px;
    color: #009653;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-title-highlight {
    color: #009653;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-floating-icon {
    position: absolute;
    font-size: 24px;
    color: #000;
    opacity: 0.6;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-floating-icon:nth-child(1) {
    top: 20%;
    left: 35%;
    animation-delay: 0s;
}

.hero-floating-icon:nth-child(2) {
    top: 15%;
    right: 30%;
    animation-delay: 2s;
}

.hero-floating-icon:nth-child(3) {
    bottom: 45%;
    left: 30%;
    animation-delay: 4s;
}

.hero-floating-icon:nth-child(4) {
    bottom: 40%;
    right: 35%;
    animation-delay: 1s;
}

.hero-floating-icon:nth-child(5) {
    top: 35%;
    left: 25%;
    animation-delay: 3s;
}

.hero-floating-icon:nth-child(6) {
    top: 45%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-25px) rotate(-5deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-stat-item {
        margin: 0;
    }

    .hero-floating-icon {
        font-size: 20px;
    }

    .hero-grid-box {
        width: 80px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .hero-floating-icon {
        font-size: 18px;
    }
}

.hero-floating-icon:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.hero-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.hero-grid-line {
    position: absolute;
    background: rgba(0, 150, 83, 0.1);
}

.hero-grid-line.horizontal {
    height: 1px;
    left: 0;
    right: 0;
}

.hero-grid-line.vertical {
    width: 1px;
    top: 0;
    bottom: 0;
}

.hero-grid-line:nth-child(1) {
    top: 25%;
}

.hero-grid-line:nth-child(2) {
    top: 50%;
}

.hero-grid-line:nth-child(3) {
    top: 75%;
}

.hero-grid-line:nth-child(4) {
    left: 25%;
}

.hero-grid-line:nth-child(5) {
    left: 50%;
}

.hero-grid-line:nth-child(6) {
    left: 75%;
}

.serv-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.serv-stat {
    text-align: center;
}

.serv-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.serv-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #009653;
}

/* Services Section */
.serv-services {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.serv-section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: serv-fadeInUp 1s ease-out 0.3s forwards;
}

.serv-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
}

.serv-section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #009653;
    border-radius: 2px;
}

.serv-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.serv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.serv-card-wrapper {
    opacity: 0;
    animation: serv-slideInUp 0.8s ease-out forwards;
}

.serv-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}
.serv-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}
.serv-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}
.serv-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}
.serv-card-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}
.serv-card-wrapper:nth-child(6) {
    animation-delay: 0.6s;
}
.serv-card-wrapper:nth-child(7) {
    animation-delay: 0.7s;
}
.serv-card-wrapper:nth-child(8) {
    animation-delay: 0.8s;
}

/* Flip Card Container */
.serv-card {
    position: relative;
    width: 100%;
    height: 450px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

.serv-card:hover {
    transform: rotateY(180deg);
}

.serv-card-front,
.serv-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.serv-card-front {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    text-align: center;
}

.serv-card-back {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
    transform: rotateY(180deg);
}

.serv-card:hover .serv-card-front {
    box-shadow: 0 20px 60px rgba(0, 150, 83, 0.15);
}

.serv-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.serv-card-back .serv-card-title {
    color: white;
    text-align: left;
    margin-bottom: 2rem;
}

.serv-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.serv-card-price {
    font-size: 2rem;
    font-weight: 800;
    color: #009653;
    margin-top: auto;
}

.serv-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.serv-features-list li {
    padding: 0.8rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #e8f5e8;
    opacity: 0;
    transform: translateX(-20px);
    animation: none;
}

.serv-card:hover .serv-features-list li {
    animation: serv-slideInRight 0.3s ease-out forwards;
}

.serv-card:hover .serv-features-list li:nth-child(1) {
    animation-delay: 0.1s;
}
.serv-card:hover .serv-features-list li:nth-child(2) {
    animation-delay: 0.2s;
}
.serv-card:hover .serv-features-list li:nth-child(3) {
    animation-delay: 0.3s;
}
.serv-card:hover .serv-features-list li:nth-child(4) {
    animation-delay: 0.4s;
}
.serv-card:hover .serv-features-list li:nth-child(5) {
    animation-delay: 0.5s;
}

.serv-features-list i {
    color: #009653;
    margin-right: 1rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes serv-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serv-slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serv-slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .serv-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .serv-section-title {
        font-size: 2.2rem;
    }

    .serv-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }

    .serv-card-wrapper {
        max-width: 350px;
        width: 100%;
    }

    .serv-card {
        height: 420px;
    }

    .serv-card-front,
    .serv-card-back {
        padding: 2rem;
    }

    .serv-card-title {
        font-size: 1.3rem;
    }

    .serv-card-description {
        font-size: 0.95rem;
    }

    .serv-card-price {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .serv-services {
        padding: 80px 15px;
    }

    .serv-card-wrapper {
        max-width: 320px;
    }

    .serv-card {
        height: 400px;
    }

    .serv-card-front,
    .serv-card-back {
        padding: 1.5rem;
    }

    .serv-card-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .serv-card-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .serv-features-list li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }

    .serv-card-price {
        font-size: 1.6rem;
    }
}

.cta-section {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(0, 150, 83, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 80%,
            rgba(0, 150, 83, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 0.8s ease;
}

.cta-icon.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cta-icon i {
    font-size: 2rem;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.2s;
    line-height: 1.2;
}

.cta-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-subtitle {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
    line-height: 1.5;
}

.cta-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Floating particles animation */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #009653;
    border-radius: 50%;
    opacity: 0.3;
    animation: ctaFloat 6s infinite linear;
}

@keyframes ctaFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 15px;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 30px;
    }

    .cta-icon i {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 50px 10px;
    }

    .cta-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 25px;
    }

    .cta-icon i {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 0.85rem;
    }
}

.cta-section:hover .cta-particle {
    animation-duration: 4s;
}

