/*******************************/
/********* General CSS *********/
/*******************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #666666;
    background: #f5f5f5;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    color: #1f3a52;
}

a {
    color: #666666;
    transition: .3s;
}

a:hover, a:active, a:focus {
    color: #c4a76a;
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    background: #c4a76a;
    color: #1f3a52;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
    border-radius: 50%;
}

.back-to-top:hover {
    color: #c4a76a;
    background: #1f3a52;
}

/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    height: 90px;
    background: #c4a76a;
    display: flex;
    align-items: center;
}

.top-bar .logo {
    padding: 15px 0;
    text-align: left;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar .logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1f3a52;
    text-decoration: none;
}

.top-bar .logo h1 {
    margin: 0;
    color: #1f3a52;
    font-size: 40px;
    line-height: 40px;
    font-weight: 700;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 60px;
}

.top-bar .row {
    width: 100%;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-icon {
    font-size: 2rem;
    color: #1f3a52;
}

.top-bar-text h3 {
    margin: 0;
    font-size: 1rem;
    color: #1f3a52;
    font-weight: 600;
}

.top-bar-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #1f3a52;
}

/**********************************/
/********** Nav Bar CSS ***********/
/**********************************/
.nav-bar {
    position: relative;
    background: #c4a76a;
    transition: .3s;
}

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
    background: transparent;
    padding: 0 !important;
}

.nav-bar.nav-sticky .navbar {
    background: #030f27 !important;
}

.navbar {
    background: #030f27 !important;
    padding: 0;
}

.navbar-brand {
    color: #c4a76a !important;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-item {
    margin: 0 10px;
}

.nav-item.nav-link {
    color: #ffffff !important;
    transition: .3s;
    font-weight: 500;
}

.nav-item.nav-link:hover,
.nav-item.nav-link.active {
    color: #c4a76a !important;
}

.navbar .btn {
    background: #c4a76a;
    color: #1f3a52;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: .3s;
}

.navbar .btn:hover {
    background: #1f3a52;
    color: #c4a76a;
}

/**********************************/
/********** Carousel CSS ***********/
/**********************************/
#carousel {
    position: relative;
    height: 600px;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    background: rgba(31, 58, 82, 0.7);
    padding: 3rem;
    text-align: left;
}

.carousel-caption p,
.carousel-caption h1,
.carousel-caption .btn {
    opacity: 0;
}

.carousel-item.active .carousel-caption p,
.carousel-item.active .carousel-caption h1,
.carousel-item.active .carousel-caption .btn {
    animation-duration: 1s;
    animation-fill-mode: both;
    opacity: 1;
}

.carousel-item.active .carousel-caption p {
    animation-name: fadeInRight;
    animation-delay: 0.2s;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: #c4a76a;
    margin: 0 0 1rem 0;
}

.carousel-item.active .carousel-caption h1 {
    animation-name: fadeInLeft;
    animation-delay: 0.4s;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    font-weight: 700;
}

.carousel-item.active .carousel-caption .btn {
    animation-name: fadeInUp;
    animation-delay: 0.6s;
}

.carousel-caption .btn {
    background: #c4a76a;
    color: #1f3a52;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: .3s;
}

.carousel-caption .btn:hover {
    background: #1f3a52;
    color: #c4a76a;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**********************************/
/********** Fact CSS ***********/
/**********************************/
.fact {
    background: linear-gradient(90deg, #1f3a52 0%, #2d5474 100%);
    padding: 3rem 0;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    padding: 20px;
}

.fact-icon {
    font-size: 2.5rem;
    color: #c4a76a;
}

.fact-text h2 {
    color: #c4a76a;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

.fact-text p {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
}

/**********************************/
/********** Section Title CSS ***/
/**********************************/
.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1f3a52;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    color: #666666;
}

/**********************************/
/********** About CSS ***********/
/**********************************/
.about {
    padding: 5rem 0;
    background: #ffffff;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: .3s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    color: #1f3a52;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #666666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text .btn {
    background: #c4a76a;
    color: #1f3a52;
    padding: 10px 25px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1rem;
    transition: .3s;
}

.about-text .btn:hover {
    background: #1f3a52;
    color: #c4a76a;
}

/**********************************/
/****** Page Header CSS ***********/
/**********************************/
.page-header {
    background: linear-gradient(90deg, #1f3a52 0%, #2d5474 100%);
    padding: 3rem 0;
    text-align: center;
    color: #ffffff;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #c4a76a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
}

/**********************************/
/********** Service CSS ***********/
/**********************************/
.service {
    padding: 5rem 0;
    background: #f9f9f9;
}

.service-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: .3s;
    margin-bottom: 2rem;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: #c4a76a;
    margin-bottom: 1rem;
}

.service-item:hover .service-icon {
    color: #1f3a52;
}

.service-text h3 {
    color: #1f3a52;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-text p {
    color: #666666;
    line-height: 1.7;
}

/**********************************/
/******* Organization Structure CSS *****/
/**********************************/
.org-structure {
    padding: 5rem 0;
    background: #f9f9f9;
}

.org-structure h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1f3a52;
    font-weight: 700;
}

.org-chart {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
    background: #ffffff;
}

/**********************************/
/********** Team CSS ***********/
/**********************************/
.team {
    padding: 5rem 0;
    background: #ffffff;
}

.team-item {
    text-align: center;
    margin-bottom: 2rem;
    transition: .3s;
}

.team-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    margin-bottom: 1rem;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: .3s;
    background: #f9f9f9;
}

