/*==================================
* Author        : "ThemeSine"
* Template Name :  Browny  HTML Template
* Version       : 1.0
==================================== */

/*==================================
font-family: 'Poppins', sans-serif;
==================================== */


/*=========== TABLE OF CONTENTS ===========
1.  General css (Reset code)
2.  Header
3.  Welcome-hero
4.  About me 
5.  Education
6.  Skill
7.  Experience
8.  Profiles
9.  Portfolio
10. Clients
11. Contact

/*-------------------------------------
		1.General css (Reset code)
--------------------------------------*/
*{
    padding: 0;
    margin: 0;
    -webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
}

body{
	font-family: 'Poppins', sans-serif;
	font-size:16px;
	color: #676a81;
	background: #fff;
    max-width:1920px;
    margin:0 auto;
	overflow-x:hidden;
}

a,a:active,a:focus {
	display:inline-block;
	text-decoration:none;
	color: #6a708e;
	font-size:16px;
	padding:0;
}
h1,h2,h3,h4,h5,h6 { 
	margin: 0;
	color:#43485c;
    font-size: 16px;
	font-family: 'Poppins', sans-serif;
	text-transform: capitalize;
}
p {
	margin: 0;
	line-height:1.8;
	color:#43485c;
	font-size:14px;
	font-family: 'Poppins', sans-serif;
}
img{border:none;max-width:100%; height:auto;}
ul{
	padding: 0;
    margin: 0 auto;
    list-style: none;
}
ul li {
	list-style: none;
	
}
select,input,textarea,button{box-shadow:none;outline:0!important;}
button {background: transparent;border: 0;}

html,body{
    height: 100%;
	position: relative;
}
[placeholder]:focus::-webkit-input-placeholder {
  -webkit-transition: opacity 0.3s 0.3s ease; 
  -moz-transition: opacity 0.3s 0.3s ease; 
  -ms-transition: opacity 0.3s 0.3s ease; 
  -o-transition: opacity 0.3s 0.3s ease; 
  transition: opacity 0.3s 0.3s ease; 
  opacity: 0;
}

.fix{position: relative;clear: both;}
/*=============Style css=========*/

/*-------------------------------------
        2. Header
--------------------------------------*/
.top-area {
    position: relative;
    z-index: 9999;
}
nav.navbar.bootsnav.no-background {
    background-color: #fff;
    border: none;
}

nav.navbar.bootsnav {
    background-color: #fff;
    border-bottom: transparent;
    box-shadow: 0 3px 15px rgba(0,0,0,.2);
}

/*.navbar-brand*/
.navbar-header a.navbar-brand,.navbar-header a.navbar-brand:hover,.navbar-header a.navbar-brand:focus {
    display: inline-block;
    color: #ff8c20;
    font-size: 20px;
    font-weight: 600;
    padding: 33px 0px 57px;
    text-transform: uppercase;
}
/*.navbar-brand*/

/*.nav li*/
nav.navbar.bootsnav ul.nav > li > a {
    font-size: 16px;
    font-weight: 400;
    text-transform:uppercase;
    -webkit-transition: 0.1s linear; 
    -moz-transition: 0.1s linear; 
    -ms-transition: 0.1s linear; 
    -o-transition: 0.1s linear; 
    transition: 0.1s linear;
}
nav.navbar.bootsnav ul.nav > li > a {padding: 35px 20px;}
nav.navbar.bootsnav ul.nav > li > a {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: #6a708e; /* Default color */
    -webkit-transition: 0.1s linear; 
    -moz-transition: 0.1s linear; 
    -ms-transition: 0.1s linear; 
    -o-transition: 0.1s linear; 
    transition: 0.1s linear;
}

/* When hovering or focusing on a link */
nav.navbar.bootsnav ul.nav > li > a:hover,
nav.navbar.bootsnav ul.nav > li > a:focus {
    color: #ff8c20; /* Hover color */
}

/* When a link is active (the current section) */
nav.navbar.bootsnav ul.nav > li > a.active {
    color: #ff8c20; /* Active color */
}


nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after {
    content: "";
}
nav.navbar.bootsnav ul.nav > li.dropdown span {
    font-size: 8px;
    margin-left: 15px;
}
/* When the navbar is sticky, the default link color */
.sticky-wrapper.is-sticky nav.navbar.bootsnav ul.nav > li > a {
    color: #6a708e; /* Sticky default color */
}

/* Hover and active states when the navbar is sticky */
.sticky-wrapper.is-sticky nav.navbar.bootsnav ul.nav > li > a:hover,
.sticky-wrapper.is-sticky nav.navbar.bootsnav ul.nav > li > a:focus,
.sticky-wrapper.is-sticky nav.navbar.bootsnav ul.nav > li > a.active {
    color: #ff8c20; /* Sticky hover and active color */
}




/*.menu-ui-design*/
.menu-ui-design{overflow-y:scroll;height: 350px;}
.menu-ui-design::-webkit-scrollbar {
    width:5px;
}
.menu-ui-design::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 8px #000;
}
.menu-ui-design::-webkit-scrollbar-thumb {
  background-color: #ff8c20;
}
/*.menu-ui-design*/



/*.navbar-toggle */
nav.navbar.bootsnav .navbar-toggle {
    position: relative;
    background-color: transparent;
    border: 1px solid #ff8c20;
    padding: 10px;
    top: 0;
}
nav.navbar.bootsnav .navbar-toggle i{color: #ff8c20;}
/*.navbar-toggle */

.navbar-toggle .fa-bars {
    display: inline-block; /* Default state: show hamburger */
}
.navbar-toggle .fa-x {
    display: none; /* Default state: hide close icon */
}

.navbar-collapse {
    display: none; /* Initially hidden */
    transition: all 0.3s ease-in-out; /* Smooth open/close */
}
.navbar-collapse.in {
    display: block; /* Display when open */
}
/* Ensure correct initial behavior for specific viewport ranges */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-toggle .fa-bars {
        display: inline-block ; /* Show hamburger */
    }
    .navbar-toggle .fa-x {
        display: none ; /* Hide close icon */
    }
    .navbar-collapse {
        display: none; /* Menu hidden initially */
    }
}


/*-------------------------------------
        3.  Welcome-hero
--------------------------------------*/
.welcome-hero{
    display: flex;
    align-items: center;
    justify-content: center;
    position:relative;
    background:url(../images/about/welcome-banner.jpg)no-repeat;
    background-size:cover;
    background-position: center;
    height:890px;
}
.welcome-hero:before{
    position:absolute;
    content: " ";
    top:0;
    left:0;
    background:rgba(31,44,108,.65);
    width:100%;
    height:100%;
}

