/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #666666;
    background: #dddddd;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #030f27;
}

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

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

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

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    background: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #fdbe33;
    color: #121518;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    color: #fdbe33;
    background: #121518;
}

.back-to-top i {
    padding-top: 10px;
}

.btn {
    transition: .3s;
}


/********** Top Bar CSS **********/
/**********************************/
.top-bar {
    position: relative;
    height: 150px;  /* Increased height for better logo visibility */
    background: #fdbe33;
    padding: 0 15px;
    display: flex;  /* Using flex to align content */
    justify-content: center; /* Centering the logo horizontally */
    align-items: center; /* Vertically center the content */
    transition: all 0.3s ease-in-out;
}

.top-bar .logo {
    text-align: center;  /* Ensuring logo is centered */
    overflow: hidden;
    display: flex;
    justify-content: center;  /* Ensure logo is centered in small screens */
}

.top-bar .logo img {
    max-width: 100%;
    height: auto;
    max-height: 150px;  /* Increased logo height for larger screens */
}

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
}

.top-bar .top-bar-icon {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .top-bar-icon [class^="flaticon-"]::before {
    color: #270403;
    font-size: 70px;
}

.top-bar .top-bar-text {
    padding-left: 15px;
    font-size: 13px;
}

.top-bar .top-bar-text h3 {
    margin: 0 0 5px 0;
    color: #030f27;
    font-size: 16px;
    font-weight: 700;  /* Use 700 for bold (standard practice), 1000 can sometimes be invalid */
    line-height: 1.4;  /* Improve spacing between lines */
    text-transform: uppercase;  /* Optional: Gives a more defined, professional look */
}

.top-bar .top-bar-text p {
    margin: 0;
    color: #030f27;
    font-size: 15px;
}

.top-bar .top-bar-text a {
    color: #030f27;
    text-decoration: none;
    font-weight: bold;
}

.top-bar .top-bar-text a:hover {
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.top-bar-toggle {
    background: none;
    border: none;
    color: #080808;
    font-size: 30px;
    cursor: pointer;
}

#top-bar-items {
    display: flex;
}

@media (max-width: 991px) {
    .top-bar .logo {
        text-align: center;  /* Ensures the logo is centered on small screens */
        justify-content: center;  /* Ensures logo is horizontally centered */
        width: 100%;  /* Ensure the logo takes full width of the container */
    }

    .top-bar .logo img {
        max-height: 100px;  /* Increase logo size on mobile screens */
    }

    /* Hide the top bar items initially on small screens */
    #top-bar-items {
        display: none;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        margin-top: 10px;
    }

    .top-bar .top-bar-item {
        justify-content: center;
        margin-bottom: 10px;
    }

    .top-bar .top-bar-item:last-child {
        margin-bottom: 0;
    }

    .top-bar .top-bar-text {
        text-align: center;
    }

    .top-bar .top-bar-text a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .top-bar .top-bar-text h3 {
        font-size: 12px;
    }

    .top-bar .top-bar-text p {
        font-size: 11px;
    }

    .top-bar .top-bar-icon [class^="flaticon-"]::before {
        font-size: 22px;
    }

    .top-bar {
        padding: 0 10px;
        height: auto;
    }
}

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
    position: relative;
    background: #fdbe33;
    transition: .3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-bar .container-fluid {
    padding: 0;
}

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1366px;
    z-index: 9999;
    transition: background-color 0.3s ease;
}

.nav-bar.nav-sticky.scrolled {
    background-color: #030f27; /* Dark background when scrolling */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-bar .navbar {
    height: 100%;
    background: #030f27 !important;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 10px 15px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fdbe33;
    background-color: rgba(253, 190, 51, 0.1);
}

