/* Base styles */
:root {
    --primary: #6a11cb;
    --primary-light: #2575fc;
    --dark: #1F2937;
    --gray: #6B7280;
    --light: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --icon-color: #4D0A99;
    --icon-bg: rgba(77, 10, 153, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container-main {

    padding: 0 2rem;
    margin: 0 auto;
    width: 100%;
}

.container-main h1,
h2,
h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.container-main h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.container-main h2 {
    font-size: 2rem;
    font-weight: 700;
}

.container-main h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.container-main p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

.container-main a {
    text-decoration: none;
    transition: var(--transition);
}


/* === NAVBAR === */
.header {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #6a11cb;
}

.logo img {
    height: 32px;
    margin-right: 8px;
}

.logo .logo-fallback {
    display: none;
}

.logo,
.logo a,
.logo img {
    -webkit-tap-highlight-color: transparent;

    -webkit-user-drag: none;
    user-select: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-divider {
    width: 2px;
    height: 24px;
    background-color: #ccc;
    margin: 0 10px;
    display: inline-block;
}

.nav-link {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6a11cb;
}

.nav-link.active {
    font-weight: 600;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.nav-icon:hover svg {
    transform: scale(1.1);
}

/* Icons */
.telegram-icon {
    background-color: #e9f5ff;
}

.telegram-icon:hover {
    background-color: #d1ebff;
}

.telegram-icon svg path {
    fill: #0088cc;
}

.whatsapp-icon {
    background-color: #e7f7e9;
}

.whatsapp-icon:hover {
    background-color: #d4f0d9;
}

.whatsapp-icon svg path {
    fill: #25D366;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #f1f1f1;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: #4E69CB;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-phone:hover {
    background-color: #e3e3e3;
    color: #6a11cb;
}

.nav-phone svg {
    width: 20px;
    height: 20px;
    fill: #6a11cb;
}

.language-select {
    margin-left: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

/* Toggle Button */
.mobile-toggle {
    display: none;
    width: 32px;
    height: 28px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Bars */
.mobile-toggle .bar {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle .bar:nth-child(1) {
    top: 0;
}

.mobile-toggle .bar:nth-child(2) {
    top: 12px;
}

.mobile-toggle .bar:nth-child(3) {
    bottom: 0;
}

/* Open (X) State */
.mobile-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 12px;
}

/* Show on mobile */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-phone .phone-number {
        display: none;
    }
}

/* Right-side Icons Group */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 64px;
        left: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 20px;
    }

    .nav.show {
        display: flex;
        margin-top: 15px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .nav-right {
        gap: 10px;
        margin-left: auto;
    }
}


/* Minimal Hero Section */
/* General Services Timeline Section */
.horizontal-service-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    background-image: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 0 0 30px 30px;
    margin: 0 auto;
    z-index: 1;
}

.horizontal-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.657 3 3 3z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.container-gen {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.horizontal-service-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.horizontal-service-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: white;
    font-family: 'Roboto', sans-serif;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.horizontal-service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.horizontal-service-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
    height: auto;
    min-height: 150px;
    flex: 1 1 calc(50% - 0.75rem);
    max-width: 550px;
    position: relative;
    z-index: 2;
}

.horizontal-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.horizontal-service-card:hover .horizontal-service-icon {
    transform: scale(1.1);
    background-color: rgba(77, 10, 153, 0.15);
}

.horizontal-service-icon {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    background-color: var(--icon-bg);
    border-radius: 50%;
    padding: 0.75rem;
    transition: var(--transition);
    color: var(--icon-color);
}

.horizontal-service-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.horizontal-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.horizontal-service-content h3 {
    font-size: 1.25rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.horizontal-service-content p {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    flex-grow: 1;
}

.horizontal-service-book-btn {
    text-align: center;
    position: relative;
    z-index: 1;
}

.book-now-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    padding: 0.875rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.book-now-btn:hover {
    background-color: #3D0880;
    box-shadow: 8px;
    transform: translateY(-2px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .horizontal-service-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;

    }

    .horizontal-service-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .horizontal-service-content {
        flex: 1;
    }

    .horizontal-service-content p {
        flex-grow: 1;
    }
}


/* Search Section */
.search-section {
    padding: 2rem 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 64px;
    z-index: 900;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background-color: var(--white);
    transition: var(--transition);
    outline: none;
    box-shadow: var(--shadow-sm);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #94a3b8;
}

/* Services Section */
.services-section {
    padding: 2rem 0rem;
    background-color: var(--light);
    position: relative;

    /* Wider layout */
    margin: 0 auto;
    /* Center the section */
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236a11cb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    /* Was 320px */
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    padding-right: 60px;
    /* Space for badge */
}

.badge {
    position: absolute;
    top: -0.8rem;
    right: 1.5rem;
    background: var(--gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    color: var(--gray);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns */
    gap: 0.5rem 1rem;
    /* Space between items */
}

.features-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.features-list li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f00c";
    /* check icon */
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.card-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(106, 17, 203, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 7px 14px rgba(106, 17, 203, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(106, 17, 203, 0.05);
    transform: translateY(-2px);
}

.coming-soon-text {
    text-align: center;
    font-size: 1.5rem;
    color: var(--gray);
    margin: 3rem 0;
    font-style: italic;
}

/* Footer with attribution */
.footer {
    text-align: center;
    padding: 2rem 0 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    background-color: var(--white);
    border-top: 1px solid #e2e8f0;
}



/* Animation for cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.service-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive styles */
@media (max-width: 768px) {
    .service-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }



    .search-input {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }



    h1 {
        font-size: 2rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        /* Go back to 1 column on small screens */
    }
}