/*.header-text-area*/
.header-text h2 {
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
}
.header-text h2 span {color: #ff8c20;}
.header-text p {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    margin: 30px 0 60px;
    letter-spacing: 1px;
}
.header-text a {
    width: 200px;
    height: 60px;
    line-height: 60px;
    border-radius: 3px;
    text-transform: capitalize;
    color: #fff;
    background: #ff8c20;
    border:1px solid #ff8c20;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
    -webkit-transition: 0.3s linear; 
    -moz-transition: 0.3s linear; 
    -ms-transition: 0.3s linear; 
    -o-transition: 0.3s linear; 
    transition: 0.3s linear;
}
.header-text a:hover{ box-shadow: 0 5px 20px rgba(0,0,0,.4);background:#ff8c20;border: 1px solid #ff8c20;}
/*.header-text-area*/

/*-------------------------------------
        4.  About
--------------------------------------*/


/*.single-about-txt*/
.single-about-txt h3 {
    font-size:18px;
    color: #3c4258;
    text-transform: initial;
    line-height: 1.8;
}
.single-about-txt p {
    font-size: 16px;
    color: #999fb3;   
}
.single-about-add-info {
    margin: 35px 0;
}
.single-about-add-info h3 {
    color: #636a82;
    font-size: 16px;
    text-transform: capitalize;
}
.single-about-add-info p {font-weight:  300;border:  0;padding: 0;margin-top: 3px;}
/*.single-about-txt*/

/*.single-about-img */
.single-about-img{position: relative;box-shadow: 0 5px 20px rgba(14,25,80,.30);}
.single-about-img:before {
    position:  absolute;
    content: " ";
    top: 0;
    left:  0;
    width: 109%;
    height:  100%;
    background: rgba(31,44,108,.3);
}
.single-about-img img {
    max-width: 500px;
    height: 468px;
}
.about-list-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 109%;
    height: 90px;
    background: #1f2c6c;
}
/*.ab-list-icon */
.about-list-icon ul {
    display: flex;
}
.about-list-icon  ul li a {
    padding-right: 22px;
    cursor:pointer;
    color: #fff;
}
.about-list-icon ul li a {
    cursor: pointer;
    color: #fff;
    display: inline-block;
    border: 2px solid;
    margin-left: 20px;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
}
.about-list-icon ul li a i {
    margin-left: 6px;
}
/*.ab-list-icon */

/*.single-about-img */

/*-------------------------------------
        5.  Education
--------------------------------------*/

.education {
    background:  #f9fbfd;

}
.education-horizontal-timeline {
    padding: 80px 0;
}

/*.education-horizontal-timeline*/
.education-horizontal-timeline .col-sm-4 {padding:0 2px;}

.single-horizontal-timeline .experience-time h3{text-transform: capitalize;}
.single-horizontal-timeline .experience-time h3 span{text-transform:lowercase;}
.single-horizontal-timeline .timeline-content h5 {margin: 15px 0;}
.single-horizontal-timeline p {color: #999fb3;max-width: 335px;}

/*.timeline-horizontal-border*/
.timeline-horizontal-border {
    display:  flex;
    align-items: center;
    padding: 26px 0 30px;
}
.timeline-horizontal-border i {
    font-size:  10px;
    color: #ff8c20;
    margin-right:  5px;
}
span.single-timeline-horizontal {
    display:  inline-block;
    background: #b2c1ce;
    height:  1px;
    width: 380px;
}
span.single-timeline-horizontal.spacial-horizontal-line {width: 88px;}
/*.timeline-horizontal-border*/

/*.education-horizontal-timeline*/

/*-------------------------------------
        6.  Skills
--------------------------------------*/




.section-heading h2 {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;

    border-bottom: 1px solid #e5ebf2;
}
.single-progress-txt {
    display: flex;
}
.single-progress-txt h3 {
    width: 10%;
    color: #ff8c20;
    position: relative;
    top: 6px;
    left: 20px;
}
.barWrapper {
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
}
.progress {
    border-radius:3px;
    overflow: visible;
    background: #e6ecf3;
    height:8px;
    margin-top: 15px;
    width: 85%;
    margin-bottom: 37px;
}
.progress-bar {
   background: #ff8c20;
    border-radius: 3px;
   -webkit-transition: width 1.5s ease-in-out;
   -ms-transition: width 1.5s ease-in-out;
   -moz-transition: width 1.5s ease-in-out;
   -o-transition: width 1.5s ease-in-out;
   transition: width 1.5s ease-in-out;
}
.tooltip{
   position:relative;
   float:right;
}
.tooltip > .tooltip-inner {
   background-color: transparent;
   padding: 1px 5px;
   color: #ff8c20;
   font-weight: 500;
   font-size: 12px;
   border-radius: 0;
}
.popOver + .tooltip > .tooltip-arrow {
   border-left: 6px solid transparent;
   border-right: 6px solid transparent;
   border-top: 6px solid #fff;
   bottom: -1px;
   transform: translateX(-50%);
   margin-left: 0;
}

/*-------------------------------------
        7. Experience
-------------------------------------*/
.experience {
  
    border-top: 1px solid #e5ebf2;
}

.single-timeline-box {margin-bottom: 75px;}

/*experience-time*/
.experience-time {
    position: relative;
}
.experience-time h2 {
    font-weight: 400;
}
.experience-time h3 {
    font-size: 16px;
    font-weight: 300;
    color: #636a82;
    margin-top: 14px;
    text-transform: uppercase;
}
/*experience-time*/

/*main-timeline*/
.main-timeline{
    position: relative;
}
.main-timeline:before{
    content: "";
    width: 2px;
    height: 84%;
    background: #b2c1ce;
    position: absolute;
    top: 1.5%;
    left: 45.8%;
    z-index: -1;
}
.main-timeline .timeline{
    position: relative;
}

.timeline-content span>i, .experience-time span>i {
    color: #ff8c20;
    position: absolute;
    font-size: 10px;
    left: -14.5%;
    z-index: 1;
}
.timeline-content h4.title {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}
.timeline-content h5 {
    color: #636a82;
    font-size: 14px;
    font-weight: 300;
    margin: 18px 0 20px;
}
.main-timeline .description {
    font-size: 14px;
    color: #999fb3;
}
.main-timeline .timeline-content.right{
    float: right;
    text-align: left;
}
.timeline-single-before:before {
    content: '';
    top: 57px;
    left: -3px;
    position: absolute;
    width: 100%;
    height:400px;
    border-left:15px solid #fff;
}

.experience-time-responsive{display: none;}
/*-------------------------------------
        8. Profiles
--------------------------------------*/
.profiles {

    border:  1px solid #e5ebf2;
}


.profiles-content .col-sm-3{padding:0;}

.profile-txt {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100%; /* Ensure the text container covers full height */
    justify-content: center;
}
.single-profile {
    position: relative;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #b2c1ce;
    overflow:hidden;
    margin: 0;
    -webkit-transition:background 0.5s linear; 
    -moz-transition:background 0.5s linear; 
    -ms-transition:background 0.5s linear; 
    -o-transition:background 0.5s linear; 
    transition:background 0.5s linear;
}
.profile-icon-name {
    text-transform: capitalize;
    color: #636a82;
    font-size: 16px;
}
.single-profile.profile-no-border{border-right:transparent;}
.profile-border {
    border-bottom: 1px solid #b2c1ce;
}
.single-profile-overlay{
    display:flex;
    align-items:center;
    text-transform: capitalize;
    justify-content:center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    content: " ";
    width:100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d92cf9', endColorstr='#b636ff',GradientType=1 );
    -webkit-transform:scale(0);
    -moz-transform:scale(0);
    -ms-transform:scale(0);
    -o-transform:scale(0);
    transform:scale(0);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition: opacity 0.3s ease-in-out;
}
.single-profile:hover .single-profile-overlay{
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    -o-transform:scale(1);
    transform:scale(1);
    top:0;
    opacity: 1;
}
.single-profile:hover .profile-icon-name,.single-profile:hover .profile-txt a>i{color: #fff;}
.single-profile:hover .profile-border {border:transparent;}
/*-------------------------------------
        9. Portfolio
--------------------------------------*/
.portfolio {
 
    border:  1px solid #e5ebf2;
}


/* ---- .item ---- */
.isotope:after {
    content: '';
    display: block;
    clear: both;
}
.isotope .item {
    position:relative;
    overflow:hidden;
    margin-bottom: 30px;
}
/*.item img*/
.isotope .item img{
    width:100%;
    height:100%;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}
.isotope .item:hover  img{
    -webkit-transform:scale(1.5);
    -moz-transform:scale(1.5);
    -ms-transform:scale(1.5);
    -o-transform:scale(1.5);
    transform:scale(1.5);
}/*.item img*/

/*.isotope-overlay*/
.isotope-overlay{
    position:absolute;
    height:100%;
    width:100%;
    background:rgba(31,44,108,.5);
    display:flex;
    align-items:center;
    text-transform: uppercase;
    justify-content:center;
    flex-direction:row;
    -webkit-transform:scale(0);
    -moz-transform:scale(0);
    -ms-transform:scale(0);
    -o-transform:scale(0);
    transform:scale(0);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}
.isotope-overlay a {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.isotope .item:hover .isotope-overlay{
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    -o-transform:scale(1);
    transform:scale(1);
    top:0;
}/*.isotope-overlay*/

/*-------------------------------------
        10. Clients
--------------------------------------*/

.clients-area {
    display: flex;
    align-items: center;
    height: 250px;
}
.clients-area .item {padding: 0 25px;}

.clients .clients-area .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius:0;
}

/*-------------------------------------
        11. Contact
--------------------------------------*/
.contact {
    background: #f9fbfd;

}

.contact-form  .form-group {
    margin-bottom: 20px;
    
}
.contact-form .form-control {
    padding: 25px;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 0px;
    box-shadow: none;
    outline: 0!important;
    background: #fff;
    color: #636a82;
    resize: none;
}

/*--contct button--*/
.contact-form .single-contact-btn {
    display:flex;
    align-items:center;
    justify-content:center;
    height:50px;
    text-transform:capitalize;
    margin-top: 3px;
    background: #ff8c20;
    border: 1px solid #ff8c20;
    cursor:pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
     -webkit-transition: .5s; 
    -moz-transition:.5s; 
    -ms-transition:.5s; 
    -o-transition:.5s;
    transition: .5s;
}
.contact-form .single-contact-btn .contact-btn ,
.contact-form .single-contact-btn .contact-btn:focus {
    margin-top:0px;
    outline: 0 !important;
    border:0;
    color: #fff;
    border-radius: 0px;
    font-size:14px;
    -webkit-transition: .5s; 
    -moz-transition:.5s; 
    -ms-transition:.5s; 
    -o-transition:.5s;
    transition: .5s;
    
}
.single-contact-btn:hover{
    background: #ff7b00;
    border: 1px solid #ff7b00;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.single-contact-btn button{
    background-color: unset; width: 100%; height: 100%;
}

.single-contact-btn button:hover{
    background-color: unset;
}

.single-contact-btn button:focus{
    background-color: unset;
}

/*--contct button--*/

/* contact-adress */
.contact-add-head h3 {
    font-size:  24px;
    color:  #3c4258;
}
.contact-add-head p {
    font-size:  16px;
    text-transform: capitalize;
    color:  #636a82;
    font-weight:  300;
    margin-top:  6px;
}
/* contact-adress */

/*.contact-add-info */
.contact-add-info { margin: 11px 0 52px;}
.single-contact-add-info h3 {
    color:  #636a82;
    font-weight:  500;
}
.single-contact-add-info p {
    color:  #999fb3;
    font-size:  16px;
    margin-top:  18px;
}
.single-contact-add-info {
    margin-bottom:  2rem;
}
/*.contact-add-info */

/*hm-foot-icon*/

.hm-foot-icon ul li{float:left;}
.hm-foot-icon ul li>a {
    color: #636a82;
    margin-right:18px;
    -webkit-transition: .3s; 
    -moz-transition:.3s; 
    -ms-transition:.3s; 
    -o-transition:.3s;
    transition: .3s;
}
.hm-foot-icon ul li>a:hover{
    color: #ff8c20;
}/*hm-foot-icon*/

.hm-footer-copyright p{
    color: #888ea5;
    text-transform: capitalize;
    padding: 38px 0;
}
.hm-footer-copyright p a {color: #888ea5;}
/*===============================
    Scroll Top
===============================*/
#scroll-Top  .return-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 40px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background:#ff8c20;
	border:1px solid #ff8c20;
	border-radius:50%;
	-webkit-transition: .5s; 
	-moz-transition:.5s; 
	-ms-transition:.5s; 
	-o-transition:.5s;
    transition: .5s;
	z-index: 2;
}
#scroll-Top  .return-to-top:hover {
    background:#fff;
    color: #ff8c20;
	border:1px solid #ff8c20;
}

#scroll-Top  .return-to-top i{
    position:relative;
    bottom:0;

}

#scroll-Top  .return-to-top i{
    
    animation-name: example;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-duration:1s;
}
@keyframes example {
    0%   {bottom:0px;}
    100%  {bottom:7px;}
}
.Log{
    margin-bottom: -13%;
}
/*========================Thank you=================

/* Default CSS applies to larger screens (e.g., desktop) */

