/*
Composite Template 
http://www.templatemo.com/preview/templatemo_444_composite
*/
html {
    scroll-behavior: smooth;
}

body
{
	background: #FFF;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	position: relative;
}
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8f9fa;
}

.hero-img {
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 18%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}


.hero-text h1 {
    font-size: 42px;
    font-weight: bold;
}

.hero-text h1 span {
    color: #ffa400;
}

.hero-text h2 {
    font-size: 24px;
    margin-top: 10px;
    color: #555;
}

.hero-text p {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.hero-btn {
    margin-top: 20px;
}
.hero-img:hover {
    transform: scale(1.03);
    transition: 0.3s ease;
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(88, 66, 16, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 200, 80, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}
.bg-shapes::before,
.bg-shapes::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.bg-shapes::before {
    width: 260px;
    height: 260px;
    background: #d8a42b;
    top: 20%;
    left: 10%;
}

.bg-shapes::after {
    width: 220px;
    height: 220px;
    background: #f3d077;
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}
@keyframes float {
    0%   { transform: translateY(0) translateX(0); }
    50%  { transform: translateY(-20px) translateX(15px); }
    100% { transform: translateY(0) translateX(0); }
}
.hero-section {
    position: relative;
    overflow: hidden;
    background: #fffaf0;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.bg-grid,
.bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* start templatemo page container */
@media (min-width: 768px) {
	.container { width: 700px; }
}
@media (min-width: 992px) {
	.container { width: 900px; }
}
@media (min-width: 1200px) {
	.container { width: 1000px;	}
}
/* end templatemo page container */

.blue {
	color: #06C;
}

.green {
	color: #090;
}

/* start templatemo navigation */
.navbar-default
{
	background: #FFF;
	border: none;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
	margin: 0;
}
.navbar-default .navbar-brand
{
	font-weight: 600;
	font-size: 30px;
	padding: 10px 0 0 0;
	height: 65px;
	line-height: 40px;
}
.navbar-default .navbar-brand:hover { color: #ffa400; }
.navbar-default .nav li a
{
	color: #333;
	font-size: 14px;
	font-weight: 700;
	height: 65px;
	line-height: 38px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.navbar-default .nav li a:hover
{
	background-color: #ffa400;
	color: #FFF;
}
.navbar-default .nav li a:focus { color: #303030; }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	color: #FFF;
	background-color: #ffa400;
}
.navbar-default .navbar-toggle
{
	border: none;
	padding-top: 18px;
}
.navbar-default .navbar-toggle .icon-bar
{
	background: #ffa400;
	border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }
/* end templatemo navigation */
/* Slider image alignment fix */
.templatemo_headerimage img {
    width: 100%;
    height: 100vh;          /* Full screen height */
    object-fit: cover;      /* Keeps image proportional */
    object-position: center;
}

/* start templatemo header background slideshow */
#home { padding-top: 65px; }
.flexslider {
	margin: 0 0 60px;
	background: #fff;
	padding: 0;
	position: relative;
	zoom: 1;
	background-color: #371604;
	overflow: hidden;
	margin: 0;
}
.flexslider .slides {
	padding: 0;
	zoom: 1;
}
.flexslider .slides img {
	width: 100%;
	min-width: 648px;
	min-height: 270px;
	display: block;
}
.flexslider .slides > li {
	display: none;  
	padding: 0;
	position: relative;
	-webkit-backface-visibility: hidden;
}
.flexslider img {
	position: relative;
	width: 100%;
}
.slider-caption {
	color:white;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	text-transform: uppercase;
	z-index: 7;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}
.templatemo-slider-btn
{
	background: #ffa400;
	border-radius: 0;
	border: 2px solid transparent;
	color: #FFFFFF;
	font-weight: bold;
	margin: 40px 0 0 0;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	height: 50px;
	width: 250px;
	padding: 12px 10px 10px 10px;
}
.templatemo-slider-btn:hover,
.templatemo-slider-btn:focus {
	background: #fff;
	color: #ffa400;
	border: 2px solid transparent;
}

/* start templatemo features */

/* Ensure all education icons render correctly */
.features {
    background: #fff7f0; /* soft orange-ish background */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* subtle pattern behind */
.features::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: radial-gradient(circle, rgba(255,165,0,0.1) 20%, transparent 20%);
    background-size: 60px 60px;
    z-index: 0;
    transform: rotate(45deg);
}

/* Section heading */
.features h2 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: #ff7a00;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Feature card container */
.features .col-md-4 {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Card hover animation */
.features .col-md-4:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

/* Card heading */
.features h3 {
    font-weight: 600;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #ff7a00;
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* Description / paragraph inside card */
.features p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Icon style : modern blob shape */
.features .fa {
    background: linear-gradient(135deg, #ff9a00, #ff7a00);
    color: #fff;
    font-size: 32px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin-bottom: 25px;

    /* unique organic blob shape */
    border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;

    transition: all 0.5s ease;
    display: inline-block;

    /* subtle floating animation */
    animation: float 4s ease-in-out infinite;
}

/* Icon hover effect */
.features .col-md-4:hover .fa {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.45);
}

/* Higher Secondary (HSC) icon */
.features .fa-medal,
.features .fa-certificate {
    background: linear-gradient(135deg, #ff8c00, #ff6f00);
}

/* Secondary / Primary School icon */
.features .fa-school,
.features .fa-book,
.features .fa-university {
    background: linear-gradient(135deg, #ffa726, #ff7a00);
}

/* Floating keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}


/* Mobile responsive tweaks */
@media (max-width: 768px) {
    .features h2 {
        font-size: 28px;
    }
    .features h3 {
        font-size: 20px;
    }
    .features p {
        font-size: 15px;
    }
}
/* end templatemo features */

/* start templatemo about */
#about {
    color: #333;
    padding: 60px 0 60px 0;
    background: #fbf9f4;
}
#about .col-md-12 {	padding: 20px 0 0 0; }
#about h2
{
	font-weight: 400;
	padding: 0 0 20px 0;
}
#about h4
{
	font-weight: 600;
	padding-top: 6px;
	padding-bottom: 10px;
}
#about .skills { padding-top: 2px; }
#about .progress
{
	background: #999;
	height: 6px;
	margin: 10px 0 16px 0;
}
#about .progress .progress-bar-success { background: #ffa400; }
/* end templatemo about */

/* start templatemo team */
#team {
    background: #fff8f0;
    padding: 50px 30px; /* আগের 80px 40px থেকে ছোট */
    width: 100%;
}

#team h1 {
    text-align: center;
    color: #ff7a00;
    margin-bottom: 30px;
    font-size: 3rem;
    letter-spacing: 2px;
}
#team h4 {
    text-align: center;
    color: #ff7a00;
    margin-bottom: 30px;
    font-size: 3rem;
    letter-spacing: 2px;
}

#team hr {
    width: 100px;
    border: 2px solid #ff7a00;
    margin: 0 auto 40px auto;
}



.projects-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
}

/* Project Card */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

h2 {
    text-align: center;
    margin-top: 50px;
    color: #ff7a00;
}
/* Projects Section Background */
#project {
    background-color: #fff7f0;
    padding: 60px 20px;
}

.project-card {
    background-color: #fff;
    border: 2px solid #ff7a00;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-card h3 {
    color: #ff7a00;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* GitHub Button */
.github-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #ff7a00;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.github-btn:hover {
    background-color: #e36b00;
}


.hobby-item {
    display: flex;
    align-items: center;
    gap: 20px; /* আগের 25px থেকে ছোট */
    background: #fff;
    padding: 20px 25px; /* আগের 30px 35px থেকে ছোট */
    border-radius: 25px 70px 25px 70px;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.2);
    max-width: 700px;
    margin: 0 auto 30px auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.3);
}

