:root {
    /* --portal-primary-color: #0066cc; */
    --portal-primary-color: #055639;
    --portal-secondary-color: #ffa500;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --portal-green-color: #0C7137;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
    background-color: var(--portal-green-color);
}

.top-bar a {
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--portal-secondary-color) !important;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    /* height: 40px; */
    margin-right: 10px;
}

.navbar-brand h2 {
    margin: 0;
    font-size: 1.5rem;
}
.navbar-brand p {
    margin: 0;
    font-size: 0.875rem;
}


.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--portal-secondary-color) !important;
}

/* Hero Carousel */
.hero-carousel {
    height: 100vh;
    position: relative;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    display: none;
}

.carousel-caption.common-carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    display: block;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-custom {
    background: var(--portal-secondary-color);
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-custom:hover {
    background: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.3);
}


.hero-details-container {
    max-width: 800px;
    padding: 2rem;
    margin: 0 auto;
    border-radius: 0.5rem;
    background-color: #00000066;
}

.hero-badge {
    color: #FFF;
    font-size: 1rem !important;
    font-weight: 500;
    width: fit-content;
    margin: 0 auto;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    background-color: var(--portal-primary-color);
}

.hero-details-title {
    color: var(--portal-secondary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1rem !important;
    font-weight: 400;
}


/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--portal-secondary-color);
}

/* About Section */
.about-section {
    background: var(--light-color);
}

.about-icon {
    font-size: 3rem;
    color: var(--portal-primary-color);
    margin-bottom: 1rem;
}

.about-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

.about-description {
    color: #666;
    line-height: 1.8;
}

.mission-box {
    background: linear-gradient(135deg, var(--portal-primary-color) 0%, #0052a3 100%);
    padding: 1.5rem;
    border-radius: 15px;
    color: #fff;
}

.mission-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.mission-box h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mission-text {
    margin: 0;
    font-size: 0.95rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #666;
}

.feature-item i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Stats Section */
.stats-section {
    background: var(--light-color);
    padding: 0 0 80px 0;
}

.stat-card {
    background: #fff;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--portal-primary-color);
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
    color: var(--portal-secondary-color);
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Clients Section */
.clients-section {
    background-color: var(--light-color);
}

.client-logo-container {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-width: 100%;
    height: 8rem;
    object-fit: contain;
}

/* Services */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    border-top: 4px solid var(--portal-primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--portal-secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.services-list {
    color: var(--dark-color);
}

.services-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, var(--portal-primary-color) 0%, var(--portal-primary-color) 100%);
    color: #fff;
    padding: 100px 0;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-section .section-title::after {
    background: var(--portal-secondary-color);
}

.testimonials-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 3rem;
    color: var(--portal-secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--portal-secondary-color);
}

.author-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.rating {
    color: var(--portal-secondary-color);
}

.testimonial-carousel-control {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-control-prev:hover .testimonial-carousel-control,
.carousel-control-next:hover .testimonial-carousel-control {
    background: var(--portal-secondary-color);
    transform: scale(1.1);
}

#testimonialsCarousel .carousel-item {
    height: unset;
}
#testimonialsCarousel .carousel-item::before {
    display: none;
}

/* Gallery Section */
.gallery-section {
    background: #fff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    width: 100%;
}

.gallery-content h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-view {
    background: var(--portal-secondary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #ff8c00;
    transform: scale(1.1);
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-body img {
    width: 100%;
    border-radius: 10px;
}

/* Team Section */
.team-section {
    background: var(--light-color);
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-content h5 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.team-content p {
    color: #666;
    font-size: 0.9rem;
}

#teamCarousel .carousel-item {
    height: unset;
}

#teamCarousel .carousel-item::before {
    display: none;
}

/* Contact Section */
.contact-section {
    color: #fff;
    /* background: linear-gradient(135deg, var(--portal-primary-color) 0%, #0052a3 100%); */
    background-color: var(--portal-primary-color);
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-title::after {
    background: var(--portal-secondary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--portal-secondary-color);
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--portal-secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Alert Messages */
.alert-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }
}