/* Media Queries */


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1280px) {
    /* Adjustments for large tablets and smaller desktops */
    .header-text h2 {
        font-size: 28px; /* Scale down for smaller desktops */
    }

    .header-text p {
        font-size: 18px;
    }

    .header-text a {
        width: 180px;
        height: 55px;
        line-height: 55px;
    }

    .welcome-hero {
        height: 750px;
    }

    nav.navbar.bootsnav ul.nav > li > a {
        font-size: 14px;
        padding: 25px 15px;
    }

    .single-about-txt p {
        font-size: 14px;

        
    }

    .section-heading h2{font-size: 22px; }
    .single-about-txt h3 {font-size: 16px;}
    .profile-icon-name {font-size: 14px;}

    .single-contact-add-info p{font-size: 14px;}
    a, a:active, a:focus {font-size: 14px;}

    .about {margin-top:95px !important;}
    
    .container {
        max-width: 930px;
    }

    .respond{ width: 1000; padding: unset; margin: unset;}
    /* Adjust elements to match the reduced width */
    .profiles-content, .contact-form {
        max-width: 900px;
        margin: 0 auto;
    }


    /* Contact form width adjustments */
    .contact-form {
        max-width: 900px;
        padding: 10px;
    }

    /* Google Maps iframe width */
    iframe {
        width: 90%;
        height: 400px; /* Keep height stable */
    }

    /* Footer width */
    .footer_resize {
        max-width: 1000px;
        margin: 0 auto;
    }

    .col-md-offset-1{margin-left: unset;}
    .col-md-5 {width: unset;}

    .note{
        margin: 0 3.2rem!important;
    }
    
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Adjustments for tablets */
    nav.navbar.bootsnav ul.nav > li > a {
        font-size: 14px;
        padding: 30px 15px;
    }

    .navbar-header a{
        display: inline;
    }

    .Log{
        margin-bottom: 0;
        margin-top: 2%;
    }

    .header-text h2 {
        font-size: 42px;
    }

    .header-text p {
        font-size: 16px;
    }

    .header-text a {
        width: 160px;
        height: 50px;
        line-height: 50px;
    }

    .welcome-hero {
        height: 600px;
    }

    .single-about-img img {
        max-width: 100%;
        height: auto;
    }

    .timeline-horizontal-border span.single-timeline-horizontal {
        width: 300px;
    }

    .note{
        margin: 0 2.3rem!important;
    }
    
}

