
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


.pt-6 {
    padding-top: 60px;
}

.ps-6 {
    padding-left: 60px;
}

.pe-6 {
    padding-right: 60px;
}

.pb-6 {
    padding-bottom: 60px;
}


.sub-title {
    font-family: "Edu TAS Beginner", cursive;
    font-weight: 700;
    font-size: 22px;
}


.container-fluid {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

@media (min-width: 992px) {
    .container-fluid::before {
        content: "";
        position: absolute;
        width: 15%;
        height: 100%;
        top: 0;
        left: 0;
        background: var(--bs-dark);
        z-index: -1;
    }
}

@media (max-width: 991px) {
    .container-fluid {
        border: none;
    }

    .container-fluid .header-content,
    .container-fluid .about-header,
    .container-fluid .education-header,
    .container-fluid .experience-header,
    .container-fluid .skills-header,
    .container-fluid .service-header,
    .container-fluid .portfolio-header,
    .container-fluid .blog-header,
    .container-fluid .testimonial-header,
    .container-fluid .contact-header {
        padding: 25px;
    }

    .container-fluid .header-img,
    .container-fluid .about-content,
    .container-fluid .education-content,
    .container-fluid .experience-content,
    .container-fluid .skills-content,
    .container-fluid .service-content,
    .container-fluid .portfolio-content,
    .container-fluid .blog-content,
    .container-fluid .testimonial-content,
    .container-fluid .contact-content {
        padding-left: 0;
        padding-top: 25px;
    }
}


/*** Navbar Start ***/
.nav-section {
    position: relative;
}

.nav-section .navbar {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 50%;
    right: calc(40px - 100%);
    transform: translateY(-50%);
    z-index: 99;
}

.navbar.navbar-light {
    background: transparent;
    width: 100%;
}

.navbar .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .navbar-nav .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    
}

.navbar-nav .nav-link span {
    width: 40px; 
    height: 40px;
    margin-right: 8px;
    border-right: 1px solid rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--bs-body);
    transition: 0.5s;
}

.nav-section .navbar .navbar-nav .nav-item {
    height: 40px;
    padding: 0;
    margin-bottom: 3px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: var(--bs-white);
    color: var(--bs-body);
    font-size: 14px;
    font-weight: 700;
    transition: 0.5s;
}

.nav-section .navbar .navbar-nav .nav-item:hover {
    margin-right: calc(100% + 40px);
    color: var(--bs-primary);
}
/*** Navbar End ***/


/*** Education Start ***/
.education-content .education-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .03);
    transition: 0.5s;
    z-index: 1;
}

.education-content .education-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.education-content .education-item::after {
    content: "";
    position: absolute;
    width: 25%;
    height: 100%;
    top: 50%;
    left: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 100px solid;
    border-color: var(--bs-light) transparent var(--bs-light) var(--bs-light);
    z-index: -1;
}

.education-content .education-item::before {
    content: "";
    position: absolute;
    width: 25%;
    height: 100%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: 100px solid;
    border-color: var(--bs-light) var(--bs-light) var(--bs-light) transparent;
    z-index: -1;
}
/*** Education End ***/


/*** Experience start ***/
.experience-content .experience-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .03);
    transition: 0.5s;
    z-index: 1;
}

.experience-content .experience-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.experience-content .experience-item::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    top: 50%;
    left: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 100px solid;
    border-color: var(--bs-light) transparent var(--bs-light) var(--bs-light);
    z-index: -1;

}

.experience-content .experience-item::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: 100px solid;
    border-color: var(--bs-light) var(--bs-light) var(--bs-light) transparent;
    z-index: -1;
}
/*** Experience End ***/


/*** Skills Start ***/
.skills-content .skills-item {
    position: relative;
}

.skills-content .skills-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50% 50% 50% 50% / 28% 28% 72% 72%;
    background: var(--bs-light);
    z-index: -1;
}
/*** Skills End ***/


/*** Service start ***/
.service-content .service-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .03);
    transition: 0.5s;
}

