@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --navy: #0B2545;          /* গাঢ় নেভি */
    --blue: #2A6DF4;          /* উজ্জ্বল নীল */
    --blue-dark: #1A4FBF;
    --blue-light: #E8F0FE;
    --bg-blue: #F5F9FF;
    --card-blue: #DCE8FA;
    --gray: #4F5E71;
    --line: #DCE3EC;
    --footer-navy: #0A1C3A;
    --radius: 24px;
    --shadow: 0 10px 40px rgba(42, 109, 244, 0.08);
    --shadow-hover: 0 20px 60px rgba(42, 109, 244, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1D2A3A;
    font-size: 1rem;
    line-height: 1.7;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1140px;
    }
}

h1, h2, h3, .font-display {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.4em;
    background: var(--blue-light);
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
}

a {
    color: inherit;
    text-decoration: none;
}

.btn {
    border-radius: 60px;
    font-weight: 600;
    padding: 0.8rem 2rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.btn-primary-pill {
    background: var(--blue);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(42, 109, 244, 0.30);
}
.btn-primary-pill:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(42, 109, 244, 0.45);
    color: #fff;
}

.btn-outline-pill {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.btn-outline-pill:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(42, 109, 244, 0.20);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42, 109, 244, 0.08);
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    transition: box-shadow 0.3s ease;
}
.navbar-toggler.active {
    box-shadow: 0 0 0 3px var(--blue), 0 0 0 6px rgba(42, 109, 244, 0.12);
}
.navbar-toggler .fa-bars,
.navbar-toggler .fa-times {
    transition: transform 0.3s ease;
}
.navbar.show-nav {
    box-shadow: 0 4px 24px rgba(42, 109, 244, 0.10) !important;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--navy) !important;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-light);
    padding: 0.15rem 0.7rem;
    border-radius: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--navy) !important;
    font-size: 0.95rem;
    margin: 0 0.6rem;
    padding: 0.5rem 0.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--blue);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 4px;
}
.nav-link:hover {
    color: var(--blue) !important;
}
.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    padding: 7rem 0 0;
    background: linear-gradient(160deg, #F0F7FF 0%, #FFFFFF 70%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42,109,244,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero h1 {
	font-size: 2.8rem;
	font-weight: 800;
	margin: 0.8rem 0 1.2rem;
	line-height: 1.05;
	letter-spacing: -0.03em;
}
.hero h1 .highlight {
    color: var(--blue);
    position: relative;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(42,109,244,0.15);
    border-radius: 20px;
    z-index: -1;
}

.hero-lead {
    font-size: 1.2rem;
    color: #3A4A5E;
    max-width: 520px;
}
.hero-lead span {
    color: var(--blue);
    font-weight: 600;
}

.hero-caption {
    font-size: 0.9rem;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 1.4rem;
    border-radius: 60px;
    display: inline-block;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(42,109,244,0.06);
}

/* ----- নতুন হিরো ইমেজ শেপ (ব্লব) ----- */
.hero-image-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 460px;
    align-self: end;
}

.hero-image-bg {
    position: absolute;
    inset: 10px 10px 0 10px;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    background: linear-gradient(145deg, #4F8CF7 0%, #2A6DF4 50%, #B3D0FC 100%);
    opacity: 0.35;
    transform: rotate(-4deg) scale(1.06);
    filter: blur(8px);
    z-index: 1;
}

.hero-image-bg::after {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50% 40% 60% 30% / 30% 50% 50% 70%;
    background: linear-gradient(135deg, rgba(42,109,244,0.25), rgba(42,109,244,0.05));
    filter: blur(12px);
    z-index: -1;
}

.hero-image {
    position: relative;
    margin: 0 auto;
    display: block;
    height: 320px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 24px 48px rgba(42, 109, 244, 0.15));
    z-index: 2;
}

/* ===== SECTIONS ===== */
section {
    padding: 5.5rem 0;
}
.section-head {
    margin: 0 auto 3.5rem;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-top: 0.8rem;
    line-height: 1.2;
}
.section-head p {
    max-width: 700px;
    color: var(--gray);
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

/* ===== ABOUT ===== */
#about {
    background: #ffffff;
}
.about-card {
    background: var(--bg-blue);
    border-radius: var(--radius);
    padding: 2.6rem 1.8rem;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(42,109,244,0.04);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.about-card:hover::before {
    transform: scaleX(1);
}
.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-light);
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(42,109,244,0.20);
}
.about-card:hover .icon-circle {
    border-radius: 50%;
    transform: rotate(8deg) scale(1.05);
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.about-card p {
    color: var(--gray);
    font-size: 0.92rem;
    margin: 0;
}

/* ===== GALLERY ===== */
.gallery-section {
    background: var(--bg-blue);
}
.gallery-slider .gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    transition: all 0.4s ease;
}
.gallery-slider .gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}
.gallery-slider .gallery-item a {
    display: block;
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}
.gallery-slider .gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-slider .gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-caption {
    padding: 0.8rem 1.2rem;
    background: rgba(255,255,255,0.96);
    text-align: center;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 500;
    border-top: 1px solid var(--line);
}

