:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(90deg, #020024 0%, #252570 50%, #152470 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
}
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

section {
    position: relative;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

section.bg-light,
section.bg-white,
.bg-light,
.bg-white {
    background-color: transparent !important;
    color: #ffffff !important;
}

.card-title {
    color: #ffffff !important;
}

.text-muted {
    color: #cbd5e1 !important;
}

.card-text,
p,
.lead {
    color: #e2e8f0;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.card,
.feature-card,

.portfolio-card {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.portfolio-item {
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.portfolio-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--primary-color) !important;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    height: 100%;
    transition: 0.3s;
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.map-container {
    height: 300px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-content {
    background-color: #101020 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.modal-header .btn-close {
    filter: invert(1);
}

.accordion-item {
    background-color: #1c1658 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: #000000 !important;
    color: white !important;
    font-weight: 600;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background-color: #050414 !important;
    color: #dddddd !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    margin-bottom: 20px;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

#imageCarousel {
    max-width: 700px;     
    margin: 0 auto;     
    background: #000000;
    border-radius: 45px; 
    overflow: hidden;
}

.carousel-gallery-img {
    width: 100%;
    height: 400px;  
    object-fit: cover;    
    object-position: center; 
    border-radius: 20px;
}

.sticky-top.bg-white {
    background-color: rgba(2, 0, 36, 0.98) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.custom-sticky-card {
    z-index: 1;
}

#portfolioFilter .nav-link {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 6px 20px;
    margin: 0 5px;
}

#portfolioFilter .nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
}

.footer-custom {
    background-color: #050510 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    width: 100%;
}

.footer-custom a:hover {
    color: white !important;
}

.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: none;
}

::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

option {
    background-color: #152470;
    color: white;
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }

    .hero-img {
        max-width: 300px;
        margin-top: 30px;
    }

    .carousel-gallery-img {
        height: 250px;
    }
}