* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*..........পুরো ওয়েবসাইটের ডাইনামিক ব্যাকগ্রাউন্ড...............*/
body {
    background-color: #f4f9f1; /* লোগোর হালকা সবুজ */
    background-image: url('bidm.JPG'); /* জলছাপের জন্য লোগো */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: 40%;
    opacity: 0.98; /* কন্টেন্ট দেখার জন্য মেইন বডি অপাসিটি */
}

/* কর্পোরেট মারকিউ */
.marquee-container {
    background: #026B50; /* লোগোর গাঢ় সবুজ */
    color: #fff;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 3px solid #DAF7A6;
}

/* হেডার এবং নেভিগেশন */
.header {
    min-height: 50vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("bidm-banar.png");
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 10px 5%;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.logo-text h1 {
    color: #1C1C3E; /* লোগোর নীল রঙ */
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
}

.logo-text span {
    font-size: 12px;
    color: #555;
    letter-spacing: 1px;
}

/* মেনু স্টাইল */
.nav-menu ul li {
    list-style: none;
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

.nav-menu span {
    display: none;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #1C1C3E;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu ul li a:hover {
    color: #C70039; /* লোগোর লাল রঙ */
}

/* লগইন বাটন কর্পোরেট লুক */
.login-btn {
    background: #C70039;
    color: #fff !important;
    padding: 8px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(199, 0, 57, 0.2);
}

.login-btn:hover {
    background: #a3002f;
    transform: translateY(-2px);
}

/* মোবাইল রেসপন্সিভ সমাধান */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: #1C1C3E;
    display: none;
}

@media (max-width: 950px) {
    nav { padding: 15px 20px; }
    .logo-text h1 { font-size: 14px; }
    .main-logo { width: 50px; height: 50px; }
    
    .toggle-icon { display: block; }

    .nav-menu {
        position: fixed;
        background: #1C1C3E;
        height: 100vh;
        width: 250px;
        top: 0;
        right: -250px;
        z-index: 1000;
        transition: 0.5s;
        padding: 80px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
.nav-menu span {
    display: inline-block;
}
    .nav-menu ul li {
        display: block;
        margin-bottom: 30px;
    }

    .nav-menu ul li a {
        color: #fff;
        font-size: 18px;
    }

    .close-icon {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        color: #fff;
    }
}

/*..............Madrasah Title Description...................*/ 
/*-------------Title Description----------------------------*/

.titledescription {
    width: 85%;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; /* লেখা মাঝখানে রাখার জন্য */
}

.titledescription h1 {
    font-size: 55px;
    color: #fff; /* ব্যানারের ওপর সাদা লেখা বেশি স্পষ্ট হয় */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* শ্যাডো দিলে লেখা ফুটে ওঠে */
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.titledescription p {
    font-size: 22px;
    color: #DAF7A6;
    margin-bottom: 35px;
    font-weight: 500;
}

.titledescription a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.4s;
    border-radius: 5px;
}

.titledescription a:hover {
    background: #C70039; /* লোগোর লাল রঙ */
    border: 2px solid #C70039;
    color: #fff;
    transform: translateY(-5px); /* হোভার করলে একটু উপরে উঠবে */
}

/* মোবাইল ভিউর জন্য রেসপন্সিভ সেটিংস */
@media (max-width: 700px) {
    .titledescription h1 {
        font-size: 28px;
    }
    .titledescription p {
        font-size: 16px;
    }
    .titledescription a {
        padding: 10px 25px;
        font-size: 15px;
    }
}

/*....................About Superintendent ...................*/
/*....................About Me ..............................*/

.row{
	width: 100%;
	height: 9%; 
	display: flex;
	margin-top: 2%  ;
	justify-content: space-between;
}
.About-me {
	background-color: #f4f9f1;
	width: 100%;
	height: 9%; 
	text-align: center;
	padding-top: 59px;
}
.About-me h1{
	color: #C70039;
	text-decoration: none;
}
.About-me-col{

	flex-basis: 49%;
	border-radius: 11px;
	margin-bottom: 3%;
}
.About-me-col h2{
	color: #1b5e20;
	margin-top: 11px;
	margin-bottom: 11px;
	text-align: left;

}
.About-me-col p{
	color: #0d47a1;
	width: 500px;
  font-size: 16px;
  line-height: 1.5;
	font-weight: 300px;
	padding: 7px;
	text-align: justify; 
}

.About-me-col img {
  width: 39%;
  height: 81%;
  border-radius: 71%;
} 

/*................The Soul of the Madrasah...................*/
/*................madrasah Skills...........................*/

.My-Skill {
  width: 100%;
  background: #f4f9f1;
  padding: 40px 20px;
  box-sizing: border-box;
}

.My-Skill h1 {
  text-align: center;
  text-decoration: none;
  color: #C70039;
  margin-bottom: 30px;
}

.My-Skill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.My-Skill-col {
  flex-basis: 48%;
  background: #380709;
  border-radius: 11px;
  margin-bottom: 20px;
  padding: 20px;
  box-sizing: border-box;
  color: #dcedc8;
}

.My-Skill-col p {
  color: #dcedc8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

.My-Skill-col li{
	list-style: none;
	margin-top: 15px 0;
}
.My-Skill-col .bar{
	display: block;
	height: 3px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 0 10px #D4DEF2;
}
.My-Skill-col .bar span{
	height: 31px;
	float: left;
	background: #dcedc8;
}

/* Progress levels with animations */

.html{
			width: 75%;
			animation: html 2s;
}
.css{
			width: 70%;
			animation: css 2s;
}
.javascript{
			width: 65%;
			animation: javascript 2s;
}
.bootstrap{
			width: 60%;
			animation:  bootstrap 2s;
}
.php{
			width: 55%;
			animation: php 2s;
}
/* Animations */

@keyframes html{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes css{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes javascript{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes bootstrap{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes php{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}


/*....................Expertise & Services...................*/
/*....................madrasah Services.....................*/

.My-Services {
		width: 100%;
		margin: auto;
		background: #1C1C3E;
		padding-top: 69px; 
		text-align: center;
} 
.My-Services h1{
	text-align: center;
	text-decoration: none;
	color: #C70039;

}
.My-Services p{
	color: #cbc3e9;
	font-size: 15px;
	font-weight: 89;
	line-height: 19px;
	padding: 15px;
}
.My-Services-collam {
	flex-basis: 31%;
	background: #f4f9f1;
	border-radius: 11px;
	margin-bottom: 3%;
	padding: 15px  13px;
	box-sizing: border-box;
}


.My-Services-collam p{
	text-align: justify;
	color: #1C1C3E;
	font-size: 13px;
	font-weight: 89;
	line-height: 17px;
	padding: 11px;
}
.My-Services-collam h2{
	text-align: center;
	font-size: 90;
	margin: 5px;
	color: #890e28;
}

.My-Services-collam:hover{
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

/*..................Madrasah Portfolio...................*/
/*...................My Portfolios......................*/

.Portfolios {
		width: 100%;
		margin: auto;
		background: #f4f9f1;
		padding-top: 49px;
		text-align: center;
} 
.Portfolios h1{
	text-align: center;
	text-decoration: underline;
	color: #C70039;

}
.Portfolios p{
	color: #C70039;
	font-size: 13px;
	font-weight: 90;
	line-height: 18px;
	padding: 12px;
}
.Portfolios-col{
	flex-basis: 31%;
	border-radius: 11px;
	margin-bottom: 31px;
	position: relative;
	overflow: hidden;
}
.Portfolios-col img{
		width: 100%;
		height: 100%;
		display: block;
}
.overlay{
		background: transparent;
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		transition: 1s;
}
.overlay:hover{
	background: rgba(220, 0, 0, 0.5);
}
.overlay h3{
	width: 100%;
	font-weight: 500;
	color: #dcedc8;
	font-size: 29px;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	opacity: 0;
}
.overlay:hover h3{
	bottom:49%;
	opacity: 1;
	transition: 1s;
}

/*................What Our Guardian Say......................*/
/*....................What People Say.......................*/

.testimonials {
		width: 100%;
		margin: auto;
		background: #f4f9f1;
		padding-top: 60px;
		text-align: center;
} 
.testimonials h1{
	text-align: center;
	text-decoration: underline;
	color: #C70039;

}
.testimonials p{
	color: #1C1C3E;
	font-size: 13px;
	font-weight: 90;
	line-height: 18px;
	padding: 12px;
}
.testimonials-coll{
	flex-basis: 40%;
	border-radius: 10px;
	margin-bottom: 5%;
	text-align: left;
	padding: 25px;
	background: #e4e4ed;
	cursor: pointer;
	display: flex;
	
}
.testimonials-coll img{
		width: 60px;
		height: 60px;
		margin-left: 5px;
		margin-right: 30px;
		border-radius: 50%;
}
.testimonials-coll p{
	padding: 0;
}

.testimonials-coll h4{
	margin-top: 15px;
} 

/*....................Follow Madrasah......................*/
/*....................coll-to-action......................*/

.coll-to-action {
  width: 80%;
  margin: 100px auto;
  /* তিনটি ব্যাকগ্রাউন্ড লেয়ার: উপরে linear-gradient overlay, মাঝখানে subtle radial gradient,
     তলায় ইমেজ */
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 70%),
    url('bidm-banar-02.png') center/cover no-repeat;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
  box-sizing: border-box;
  position: relative;
}

.coll-to-action h1 {
  color: #dcedc8;
  margin-bottom: 25px;    /* margin-bottim → margin-bottom */
  font-size: 2.5rem;
  line-height: 1.2;
}

.coll-to-action a {
  display: inline-block;
  text-decoration: none;
  color: #dcedc8;
  border: 2px solid #dcedc8;
  padding: 10px 25px;
  background: transparent;  /* trasparent → transparent */
  position: relative;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.coll-to-action a:hover {
  background: #C70039;
  color: #fff;
  transform: translateY(-3px);
  /* border-radius and border fix */
  border: 2px solid #000;
  border-radius: 4px;
}


/*......................Footer Action..........................*/
/*.......................ফুটার ডিজাইন..........................*/
.footer {
    background: #1C1C3E; /* লোগোর গাঢ় নীল */
    padding: 60px 0 20px;
    color: #dcedc8;
    width: 100%;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
    margin: auto;
}

.footer-column {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.footer-column h1 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
}

.footer-column h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #026B50; /* লোগোর গাঢ় সবুজ */
    height: 4px;
    width: 50px;
}

.footer-column p {
    line-height: 1.8;
    font-size: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #dcedc8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

.footer-column ul li a:hover {
    padding-left: 10px;
    color: #fff;
}

/* সোশ্যাল আইকন স্টাইল */
.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    transition: 0.4s;
}

.social-links a:hover {
    background-color: #026B50;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
    font-size: 14px;
}

/*.........কম্পিউটার, ট্যাব ও মোবাইল রেসপন্সিভ.................*/

@media (max-width: 992px) { /* ট্যাবলেটের জন্য */
    .footer-column {
        flex-basis: 45%;
    }
}

@media (max-width: 768px) { /* মোবাইলের জন্য */
    .footer-column {
        flex-basis: 100%;
        text-align: center;
    }
    .footer-column h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/*.....................Responsive Action.....................*/
/*.....................Responsive Action......................*/
/*.....................Responsive Action......................*/

@media (max-width: 700px) {.titledescription {
	width: 90%;
	color: darkred;
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}	.titledescription h1{
	font-size: 27px;
	color: #1C1C3E;; 
}

nav img{
	width: 160px;
	height: 160px;
	position: absolute;
	top: 19%;
	right: 69%;
	border-radius: 445%;
}
nav span{
	display: block;
	color: red;
	margin: 10px;
	font-size: 20px;
	cursor: pointer; 
}
.nav-menu{
	position: absolute;
	background: rgba(0, 0, 0, 0.2)
	hight: 25vh ;
	width: 300px;
	top: 0;
	right: -300px;
	text-align: left;
	z-index: 1;
	transition: 1s;
}
.nav-menu ul li{
	display: block;
	margin: 5px 0;
}
.nav-menu ul{
	padding: 10px;
}
.profile-image{
	width: 120px;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-45%, -31%); 
}

/*..........About Superintendent [Responsive] ................*/
/*....................About Me ..............................*/ 

.row{

	display: flex;
	margin-top: 5%  ;
	justify-content: space-between;
}
.About-me {

	width: 100%;
	margin: auto;
	text-align: center;
	padding-top: 115px;
}
.About-me h1{
	color: #C70039;
	text-decoration: none;
}
.About-me-col{

	flex-basis: 49%;
	border-radius: 15px;
	margin-bottom: 3%;
}
.About-me-col h2{
	color: #1b5e20;
	margin-top: 14px;
	margin-bottom: 14px;
	text-align: left;

}
.About-me-col p{
	color: #0d47a1;
	width: 195px;
  font-size: 9px;
  line-height: 1;
	font-weight: 150px;
	padding: 5px;
	text-align: justify; 
}

.About-me-col img {
  width: 91%;
  height: 81%;
  border-radius: 55%;
}
/*...........The Soul of the Madrasah [Responsive].............*/
/*...................My Skill Action..........................*/

.My-Skill{
		width: 100%;
		margin: auto;
		background: #f4f9f1;
		padding-top: 41px;

}
.My-Skill h1{
	text-align: center;
	text-decoration: none;
	color: #C70039;
}
.My-Skill-col{
		flex-basis: 48%;
		border-radius: 12px;
		margin-bottom: 5%;
}
.My-Skill-col p{
			color: #dcedc8;
			font-size: 10px;
			font-weight: 300px;
			font-height: 10px;
			padding: 14px;
			text-align: justify-all;
}
.My-Skill-col li{
	list-style: none;
	margin-top: 20px 0;
}
.My-Skill-col .bar{
	display: block;
	height: 3px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 0 10px #D4DEF2;
}
.My-Skill-col .bar span{
	height: 20px;
	float: left;
	background: white;
}
.html{
			width: 80%;
			animation: html 2s;
}
.css{
			width: 70%;
			animation: css 2s;
}
.javascript{
			width: 60%;
			animation: javascript 2s;
}
.bootstrap{
			width: 50%;
			animation:  bootstrap 2s;
}
.php{
			width: 50%;
			animation: php 2s;
}
@keyframes html{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes css{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes javascript{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes bootstrap{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}
@keyframes php{
	0%{
		width: 0%;} 
		100%{
		width: 80%;
	}
}

/*...............Expertise & Services [Responsive]............*/
/*...................My Services Action......................*/
.My-Services {
		width: 100%;
		margin: auto;
		background: #1C1C3E;
		padding-top: 59px; 
		text-align: center;
} 
.My-Services h1{
	text-align: center;
	text-decoration: none;
	color: #C70039;

}
.My-Services p{
	color: #cbc3e9;
	font-size: 15px;
	font-weight: 89;
	line-height: 19px;
	padding: 15px;
}
.My-Services-collam {
	flex-basis: 5%;
	background: #f4f9f1;
	border-radius: 3px;
	margin-bottom: 2%;
	padding: 3px  3px;
	box-sizing: border-box;
}


.My-Services-collam p{
	text-align: justify;
	color: #1C1C3E;
	font-size: 13px;
	font-weight: 17;
	line-height: 11px;
	padding: 11px;
}
.My-Services-collam h2{
	text-align: center;
	font-size: 59;
	margin: 5px;
	color: #890e28;
}

.My-Services-collam:hover{
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.4);
}

/*...............Madrasah Portfolio [Responsive].............*/
/*................Portfolios Action.........................*/

.testimonials {
		width: 95%;
		margin: auto;
		background: #1c4edc;
		padding-top: 49px;
		text-align: center;
} 
.Portfolios h1{
	text-align: center;
	text-decoration: underline;
	color: #C70039;

}
.Portfolios p{
	color: #C70039;
	font-size: 10px;
	font-weight: 70;
	line-height: 10px;
	padding: 10px;
}
.testimonials-coll{
	flex-basis: 30%;
	border-radius: 10px;
	margin-bottom: 3%;
	text-align: left;
	padding: 20px;
	background: #7392eb;
	cursor: pointer;
	display: flex;
	
}
.testimonials-coll img{
		width: 50px;
		height: 29px;
		margin-left: 5px;
		margin-right: 20px;
		border-radius: 40%;
}
.testimonials-coll p{
	padding: 0;
}

.testimonials-coll h4{
	margin-top: 10px;
}
/*...........What Our Guardian Say [Responsive]..............*/
/*................What Pepole Say Action....................*/

.testimonials {
		width: 100%;
		margin: auto;
		background: #f4f9f1;
		padding-top: 60px;
		text-align: center;
} 
.Portfolios h1{
	text-align: center;
	text-decoration: none;
	color: #C70039;

}
.Portfolios p{
	color: #C70039;
	font-size: 13px;
	font-weight: 90;
	line-height: 16px;
	padding: 17px;
}
.testimonials-coll{
	flex-basis: 37%;
	border-radius: 8px;
	margin-bottom: 7%;
	text-align: left;
	padding: 23px;
	background: #e4e4ed;
	cursor: pointer;
	display: flex;
	
}
.testimonials-coll img{
		width: 60px;
		height: 60px;
		margin-left: 5px;
		margin-right: 30px;
		border-radius: 50%;
}
.testimonials-coll p{
	padding: 0;
}

.testimonials-coll h4{
	margin-top: 15px;
} 
/*................Follow Madrasah [Responsive]..............*/
/*....................Coll-To-Action Action................*/

.coll-to-action h1{
	font-size: 20px;
}