/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff2f6e;
    --dark-bg: #080c2c;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --text-light: #fff;
    --gradient-main: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    --gradient-hover: linear-gradient(135deg, #8f94fb 0%, #4e54c8 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Bengali Font Support */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
li {
    font-family: 'Hind Siliguri', sans-serif;
}

a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-padding {
    padding: 80px 0;
}

.bg-dark-blue {
    background-color: var(--dark-bg);
    color: #fff;
}

.text-right {
    text-align: right !important;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-inner .dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-inner .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-inner .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Header */
.header-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header-area.sticky {
    position: fixed;
    background-color: rgb(0 17 37 / 95%);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-menu ul {
    text-align: right;
}

.main-menu ul li {
    display: inline-block;
    margin-left: 30px;
}

.main-menu ul li a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
}

.header-area.sticky .main-menu ul li a {
    color: var(--text-color);
}

.header-area.sticky .main-menu ul li a:hover {
    color: var(--secondary-color);
}

.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
}

.main-menu ul li a:hover::after {
    width: 100%;
}

.mobile-menu-icon i {
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

.header-area.sticky .mobile-menu-icon i {
    color: #fff;
    /* Keeping white for contrast on dark sticky menu if set, or dark if white bg */
}

/* User changed sticky bg to dark (rgb(0 17 37 / 95%)), so icon should be white */

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    padding-top: 50px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-weight: 600;
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-area {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.hero-area .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 12, 44, 0.9) 0%, rgba(78, 84, 200, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Floating Animation */
.floating-anim {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Buttons */
.custom-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary.custom-btn {
    background: var(--gradient-main);
    color: #fff;
}

.btn-primary.custom-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(78, 84, 200, 0.3);
}

/* Section Title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.line-bar {
    width: 80px;
    height: 4px;
    background: var(--gradient-main);
    margin: 0 auto 50px;
    border-radius: 2px;
}

/* Service Card */
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--primary-color);
    transition: 0.3s;
}

.service-card:hover .icon-wrapper {
    background: var(--gradient-main);
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.read-more-btn {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 15px;
    display: inline-block;
}

.read-more-btn i {
    font-size: 12px;
    margin-left: 5px;
    transition: 0.3s;
}

.read-more-btn:hover i {
    margin-left: 10px;
}

/* Testimonial Item */
.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 15px;
    text-align: center;
}

.testimonial-item img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.testimonial-item p {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.testimonial-item span {
    font-size: 14px;
    color: var(--secondary-color);
}

/* Breadcrumb */
.breadcrumb-area {
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    position: relative;
}

.breadcrumb-area .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 44, 0.8);
}

.breadcrumb-nav {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    border-radius: 50px;
    margin-top: 20px;
}

.breadcrumb-nav li {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    margin: 0 5px;
}

.breadcrumb-nav li a {
    color: #fff;
}

/* Footer */
.footer-area {
    background-color: var(--dark-bg);
    color: #b0bfd6;
    padding: 80px 0 0;
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: #b0bfd6;
}

.footer-widget ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-widget .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.footer-widget .social-links a:hover {
    background: var(--primary-color);
}

.copyright-text {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 14px;
}

/* About Page Specifics */
.fun-fact {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.fun-fact h3 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .header-area {
        padding: 15px 0;
    }
}

/* Experience Badge */
.about-img {
    position: relative;
    display: inline-block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--gradient-main);
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(78, 84, 200, 0.4);
    min-width: 140px;
}

.experience-badge span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* Bounce Animation */
.bounce-anim {
    animation: bounce-slow 3s infinite ease-in-out;
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .experience-badge {
        right: 0;
        bottom: 10px;
    }
}