/* =====================
   Modern CSS Reset & Base Styles
   ===================== */

/* Consistent Bullet Points */
.bullet-points {
    list-style: none;
    padding-left: 0;
}

.bullet-points li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.bullet-points li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #1e3a8a;
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 1rem;
}

/* For larger screens, add some spacing */
@media (min-width: 992px) {
    .bullet-points li {
        padding-left: 2.5rem;
        margin-bottom: 1rem;
    }
}
:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --tertiary: #7f8c8d;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --accent: #3498db;
    --light-gray: #ecf0f1;
    --border-radius: 10px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-primary: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-secondary: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-secondary);
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
    border-bottom: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Adjusted heading sizes for content sections */
h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.75rem;
}

/* Specific adjustments for content-heavy sections */
.about-section h1,
.service-section h1,
.contact-section h1,
.about-section h2,
.service-section h2,
.contact-section h2 {
    margin-bottom: 1.5rem;
}

/* Hero section headings remain larger */
.hero h1 {
    font-size: 3rem;
}

/* Section headings with subtitles */
.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    border-bottom: none !important;
    padding-bottom: 0;
    background-image: none !important;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--tertiary);
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    h1, .h1 {
        font-size: 2.25rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(44, 62, 80, 0.3);
}

/* Navigation */
.navbar {
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: none; /* Removed shadow */
    backdrop-filter: none; /* Removed blur effect */
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand .site-logo {
    height: 60px; /* Fixed height */
    width: auto;
    transition: none; /* Remove any transitions */
    transform: none; /* Remove any transforms */
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

/* Remove all responsive logo styles */

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    color: var(--dark) !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1.2rem;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
    width: calc(100% - 2.4rem);
}

/* =====================
   Sections & Layout
   ===================== */
.section {
    padding: 6rem 0;
    position: relative;
    background: #fff;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    background: #fff;
    margin-bottom: 2rem;
}

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

.card-body {
    padding: 2rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--tertiary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Testimonials */
.testimonial-item {
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 1rem;
    position: relative;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-item:before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--light);
    position: absolute;
    top: 1rem;
    left: 1rem;
    line-height: 1;
    z-index: 0;
    opacity: 0.2;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
    font-style: italic;
    color: var(--tertiary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Form Elements */
.form-control {
    padding: 0.75rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: auto;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.1);
}

/* Service Icons */
.service-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        margin-top: 1rem;
    }
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Founder Section */
.founder-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    height: 102%;
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    transform: scale(1.02);
}