.nav-bar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.nav-bar .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.nav-bar .btn {
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 0;
    padding: 8px 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-bar .btn:hover {
    color: #030f27;
    background: #fdbe33;
    border-color: #fdbe33;
}

@media (min-width: 992px) {
    .nav-bar {
        padding: 0 75px;
    }
    
    .nav-bar.nav-sticky {
        padding: 0;
    }
    
    .nav-bar .navbar {
        padding: 15px 25px;
    }

    .nav-bar .navbar-brand {
        display: none;
    }
    
    .nav-bar a.nav-link {
        padding: 10px 20px;
        font-size: 16px;
    }

    .nav-bar .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-bar .dropdown-menu {
        background: #f8f9fa;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 991.98px) {
    .nav-bar .navbar {
        padding: 10px;
    }

    .nav-bar .navbar-toggler {
        background: #fdbe33;
        border: none;
        width: 50px;
    }
    .nav-bar .navbar-toggler {
        background: #fdbe33; /* Bright color for the background */
        border: none;
        width: 50px;
        height: 50px; /* Make the button square */
        border-radius: 8px; /* Rounded corners for a smoother, modern look */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow to make the button pop */
        transition: all 0.3s ease; /* Smooth transition for hover effects */
    }
    
    .nav-bar .navbar-toggler:hover {
        background: #f09c00; /* Slightly darker shade for hover effect */
        transform: scale(1.1); /* Slightly enlarge the button when hovered */
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
    }
    
    .nav-bar .navbar-toggler:active {
        background: #f79c42; /* Even darker shade when the button is pressed */
        transform: scale(1); /* Return to normal size when clicked */
    }
    
    .nav-bar .toggle-box {
        width: 35px; /* Adjust the size of the box inside */
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav-bar .line {
        width: 30px;
        height: 5px; /* Slightly thicker lines */
        background-color: #fff; /* White lines for contrast */
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .nav-bar .navbar-toggler.collapsed .line-top {
        transform: rotate(0deg);
    }
    
    .nav-bar .navbar-toggler.collapsed .line-middle {
        opacity: 1;
    }
    
    .nav-bar .navbar-toggler.collapsed .line-bottom {
        transform: rotate(0deg);
    }
    
    .nav-bar .navbar-toggler:not(.collapsed) .line-top {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-bar .navbar-toggler:not(.collapsed) .line-middle {
        opacity: 0;
    }
    
    .nav-bar .navbar-toggler:not(.collapsed) .line-bottom {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-bar .navbar-collapse {
        text-align: center;
    }

    .nav-bar .navbar-nav {
        margin-top: 10px;
        flex-direction: column;
    }

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

    .nav-bar .dropdown-menu {
        box-shadow: none;
        background-color: #fff;
    }

    .nav-bar .btn {
        display: none;
    }
    
    .nav-bar .navbar-toggler-icon {
        color: #030f27;
    }
}

@media (max-width: 767px) {
    .nav-bar .navbar-nav .nav-link {
        font-size: 14px;
    }

    .nav-bar .navbar-nav .nav-item {
        margin: 8px 0;
    }
}

.search-bar {
    display: none;
    transition: width 0.3s ease;
}

.search-bar.active {
    display: block;
    width: 200px;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-bar .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
/* Ensuring Logo Stays Visible on Small Screens During Scroll */
@media (max-width: 991px) {
    .top-bar {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 9999;
        height: auto;
    }

    .top-bar .logo img {
        max-height: 80px; /* Adjusted for better fit on small screens */
    }

    .nav-bar.nav-sticky {
        margin-top: 80px; /* To prevent overlap with fixed top-bar */
    }

    .nav-bar .navbar {
        padding-top: 20px;
    }
}


/* Ensuring Logo Stays Visible on Small Screens During Scroll */
@media (max-width: 991px) {
    .top-bar {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 9999;
        height: auto;
        display: flex;
        justify-content: center; /* Center the logo */
        align-items: center;
    }

    .top-bar .logo img {
        max-height: 100px; /* Increased logo size for better visibility */
    }

    .nav-bar.nav-sticky {
        margin-top: 100px; /* To prevent overlap with fixed top-bar */
    }

    .nav-bar .navbar {
        padding-top: 20px;
    }
}

@media (max-width: 767px) {
    .top-bar .logo img {
        max-height: 90px; /* Slightly smaller for very small screens */
    }
}

@media (max-width: 575px) {
    .top-bar .logo img {
        max-height: 80px; /* Further reduce size for extra small screens */
    }
}




/*******************************/
/******** Carousel CSS *********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 400px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.carousel .carousel-inner,
.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.carousel .carousel-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}

.carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 170px);
    min-height: 400px;
}

.carousel .carousel-caption p {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.carousel .carousel-caption h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 35px;
}

.carousel .carousel-caption .btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0;
    transition: .3s;
}

.carousel .carousel-caption .btn:hover {
    color: #030f27;
    background: #fdbe33;
    border-color: #fdbe33;
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 {
        font-size: 40px;
        font-weight: 700;
    }
    
    .carousel .carousel-caption p {
        font-size: 20px;
    }
    
    .carousel .carousel-caption .btn {
        padding: 12px 30px;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-caption h1 {
        font-size: 30px;
        font-weight: 500;
    }
    
    .carousel .carousel-caption p {
        font-size: 16px;
    }
    
    .carousel .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0;
    }
}

.carousel .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 90px 0;
    text-align: center;
    background: #fdbe33;
}

.page-header h2 {
    position: relative;
    color: #030f27;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #030f27;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #030f27;
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #121518;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 45px;
    }
    
    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header about page  ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
}

.section-header p {
    color: #f4a806; /* Bright yellow color */
    font-size: 30px; /* Slightly larger font size */
    font-weight: 700; /* Bold text with a stronger emphasis */
    margin-bottom: 15px; /* Increased spacing below the text */
    line-height: 1.6; /* Adjusted line height for better readability */
    letter-spacing: 2px; /* More letter spacing for a spacious feel */
    text-transform: uppercase; /* Uppercase text for emphasis */
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow for depth */
    font-family: 'Roboto', sans-serif; /* Modern sans-serif font */
    max-width: 85%; /* Slightly increased max-width for wider text */
    margin-left: auto; /* Center align the text */
    margin-right: auto; /* Center align the text */
    padding: 20px 30px; /* Increased padding for better spacing */
    text-align: center; /* Center align the text horizontally */
    transition: all 0.4s ease-out; /* Smooth transition with ease-out */
    background: linear-gradient(135deg, #f79c42, #2e2f7f); /* Gradient background */
    border-radius: 20px; /* More rounded corners for a modern feel */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow for depth */
    border: 3px solid transparent; /* Transparent border for animation effect */
    background-clip: padding-box; /* Clip the background for border effect */
}

/* Hover Effects */
.section-header p:hover {
    color: #fff; /* Change text color to white on hover */
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3); /* Enhanced text shadow */
    transform: translateY(-10px) scale(1.1); /* Increased scale and movement on hover */
    background: linear-gradient(135deg, #f4a806, #2e2f7f); /* Reverse gradient on hover */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
    border: 3px solid #f79c42; /* Border color change on hover */
}

/* Animation on page load */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header p {
    animation: slideIn 1.2s ease-out; /* Slide-in effect with a slightly longer duration */
}

/* Focus Effect */
.section-header p:focus {
    outline: none; /* Remove default focus outline */
    border: 3px solid #f79c42; /* Border color change on focus */
    background: linear-gradient(135deg, #f79c42, #2e2f7f); /* Maintain gradient on focus */
}

/* Text animation (optional) */
.section-header p span {
    display: inline-block;
    animation: bounceIn 1s ease-out infinite;
}

@keyframes bounceIn {
    0% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}


/*---------------------------*/
/* Fact Section Styling */
/*---------------------------*/

.fact {
    position: relative;
    width: 100%;
    padding: 60px 0;
    background-color: #f4f4f4; /* Light background color for the section */
    overflow: hidden; /* Prevents any overflow outside the container */
}

.fact .fact-icon {
    position: relative;
    margin: 20px auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fdbe33; /* Yellow background for the icon */
    color: #fff; /* White icon color */
    font-size: 36px;
    transition: all 0.3s ease-in-out; /* Smooth transition for hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Add shadow for 3D effect */
}

/* Hover effect for icons */
.fact .fact-icon:hover {
    background-color: #0d5af4; /* Dark background color on hover */
    transform: scale(1.15); /* Zoom effect */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.fact-text h2 {
    font-size: 48px; /* Larger number size */
    font-weight: 700;
    color: #030f27; /* Dark text color for the number */
    margin-bottom: 10px;
    transition: color 0.3s ease; /* Smooth color change */
}

.fact-text h2:hover {
    color: #fdbe33; /* Change color on hover */
}

.fact-text p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #f21919; /* Slightly lighter color for the paragraph text */
    text-transform: uppercase;
    letter-spacing: 1px; /* Add spacing between letters */
    transition: color 0.3s ease; /* Smooth color transition */
    
}

.fact-text p:hover {
    color: #fdbe33; /* Change color on hover */
}

/* Styling for Left and Right Sections */
.fact .fact-left,
.fact .fact-right {
    padding: 40px;
    background-color: #030f27; /* Dark background for the left section */
    border-radius: 10px;
    color: #fdbe33; /* Yellow text for the left section */
    margin-bottom: 30px;
    transition: background-color 0.3s ease-in-out;
}

/* Fact Right Section */
.fact .fact-right {
    background-color: #fdbe33; /* Yellow background for the right section */
    color: #030f27; /* Dark text for the right section */
}

/* Adding a Plus Sign after the Number */
.fact .fact-text h2::after {
    content: "+";
    margin-left: 5px; /* Adds space between number and the plus sign */
}

/* Hover effect for fact sections */
.fact .fact-left:hover,
.fact .fact-right:hover {
    background-color: #f1f1f1;
    color: #030f27;
}

/*---------------------------*/
/* Responsive Design */
/*---------------------------*/

@media (max-width: 1024px) {
    .fact .fact-left,
    .fact .fact-right {
        padding: 30px;
    }

    .fact .fact-icon {
        font-size: 32px; /* Slightly smaller icon size for medium screens */
    }

    .fact-text h2 {
        font-size: 36px; /* Adjust number size for medium screens */
    }

    .fact-text p {
        font-size: 16px; /* Adjust paragraph size for medium screens */
    }
}

@media (max-width: 768px) {
    .fact .col-md-6 {
        width: 100%;
        margin-bottom: 20px; /* Adds space between the columns */
    }

    /* Adjusting Icon Size and Spacing for Tablet Screens */
    .fact .fact-icon {
        font-size: 28px; /* Reduces icon size for tablet screens */
        width: 65px;
        height: 65px;
    }

    .fact-text h2 {
        font-size: 32px; /* Adjusts number size for smaller screens */
    }

    .fact-text p {
        font-size: 15px; /* Adjusts paragraph font size for tablet screens */
    }

    /* Adjust Padding for Tablet Screens */
    .fact .fact-left,
    .fact .fact-right {
        padding: 20px; /* Reduced padding for tablet screens */
    }
}

@media (max-width: 576px) {
    /* Adjusting Icon Size and Spacing for Mobile Screens */
    .fact .fact-icon {
        font-size: 24px; /* Smaller icon size for mobile screens */
        width: 55px;
        height: 55px;
    }

    .fact-text h2 {
        font-size: 28px; /* Reduced font size for the number on mobile */
    }

    .fact-text p {
        font-size: 14px; /* Adjusts paragraph font size for mobile */
    }

    /* Adjust Padding for Mobile Screens */
    .fact .fact-left,
    .fact .fact-right {
        padding: 15px; /* Reduced padding for mobile screens */
    }

    .fact .fact-left,
    .fact .fact-right {
        margin-bottom: 15px; /* Adds space between left and right sections on mobile */
    }
}


/*******************************/
/********* Feature CSS *********/
/*******************************/
.feature {
    position: relative;
    margin-bottom: 45px;
}

.feature .col-md-12 {
    background: #030f27;
}
    
.feature .col-md-12:nth-child(2n) {
    color: #030f27;
    background: #fdbe33;
}

.feature .feature-item {
    min-height: 250px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature .feature-icon {
    position: relative;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature .feature-icon::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 80px;
    top: -20px;
    left: -10px;
    border: 2px dotted #ffffff;
    border-radius: 60px;
    z-index: 1;
}

.feature .feature-icon::after {
    position: absolute;
    content: "";
    width: 79px;
    height: 79px;
    top: -18px;
    left: -9px;
    background: #030f27;
    border-radius: 60px;
    z-index: 2;
}

.feature .col-md-12:nth-child(2n) .feature-icon::after {
    background: #fdbe33;
}

.feature .feature-icon [class^="flaticon-"]::before {
    position: relative;
    margin: 0;
    color: #fdbe33;
    font-size: 60px;
    line-height: 60px;
    z-index: 3;
}

.feature .feature-text {
    padding-left: 30px;
}

.feature .feature-text h3 {
    margin: 0 0 10px 0;
    color: #fdbe33;
    font-size: 25px;
    font-weight: 600;
}

.feature .feature-text p {
    margin: 0;
    color: #fdbe33;
    font-size: 18px;
    font-weight: 400;
}

.feature .col-md-12:nth-child(2n) [class^="flaticon-"]::before,
.feature .col-md-12:nth-child(2n) h3,
.feature .col-md-12:nth-child(2n) p {
    color: #030f27;
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
}

.about .about-img {
    position: relative;
    height: 100%;
}

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

.about .about-text p {
    font-size: 16px;
}

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #030f27;
    border-radius: 0;
    background: #fdbe33;
    transition: .3s;
}

.about .about-text a.btn:hover {
    color: #fdbe33;
    background: #030f27;
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
        height: auto;
    }
}


/*******************************/
/********** Fact CSS ***********/
/*******************************/
.fact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.fact .col-6 {
    display: flex;
    align-items: flex-start;
}

.fact .fact-icon {
    position: relative;
    margin: 7px 15px 0 15px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact .fact-icon [class^="flaticon-"]::before {
    margin: 0;
    font-size: 60px;
    line-height: 60px;
    background-image: linear-gradient(#ffffff, #fdbe33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fact .fact-right .fact-icon [class^="flaticon-"]::before {
    background-image: linear-gradient(#ffffff, #030f27);
}

.fact .fact-left,
.fact .fact-right {
    padding-top: 60px;
    padding-bottom: 60px;
}

.fact .fact-text h2 {
    font-size: 35px;
    font-weight: 700;
}

.fact .fact-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.fact .fact-left {
    color: #fdbe33;
    background: #030f27;
}

.fact .fact-right {
    color: #030f27;
    background: #fdbe33;
}

.fact .fact-left h2 {
    color: #fdbe33;
}

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background-color: #f7f7f7; /* Light grey background */
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05); /* Light inner shadow for subtle depth */
}

.service .section-header {
    margin-bottom: 60px;
    text-align: center;
}

.service .section-header p {
    font-size: 18px;
    color: #fdbe33;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.service .section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #030f27;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* Service Item Styling */
.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff; /* Clean white background for each service item */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Softer shadow */
    transition: all 0.4s ease-in-out;
}

/* Hover effect on Service Item */
.service .service-item:hover {
    transform: translateY(-12px); /* Slight lift effect on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Stronger shadow on hover */
}

/* Service Image Styling */
.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

/* Zoom effect on Service Image */
.service .service-item:hover .service-img img {
    transform: scale(1.05); /* Smooth zoom effect */
}

/* Service Overlay Styling */
.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 15, 39, 0.7); /* Semi-transparent dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show overlay on hover */
.service .service-item:hover .service-overlay {
    opacity: 1;
}

.service .service-overlay p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

/* Service Text Styling */
.service .service-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 15px 25px;
    background-color: #030f27;
    color: #fdbe33;
    border-radius: 0 0 12px 12px;
    transition: all 0.3s ease;
}

/* Hover effect on Service Text */
.service .service-item:hover .service-text {
    background-color: #fdbe33;
    color: #030f27; /* Reversed colors on hover */
}

/* Service Title Styling */
.service .service-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Button Styling */
.service .service-item a.btn {
    width: 55px;
    height: 55px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 55px;
    font-weight: 600;
    color: #030f27;
    background: #fdbe33;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Hover effect on Button */
.service .service-item a.btn:hover {
    color: #ffffff;
    background: #030f27;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service .col-lg-4 {
        margin-bottom: 30px;
    }

    .service .service-item {
        margin-bottom: 30px;
    }

    .service .service-text h3 {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .service .col-lg-4, .service .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .service .service-text h3 {
        font-size: 18px;
    }

    .service .service-item a.btn {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .service .col-lg-4, .service .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .service .service-text h3 {
        font-size: 18px;
    }

    .service .service-item a.btn {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .service .section-header h2 {
        font-size: 28px;
    }

    .service .service-item a.btn {
        font-size: 26px;
        width: 50px;
        height: 50px;
    }

    .service .service-text h3 {
        font-size: 16px;
    }
}


/*******************************/
/********** Video CSS **********/
/*******************************/
.video {
    position: relative;
    margin: 45px 0;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(3, 15, 39, .9), rgba(3, 15, 39, .9)), url(../img/carousel-1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #fdbe33;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #fdbe33;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play:hover:after {
    background-color: darken(#fdbe33, 10%);
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #030f27;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.team .team-img {
    position: relative;
}

.team .team-img img {
    width: 100%;
}

.team .team-text {
    position: relative;
    padding: 25px 15px;
    text-align: center;
    background: #030f27;
    transition: .5s;
}

.team .team-text h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fdbe33;
    transition: .5s;
}

.team .team-text p {
    margin: 0;
    color: #ffffff;
}

.team .team-item:hover .team-text {
    background: #fdbe33;
}

.team .team-item:hover .team-text h2 {
    color: #030f27;
    letter-spacing: 1px;
}

.team .team-social {
    position: absolute;
    width: 100px;
    top: 0;
    left: -50px;
    display: flex;
    flex-direction: column;
    font-size: 0;
}

.team .team-social a {
    position: relative;
    left: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.team .team-item:hover .team-social a:first-child {
    background: #00acee;
    left: 50px;
    transition: .3s 0s;
}

.team .team-item:hover .team-social a:nth-child(2) {
    background: #3b5998;
    left: 50px;
    transition: .3s .1s;
}

.team .team-item:hover .team-social a:nth-child(3) {
    background: #0e76a8;
    left: 50px;
    transition: .3s .2s;
}

.team .team-item:hover .team-social a:nth-child(4) {
    background: #3f729b;
    left: 50px;
    transition: .3s .3s;
}

/*******************************/
/*********** FAQs CSS **********/
/*******************************/

.faqs {
    width: 100%;
    background: linear-gradient(45deg, #4a90e2, #f5a623);
    padding: 80px 0;
    color: #fff;
    font-family: 'Arial', sans-serif;
}

.faqs .section-header {
    margin-bottom: 50px;
    text-align: center;
}

.faqs .section-subheading {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.faqs .section-title {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-header {
    background-color: #fdbe33;
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
    font-size: 20px;
    font-weight: 600;
    color: #030f27;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-header:hover {
    background-color: #f39c12;
    transform: scale(1.02);
}

.faq-header h5 {
    margin: 0;
    color: #030f27;
}

.toggle-icon {
    font-size: 24px;
    color: #030f27;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-header.collapsed .toggle-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 22px 28px;
    background-color: #f9f9f9;
    border-radius: 0 0 12px 12px;
    font-size: 16px;
    color: #030f27;
    display: none;
    transition: all 0.3s ease;
}

.faq-content.show {
    display: block;
}

@media (max-width: 1024px) {
    .faq-wrapper {
        gap: 15px;
        max-width: 900px;
    }

    .faqs .section-title {
        font-size: 32px;
    }

    .faq-header {
        font-size: 18px;
        padding: 18px 24px;
    }

    .faq-content {
        font-size: 14px;
        padding: 18px 22px;
    }
}

@media (max-width: 768px) {
    .faq-wrapper {
        gap: 15px;
        padding: 0 15px;
    }

    .faqs .section-title {
        font-size: 28px;
    }

    .faq-header {
        font-size: 16px;
        padding: 16px 20px;
    }

    .faq-content {
        font-size: 14px;
        padding: 16px 20px;
    }

    .toggle-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .faq-wrapper {
        gap: 12px;
        padding: 0 10px;
    }

    .faqs .section-title {
        font-size: 24px;
    }

    .faq-header {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-content {
        font-size: 12px;
        padding: 14px 16px;
    }

    .toggle-icon {
        font-size: 18px;
    }
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    margin: 45px 0;
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(rgba(3, 15, 39, .9), rgba(3, 15, 39, .9)), url(../img/carousel-1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .container {
    max-width: 760px;
}

.about-page .testimonial {
    padding-bottom: 90px;
}

.testimonial .testimonial-slider-nav {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.testimonial .testimonial-slider-nav .slick-slide {
    position: relative;
    opacity: 0;
    transition: .5s;
}

.testimonial .testimonial-slider-nav .slick-active {
    opacity: 1;
    transform: scale(1.3);
}

.testimonial .testimonial-slider-nav .slick-center {
    transform: scale(1.8);
    z-index: 1;
}

.testimonial .testimonial-slider-nav .slick-slide img {
    position: relative;
    display: block;
    margin-top: 37px;
    width: 100%;
    height: auto;
    border-radius: 100px;
}

.testimonial .testimonial-slider {
    position: relative;
    margin-top: 15px;
    padding-top: 50px;
}

.testimonial .testimonial-slider::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 50px;
    top: 0;
    left: calc(50% - 30px);
    background: url(../img/quote.png) top center no-repeat;
}

.testimonial .testimonial-slider h3 {
    color: #fdbe33;
    font-size: 22px;
    font-weight: 700;
}

.testimonial .testimonial-slider h4 {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial .testimonial-slider p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

/*==================================*/
/*           Advanced Blog CSS       */
/*==================================*/
.blog {
    position: relative;
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    background: linear-gradient(135deg, #f0f4f8, #e0e8f0);
    box-sizing: border-box;
}

.blog .blog-item {
    position: relative;
    width: 100%;
    max-width: 380px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.5s ease;
}

.blog .blog-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.blog .blog-img {
    width: 100%;
    height: 270px;
    overflow: hidden;
    border-bottom: 5px solid #f8b400;
}

.blog .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(95%);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.08);
    filter: brightness(110%);
}

.blog .blog-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: #efb42a;
    color: #ffffff;
    flex-wrap: wrap;
}

.blog .blog-title h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog .blog-title a.btn {
    background: #1e3353;
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog .blog-title a.btn:hover {
    background: #6670db;
    color: #1e3353;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog .blog-title a.btn::before {
    content: '\2192';
    margin-right: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.blog .blog-title a.btn:hover::before {
    transform: translateX(8px);
}

.blog .blog-meta {
    padding: 22px 30px;
    background: #f7f9fc;
    border-top: 2px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog .blog-meta p {
    margin: 0;
    font-size: 15px;
    color: #5e6573;
}

.blog .blog-meta p a {
    color: #1e3353;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog .blog-meta p a:hover {
    color: #f8b400;
}

.blog .blog-text {
    padding: 30px;
    background: #ffffff;
    font-size: 17px;
    line-height: 1.9;
    color: #333843;
}

.blog .blog-text p {
    margin-bottom: 20px;
}

.blog .pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 12px;
}

.blog .pagination .page-link {
    color: #1e3353;
    border: 1px solid #f8b400;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    flex: 1 1 auto;
    max-width: 50px;
    text-align: center;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #ffffff;
    background: #1e3353;
    border-color: #1e3353;
}

.blog .pagination .disabled .page-link {
    color: #cccccc;
    background: #f0f4f8;
    pointer-events: none;
}
.blog .blog-text a.btn {
    background-color: #1e3353;  /* Set the background color */
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog .blog-text a.btn:hover {
    background-color: #f8b400;  /* Change the background color on hover */
    color: #1e3353;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog .blog-text a.btn::before {
    content: '\2192';
    margin-right: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.blog .blog-text a.btn:hover::before {
    transform: translateX(8px);
}

/* Responsive Design for different screen sizes */

/* Large Screens (Desktops) */
@media (min-width: 1200px) {
    .blog {
        padding: 100px 0;
    }

    .blog .blog-item {
        max-width: 350px;
    }

    .blog .pagination .page-link {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Medium Screens (Tablets and Laptops) */
@media (max-width: 1199px) and (min-width: 768px) {
    .blog .blog-item {
        max-width: 48%;  /* 2 columns */
    }

    .blog .pagination .page-link {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Small Screens (Mobile Devices) */
@media (max-width: 768px) {
    .blog {
        padding: 60px 0;
        gap: 20px;
    }

    .blog .blog-item {
        max-width: 100%;
    }

    .blog .blog-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog .blog-title a.btn {
        margin-top: 15px;
        align-self: flex-end;
    }

    .blog .pagination .page-link {
        padding: 12px 16px;
        font-size: 13px;
        max-width: 42px;
    }
}

/* Extra Small Screens (Very Small Devices) */
@media (max-width: 480px) {
    .blog .blog-item {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .blog .pagination .page-link {
        padding: 10px 14px;
        font-size: 12px;
        max-width: 35px;
    }
}

/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
    position: relative;
    padding: 45px 0;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.single .single-content img {
    margin-bottom: 20px;
    width: 100%;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    border: 1px solid #dddddd;
}

.single .single-tags a:hover {
    color: #fdbe33;
    background: #030f27;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: #f3f6ff;
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    font-size: 16px;
    font-weight: 400;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030f27;
    background: #fdbe33;
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #fdbe33;
    background: #030f27;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    color: #030f27;
    background: #dddddd;
    border-radius: 0;
}

.single .comment-text .btn:hover {
    background: #fdbe33;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
    border-radius: 0;
}

.single .comment-form .btn {
    padding: 15px 30px;
    color: #030f27;
    background: #fdbe33;
}

.single .comment-form .btn:hover {
    color: #fdbe33;
    background: #030f27;
}


/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
    position: relative;
    width: 100%;
}

@media(max-width: 991.98px) {
    .sidebar {
        margin-top: 45px;
    }
}

.sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 30px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #fdbe33;
}

.sidebar .sidebar-widget .search-widget {
    position: relative;
}

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 0;
}

.sidebar .search-widget input:focus {
    box-shadow: none;
}

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: #fdbe33;
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover {
    color: #030f27;
}

.sidebar .sidebar-widget .recent-post {
    position: relative;
}

.sidebar .sidebar-widget .tab-post {
    position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: #fdbe33;
    background: #030f27;
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: #030f27;
    background: #fdbe33;
}

.sidebar .tab-post .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.sidebar .tab-post .tab-content .container {
    padding: 0;
}

.sidebar .sidebar-widget .category-widget {
    position: relative;
}

.sidebar .category-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .category-widget ul li {
    margin: 0 0 12px 22px; 
}

.sidebar .category-widget ul li:last-child {
    margin-bottom: 0; 
}

.sidebar .category-widget ul li a {
    display: inline-block;
    line-height: 23px;
}

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #fdbe33;
    left: 1px;
}

.sidebar .category-widget ul li span {
    display: inline-block;
    float: right;
}

.sidebar .sidebar-widget .tag-widget {
    position: relative;
    margin: -5px -5px;
}

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    border: 1px solid #dddddd;
}

.single .tag-widget a:hover {
    color: #fdbe33;
    background: #030f27;
}

.sidebar .image-widget {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sidebar .image-widget img {
    max-width: 100%;
    transition: .3s;
}

.sidebar .image-widget img:hover {
    transform: scale(1.1);
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-flters li,
.portfolio .load-more .btn {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    color: #030f27;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    background: #fdbe33;
    border: none;
    transition: .3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #030f27;
    color: #fdbe33;
}

.portfolio .load-more {
    text-align: center;
}

.portfolio .load-more .btn {
    padding: 15px 35px;
    font-size: 16px;
    transition: .3s;
}

.portfolio .load-more .btn:hover {
    color: #fdbe33;
    background: #030f27;
}

.portfolio .portfolio-warp {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.portfolio .portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-img img {
    width: 100%;
    transition: .3s;
}

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

.portfolio .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 15, 39, .7);
    transition: .5s;
    opacity: 0;
}

.portfolio .portfolio-warp:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio .portfolio-overlay p {
    margin: 0;
    color: #ffffff;
}

.portfolio .portfolio-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: #030f27;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.portfolio .portfolio-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 20px;
    font-weight: 700;
    color: #fdbe33;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.portfolio .portfolio-warp a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #030f27;
    background: #ffffff;
    border-radius: 0;
    transition: .3s;
}

.portfolio .portfolio-warp:hover a.btn {
    color: #ffffff;
    background: #fdbe33;
}

/* Fully Dynamic and Modern Contact CSS */
.contact {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #eef2f3, #ffffff);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.contact .col-md-6 {
    padding: 50px 40px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.contact .col-md-6:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.contact .col-md-6:first-child {
    background: linear-gradient(135deg, #233557, #3e5e9e);
    color: #ffffff;
}

.contact .col-md-6:last-child {
    background: #ffffff;
}

.contact .contact-info {
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact .contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.contact .contact-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact .contact-item [class^="flaticon-"]::before {
    color: #ff9800;
    font-size: 50px;
}

.contact .contact-text {
    padding-left: 30px;
}

.contact .contact-text h2 {
    color: #ff9800;
    font-size: 24px;
    margin-bottom: 10px;
}

.contact .contact-text p {
    color: #444444;
    font-size: 17px;
    line-height: 1.7;
}

.contact .contact-form {
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.contact .contact-form input,
.contact .contact-form textarea {
    width: 100%;
    color: #333333;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    background: #f7f7f7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    border-color: #ff9800;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.2);
    outline: none;
}

.contact .contact-form .form-control::placeholder {
    color: #888888;
}

.contact .contact-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #233557, #3e5e9e);
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact .contact-form .btn:hover {
    background: #ff9800;
    color: #ffffff;
    transform: translateY(-3px);
}

.contact .help-block ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #e63946;
    font-size: 14px;
}

/* Enhanced Responsive Design for Small Screens */
@media (max-width: 600px) {
    .contact {
        padding: 60px 15px;
    }

    .contact .col-md-6 {
        width: 100%;
        padding: 30px 15px;
    }

    .contact .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .contact .contact-text {
        padding-left: 0;
        margin-top: 15px;
    }

    .contact .contact-item [class^="flaticon-"]::before {
        font-size: 42px;
    }

    .contact .contact-form .btn {
        font-size: 18px;
        padding: 15px;
    }

    .contact .contact-form input,
    .contact .contact-form textarea {
        padding: 15px;
    }

    .contact .contact-form {
        padding: 20px;
    }
}

/*******************************/
/********* Footer CSS **********/
/*******************************/

.footer {
    position: relative;
    padding: 70px 0;
    background: #121212;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    text-align: left;
}

.footer h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffdd57;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #ffdd57;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 12px;
    color: #d1d1d1;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.footer .footer-link a:hover {
    color: #ffdd57;
    padding-left: 10px;
}

.footer .footer-contact p {
    margin: 10px 0;
    font-size: 16px;
}

.footer .footer-contact p i {
    color: #ffdd57;
    margin-right: 10px;
}

.footer .footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin-right: 15px;
    border-radius: 50%;
    background: #222;
    transition: all 0.3s ease;
}

.footer .footer-social a i {
    color: #ffffff;
    font-size: 18px;
}

.footer .footer-social a:hover {
    background: #ffdd57;
    transform: translateY(-5px);
}

.footer .newsletter {
    margin-top: 30px;
}

.footer .newsletter .form {
    display: flex;
    border: 1px solid #444;
    border-radius: 30px;
    overflow: hidden;
}

.footer .newsletter input {
    flex: 1;
    height: 50px;
    border: none;
    padding: 0 20px;
    font-size: 16px;
}

.footer .newsletter .btn {
    height: 50px;
    padding: 0 25px;
    font-size: 16px;
    background: #ffdd57;
    color: #121212;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.footer .newsletter .btn:hover {
    background: #ffcc00;
}

.footer .footer-menu {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 30px;
}

.footer .footer-menu a {
    margin: 0 15px;
    color: #d1d1d1;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer .footer-menu a:hover {
    color: #ffdd57;
}

.footer .copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 15px;
    color: #b0b0b0;
}

.footer .copyright a {
    color: #ffdd57;
    font-weight: 500;
    transition: color 0.3s;
}

.footer .copyright a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer .footer-social a {
        width: 40px;
        height: 40px;
    }
    .footer h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .footer h2 {
        font-size: 20px;
    }
    .footer .footer-link a,
    .footer .footer-contact p {
        font-size: 14px;
    }
    .footer .footer-social a {
        width: 35px;
        height: 35px;
    }
}

/*new*for logo*/
/* Basic logo styling */

        /* Basic logo styling */
    /* Basic logo styling */
  
    
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 20px;
    }
    
    header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    section {
        margin-bottom: 20px;
    }
    
    ul {
        list-style-type: none;
        padding: 0;
    }
    
    ul li {
        margin: 5px 0;
    }
    
    button {
        display: block;
        margin: 20px auto;
        padding: 10px 20px;
        font-size: 1em;
    }
    
    #resourceFormContainer {
        display: none;
        margin-top: 20px;
        text-align: center;
    }
    
    #resourceForm {
        display: inline-block;
        text-align: left;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background: #f9f9f9;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }
    
    #resourceForm label,
    #resourceForm textarea,
    #resourceForm select {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hidden {
        display: none;
    }
    
    /* Responsive styles */
    @media (max-width: 600px) {
        body {
            padding: 10px;
        }
    
        header h1 {
            font-size: 1.5em;
        }
    
        section {
            margin-bottom: 15px;
        }
    
        button {
            width: 100%;
            padding: 15px;
            font-size: 1.2em;
        }
    
        #resourceForm {
            width: 90%;
        }
    }
    

   /*login*/
   /* Container for Signup and Login Forms */
#signup-section, #login-section {
    margin: 30px auto;
    width: 90%;
    max-width: 350px; /* Reduced width for more compact design */
    padding: 15px; /* Reduced padding */
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-in-out;
}

/* Form Title */
#signup-section h2, #login-section h2 {
    text-align: center;
    font-size: 1.5em; /* Smaller title font size */
    margin-bottom: 15px; /* Reduced margin */
    color: #333;
}

/* Input Fields */
form input {
    width: 100%;
    padding: 10px; /* Reduced padding */
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95em; /* Slightly smaller font size */
}

/* Button Styling */
form button {
    width: 100%;
    padding: 10px; /* Reduced padding */
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 1.1em; /* Smaller font size */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

/* Small Screen Responsive Design */
@media (max-width: 768px) {
    #signup-section, #login-section {
        width: 90%; /* Still uses most of the screen width */
        padding: 12px; /* Adjust padding */
    }

    #signup-section h2, #login-section h2 {
        font-size: 1.4em; /* Adjust font size for small screens */
    }

    form input {
        padding: 10px; /* Keep padding uniform */
        font-size: 1em; /* Ensure readability */
    }

    form button {
        padding: 12px; /* Adjust button padding */
        font-size: 1.1em; /* Ensure readability */
    }
}

/* Extra Small Screen (Mobile) */
@media (max-width: 480px) {
    #signup-section, #login-section {
        width: 100%; /* Full width for mobile */
        padding: 8px; /* Reduced padding */
    }

    #signup-section h2, #login-section h2 {
        font-size: 1.2em; /* Even smaller font size for mobile */
    }

    form input {
        padding: 8px; /* Reduced input padding */
        font-size: 0.95em; /* Smaller font size */
    }

    form button {
        padding: 10px; /* Adjust button padding */
        font-size: 1em; /* Consistent font size */
    }
}