.hobby-item img {
    width: 150px;
    height: 150px;
    border-radius: 35% 65% 65% 35%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25);
    transition: transform 0.3s ease;
}

.hobby-item:hover img {
    transform: scale(1.05) rotate(-3deg);
}

.hobby-icon {
    font-size: 36px;
    color: #ff7a00;
    flex-shrink: 0;
}

.hobby-item p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 700px) {
    .hobby-item {
        flex-direction: column;
        text-align: center;
    }

    .hobby-item img {
        width: 160px;
        height: 160px;
        margin-bottom: 15px;
        border-radius: 50%;
        transform: none !important;
    }

    .hobby-icon {
        margin-bottom: 10px;
    }

    .hobby-item p {
        max-width: 100%;
        font-size: 1.15rem;
    }
}
/* end templatemo team */

/* start templatemo portfolio */
#portfolio
{
	text-align: center;
	padding: 60px 0 100px 0;
}
#portfolio h2
{
	font-weight: 400;
	padding: 0 0 20px 0;
}
#portfolio p {	margin-bottom: 60px; }
#portfolio .col-md-3 { padding: 4px; }
#portfolio .image_thumb
{
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
}
#portfolio .image_thumb .image_overlay
{
	background: #ffa400;
	width: 100%;
	height: 100%;
	opacity: 0;
	position: absolute;
	-webkit-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;
	top: 0;
	left: 0;
	bottom: 0;
	/*padding-top: 46px;*/
	text-align: center;
}
#portfolio .image_thumb:hover .image_overlay { opacity: 0.9; }
#portfolio .image_thumb .image_overlay .fa
{
	background: #EEE;
	border-radius: 50%;
	color: #444;
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	opacity: 1;
	/*http: //www.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/; */
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
#portfolio .image_thumb a:hover { text-decoration: none; }
/* end templatemo portfolio */

/* start templatemo contact */
#contact
{
	background: #303030;
	color: #EEE;
	padding: 80px 0 80px 0;
}
#contact h2 { font-weight: 400; }
#contact .text-center p { padding: 0 0 60px 0; }
#contact h2, #contact h3 { padding: 0 0 20px 0; }
#contact .form-control
{
	background: transparent;
	border: 1px solid #444;
	border-radius: 0px;
	color: #FFF;
	margin: 10px 0 10px 0;
}
#contact input { height: 60px; }
#contact .form-control:focus
{
	background: #444444;
	border-color: transparent;
	box-shadow: none;
}
#contact input[type="submit"]
{
	color: #FFF;
	font-weight: 600;
	letter-spacing: 1px;
	width: 220px;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#contact input[type="submit"]:hover
{
	background: #ffa400;
	border-color: transparent;
	color: #FFF;
}
#contact .address
{
	padding: 20px;
	padding-top: 0;
	margin: 0;
}
#contact .fa
{
	color: #ffa400;
	font-size: 20px;
	padding: 6px 10px 6px 0;
}

a {	color: #ffa400; }
a:hover, a:active 
{
	color: #ffd485;
	text-decoration: none;
}
/* end templatemo contact */

/* start templatemo footer */
footer
{
	border-top: 1px solid #404040;
	background: #202020;
	color: #FFF;
	padding: 80px 0 40px 0;
}
footer .social_icon a
{
	border: 1px solid #FFF;
	border-radius: 50%;
	color: #FFF;
	font-size: 16px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	margin: 0 4px 24px 6px;
}
footer .social_icon a:hover
{
	border-color: transparent;
	background: #ffa400;
}
/* end templatemo footer */

/* starttemplatemo  go top */
.go-top 
{
	background-color: #ffa400;
	border-radius: 50%;
	bottom: 2em;
	right: 2em;
	color: #FFF;
	display: none;
	position: fixed;
	text-decoration: none;
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
}
.go-top:hover {	color: #F9F9F9; }
/* end templatemo go top */

@media only screen and (max-width: 1199px) {
	.flexslider h1 { font-size: 30px; }
	.flexslider h2 { font-size: 24px; }
}

/* start templatemo 768 media quires */
@media only screen and ( max-width: 768px ) {
	.navbar-default .navbar-brand {	margin-left: 20px; }
	.navbar-default .navbar-nav	{ margin: 0; }
	.navbar-default .navbar-collapse
	{
		padding-left: 20px;
		padding-right: 20px;
	}
	.flexslider h1 { font-size: 26px; }
	.flexslider h2 { font-size: 18px; }
	.templatemo-slider-btn { 
		margin-top: 10px; 
		width: 180px;
		height: 40px;
		padding-top: 8px;
	}
}
/* end templatemo 768 media quires */

/* start templatemo 680 media quires */
@media only screen and ( max-width: 680px ) {
	.navbar-default .navbar-nav li a { border-bottom: 1px solid #f6f6f6; line-height: normal; height: 40px; }
/* end templatemo 680 media quires */

/* start templatemo 600 media quires */
@media only screen and ( max-width: 640px ) {	
	.flexslider h1 { font-size: 20px; }
	.flexslider h2 { font-size: 14px; }
	.templatemo-slider-btn {
		width: auto;
		height: auto;
		padding: 10px 20px;
		margin-top: 10px; 
	}
}
/* end templatemo 600 media quires */