.founder-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.founder-details {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.founder-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.founder-content {
    flex: 1;
}

.team-social {
    margin: 1rem 0;
}

.team-social .btn {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.team-social .btn:last-child {
    margin-right: 0;
}

.team-social .btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Ensure proper alignment of content */
@media (min-width: 992px) {
    .founder-section .row {
        align-items: flex-start;
    }
    
    .founder-img {
        max-height: 600px;
    }
    
    .founder-details {
        padding-left: 2rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    opacity: 0.9;
}

.back-to-top:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(53, 94, 252, 0.3);
}

/* Typography */
body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

h1, .h1 {
    font-size: 2.75rem;
    font-weight: 700 !important;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 2.25rem;
    font-weight: 700 !important;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

h3, .h3 {
    font-size: 1.75rem;
    font-weight: 600 !important;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 600 !important;
}

h5, .h5, h6, .h6 {
    font-size: 1.25rem;
    font-weight: 500 !important;
}

p {
    margin-bottom: 1.25rem;
    color: #4a5568;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: #4a5568;
}


/* Responsive styles */
@media (max-width: 1199.98px) {
    /* For tablets and smaller desktops */
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    /* For small tablets */
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .service-item {
        margin-bottom: 1.5rem;
    }
    
    .team-item {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    /* For mobile phones */
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .carousel-caption {
        bottom: 1.5rem;
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .feature-row {
        margin-bottom: 2rem;
    }
    
    .testimonial-carousel .testimonial-item {
        padding: 1.5rem;
    }
    
    .team-item {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    /* For extra small devices */
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-text {
        padding-left: 0;
        margin-top: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve touch targets for mobile */
a, button, .btn, [role="button"] {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Improve form inputs on mobile */
input, select, textarea {
    font-size: 16px !important; /* Prevents zoom on focus in iOS */
}

/* Make sure all clickable elements have a minimum size for touch */
a, button, [role="button"], input[type="submit"], input[type="button"], .btn {
    min-height: 44px;
    min-width: 44px;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Fixed Navbar ***/
.fixed-top {
    transition: .5s;
    background: #ffffff !important;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1030;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Ensure content doesn't go under fixed navbar */
body {
    padding-top: 100px;
}

/* Adjust carousel margin to account for fixed navbar */
.carousel {
    margin-top: -100px;
}

/* Ensure navbar stays on top of other elements */
.navbar {
    z-index: 1040;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 30px 18px;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-caption .text-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .highlight-line {
        width: 150px;
    }
}

.carousel-caption .container,
.carousel-caption .row {
    height: 100%;
}
.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    display: inline-block;
    padding: 0 10px;
}
.hero-desc {
    font-size: 36px;
    font-weight: 600;
    max-width: 900px;
    line-height: 1.15;
    text-align: center;
    margin: 0 auto;
    padding: 0 12px;
}
@media (max-width: 991.98px) {
    .hero-desc {
        font-size: 28px;
    }
}
@media (max-width: 576px) {
    .hero-desc {
        font-size: 22px;
    }
}

/* Left-aligned hero variant: keep heading directly above the button */
.carousel-item .col-lg-7.text-start,
.carousel-item .col-lg-7.caption-left {
    gap: .6rem; /* smaller gap between heading and button */
    align-items: flex-start;
}
.carousel-item .col-lg-7.text-start .hero-desc,
.carousel-item .col-lg-7.caption-left .hero-desc {
    text-align: left;
    margin-bottom: .25rem;
    max-width: 720px;
}
.carousel-item .col-lg-7.text-start .btn,
.carousel-item .col-lg-7.caption-left .btn {
    align-self: flex-start;
    margin-top: .4rem;
}

/* Nudge caption-left toward the left edge on larger screens */
.carousel-item .caption-left {
    padding-left: 0;
    transform: translateX(-40px);
}
@media (min-width: 1200px) {
    .carousel-item .caption-left { transform: translateX(-80px); }
}
@media (max-width: 991.98px) {
    .carousel-item .caption-left { transform: translateX(0); }
}



.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) center center no-repeat;
    background-size: cover;
    min-height: 400px;
    position: relative;
    background-attachment: fixed;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    left: 0;
    right: 0;
    padding: 0 !important;
}

.callback > .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100vw;
    height: 100%;
    top: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
    background-size: cover;
    background-position: center;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    z-index: 99;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-banner .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .cookie-consent-banner {
        text-align: center;
        padding: 10px;
    }
    
    .cookie-consent-banner .btn {
        margin-top: 10px;
        width: 100%;
    }
    
    #scrollToTop {
        width: 45px;
        height: 45px;
        right: 20px;
        bottom: 20px;
    }
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

/* Site logo */
.site-logo {
    height: 70px;
    max-height: 90px;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .site-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Navbar height and padding */
.navbar {
    padding: 1.5rem 0;
    min-height: 100px;
}

/* Navbar links */
.navbar .navbar-nav .nav-link {
    padding: 30px 18px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s ease;
}

/* Navbar brand */
.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

/* Adjust body padding for fixed navbar */
body {
    padding-top: 120px;
}

/* Adjust carousel margin */
.carousel {
    margin-top: -120px;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .site-logo {
        height: 55px;
    }
    
    .navbar {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 1rem;
    }
    
    body {
        padding-top: 90px;
    }
    
    .carousel {
        margin-top: -90px;
    }
}

@media (max-width: 576px) {
    .site-logo {
        height: 48px;
    }
    
    body {
        padding-top: 80px;
    }
    
    .carousel {
        margin-top: -80px;
    }
}

/* =================================
   Footer Styles
   ================================= */
.site-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    width: 100%;
    margin-top: auto; /* Push footer to bottom */
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-footer a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.site-footer a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 2;
    min-width: 250px;
}

.footer-brand h3 {
    color: var(--light);
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-brand p {
    opacity: 0.8;
    max-width: 300px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-nav {
    flex: 1;
    min-width: 150px;
}

.footer-nav h4 {
    color: var(--light);
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    display: block;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .footer-content {
        gap: 2.5rem;
    }
    
    .footer-brand, 
    .footer-nav {
        flex: 1 1 45%;
    }
}

@media (max-width: 767.98px) {
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-brand, 
    .footer-nav {
        width: 100%;
        text-align: left;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-nav h4::after {
        left: 0;
        right: auto;
    }
}

/* Ensure proper spacing above footer */
main {
    min-height: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
}