/* General Body and Font Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    padding-top: 6rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1000px;
}

/* Service Card Styles (Original - kept for reference, but new ones use Tailwind/Glass) */
.service-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 0.75rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
    border-color: #4299e1;
}

/* Header Styles */
.fixed-header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Button Styles */
.whatsapp-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-fab {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    border-radius: 9999px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    background-color: #1DA851;
    transform: scale(1.05);
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-text {
    display: none;
    font-weight: 600;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.whatsapp-fab:hover .whatsapp-text {
    display: inline-block;
}

@media (min-width: 768px) {
    .whatsapp-fab {
        padding: 1rem 1.5rem;
    }

    .whatsapp-text {
        display: inline-block;
    }
}

/* Image Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Removed max-height on container to let image define it, or we can keep it as wrapper */
    background-color: #f0f0f0;
    /* Optional: background for letterboxed images */
}

.slider-image {
    width: 100%;
    height: 400px;
    /* Fixed height for consistency */
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: contain;
    /* Prevents cropping */
    pointer-events: none;
}

.slider-image.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.carousel-slide-group {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.carousel-logo-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-logo-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.carousel-logo-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.carousel-logo-card p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.carousel-button:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-button.left {
    left: 1rem;
}

.carousel-button.right {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.75rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #cbd5e0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #4299e1;
}

/* Portfolio Styles */
.portfolio-filter-button {
    position: relative;
    z-index: 10;
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.portfolio-filter-button ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.portfolio-filter-button ul li {
    display: block;
}

.portfolio-filter-button .filter-btn {
    background-color: #e2e8f0;
    color: #1a202c;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #a0aec0;
}

.portfolio-filter-button .filter-btn.active,
.portfolio-filter-button .filter-btn:hover {
    background-color: #3182ce;
    color: white;
    border-color: #3182ce;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.portfolio-item .img-holder {
    width: 100%;
    height: 16rem;
}

.portfolio-item .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info-box {
    background-color: #ffffff;
    padding: 1rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    text-align: left;
}

.portfolio-item:hover .project-info-box {
    opacity: 1;
    max-height: 100px;
}

.project-info-box .title {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-info-box p {
    color: #4a5568;
    font-size: 1rem;
}

.project-info-box a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-info-box a:hover {
    text-decoration: underline;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: flex;
    border: 1px solid #3182ce;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
}

.language-selector .lang-switch-btn {
    background-color: transparent;
    color: #ebedee;
    padding: 0.2rem 0.6rem;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 28px;
    border: none;
    outline: none;
}

.language-selector .lang-switch-btn.active {
    background-color: #e8eef0;
    color: rgb(240, 110, 5);
}

.language-selector .lang-switch-btn:hover:not(.active) {
    background-color: rgba(49, 130, 206, 0.1);
}

/* Navigation Link Active State */
.nav-link.active {
    color: #2c5282;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #3182ce;
    border-radius: 1px;
}

/* Section Scroll Margin */
section {
    scroll-margin-top: 6rem;
}


/* --- NEW STYLES FOR ADDED SECTIONS (Gradient, Glassmorphism) --- */

:root {
    --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --secondary-gradient: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --dark-bg: #0F172A;
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Glassmorphism Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

/* Gradient Text */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Icons Container */
.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Specific Service Icon Colors */
.icon-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.icon-purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.icon-green {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.icon-orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.icon-pink {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.icon-cyan {
    background: linear-gradient(135deg, #06B6D4, #0891B2);
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.icon-red {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.icon-indigo {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Timeline Steps */
.step-item {
    position: relative;
    z-index: 10;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #E2E8F0;
    z-index: -1;
}

.step-item:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .step-item::after {
        width: 2px;
        height: 100%;
        left: 2rem;
        top: 4rem;
    }

    .step-item:last-child::after {
        display: none;
    }
}

/* Navigation Dropdown Styles */
.group:hover .group-hover\:visible {
    visibility: visible;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

/* Ensure dropdown doesn't get cut off */
.relative.group {
    position: relative;
}

/* Mobile Menu Sub-items */
.mobile-sub-link {
    padding-left: 1.5rem;
    font-size: 0.95em;
    border-left: 2px solid #e2e8f0;
    margin-left: 0.5rem;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-image.active {
    opacity: 1;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #3182ce;
}