.team-item:hover .team-img img {
    transform: scale(1.1);
}

.team-text h3 {
    color: #1f3a52;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-text p {
    color: #c4a76a;
    font-weight: 600;
}

/**********************************/
/********** Portfolio CSS ***********/
/**********************************/
.portfolio {
    padding: 5rem 0;
    background: #f9f9f9;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 280px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(31, 58, 82, 0.9));
    padding: 2rem;
    color: #ffffff;
    transform: translateY(50px);
    transition: .3s;
}

.portfolio-item:hover .portfolio-text {
    transform: translateY(0);
}

.portfolio-text h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-text p {
    color: #c4a76a;
    margin: 0;
    font-size: 0.9rem;
}

/**********************************/
/********** Testimonial CSS ***********/
/**********************************/
.testimonial {
    padding: 5rem 0;
    background: #f9f9f9;
}

.testimonial-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: .3s;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-icon {
    font-size: 2rem;
    color: #c4a76a;
    margin-bottom: 1rem;
}

.testimonial-item p {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-item h4 {
    color: #1f3a52;
    font-weight: 600;
    margin: 0;
}

/**********************************/
/********** Contact CSS ***********/
/**********************************/
.contact {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 2rem;
    transition: .3s;
}

.contact-item:hover {
    background: #c4a76a;
    color: #ffffff;
}

.contact-icon {
    font-size: 2.5rem;
    color: #c4a76a;
    margin-bottom: 1rem;
}

.contact-item:hover .contact-icon {
    color: #1f3a52;
}

.contact-text h3 {
    color: #1f3a52;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item:hover .contact-text h3,
.contact-item:hover .contact-text p {
    color: #1f3a52;
}

.contact-text p {
    color: #666666;
    margin: 0;
    transition: .3s;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
    transition: .3s;
}

.contact-form .form-control:focus {
    border-color: #c4a76a;
    box-shadow: 0 0 0 0.2rem rgba(196, 167, 106, 0.25);
}

.contact-form .btn {
    background: #c4a76a;
    color: #1f3a52;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: .3s;
}

.contact-form .btn:hover {
    background: #1f3a52;
    color: #c4a76a;
}

/**********************************/
/********** Footer CSS ***********/
/**********************************/
.footer {
    background: #1f3a52;
    color: #ffffff;
    padding: 3rem 0 1rem 0;
}

.footer-item {
    margin-bottom: 2rem;
}

.footer-item h3 {
    color: #c4a76a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-item p {
    color: #ccc;
    line-height: 1.7;
}

.footer-item ul {
    list-style: none;
    padding: 0;
}

.footer-item ul li {
    margin-bottom: 0.5rem;
}

.footer-item ul li a {
    color: #ccc;
    transition: .3s;
}

.footer-item ul li a:hover {
    color: #c4a76a;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #c4a76a;
    color: #1f3a52;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    font-size: 1rem;
}

.footer-social a:hover {
    background: #ffffff;
    color: #1f3a52;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    color: #ccc;
}

.footer-bottom i {
    color: #c4a76a;
}

/**********************************/
/********** Responsive CSS ***********/
/**********************************/
/* Hide navbar-toggler on large screens */
@media (min-width: 992px) {
    .nav-bar {
        padding: 0 75px;
    }
    
    .nav-bar.nav-sticky {
        padding: 0 !important;
    }
    
    .navbar-brand {
        display: none !important;
    }
}

/* Mobile menu styles */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid #c4a76a;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='%23c4a76a' d='M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
    .carousel-caption {
        padding: 1.5rem;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .top-bar {
        height: auto;
        padding: 1rem 0;
    }

    .top-bar .col-lg-8 {
        display: none !important;
    }

    .top-bar .logo h1 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}