/* Modern Minimal Theme - Color Palette
Primary: #2C3543 (Dark Navy)
Background: #F4F5F7 (Light Gray)
Accent: #5E6A81 (Soft Blue-Gray)
CTA/Highlight: #1976D2 (Electric Blue)
Success: #4CAF50 (Muted Green)
Error: #E53935 (Coral Red)
*/

:root {
    --primary: #2C3543;
    --background: #F4F5F7;
    --accent: #5E6A81;
    --highlight: #1976D2;
    --success: #4CAF50;
    --error: #E53935;
    --white: #ffffff;
    --light-shadow: rgba(0, 0, 0, 0.08);
    --medium-shadow: rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --card-radius: 12px;
    --button-radius: 24px;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--primary);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary, .text-highlight {
    color: var(--highlight) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-error {
    color: var(--error) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary, .bg-highlight {
    background-color: var(--highlight) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-light {
    background-color: var(--white) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-error {
    background-color: var(--error) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--button-radius);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--light-shadow);
}

.btn-primary {
    background-color: var(--highlight);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--medium-shadow);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--medium-shadow);
}

.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square {
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    padding: 0;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .spinner-grow {
     color: var(--highlight) !important;
 }
/*** Spinner End ***/

/*** Cards and Containers ***/
.card, .services-item, .team-item, .blog-item, .testimonial-item {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--light-shadow);
    transition: all 0.3s ease;
    border: none;
    background-color: var(--white);
}

.card:hover, .services-item:hover, .team-item:hover, .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--medium-shadow);
}

/* Container styles for consistent spacing */
.section-padding {
    padding: 5rem 0;
}

.container {
    padding: 0 1.5rem;
}

/*** Topbar Start ***/
.topbar {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 0;
}

.topbar .top-info {
    letter-spacing: 0.5px;
}

.topbar .top-info a, .topbar .top-info small {
    color: var(--white) !important;
    opacity: 0.9;
}

.topbar .top-info a:hover {
    opacity: 1;
}

.topbar .top-link a {
    margin-right: 0.75rem;
    color: var(--highlight);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.topbar .top-link a:hover {
    opacity: 1;
    transform: scale(1.1);
}

#note {
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px var(--light-shadow);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.sticky {
    box-shadow: 0 5px 15px var(--medium-shadow);
}

.navbar .navbar-nav {
    padding: 1rem 0;
}

.navbar .navbar-nav .nav-link {
    padding: 0.75rem 1.25rem;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--highlight) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .nav-item .dropdown-menu {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 30px var(--light-shadow);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

.navbar-brand img {
    height: 48px;
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(44, 53, 67, 0.7);
    z-index: 1;
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-content {
    max-width: 900px;
    text-align: center;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    background: var(--highlight);
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
    background: var(--accent);
}

.carousel-content-btn1, 
.carousel-content-btn2 {
    padding: 0.75rem 1.75rem;
    border-radius: var(--button-radius);
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.carousel-content-btn1 {
    background: var(--white);
    color: var(--primary);
}

.carousel-content-btn1:hover {
    background: var(--highlight);
    color: var(--white);
    transform: translateY(-3px);
}

.carousel-content-btn2 {
    background: var(--highlight);
    color: var(--white);
}

.carousel-content-btn2:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    background-color: var(--white);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}
/*** Carousel End ***/

/*** Page Header ***/
.page-header {
    background: linear-gradient(rgba(44, 53, 67, 0.8), rgba(44, 53, 67, 0.8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    padding: 5rem 0;
    position: relative;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 1rem;
    color: var(--white);
}
/*** Page Header End ***/

/*** Services Start ***/
.services .services-item {
    background-color: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--light-shadow);
    transition: all 0.3s ease;
}

.services .services-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--medium-shadow);
}

.services-content {
    padding: 2rem;
    position: relative;
}

.services-content-icon i {
    color: var(--highlight) !important;
    transition: all 0.3s ease;
}

.services-item:hover .services-content-icon i {
    color: var(--primary) !important;
}

.services-item .services-content-icon p {
    margin-top: 1rem;
    color: var(--accent);
}
/*** Services End ***/

/*** About Section ***/
.about-img img {
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--light-shadow);
}

.about-content h5 {
    color: var(--highlight);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-content h1 {
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-content p {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.about-content .about-btn {
    background-color: var(--highlight);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--button-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-content .about-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--medium-shadow);
}
/*** About End ***/

/*** Team Start ***/
.team-item {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--light-shadow);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    transition: all 0.3s ease;
    width: 100%;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
}

.team-content {
    padding: 1.5rem;
}

.team-content h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-content p {
    color: var(--accent);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight);
    color: var(--white);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}
/*** Team End ***/

/*** Contact Start ***/
.contact-detail {
    position: relative;
    background-color: var(--white);
    border-radius: var(--card-radius);
    box-shadow: 0 5px 20px var(--light-shadow);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight);
    color: var(--white);
    border-radius: 50%;
    margin-right: 1rem;
}

.contact-info-text h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-text p {
    color: var(--accent);
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: 0 5px 20px var(--light-shadow);
}

.contact-form .form-control {
    height: 52px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    padding: 0 1.5rem;
    color: var(--primary);
}

.contact-form .form-control:focus {
    border-color: var(--highlight);
    box-shadow: none;
}

.contact-form textarea.form-control {
    height: auto;
    padding-top: 1rem;
}

.contact-form .btn-send {
    background-color: var(--highlight);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--button-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form .btn-send:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--medium-shadow);
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    margin-bottom: 2rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-info {
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    color: var(--highlight);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}
/*** Footer End ***/

/*** Back to Top ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}
/*** Back to Top End ***/

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 8px var(--light-shadow) !important;
}

.shadow-md {
    box-shadow: 0 5px 15px var(--medium-shadow) !important;
}

.rounded {
    border-radius: var(--border-radius) !important;
}

.rounded-lg {
    border-radius: var(--card-radius) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.25rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .topbar {
        padding: 0.5rem 0;
    }
}