/*==========================================
Theme Name: DWS
Theme URI: https://example.com/dws-theme
Author: Md. Zosim Uddin
Author URI: #
Description: একটি আধুনিক, ক্লিন ও সম্পূর্ণ রেসপনসিভ স্কুল থিম, যা WordPress এর জন্য তৈরি করা হয়েছে।
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zosim
Requires at least: 4.9.6
Requires Php: 6.8.2
Tags: responsive, school, education, clean, customizable
============================================*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

.container, .header, .footer {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
}

.container, .content-wrapper, .home-slider, .main-navbar .container {
    width: 100%;
    max-width: 1200px; /* অথবা তোমার ডিজাইনের সর্বোচ্চ প্রস্থ */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;  /* একটু প্যাডিং দাও */
    padding-right: 15px;
}

@media (max-width: 768px) {
    body, html {
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* overflow রোধে */
        width: 100%;
    }

    .content-wrapper,
    .main-navbar .container,
    .home-slider {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* Header part */
.site-header {
    background-color: #3a86ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.site-header .logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.site-header .school-name {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding: 10px;
}

/* Contact + Social Icon */
.contact-social {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 24px;
}

/* Mobile Number Style */
.contact-social .phone-number {
    cursor: pointer;
    transition: color 0.3s ease;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.contact-social .phone-number:hover {
    color: #ff006e; /* Hover color */
}

/* Icon Styles */
.contact-social a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-social a i {
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* WhatsApp Hover */
.contact-social a[href*="wa.me"] i:hover {
    color: #ff006e;
}

/* Facebook Hover */
.contact-social a[href*="facebook.com"] i:hover {
    color: #ff006e;
}

@media (max-width: 768px) {
    .site-header .school-name {
        font-size: 12px;  /* মোবাইলে ফন্ট সাইজ কমানো হলো */
        padding: 5px 3px;
    }

    .site-header .logo img {
        width: 40px;
        height: auto;
    }
}
.contact-social {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}


/*=========================================== 
Slider Section 
=============================================*/
.home-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.home-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-wrapper {
    display: flex;
    animation: slide 12s infinite;
}

.slide {
    min-width: 100%;
    position: relative;
    text-align: center;
}

.slide img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

@keyframes slide {
    0%, 25%   { transform: translateX(0); }
    33%, 58%  { transform: translateX(-100%); }
    66%, 91%  { transform: translateX(-200%); }
    100%      { transform: translateX(0); }
}

/*================
 Responsive slider padding fix
==================*/
@media (max-width: 768px) {
    .home-slider {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/*=========================================== 
Menubar
=============================================*/
.main-navbar {
    background-color: #3a86ff;
    padding: 12px 0;
}

.main-navbar .container {
    max-width: 1300px;
    margin: auto;
}

.main-navbar .menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.main-navbar .menu li {
    position: relative;
}

.main-navbar .menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.main-navbar .menu li a:hover {
    color: #00f;
    background-color: #fff;
    border-radius: 5px;
}

/* Submenu Dropdown */
.main-navbar .menu li ul {
    display: none;
    position: absolute;
    background: #111;
    top: 100%;
    left: 0;
    min-width: 160px;
    z-index: 0 !important;
    padding: 10px 0;
}

.main-navbar .menu li:hover ul {
    display: block;
}

.main-navbar .menu li ul li a {
    padding: 10px 15px;
    display: block;
    color: #fff;
}

/* মেনু টগল বাটন (মোবাইলের জন্য) */
.menu-toggle {
    display: none; /* Desktop এ লুকানো থাকবে */
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* Responsive মোবাইল স্টাইল */
@media (max-width: 768px) {

    /* মেনু টগল বাটন দেখাবে */
    .menu-toggle {
        display: block;
    }

    /* Mobile menu toggle styles */
    .main-navigation {
        display: none;
    }

    .main-navigation.toggled {
        display: block;
    }

    /* মেনু প্রথমে লুকানো থাকবে */
    #primary-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #000;
        padding: 10px 20px;
        border-radius: 5px;
    }

    /* active ক্লাস এলে মেনু দেখাবে */
    #primary-menu.active {
        display: flex;
    }

    /* মেনু লিংক স্টাইল */
    #primary-menu li a {
        color: white;
        padding: 8px 12px;
        display: block;
        text-decoration: none;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }

    #primary-menu li a:hover {
        background-color: #007bff;
        color: white;
    }

    /* মেনু flex থেকে block এ পরিবর্তন */
    .main-navbar .menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-navbar .menu li {
        width: 100%;
    }

    /* === সাবমেনু স্টাইল === */
    .main-navbar .menu li ul {
        display: none;
        position: static;
        background: #111;
        padding-left: 15px;
    }

    .main-navbar .menu li ul.active-submenu {
        display: block;
    }
}


/*=========================================== 
Left and Right side
=============================================*/
/* ===========================
   Layout Wrapper
=========================== */
.content-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #ffffff; /* সাদা ব্যাকগ্রাউন্ড */
    align-items: flex-start; /* টপ লেভেলে রাখে */
    max-width: 1500px; /* ফুল উইডথ আটকাবে */
    margin: 0 auto; /* সেন্টার করবে */
    box-sizing: border-box;
}

/* ===========================
   Left & Right Sidebar
=========================== */
.left-sidebar {
    flex: 0 0 70%;
    max-width: 70%;
}

.right-sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

/* =============================
   Responsive: মোবাইলের জন্য
============================== */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column; /* এক কলামে নামাবে */
  }
  .left-content,
  .right-content {
    width: 100% !important; /* মোবাইলে পুরো প্রস্থ দাও */
  }
}