.service-content .service-item:hover i {
    color: var(--bs-primary);

}

.service-content .service-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}
/*** service End ***/


/*** Portfolio Start ***/
.portfolio-content .portfolio-item .portfolio-img {
    position: relative;
    width: 100%;
    height: 150px;
}

.portfolio-item .portfolio-img .portfolio-img-inner {
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
}

.portfolio-item .portfolio-img .portfolio-img-inner img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.portfolio-content .portfolio-item .view-img {
    display: flex;
    align-items: center;
    justify-content: end;
}

.portfolio-content .portfolio-item .portfolio-img .portfolio-img-inner {
    visibility: hidden;
    transition: 0.5s;
}

.portfolio-content .portfolio-item:hover .portfolio-img .portfolio-img-inner {
    visibility: visible;
    transform: rotate(-6deg);
}
/*** Portfolio End ***/


/*** Blog Start ***/
.blog-content .blog-btn a {
    color: var(--bs-primary);
}
.blog-content .blog-btn a:hover {
    color: var(--bs-dark);
}
/*** Blog End ***/


/*** Testimonial Start ***/
.testimonial-carousel {
    position: relative;
    transition: 0.5s;
}

.testimonial-carousel .testimonial-item {
    padding: 60px;
}

.testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-white);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-white);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px 60px 60px;
    transition: 0.5s;
}

@media (max-width: 576px) {
    .testimonial-carousel .owl-dots {
        justify-content: start;
    }
}

.testimonial-carousel .owl-dots .owl-dot img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border: 3px solid var(--bs-white);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    width: 70px;
    height: 70px;
    border: 3px solid var(--bs-primary);
}
/*** Testimonial End ***/

/* ===== Portfolio Footer ===== */

.footer-container{
    max-width:1100px;
    margin:auto;
}

.footer-name{
    font-size:26px;
    font-weight:600;
    margin-bottom:8px;
}

.footer-tagline{
    font-size:14px;
    opacity:0.8;
    margin-bottom:25px;
}

/* Social Icons */

.footer-social a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:38px;
    height:38px;
    margin:0 8px;
    border-radius:50%;
    background:#1e3a63;
    color:#fff;
    font-size:18px;
    transition:all .3s ease;
}

.footer-social a:hover{
    background:#0d6efd;
    transform:translateY(-6px);
}

/* Copyright */

.footer-copy{
    margin-top:25px;
    font-size:16px;
    opacity:0.7;
}

/* Responsive */

@media(max-width:768px){

.footer-name{
    font-size:22px;
}

.footer-social a{
    width:36px;
    height:36px;
}

}


.counter-box{
    background:#fff;
    transition:0.3s;
}

