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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

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

/* ==================== */
/* Animation Classes */
/* ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from different directions */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* ==================== */
/* Buttons */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: #2d2d2d;
    color: #fff;
}

.btn-primary:hover {
    background-color: #444;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #2d2d2d;
    border: 2px solid #2d2d2d;
}

.btn-secondary:hover {
    background-color: #2d2d2d;
    color: #25D366;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background-color: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-outline {
    background-color: transparent;
    color: #25D366;
    border: 2px solid #25D366;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-whatsapp-outline:hover {
    background-color: #25D366;
    color: #fff;
    transform: translateY(-3px);
}

/* ==================== */
/* Section Titles */
/* ==================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ==================== */
/* Header */
/* ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    background-clip: text;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 90px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.mobile-name {
    display: none;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #555;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav a:hover {
    color: #0081C3;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2d2d2d;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: #555;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
    color: #2d2d2d;
    padding-left: 10px;
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line {
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.8s ease forwards;
}

.hero-line:nth-child(2) {
    animation-delay: 0.2s;
}

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

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.4s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}

.hero-image {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease 0.3s forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: #2d2d2d;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: #25D366;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: #2d2d2d;
    top: 50%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ==================== */
/* Services Section */
/* ==================== */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2d2d2d, #25D366);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ==================== */
/* Gallery Section */
/* ==================== */
.gallery {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==================== */
/* How It Works Section */
/* ==================== */
.how-it-works {
    padding: 100px 0;
    background-color: #fff;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #2d2d2d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    background-color: #25D366;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

.step-line {
    width: 50px;
    height: 3px;
    background-color: #ddd;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.step-line.animated::after {
    transform: translateX(0);
}

/* ==================== */
/* Contact Section */
/* ==================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    color: #fff;
}

.contact .section-subtitle {
    color: #aaa;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.location {
    text-align: center;
}

.location p {
    font-size: 1.1rem;
    color: #aaa;
    transition: color 0.3s ease;
}

.location p:hover {
    color: #fff;
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-brand p {
    color: #888;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: #25D366;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

/* ==================== */
/* Floating WhatsApp Button */
/* ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: bounce 2s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==================== */
/* Responsive Design */
/* ==================== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        width: 3px;
        height: 30px;
        margin: 10px 0;
    }

    .step-line::after {
        transform: translateY(-100%);
    }

    .step-line.animated::after {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-whatsapp,
    .btn-whatsapp-outline {
        width: 100%;
        max-width: 300px;
    }

    .lightbox-nav {
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 60px;
    }

    .logo-container {
        display: flex;
        align-items: center;
    }

    .mobile-name {
        display: block;
    }

    .desktop-name {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}