/* Basic Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
/* Set scroll behavior for smooth anchor link clicking */
html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.primary-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.primary-navigation a:hover {
    color: #007bff; /* Blue hover color */
}

/* New Slider Section Style */
.slider-container {
    width: 100%;
    height: 90vh; /* Adjust height as needed */
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 300%; /* 100% * 3 slides */
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

.slide {
    width: 33.333%; /* 100% / 3 slides */
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    color: #f1f1f1;
    margin-bottom: 2.5rem;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 123, 255, 0.7);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ffffff;
}


/* Call to Action Button with Blue Theme */
.cta-button {
    background-color: #007bff; /* Main blue color */
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05);
}

/* Section Titles */
h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Blue underline for titles */
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 20px 15px 10px 15px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
    padding: 0 15px 25px 15px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: center;
}

.feature-item {
    padding: 30px 20px;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 3rem;
    color: #007bff;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Achievements Section */
.achievements {
    background-color: #007bff;
    padding: 60px 0;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
}

.stat-item p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

/* Working Process Section */
.working-process {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-step {
    padding: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border: 2px solid #007bff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.step-icon span {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.process-step h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-section h2 {
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: #555;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.view-all-portfolio {
    margin-top: 60px;
    display: inline-block;
}

/* Latest Blog Section */
.latest-blog {
    padding: 80px 0;
    background-color: #ffffff;
}

.latest-blog h2 {
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.read-more-blog {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more-blog i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.read-more-blog:hover {
    color: #0056b3;
}

.read-more-blog:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa; /* A light grey background */
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: left;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #007bff; /* Blue accent */
}

.testimonial-card .stars {
    color: #f39c12; /* Star color */
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.testimonial-card .quote::before {
    content: '“';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3rem;
    color: #e0e0e0;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Circular photo */
    object-fit: cover;
}

.client-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.client-info span {
    font-size: 0.9rem;
    color: #777;
}

/* Call to Action Section */
.cta-section {
    background-color: #007bff; /* Main blue color */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff; /* Override default dark h2 color */
    margin-bottom: 20px;
}

.cta-section h2::after {
    background-color: #ffffff; /* White underline */
}

.cta-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px; /* To keep text from being too wide */
    margin-left: auto;
    margin-right: auto;
}

/* Special button style for CTA section */
.cta-section .cta-button {
    background-color: #ffffff; /* White button */
    color: #007bff; /* Blue text */
    transform: scale(1.1); /* Make it slightly larger */
}

.cta-section .cta-button:hover {
    background-color: #f0f0f0; /* A slightly off-white on hover */
    color: #0056b3;
}

/* New Footer Section Styling */
footer {
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #a0aec0; /* Light grey text */
    padding: 80px 0 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col p i {
    color: #007bff; /* Main blue color */
    margin-top: 5px;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #4a5568;
    border-radius: 5px;
    color: #a0aec0;
    margin-right: 10px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a::before {
    content: '›';
    margin-right: 8px;
    font-weight: bold;
    color: #007bff;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #4a5568;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}


/* -------------------------- */
/* --- মোবাইল রেসপন্সিভ --- */
/* -------------------------- */

/* হ্যামবার্গার মেন্যু বাটন (ডিফল্টভাবে লুকানো) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #2c3e50; /* গাঢ় নীল */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
}

.mobile-nav-toggle .fa-times {
    display: none; /* ক্লোজ আইকন ডিফল্টভাবে লুকানো */
}

/* স্ক্রিনের সাইজ ৮০০ পিক্সেল বা তার কম হলে এই কোড কাজ করবে */
@media (max-width: 800px) {
    
    /* --- হেডার ও নেভিগেশন --- */
    .primary-navigation {
        position: fixed;
        /* inset: top right bottom left */
        inset: 0 0 0 30%; 
        flex-direction: column;
        padding: min(20vh, 10rem) 2rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        z-index: 999;
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 2.5rem; /* মোবাইল মেন্যুতে লিঙ্কগুলোর মধ্যে ফাঁকা */
    }

    .primary-navigation ul a {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .mobile-nav-toggle {
        display: block; /* হ্যামবার্গার বাটনটি এখন দেখা যাবে */
    }

    /* যখন মেন্যু খোলা থাকবে তখন যা হবে */
    body.nav-open .primary-navigation {
        transform: translateX(0%); /* মেন্যু স্লাইড হয়ে খুলবে */
    }

    body.nav-open .mobile-nav-toggle .fa-bars {
        display: none; /* মেন্যু আইকন লুকাবে */
    }

    body.nav-open .mobile-nav-toggle .fa-times {
        display: block; /* ক্লোজ আইকন দেখাবে */
    }

    /* --- স্লাইডার সেকশন --- */
    .slider-container {
        height: 70vh; /* মোবাইলে স্লাইডারের উচ্চতা কমানো হলো */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* মোবাইলে শিরোনাম ছোট করা হলো */
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* --- সাধারণ সেকশন --- */
    h2 {
        font-size: 2.2rem; /* সেকশন টাইটেল ছোট করা হলো */
    }

    .services, .why-choose-us, .working-process, .faq-section, .portfolio, .latest-blog, .testimonials, .cta-section {
        padding: 60px 0; /* মোবাইলে সেকশনের প্যাডিং কমানো হলো */
    }

    /* --- গ্রিড (সবকিছু ১ কলামে) --- */
    .service-grid,
    .process-grid, 
    .portfolio-grid, 
    .blog-grid, 
    .testimonial-grid, 
    .footer-main {
        grid-template-columns: 1fr; /* সব গ্রিডকে ১ কলামে আনা হলো */
        gap: 20px;
    }

    .stats-grid {
        /* শুধু অ্যাচিভমেন্ট সেকশন ২ কলামে থাকবে */
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        /* "Why Choose Us" সেকশন ২ কলামে থাকবে */
        grid-template-columns: 1fr 1fr;
    }

    /* --- ফুটার --- */
    .footer-main {
        text-align: center; /* মোবাইলে ফুটারের লেখা মাঝে আনা হলো */
    }

    .footer-col p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        display: flex;
    }
}

/* খুব ছোট স্ক্রিনের জন্য (যেমন ৪৮০ পিক্সেল) */
@media (max-width: 480px) {
    .stats-grid,
    .features-grid {
        /* খুব ছোট মোবাইলে এগুলোকেও ১ কলামে আনা হলো */
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* অ্যাক্সেসিবিলিটির জন্য (স্ক্রিন রিডার) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* -------------------------- */
/* --- Service Page Styles --- */
/* -------------------------- */

.page-header {
    background-color: #007bff;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin: 0;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

.service-page-content {
    padding: 80px 0;
}

.service-detail-box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    margin-bottom: 50px;
    overflow: hidden;
}

.service-detail-box h2 {
    font-size: 2.2rem;
    padding: 30px 40px 0 40px;
    margin: 0;
    text-align: left;
}

.service-detail-box h2::after {
    display: none; /* Hide the underline for service boxes */
}

.service-detail-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    padding: 15px 40px 30px 40px;
    margin: 0;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.service-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ------------------------------- */
/* --- Service Page Pro Upgrade --- */
/* ------------------------------- */

.service-page-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar width 280px, rest is content */
    gap: 40px;
}

.service-sidebar {
    position: sticky;
    top: 120px; /* Adjust this value based on your header height */
    height: calc(100vh - 140px); /* Full height minus some padding */
    overflow-y: auto;
}

.service-sidebar h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

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

.service-nav li {
    margin-bottom: 5px;
}

.service-nav a {
    display: block;
    text-decoration: none;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.service-nav a:hover {
    background-color: #f0f0f0;
}

/* This 'active' class will be added by JavaScript */
.service-nav a.active {
    background-color: #007bff;
    color: #ffffff;
    font-weight: 600;
}

.service-content {
    /* Content area styling */
}

/* Individual CTA button for each service */
.service-cta {
    margin: 30px 40px 30px 40px;
    display: inline-block;
    background-color: #28a745; /* Green color for new CTA */
}
.service-cta:hover {
    background-color: #218838;
}

/* Mobile Responsive for Service Page */
@media (max-width: 900px) {
    .service-page-container {
        grid-template-columns: 1fr; /* Stack sidebar and content */
    }

    .service-sidebar {
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 40px;
    }
}

@media (max-width: 800px) {
    .service-cta {
        margin: 20px 25px 20px 25px;
    }
}


/* ----------------------------- */
/* --- Portfolio Page Styles (Upgraded) --- */
/* ----------------------------- */

.portfolio-page-content {
    padding: 80px 0;
}

/* SEO Intro Text */
.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Filter Buttons Styling */
.filter-buttons {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.filter-btn:hover {
    background-color: #ddd;
}

.filter-btn.active {
    background-color: #007bff;
    color: #ffffff;
}

/* Portfolio Gallery Grid (Upgraded to Card) */
.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.gallery-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-image-box {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.gallery-item-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-info {
    padding: 20px;
    text-align: left;
}

.gallery-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.gallery-info span {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 500;
}

/* Class for hiding items with JS */
.gallery-item-card.hide {
    display: none;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* -------------------------- */
/* --- Blog Page Styles --- */
/* -------------------------- */

.blog-page-content {
    padding: 80px 0;
}

.blog-page-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 for posts, 1/3 for sidebar */
    gap: 40px;
}

/* Main Blog Posts Column */
.blog-post-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-post-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
    display: block;
}

.blog-post-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding: 0;
    display: block; /* Override inline-block */
}

.blog-post-content h2::after {
    display: none; /* Hide default underline */
}

.blog-post-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px; /* Adjust this value based on your header height */
    height: calc(100vh - 140px);
}

.sidebar-widget {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

/* Search Widget */
.search-form {
    display: flex;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #007bff;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* List Widgets (Categories & Recent Posts) */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 10px;
}

.widget-list li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.widget-list li a:hover {
    color: #007bff;
}

.widget-list.recent-posts li {
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.widget-list.recent-posts li:last-child {
    border-bottom: none;
}


/* Mobile Responsive for Blog Page */
@media (max-width: 900px) {
    .blog-page-container {
        grid-template-columns: 1fr; /* Stack sidebar and content */
    }

    .blog-sidebar {
        position: relative;
        top: 0;
        height: auto;
        margin-top: 40px;
    }
}


/* ------------------------------- */
/* --- Single Blog Post Styles --- */
/* ------------------------------- */

.blog-post-full {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.blog-post-full h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.blog-post-full .blog-post-date {
    font-size: 1rem;
    color: #777;
    margin-bottom: 25px;
    display: block;
}

.blog-post-img-full {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-content-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
}

.post-content-body h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 15px;
}

.post-content-body p {
    margin-bottom: 20px;
}


/* -------------------------- */
/* --- About Page Styles --- */
/* -------------------------- */

.about-page-content {
    padding-top: 80px;
    background-color: #ffffff;
}

.about-intro-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Image column and text column */
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 20px;
}

.about-text h2::after {
    display: none; /* Hide default underline */
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.mission-vision-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.mission-vision-card {
    background-color: #f8f9fa; /* Light grey background */
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #007bff;
}

.mission-vision-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.mission-vision-card h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.mission-vision-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Mobile Responsive for About Page */
@media (max-width: 900px) {
    .about-intro-section {
        grid-template-columns: 1fr; /* Stack image and text */
    }
}

@media (max-width: 600px) {
    .mission-vision-section {
        grid-template-columns: 1fr; /* Stack mission and vision */
    }
}


/* -------------------------- */
/* --- Contact Page Styles --- */
/* -------------------------- */

.contact-page-content {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-info-card {
    background-color: #f8f9fa;
    padding: 35px;
    text-align: center;
    border-radius: 10px;
    border-bottom: 4px solid #007bff;
}

.contact-info-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.contact-info-card .contact-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
}

/* Contact Form and Map Section */
.contact-form-map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    text-align: left;
}
.contact-form-container h2::after {
    display: none; /* Hide default underline */
}
.contact-form-container p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Important for padding to work correctly */
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .cta-button {
    cursor: pointer;
    border: none;
}

.google-map-container h2 {
    font-size: 2.5rem;
    text-align: left;
}
.google-map-container h2::after {
    display: none; /* Hide default underline */
}

.google-map-container iframe {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Mobile Responsive for Contact Page */
@media (max-width: 900px) {
    .contact-form-map-section {
        grid-template-columns: 1fr; /* Stack form and map */
    }
    .google-map-container {
        margin-top: 50px;
    }
}

/* -------------------------- */
/* --- Scroll Animation Styles --- */
/* -------------------------- */

/* এটি হলো সেকশনের প্রাথমিক অবস্থা (লুকানো) */
.hidden-section {
    opacity: 0;
    transform: translateY(30px); /* নিচ থেকে হালকা উপরে উঠবে */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* এই ক্লাসটি জাভাস্ক্রিপ্ট দিয়ে যোগ করা হবে (দৃশ্যমান) */
.show-section {
    opacity: 1;
    transform: translateY(0);
}
/* ------------------------------- */
/* --- WhatsApp Floating Button --- */
/* ------------------------------- */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px; /* Icon size */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile view adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* ------------------------------------ */
/* --- Facebook Messenger Float Button --- */
/* ------------------------------------ */

.messenger-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px; /* 40px (whatsapp bottom) + 60px (whatsapp height) + 10px gap */
    right: 40px;
    background-color: #0084FF; /* Official Messenger Blue */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px; /* Icon size */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.messenger-float:hover {
    transform: scale(1.1);
}

/* Mobile view adjustment for FB button */
@media (max-width: 768px) {
    .messenger-float {
        width: 50px;
        height: 50px;
        bottom: 80px; /* 20px (whatsapp bottom) + 50px (whatsapp height) + 10px gap */
        right: 20px;
        font-size: 25px;
    }
}
/* --------------------------------- */
/* --- Premium Hero Slider Section --- */
/* --------------------------------- */

.hero-slider-premium {
    position: relative;
    width: 100%;
    height: 90vh; /* Full viewport height for a grand look */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-wrapper-premium {
    display: flex; /* Keep flex for initial layout, but slides will be absolute */
    height: 100%;
    width: 100%; /* Changed to 100% */
    /* transition: transform 0.6s ease-in-out; */ /* Removed/Commented out */
    position: relative; /* Added for absolute positioning of slides */
}

.slide-premium {
    width: 100%; /* Changed back to 100% */
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute; /* Changed to absolute */
    top: 0;
    left: 0;
    opacity: 0; /* New: Hidden by default */
    transition: opacity 0.8s ease-in-out; /* New: Fade transition */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 1; /* Ensure slides stack correctly */
}

.slide-premium.active { /* New: Active slide is visible */
    opacity: 1;
    z-index: 2; /* Active slide on top */
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInSlide 1s ease-out forwards; /* Text animation */
}

.slide-content h1 {
    font-size: 3.5rem; /* Larger, more premium heading */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Button Styling (if not already defined in your general btn-primary) */
.slide-content .btn-primary {
    display: inline-block;
    background-color: var(--primary-color); /* Uses your primary blue */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

.slide-content .btn-primary:hover {
    background-color: var(--dark-blue); /* A darker shade on hover */
    transform: translateY(-3px);
    border-color: var(--dark-blue);
}

.prev-btn-premium,
.next-btn-premium {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 5px; /* Slightly rounded corners */
}

.prev-btn-premium:hover,
.next-btn-premium:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.prev-btn-premium {
    left: 20px;
}

.next-btn-premium {
    right: 20px;
}

.slider-dots-premium {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots-premium .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dots-premium .dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for premium slider */
@media (max-width: 768px) {
    .hero-slider-premium {
        height: 70vh; /* Adjust height for mobile */
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slide-content .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .prev-btn-premium,
    .next-btn-premium {
        padding: 10px 15px;
        font-size: 1.5rem;
    }

    .prev-btn-premium {
        left: 10px;
    }

    .next-btn-premium {
        right: 10px;
    }

    .slider-dots-premium {
        bottom: 10px;
        gap: 8px;
    }
    .slider-dots-premium .dot {
        width: 10px;
        height: 10px;
    }
}

/* Additional Font Import (if you want a specific premium font, otherwise it uses default) */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap'); */
/* If you uncomment the line above, add `font-family: 'Montserrat', sans-serif;` to h1, p etc. */