
/*** 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 ***/

/* Social Icon Hover Animation */
.btn-sm-square {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-sm-square:hover {
    transform: rotate(10deg) scale(1.15);
    background-color: #0056b3; /* Darker blue for effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.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 ***/


/*** About Start ***/
.about-content .about-img {
    position: relative;
    overflow: hidden;
}

.about-content .about-img .sosial-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -100%;
    left: 0;
    padding: 50px;
    background: rgba(0, 0, 0, .04);
    transition: 0.5s;
}

.about-content .about-img:hover .sosial-icon {
    top: 0;
}
.hover-img:hover {
      border-radius: 0% 100% 50% 50% / 50% 0% 100% 50%;
      transform: scale(1.15);
      transition: 0.4s ease-in-out;
      filter: brightness(1.1);
    }
/*** About End ***/


/*** Education Start ***/

/* General Education Item Styling */
.education-content .education-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .03); 
    transition: 0.5s;
    z-index: 1;
    padding: 20px 15px; 
    font-size: 0.95rem; 
}

/* Hover Effect for Education Item */
.education-content .education-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transform: translateY(-5px); 
}

/* Vertical Border Styling */
.education-content .education-item::after,
.education-content .education-item::before {
    content: "";
    position: absolute;
    width: 25%; 
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

/* Left Border Styling */
.education-content .education-item::after {
    left: 0;
    border: 100px solid;
    border-color: var(--bs-light) transparent var(--bs-light) var(--bs-light);
}

/* Right Border Styling */
.education-content .education-item::before {
    right: 0;
    border: 100px solid;
    border-color: var(--bs-light) var(--bs-light) var(--bs-light) transparent;
}

/* Adjust Button Styling */
.education-item .btn {
    font-size: 0.85rem; 
    padding: 8px 16px; 
}

/* Heading Font Size for Education Items */
.education-item h4 {
    font-size: 1.1rem; 
}

/* Paragraph Text Styling */
.education-item p {
    font-size: 0.85rem; 
    margin-top: 8px; 
}

/* "Course Name" Label Styling */
.education-item .fs-5 {
    font-size: 0.85rem; 
}

/* Media Query Adjustments for Mobile */
@media (max-width: 768px) {
    .education-item {
        padding: 15px; 
    }
    
    .education-item h4 {
        font-size: 1rem;
    }
    
    .education-item p {
        font-size: 0.8rem;
    }
    
    .education-item .btn {
        font-size: 0.75rem; 
        padding: 6px 12px; 
    }
}

/*** Education End ***/

/*** Experience Start ***/

/* General Container Styling */
.Por {
    background-color: #1E1E2F;
    border-radius: 30px;
    padding: 5px;
    padding-left: 15px;
    margin-top: 20px;
}

/* Experience Item Styling */
.experience-content .experience-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .03); 
    transition: 0.5s;
    z-index: 1;
    padding: 20px 15px; 
    font-size: 0.95rem; 
}

/* Hover Effect for Experience Item */
.experience-content .experience-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transform: translateY(-5px);
}

/* Vertical Line Styling for Each Experience Item */
.experience-content .experience-item::after,
.experience-content .experience-item::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

/* Left Border Styling */
.experience-content .experience-item::after {
    left: 0;
    border: 100px solid;
    border-color: var(--bs-light) transparent var(--bs-light) var(--bs-light);
}

/* Right Border Styling */
.experience-content .experience-item::before {
    right: 0;
    border: 100px solid;
    border-color: var(--bs-light) var(--bs-light) var(--bs-light) transparent;
}

/* Adjust Button Size */
.experience-item .btn {
    font-size: 0.85rem;
    padding: 8px 16px; 
}

/* Heading Font Size */
.experience-item h4 {
    font-size: 1.1rem; 
}

/* Adjust Text for Smaller View */
.experience-item p {
    font-size: 0.85rem; 
    margin-top: 8px;
}

/* "WEBPAGE" Text Styling */
.experience-item .fs-5 {
    font-size: 0.85rem; 
}

/* Media Query Adjustments for Responsiveness */
@media (max-width: 768px) {
    .experience-item {
        padding: 15px; 
    }
    
    .experience-item h4 {
        font-size: 1rem; 
    }
    
    .experience-item p {
        font-size: 0.8rem; 
    }
    
    .experience-item .btn {
        font-size: 0.75rem; 
        padding: 6px 12px; 
    }
}

/*** Experience End ***/

/*** Skill Start ***/
.testimonial-carousel {
    position: relative;
    transition: transform 0.5s ease-in-out; 
}

.testimonial-carousel .testimonial-item {
    padding: 20px 30px;  
    transition: transform 0.3s ease; 
}

.testimonial-carousel .testimonial-item h5 {
    font-size: 1rem;  
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial-carousel .testimonial-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;  
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; 
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);  
    color: white;
    border-radius: 50%;  
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out; 
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background-color: var(--bs-primary);  
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 10px;
    transition: opacity 0.5s ease;
}

.testimonial-carousel .owl-dots .owl-dot img {
    width: 40px;  /* Smaller size for dots */
    height: 40px;
    margin-right: 15px;
    border-radius: 50%;
    border: 3px solid var(--bs-white);
    object-fit: cover;  
    transition: transform 0.3s ease;  
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    transform: scale(1.2);  /* Slight zoom-in effect for active dot */
    border: 3px solid var(--bs-primary);
}

.testimonial-carousel .testimonial-inner-img {
    width: 80px;  /* Smaller image size */
    height: 80px;
    border-radius: 50%;  /* Round frame */
    overflow: hidden;  /* Ensure image is clipped to fit */
    border: 3px solid var(--bs-primary);  /* Border color for the round frame */
}

.testimonial-carousel .testimonial-inner-img img {
    width: 100%;  
    height: 100%;  
    object-fit: cover;  
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    font-size: 20px; 
    background-color: transparent; 
}

/*** Skill End ***/


/*** Gallery Starts ***/
/* Gallery Container Styling */
.gallery-content {
    padding: 30px;
    
}

/* Individual Gallery Item */
.gallery-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Image Styling */
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.4s ease;
    object-fit: cover;
    margin-bottom: 15px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Text Headings */
.gallery-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-item p {
    font-size: 0.95rem;
    color: #cccccc;
    margin: 0;
}

/* Optional Icon Animations */
.gallery-item i {
    color: #00ffff;
    animation: glow 2s infinite alternate;
}

/* Glow effect for icons */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #00ffff;
    }
    to {
        text-shadow: 0 0 15px #00ffff, 0 0 20px #00ffff;
    }
}

/* Responsive Padding Fix */
@media (max-width: 768px) {
    .gallery-content {
        padding: 15px;
    }

    .gallery-item {
        padding: 15px;
    }
}

/* Ensure the preview image fills the background */
#preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


/* When image is active */
#preview-image.active {
    opacity: 1;
}


/*** Gallery End ***/

/*** footer Start ***/
.container-fluid.footer {
    background-color: #212529; 
    color: #fff;
}

.container-fluid.footer a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.container-fluid.footer a:hover {
    border-bottom-color: #fff;
}

@media (max-width: 991px) {
    .container-fluid .footer-content {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
}
/*** footer End ***/