/* Small devices (phones, 576px and up) */
@media (min-width: 575px) and (max-width: 767px) {
    /* Adjustments for larger phones */
    .header-text h2 {
        font-size: 36px;
    }

    .header-text p {
        font-size: 14px;
    }

    .navbar-header a{
        display: inline;
    }

    .Log{
        margin-bottom: 0;
        margin-top: 2%;
    }

    .header-text a {
        width: 150px;
        height: 45px;
        line-height: 45px;
    }

    .welcome-hero {
        height: 500px;
    }

    .single-about-img img {
        max-width: 100%;
        height: auto;
    }

    .education-horizontal-timeline {
        padding: 60px 0;
    }

    .single-progress-txt h3 {
        font-size: 12px;
    }

    .main-timeline:before {
        left: 50%;
    }

    .container {
        max-width: 600px;
    }

    /* Adjust elements to match the reduced width */
    .profiles-content, .contact-form {
        max-width: 550px;
        margin: 0 auto;
    }

    /* Make profile items take up more width but reduce height */
    .single-profile {
        max-width: 100%; /* Full width on smaller screens */
    }

    /* Contact form width adjustment */
    .contact-form {
        max-width: 550px;
        padding: 5px;
    }

    /* Google Maps iframe width */
    iframe {
        width: 90%;
        height: 350px; /* Slight reduction in height */
    }

    /* Footer width */
    .footer_resize {
        max-width: 600px;
    }
    .note{
        margin: 0 2.3rem!important;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    /* Adjustments for small phones */
    nav.navbar.bootsnav ul.nav > li > a {
        font-size: 12px;
        padding: 25px 10px;
    }

    .header-text h2 {
        font-size: 28px;
    }

    .header-text p {
        font-size: 12px;
    }

    .header-text a {
        width: 140px;
        height: 40px;
        line-height: 40px;
    }

    .navbar-header a{
        display: inline;
    }

    .Log{
        margin-bottom: 0;
        margin-top: 5%;
    }

    .welcome-hero {
        height: 400px;
    }

    .single-about-img img {
        max-width: 100%;
        height: auto;
    }

    .single-progress-txt h3 {
        font-size: 10px;
    }

    .progress {
        width: 80%;
    }

    .main-timeline:before {
        left: 50%;
    }

    .timeline-content h4.title {
        font-size: 14px;
    }

    .timeline-content h5 {
        font-size: 12px;
    }

    .contact-form .form-control {
        padding: 15px;
        font-size: 12px;
    }

    .contact-form .single-contact-btn {
        height: 45px;
    }
    .note{
        margin: 0 1rem!important;
    }
}

.link-right a{
    text-align: right;
    width: 100%;
}

.about-content a{
    color: #fbac62;
}

#sub-footer ul li{
    display: inline;
    margin-right: 10px;
}

