/* Main Styles for VVCALL AND CLUSTER Mali */
:root {
    --primary-blue: #001d3d;
    --primary-red: #C8102E;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-blue);
    padding: 15px 0;
    transition: all var(--transition-speed);
}

.navbar.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--white) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

.navbar-toggler {
    border-color: var(--white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section Styles */
#home {
    padding: 0;
    height: 100vh;
    min-height: 500px;
    position: relative;
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    background-color: rgba(0, 29, 61, 0.7);
    padding: 30px;
    border-radius: 5px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 10px 25px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background-color: #a30d25;
    border-color: #a30d25;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
}

/* About Section Styles */
#about {
    background-color: var(--light-gray);
}

.about-content {
    margin-top: 30px;
}

/* Services Section Styles */
.service-box {
    text-align: center;
    padding: 30px;
    border-radius: 5px;
    transition: all var(--transition-speed);
    margin-bottom: 30px;
    height: 100%;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.service-box h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* References Section Styles */
#references {
    background-color: var(--light-gray);
}

.reference-list {
    list-style-type: none;
    padding: 0;
}

.reference-list li {
    padding: 15px;
    margin-bottom: 10px;
    background-color: var(--white);
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reference-logo-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.reference-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
}

.reference-logo {
    max-height: 100px;
    max-width: 100%;
    transition: all var(--transition-speed);
}

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

.reference-logo-box h5 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.reference-service {
    margin-top: 10px;
    text-align: left;
}

.service-label {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.reference-service p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Careers Section Styles */
.careers-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 29, 61, 0.25);
}

.form-label {
    font-weight: 500;
}

/* Contact Section Styles */
#contact {
    background-color: var(--light-gray);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-right: 10px;
}

.contact-info a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-info a:hover {
    color: var(--primary-red);
}

/* Footer Styles */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 0 20px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Alert styles */
.alert {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    animation: fadeOut 4s forwards;
    animation-delay: 3s;
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0; display: none;}
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .section-heading {
        margin-bottom: 30px;
    }
    
    .service-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .carousel-caption {
        padding: 15px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Error message styles */
.error-message {
    color: var(--primary-red);
    font-size: 0.875rem;
    margin-top: -15px;
    margin-bottom: 15px;
}

.is-invalid {
    border-color: var(--primary-red) !important;
}