:root {
    --accent-color: #6366f1;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Continuous Animated Elements */
.animation-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.1;
    animation: drift 15s infinite linear;
}

@keyframes drift {
    from { transform: translateY(100vh) rotate(0deg); }
    to { transform: translateY(-10vh) rotate(360deg); }
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    filter: blur(50px);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

@keyframes move {
    from { transform: translate(-10%, -10%); }
    to { transform: translate(20%, 20%); }
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1050;
}

/* --- CAROUSEL STYLING --- */
.top-carousel {
    height: 100vh;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.split-container {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

.split-text {
    flex: 1;
    padding: 0 5% 0 10%;
    color: #1e293b; 
    z-index: 10;
}

.split-text h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #0f172a;
}

.split-text .highlight {
    color: #6366f1;
}

.split-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
}

.split-image {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 5%;
}

.image-card-wrap {
    position: relative;
    width: 85%;
    height: 70%;
}

.image-card-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
    border: 10px solid white;
}

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1e293b;
    animation: heroFloat 5s ease-in-out infinite;
    z-index: 5;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.badge-1 { top: 15%; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 9%; left: -30px; animation-delay: 0.0s; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Showcase & Hero Sections */
.hero { padding: 100px 0; position: relative; }
.hero-vector { max-width: 500px; animation: floatUpDown 3s ease-in-out infinite; }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.service-card {
    background: white; border: none; border-radius: 20px; padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s; height: 100%;
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15); }

.work-card { position: relative; border-radius: 15px; overflow: hidden; }
.work-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.9), transparent);
    opacity: 0; transition: 0.3s; display: flex; align-items: flex-end; padding: 20px; color: white;
}
.work-card:hover .work-overlay { opacity: 1; }
        
.price-tag { background: #f1f5f9; color: var(--accent-color); padding: 5px 15px; border-radius: 50px; font-weight: 700; }

.wa-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center;
    align-items: center; font-size: 30px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); z-index: 9999;
}

/* Device Mockup Style */
.browser-mockup {
    border: 12px solid #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .split-container { flex-direction: column; text-align: center; padding-top: 100px; }
    .split-text { padding: 40px 20px; flex: none; }
    .split-image { width: 100%; height: 50%; padding: 20px; flex: none; }
    .image-card-wrap { height: 100%; width: 90%; }
    .floating-badge { display: none; }
}

/* Custom font weight */
.fw-800 { font-weight: 800; }

/* Soft primary background */
.bg-soft-primary {
    background-color: #e0e7ff !important;
    color: var(--accent-color);
}

.text-primary { color: var(--accent-color) !important; }
.highlight { color: var(--accent-color); }

/* --- Gallery Styling --- */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0; /* remove gap */
}
.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.gallery-caption h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0; /* remove caption gap */
}

/* Remove default spacing in grid */
.row.g-4 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* --- Modal Styling for Gallery --- */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.modal.fade.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-body img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.4s ease;
}
:root {
    --accent-color: #6366f1;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Continuous Animated Elements */
.animation-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.1;
    animation: drift 15s infinite linear;
}

@keyframes drift {
    from { transform: translateY(100vh) rotate(0deg); }
    to { transform: translateY(-10vh) rotate(360deg); }
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    filter: blur(50px);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

@keyframes move {
    from { transform: translate(-10%, -10%); }
    to { transform: translate(20%, 20%); }
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1050;
}

/* --- CAROUSEL STYLING --- */
.top-carousel {
    height: 100vh;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.split-container {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

.split-text {
    flex: 1;
    padding: 0 5% 0 10%;
    color: #1e293b; 
    z-index: 10;
}

.split-text h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #0f172a;
}

.split-text .highlight {
    color: #6366f1;
}

.split-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
}

.split-image {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 5%;
}

.image-card-wrap {
    position: relative;
    width: 85%;
    height: 70%;
}

.image-card-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
    border: 10px solid white;
}

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1e293b;
    animation: heroFloat 5s ease-in-out infinite;
    z-index: 5;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.badge-1 { top: 15%; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 9%; left: -30px; animation-delay: 2.5s; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Showcase & Hero Sections */
.hero { padding: 100px 0; position: relative; }
.hero-vector { max-width: 500px; animation: floatUpDown 3s ease-in-out infinite; }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.service-card {
    background: white; border: none; border-radius: 20px; padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s; height: 100%;
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15); }

.work-card { position: relative; border-radius: 15px; overflow: hidden; }
.work-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.9), transparent);
    opacity: 0; transition: 0.3s; display: flex; align-items: flex-end; padding: 20px; color: white;
}
.work-card:hover .work-overlay { opacity: 1; }
        
.price-tag { background: #f1f5f9; color: var(--accent-color); padding: 5px 15px; border-radius: 50px; font-weight: 700; }

.wa-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center;
    align-items: center; font-size: 30px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); z-index: 9999;
}

/* Device Mockup Style */
.browser-mockup {
    border: 12px solid #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .split-container { flex-direction: column; text-align: center; padding-top: 100px; }
    .split-text { padding: 40px 20px; flex: none; }
    .split-image { width: 100%; height: 50%; padding: 20px; flex: none; }
    .image-card-wrap { height: 100%; width: 90%; }
    .floating-badge { display: none; }
}

/* Custom font weight */
.fw-800 { font-weight: 800; }

/* Soft primary background */
.bg-soft-primary {
    background-color: #e0e7ff !important;
    color: var(--accent-color);
}

.text-primary { color: var(--accent-color) !important; }
.highlight { color: var(--accent-color); }

/* --- Gallery Styling --- */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0; /* remove gap */
}
.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.gallery-caption h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0; /* remove caption gap */
}

/* Remove default spacing in grid */
.row.g-4 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* --- Modal Styling for Gallery --- */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.modal.fade.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-body img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.4s ease;
}
.modal-body h5 {
    margin-top: 15px