#about{
    margin-top: 111.84px; 
    border-bottom: 1px solid #e5ebf2; 
    background-color: rgb(255, 247, 238);
  }
  
  .about-content{
    width: 100%; 
    height: auto; 
    margin-top: 20px;
  }

  #skills{
    scroll-padding-top: 120px;
    scroll-margin-top: 120px;
  }

  #experience{
    background-color:rgb(255, 247, 238);
  }

  #portfolio h2 {
    scroll-margin-top: 120px;
  }

  #Local{
    scroll-padding-top: 120px;
    scroll-margin-top: 120px;
    background-color:rgb(255, 247, 238);
  }

  #contact{
    background-color: rgb(255, 247, 238);
  }

  #contact h2{
    scroll-margin-top: 120px;
  }

@media (max-width: 1280px){
    #about, #skills, #portfolio{
        height: unset!important;
      }
}

  .footer-resize{
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 104.8px;
  }

  /* Remove padding from Bootstrap columns */
  .col-sm-2 {
      padding-left: 0;
      padding-right: 0;
  }
  
  /* Adjust single-profile and overlay */
  .single-profile {
      position: relative;
      overflow: hidden;
      margin: 0; /* Remove margin */
  }
  
  .single-profile-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.6);
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
  }
  
  .single-profile:hover .single-profile-overlay {
      opacity: 1;
  }
  
  .profile-txt {
      text-align: center;
      height: 100%; /* Ensure the text container covers full height */
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .single-profile a {
      text-decoration: none;
  }
  
  .scroll.active a {
      color: #ff8c20; /* Change this to the desired active color */
  }
  
  a:hover { color: #ff8c20;
   text-decoration: none                        
  }
  
  section {
    padding: 1% 0 2% 0;
    scroll-margin-top: 111.84px !important; /* Slightly more than your navbar height */
    scroll-snap-align: start;
  }
  
 

  section h2{
    padding: 1% 0 2% 0;
  }
  
  html {
     
      scroll-behavior: smooth;
  }
  /* General container adjustment for smaller screens */
  .container {
      max-width: 1200px;
      margin: 0 auto;
  }
  
.docs{
    text-align: center;
    padding-top: 2%;
}

.board {
    background: url('../images/corkboard2.jpg') center/cover no-repeat;
    border: 10px solid #d2a679;
    position: relative;
    max-height: 70rem;
}
.note {
    height: 12rem;
    background: #fffb96;
    border: 1px solid #e6d47a;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 4.2rem;
}
.note:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
/* Modal styles */
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.modal-content {
    background: #fff;
    width: 80%;
    max-width: 500px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}
.modal-content iframe {
    width: 100%;
    height: 50rem;
    border: none;
}
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}
button {
    padding: 10px 20px;
    background: #2587db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background: #1c6ab9;
}

.navbar-header button{
    color: #ff8c20;
}


  /* Adjust width for screens smaller than 1024px */
  @media (max-width: 1024px) {
      .container {
          max-width: 800px;
      }
  
      /* Adjust elements to match the reduced width */
      .profiles-content, .contact-form {
          max-width: 750px;
          margin: 0 auto;
      }
  
      /* Adjust width of profile boxes */
      .single-profile {
          max-width: 45%;
      }
  
      /* Contact form adjustments */
      .contact-form {
          max-width: 750px;
          padding: 8px;
      }
  
      /* Google Maps iframe width */
      iframe {
          width: 85%;
          height: 400px; /* Maintain height */
      }
  
      /* Footer width */
      .footer_resize {
          max-width: 800px;
      }
  }