/* ===========================
   Notice Board
=========================== */
.notice-board {
    background-color: #ffffff;
    border: 1px solid #4CAF50;
    border-radius: 12px;
    padding: 5px 30px;
    box-shadow: 0 6px 12px rgba(0, 128, 0, 0.2);
    margin-bottom: 40px;
    max-height: 500px;
    overflow-y: auto;
}

.notice-board h3 {
    color: #2e7d32;
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: 3px solid #388e3c;
    padding-bottom: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.notice-list {
    list-style: none;
    padding-left: 0;
}

.notice-list li {
    margin-bottom: 12px;
}

.notice-list li a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.notice-list li a:hover {
    color: #388e3c;
    text-decoration: underline;
}

/* Single Notice Page */
.notice-single-content h1 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.notice-single-content .notice-content {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

/*------------------------------------
Recent News Row Cards 
-------------------------------------*/
.recent-news-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    background: #f8f9fa;
    padding: 10px 0;
}

.recent-news-marquee {
    display: flex;
    gap: 20px;
    animation: marquee 15s linear infinite;
}

.recent-news-marquee .news-slide {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.recent-news-marquee .news-slide img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 5px;
}

.recent-news-marquee .news-slide h4 {
    margin: 0;
    font-size: 14px;
}

.recent-news-marquee .news-slide a {
    text-decoration: none;
    color: #0d47a1;
}

.recent-news-marquee .news-slide a:hover {
    text-decoration: underline;
}

/* marquee animation */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


/* ===========================
   Services
=========================== */
.services-section {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* দুই কলাম */
    gap: 30px;
}

/* প্রতিটি সেবা বিভাগের বক্স */
.service-category {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.service-category h4 {
    margin-top: 0;
    color: #2e7d32;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

/* Responsive: ছোট স্ক্রিনে এক কলাম */
@media (max-width: 768px) {
    .services-section {
        grid-template-columns: 1fr;
    }
}

/* ভেতরের সেবা লিস্ট */
.single-service {
    display: flex;
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    align-items: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.service-image {
    width: 20%;
    margin-right: 15px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.service-content {
    width: 80%;
}

.service-title {
    font-size: 18px;
    color: #2e7d32;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title:hover {
    color: #388e3c;
    text-decoration: underline;
}

/* Responsive: ছোট স্ক্রীনে ভেতরের সেবা এক কলামে */
@media (max-width: 768px) {
    .single-service {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-image,
    .service-content {
        width: 100%;
        margin-right: 0;
    }
}

/* ===========================
   President & Headmaster Messages, Important Links Styles
=========================== */

/* Container wrapper for messages and important links */
.messages-wrapper {
    width: 100%;  /* প্যারেন্টের ৩০% এর পুরো প্রস্থ */
    max-width: none; /* বা সরিয়ে দিতে পারো */
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* ===========================
   Message Boxes (President, Headmaster)
=========================== */
.message-box {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.message-image {
  width: 200px;
  height: 250px; /* স্কয়ার ফিক্সড করলে ভাল হয় */
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10%;
}

.message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* ছবিকে কন্টেইনারে সুন্দর করে ফিট করাবে */
  display: block;
  margin-bottom: 15px;
  border-radius: 10%;
}


.message-name a {
  color: #007bff;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  margin-bottom: 5px;
}

.message-name a:hover {
  text-decoration: none !important; /* হোভারেও আন্ডারলাইন বন্ধ রাখবে */
  background-color: #ffd54f; /* তোমার পছন্দমতো */
  color: #000000;
  padding: 2px 6px;
  border-radius: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
}


.message-role {
  font-weight: 600;
  color: #555;
  margin-top: 10px;
  font-size: 14px;
}

.message-excerpt {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

/* ===========================
   Headmaster Specific Message Styling
=========================== */
.headmaster-message {
  background: #f1f9f1;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
  color: #333333;
}

.headmaster-message h3 {
  background-color: #008000;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 20px;
  margin-bottom: 15px;
}

/* ===========================
   Important Links Box
=========================== */
.important-links-box {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  max-width: none;
  margin-top: 20px; /* প্রয়োজনে রাখো */
}

.important-links-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 6px;
}

.important-links-box ul {
  list-style: disc inside;
  padding-left: 0;
}

.important-links-box ul li {
  margin-bottom: 8px;
}

.important-links-box ul li a {
  text-decoration: none;
  color: #333;
}

.important-links-box ul li a:hover {
  color: #0073aa;
  text-decoration: underline;
}

/* ===========================
   Flex container for layouts if needed
=========================== */
.container-flex {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  align-items: flex-start; /* উপরের অংশে সবকিছু ঠিক করবে */
  flex-wrap: wrap; /* মোবাইলেও ঠিক থাকবে */
}

.section-box {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 280px; /* মিনিমাম width দিলে খুব ছোট হবে না */
}

/* ===========================
   Responsive Styles
=========================== */
@media (max-width: 768px) {
  .messages-wrapper {
    padding: 10px;
  }

  .message-box,
  .important-links-box {
    padding: 15px;
  }

  .container-flex {
    flex-direction: column;
  }

  .section-box {
    width: 100%;
    margin-top: 20px;
  }
}



/*=====================================
Footer 
======================================*/
 @import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
        
    
        .main-content {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            max-width: 1200px;
            width: 100%;
            margin-bottom: 30px;
        }
        
        .preview-title {
            text-align: center;
            color: #2d3748;
            font-size: 2.5rem;
            margin-bottom: 30px;
            font-weight: 700;
        }
        
        .footer {
            background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
            color: white;
            padding: 60px 0 20px;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
        }
        
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
        }
        
        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .footer-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        
        .school-logo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin-bottom: 15px;
            border: 3px solid #667eea;
            transition: transform 0.3s ease;
        }
        
        .school-logo:hover {
            transform: scale(1.1);
        }
        
        .school-name {
            font-size: 18px;
            font-weight: 700;
            color: white;
            margin-bottom: 10px;
        }
        
        .school-tagline {
            color: #cbd5e0;
            font-size: 1rem;
            line-height: 1.6;
        }
        
        .footer-section h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: #667eea;
            border-radius: 2px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #cbd5e0;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .footer-links a:hover {
            color: #667eea;
            transform: translateX(5px);
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            color: #cbd5e0;
        }
        
        .contact-icon {
            width: 40px;
            height: 40px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .contact-item:hover .contact-icon {
            background: #667eea;
            transform: scale(1.1);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-link {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }
        
        .social-link:hover {
            background: #667eea;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .footer-bottom {
            max-width: 1200px;
            margin: 40px auto 0;
            padding: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #cbd5e0;
            font-size: 0.9rem;
        }
        
        .newsletter-form {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        .newsletter-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            outline: none;
        }
        
        .newsletter-input::placeholder {
            color: #cbd5e0;
        }
        
        .newsletter-btn {
            padding: 12px 20px;
            border: none;
            border-radius: 25px;
            background: #667eea;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .newsletter-btn:hover {
            background: #5a67d8;
            transform: translateY(-2px);
        }
        
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .preview-title {
                font-size: 2rem;
            }
            
            .main-content {
                padding: 20px;
            }
        }
        
        .credit {
            text-align: center;
            color: white;
            margin-top: 20px;
            font-size: 0.9rem;
            opacity: 0.8;
        }

/*================================
    Copy Right
==================================*/
   .footer-bottom {
    width: 100%; /* পুরো স্ক্রিন জুড়ে */
    min-width: 100%;
    text-align: center;
    padding: 20px 10px;
    background-color: #1a202c; /* ডার্ক ব্যাকগ্রাউন্ড */
    color: #cbd5e0; /* লাইট টেক্সট */
    font-size: 16px;
    border-top: 3px solid #667eea; /* হালকা accent line */
    position: relative; /* হোভার লাইন কাজের জন্য */
    box-sizing: border-box;
}

.footer-bottom a {
    color: #67b7ff; /* লিঙ্ক রঙ */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff3366; /* হোভার আন্ডারলাইন কালার */
    transition: width 0.3s ease;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.footer-bottom a:hover {
    color: #ff3366; /* হোভার রঙ পরিবর্তন */
}

.footer-bottom a:hover::after {
    width: 100%; /* হোভার এ আন্ডারলাইন পুরো লিঙ্কের নিচে যাবে */
}

@media (max-width: 768px) {
    .footer-bottom {
        font-size: 14px;
        padding: 15px 10px;
    }
}