.counter-box:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.experience-section{
background:linear-gradient(180deg,#f8fbff,#eef5ff);
}

.exp-title{
font-size:32px;
font-weight:700;
color:#0d6efd;
}

.exp-sub{
font-size:16px;
color:#666;
}

/* timeline */

.timeline{
position:relative;
max-width:1000px;
margin:auto;
}

.timeline::after{
content:'';
position:absolute;
width:4px;
background:linear-gradient(#0d6efd,#4facfe,#00f2fe);
top:0;
bottom:0;
left:50%;
margin-left:-2px;
box-shadow:0 0 20px rgba(0,123,255,0.6);
}

/* items */

.timeline-item{
padding:30px 40px;
position:relative;
width:50%;
}

.timeline-item.left{
left:0;
}

.timeline-item.right{
left:50%;
}

/* cards */

.timeline-content{

background:white;
padding:25px;
border-radius:14px;

box-shadow:
0 10px 25px rgba(0,0,0,0.08),
0 0 15px rgba(13,110,253,0.15);

transition:all .4s ease;

}

.timeline-content:hover{

transform:translateY(-10px) scale(1.02);

box-shadow:
0 20px 40px rgba(0,0,0,0.15),
0 0 25px rgba(13,110,253,0.4);

}

/* company row */

.company{
display:flex;
align-items:center;
gap:10px;
margin-bottom:8px;
}

.company img{
width:36px;
height:36px;
object-fit:contain;
}

.timeline-content h4{
font-size:18px;
font-weight:600;
margin:0;
}

.date{
font-size:14px;
color:#777;
display:block;
margin-bottom:10px;
}

/* dots */

.timeline-item::after{
content:'';
position:absolute;
width:18px;
height:18px;
background:#0d6efd;
border-radius:50%;
top:35px;
right:-9px;
box-shadow:0 0 15px #0d6efd;
}

.timeline-item.right::after{
left:-9px;
}

/* mobile */

@media(max-width:768px){

.timeline::after{
left:20px;
}

.timeline-item{
width:100%;
padding-left:70px;
padding-right:20px;
margin-bottom:30px;
}

.timeline-item.right{
left:0;
}

.timeline-item::after{
left:12px;
}

.timeline-content{
padding:20px;
}

.exp-title{
font-size:26px;
}

}
/* Contact Section */

#contact{
background:#f8fbff;
}

/* Intro text */

.contact-intro{
max-width:650px;
margin:auto;
color:#6c757d;
font-size:16px;
line-height:1.6;
}


/* Contact Cards */

.contact-card{
background:#ffffff;
padding:35px 25px;
border-radius:14px;
box-shadow:0 8px 25px rgba(0,0,0,0.06);
transition:all 0.35s ease;
position:relative;
overflow:hidden;
}

.contact-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.12);
}


/* Icons */

.contact-icon{
font-size:28px;
color:#0d6efd;
margin-bottom:12px;
transition:0.3s;
}

.contact-card:hover .contact-icon{
transform:scale(1.15);
}


/* Contact Links */

.contact-card a{
text-decoration:none;
color:#333;
font-weight:500;
font-size:15px;
}

.contact-card a:hover{
color:#0d6efd;
}


/* WhatsApp Button Section */

.whatsapp-cta{
margin-top:50px;
text-align:center;
}

.whatsapp-btn{
display:inline-flex;
align-items:center;
gap:10px;
background:#25D366;
color:white;
padding:12px 26px;
border-radius:40px;
font-weight:600;
text-decoration:none;
transition:all 0.35s ease;
box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.whatsapp-btn i{
font-size:20px;
}

.whatsapp-btn:hover{
transform:translateY(-3px);
background:#1ebe5b;
box-shadow:0 12px 30px rgba(0,0,0,0.2);
}


/* Contact Footer Text */

.contact-note{
margin-top:20px;
color:#6c757d;
font-size:15px;
}

/* News Intro */

.news-intro{
max-width:700px;
margin:auto;
color:#666;
line-height:1.6;
}

/* Filter Buttons */

.news-filter{
margin-bottom:20px;
}

.filter-btn{
border:none;
padding:8px 18px;
margin:5px;
border-radius:20px;
background:#eef3ff;
color:#0d6efd;
font-weight:500;
cursor:pointer;
transition:0.3s;
}

.filter-btn:hover,
.filter-btn.active{
background:#0d6efd;
color:white;
}


/* News Cards */

.tech-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.35s;
}

.tech-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.tech-card img{
width:100%;
height:220px;
object-fit:cover;
}

.tech-content{
padding:20px;
}

.tech-content h4{
font-size:20px;
margin-bottom:10px;
}

.tech-content p{
color:#666;
font-size:14px;
}

.read-btn{
display:inline-block;
margin-top:10px;
text-decoration:none;
color:#0d6efd;
font-weight:600;
}

.read-btn:hover{
text-decoration:underline;
}


.news-meta{
font-size:13px;
color:#777;
margin-bottom:8px;
}

.tech-card img{
height:220px;
object-fit:cover;
width:100%;
}


.youtube-videos-section {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.03);
}

.video-item iframe {
    width: 100%;
    height: 200px;
}

@media (min-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 per row on large screens */
    }
}

@media (max-width: 768px) {
    .video-item iframe {
        height: 180px;
    }
}