/* OWL Nav */
.gallery-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}
.gallery-slider .owl-nav button {
    pointer-events: auto;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    width: 46px;
    height: 46px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: absolute;
    transform: translateY(-50%);
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}
.gallery-slider .owl-nav button:hover {
    background: var(--blue) !important;
    color: #fff;
}
.gallery-slider .owl-nav button.owl-prev {
    left: -20px;
}
.gallery-slider .owl-nav button.owl-next {
    right: -20px;
}
.gallery-slider .owl-nav button i {
    font-size: 1.1rem;
    color: var(--navy);
}
.gallery-slider .owl-nav button:hover i {
    color: #fff;
}
.gallery-slider .owl-dots {
    margin-top: 1.5rem;
    text-align: center;
}
.gallery-slider .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--line);
    margin: 0 5px;
    transition: 0.3s ease;
}
.gallery-slider .owl-dot.active {
    background: var(--blue);
    transform: scale(1.3);
}

/* ===== SERVICES ===== */
.services-section {
    background: #ffffff;
}
.svc-card {
    background: var(--bg-blue);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(42,109,244,0.04);
    position: relative;
}
.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue);
    border-radius: 0 0 var(--radius) var(--radius);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.svc-card:hover::after {
    transform: scaleX(1);
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 16px rgba(42,109,244,0.20);
}
.svc-card:hover .svc-icon {
    border-radius: 50%;
    transform: rotate(8deg);
}
.svc-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.svc-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== TIMELINE ===== */
#qualifications {
    background: var(--bg-blue);
}
.timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 3px;
    background: var(--blue-light);
}
.timeline-item {
    position: relative;
    padding-bottom: 2.6rem;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 0 6px var(--blue-light), 0 4px 12px rgba(42,109,244,0.20);
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
}
.timeline-item .year {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}
.timeline-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
}
.timeline-item .org {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}
.timeline-item p.desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== CHAMBERS ===== */
.chambers-section {
    background: #ffffff;
}
.chamber-card {
    position: relative;
    padding: 1.8rem 1.8rem 1.8rem 5.2rem;
    background: var(--bg-blue);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(42,109,244,0.04);
}
.chamber-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-light);
}
.chamber-icon-wrapper {
    position: absolute;
    left: 1rem;
    top: 1.8rem;
}
.chamber-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(42,109,244,0.20);
    transition: all 0.4s ease;
}
.chamber-card:hover .chamber-icon {
    border-radius: 50%;
    transform: rotate(6deg);
}
.chamber-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--navy);
}
.chamber-content p {
    margin: 0.25rem 0;
    font-size: 0.92rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.chamber-content p i {
    width: 1.2rem;
    color: var(--blue);
    font-size: 0.9rem;
}
.chamber-content .chamber-serial a {
    color: var(--blue);
    font-weight: 600;
}
.chamber-content .chamber-serial a:hover {
    text-decoration: underline;
}

/* ===== CONTACT ===== */
.contact-section {
    background: var(--bg-blue);
}
.contact-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(42,109,244,0.04);
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-light);
}
.contact-card .icon-sq {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(42,109,244,0.20);
}
.contact-card .label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
}
.contact-card .value {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.wave-divider {
    display: block;
    width: 100%;
    margin-bottom: -2px;
    line-height: 0;
    background: var(--bg-blue);
}
footer {
    background: var(--footer-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 2.5rem;
    text-align: center;
}
footer .foot-inner {
    padding-top: 0.5rem;
}
footer h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
footer .tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}
footer a.social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 0.4rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.06);
}
footer a.social:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(42,109,244,0.35);
}
footer .foot-line {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
footer .foot-line a {
    color: var(--blue-light);
    font-weight: 600;
    transition: color 0.3s ease;
}
footer .foot-line a:hover {
    color: #fff;
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
}
.wa-fab:hover {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.55);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 404 ===== */
.primeitworld_errorPage {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-blue);
    padding: 4rem 0;
}
.primeitworld_errorPage .error-wrapper {
    max-width: 600px;
}
.primeitworld_errorPage .error-title {
    font-size: clamp(6rem, 16vw, 11rem);
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.primeitworld_errorPage .error-page-sub {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
}
.primeitworld_errorPage .error-page-sub2 {
    font-size: 1.1rem;
    color: var(--gray);
    margin: 1rem 0 2rem;
}
.primeitworld_errorPage .error_btn {
    display: inline-block;
    padding: 0.9rem 3rem;
    background: var(--blue);
    color: #fff;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(42,109,244,0.35);
}
.primeitworld_errorPage .error_btn:hover {
    background: var(--blue-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(42,109,244,0.50);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero {
        text-align: center;
        padding-top: 5rem;
    }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        margin: 2rem auto 0;
    }
    .timeline {
        padding-left: 2.8rem;
    }
}
@media (max-width: 767.98px) {
    section {
        padding: 4rem 0;
    }
    .chamber-card {
        padding: 1.2rem 1.2rem 1.2rem 4.2rem;
    }
    .chamber-icon-wrapper {
        left: 0.6rem;
        top: 1.2rem;
    }
    .chamber-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .brand-sub {
        display: none;
    }
    .hero {
        padding: 4rem 0 0;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-lead {
        font-size: 1.1rem;
    }
    .btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.9rem;
    }
    .gallery-slider .owl-nav button.owl-prev {
        left: 0px;
    }
    .gallery-slider .owl-nav button.owl-next {
        right: 0px;
    }
    .hero-image {
        height: 260px;
    }
}
@media (min-width: 576px) {
    .hero-image {
        height: 350px;
    }
}
@media (min-width: 992px) {
    .hero-image {
        height: 28rem;
    }
}