:root {
    --primary-dark: #08111f;
    /*--secondary-dark: #0A1617;*/
    --accent-green: #6bbebc;
    --white: #FFFFFF;
    --gray: #7E7E7E;
    --transition: all 0.3s ease;
    --header-height: 80px;
    --header-height-sm: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--white);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    transition: var(--transition);
    z-index: 1000;
}

/* Styles for the navbar when scrolled */
.navbar.scrolled {
    background-color: rgba(8, 17, 31, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

/* Styles for the expanded navbar */
.navbar.show {
    background-color: rgba(8, 17, 31, 0.8);
    /* Adjust transparency as needed */
    backdrop-filter: blur(15px);
    /* Increase blur when expanded */
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

/* Nav link styles */
.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-green);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.geometric-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(127, 215, 11, 0.05) 0%, rgba(10, 22, 23, 0.1) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

/*.animate-text {*/
/*    display: inline-block;*/
/*    font-size: 1rem;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 2px;*/
/*    color: var(--accent-green);*/
/*    margin-bottom: 1rem;*/
/*    padding: 0.5rem 1rem;*/
/*    background: rgba(127, 215, 11, 0.1);*/
/*    border-radius: 20px;*/
/*}*/

.animate-text {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6bbebc;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(18, 227, 222, 0.1);
    border-radius: 20px;
    position: relative;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px rgba(18, 227, 222, 0.5),
        0 0 20px rgba(18, 227, 222, 0.3),
        0 0 30px rgba(18, 227, 222, 0.2);
    box-shadow: 0 0 15px rgba(18, 227, 222, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 15px rgba(18, 227, 222, 0.3);
        text-shadow: 0 0 10px rgba(18, 227, 222, 0.5),
            0 0 20px rgba(18, 227, 222, 0.3),
            0 0 30px rgba(18, 227, 222, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(18, 227, 222, 0.5);
        text-shadow: 0 0 15px rgba(18, 227, 222, 0.7),
            0 0 25px rgba(18, 227, 222, 0.5),
            0 0 35px rgba(18, 227, 222, 0.3);
    }

    100% {
        box-shadow: 0 0 15px rgba(18, 227, 222, 0.3);
        text-shadow: 0 0 10px rgba(18, 227, 222, 0.5),
            0 0 20px rgba(18, 227, 222, 0.3),
            0 0 30px rgba(18, 227, 222, 0.2);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--accent-green);
}

.highlight {
    background: linear-gradient(120deg, rgba(127, 215, 11, 0.2) 0%, rgba(127, 215, 11, 0.1) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Buttons */
.custom-btn {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.custom-btn:hover {
    background-color: var(--white);
    color: var(--accent-green);
    transform: translateY(-3px);
}

.outline-btn {
    background: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: var(--transition);
    text-decoration: none;
}

.outline-btn:hover {
    background: var(--accent-green);
    color: var(--white);
}

/* Section Styles */
.section-subtitle {
    color: var(--accent-green);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--accent-green);
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(8, 17, 31, 0.9), transparent);
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    bottom: 0;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Services Section */
.service-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(127, 215, 11, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 1;
}

/* Contact Section */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 5px;
    padding: 1rem;
    color: var(--white);
    transition: var(--transition);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border: 1px solid var(--accent-green);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-dark);
    padding: 5rem 0 2rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(127, 215, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* Progress Bar */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(127, 215, 11, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap svg path {
    fill: none;
    stroke: var(--accent-green);
    stroke-width: 4;
    transition: var(--transition);
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #fff;
    /* Change color as needed */
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-filters {
        flex-wrap: wrap;
    }
}

/* General Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

/* Tablet Screens */
@media (max-width: 991px) {

    /* Header & Navigation */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand img {
        height: 35px;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    /* Hero Section */
    .hero-section {
        padding-top: var(--header-height);
    }

    .hero-content {
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-stats {
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    /* Portfolio Section */
    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .project-card {
        margin-bottom: 2rem;
    }

    /* Services Section */
    .service-card {
        height: auto;
        margin-bottom: 2rem;
    }
}

/* Mobile Screens */
@media (max-width: 767px) {

    /* General */
    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    /* Portfolio Section */
    .project-image img {
        height: 250px;
    }

    .project-overlay {
        padding: 1.5rem;
    }

    /* Contact Section */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        margin-top: 2rem;
    }

    /* Footer */
    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Small Mobile Screens */
@media (max-width: 575px) {

    /* General */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .animate-text {
        font-size: 0.8rem;
    }

    /* Project Cards */
    .project-card {
        margin: 0 0.5rem 1.5rem;
    }

    .project-overlay h3 {
        font-size: 1.2rem;
    }

    /* Services */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    /* Contact Form */
    .form-control {
        padding: 0.75rem;
    }

    /* Progress Bar */
    .progress-wrap {
        right: 15px;
        bottom: 15px;
        width: 35px;
        height: 35px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .project-image img {
        height: 350px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .project-card:hover .project-overlay {
        bottom: 0;
    }

    .project-overlay {
        bottom: 0;
        opacity: 1;
        background: linear-gradient(to top, rgba(8, 17, 31, 0.9), transparent);
    }

    .nav-link:hover::after {
        width: 0;
    }

    .service-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .progress-wrap,
    .portfolio-filters,
    .contact-form,
    .footer-bottom {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-section,
    .section-padding {
        padding: 1rem 0;
    }

    .container {
        max-width: 100%;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    .project-card,
    .service-card {
        break-inside: avoid;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #66ab09;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(127, 215, 11, 0.25);
}

/* Loading States */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Responsive Image Base Styles */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Hero Section Images */
.hero-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Card Images */
.project-card {
    aspect-ratio: 4/3;
    height: auto;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Service Images */
.service-image {
    aspect-ratio: 1/1;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section Image */
.about-image {
    aspect-ratio: 3/4;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .hero-image {
        aspect-ratio: 3/2;
    }

    .project-card {
        aspect-ratio: 3/2;
    }
}

@media (max-width: 991px) {
    .hero-image {
        aspect-ratio: 16/10;
        max-height: 500px;
    }

    .project-card {
        aspect-ratio: 16/9;
    }

    .about-image {
        aspect-ratio: 16/9;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        aspect-ratio: 1/1;
        max-height: 400px;
    }

    .project-card {
        aspect-ratio: 1/1;
    }

    .service-image {
        aspect-ratio: 16/9;
    }

    .about-image {
        aspect-ratio: 4/3;
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-image {
        aspect-ratio: 3/4;
        max-height: 350px;
    }

    .project-card {
        aspect-ratio: 3/4;
        height: 300px;
    }

    .service-image {
        aspect-ratio: 3/4;
    }
}

/* Image Grid System */
.image-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

/* Lazy Loading Styles */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Background Images */
[data-background] {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    [data-background] {
        background-attachment: scroll !important;
    }
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    color: #fff;
    font-size: 24px;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-image:hover img {
    transform: scale(1.05);
}


/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/
/*******************************************************/

.responsive-img {
    max-width: 20%;
    height: auto;
}

/* General Styles */
.services-section {
    padding: 5rem 1rem;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: #6bbebc;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #6bbebc;
    box-shadow: 0 0 10px #6bbebc;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 1.5rem;
    background: rgba(107, 190, 188, 0.1);
    border: 1px solid #6bbebc;
    border-radius: 8px;
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #6bbebc;
    border-radius: 50%;
    box-shadow: 0 0 10px #6bbebc;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
}

.timeline-date {
    color: #6bbebc;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: #888;
    margin-bottom: 1rem;
}

.tool-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(107, 190, 188, 0.2);
    border: 1px solid #6bbebc;
    border-radius: 20px;
    margin: 0.25rem;
    font-size: 0.9rem;
}

/* Skills Styles */
.skills-container {
    max-width: 800px;
    margin: 0 auto;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 10px;
    background: rgba(107, 190, 188, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: #6bbebc;
    border-radius: 5px;
    position: relative;
    width: 0;
    /* Start at 0 */
    transition: width 1.5s ease-out;
    /* Add transition for smooth animation */
}

.skill-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #6bbebc;
    filter: blur(8px);
    opacity: 0.6;
}

/* Tools Styles */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.tool-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(107, 190, 188, 0.1);
    border: 2px solid #6bbebc;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: #6bbebc;
    z-index: -1;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-button:hover::before {
    opacity: 0.5;
}

.tool-button img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.tool-button span {
    font-size: 1.1rem;
}

/* Animations */
@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: var(--skill-percentage);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .tool-button {
        padding: 1rem;
    }

    .tool-button img {
        width: 40px;
        height: 40px;
    }
}

.carousel-inner iframe,
.carousel-inner video {
    width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.modal-body {
    position: relative;
    padding: 0;
    background: #000;
}

.carousel-indicators li {
    background-color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    
}

.carousel-item img {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.carousel-item.active img {
    transform: scale(1.05);
}

/*******************************************
?******************************************

/* Modal Styling */
.modal-dialog {
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
}

.modal-content {
    border: none;
    border-radius: 0;
    background: #000;
    height: 100vh;
}

.modal-body {
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* Carousel Inner Styling */
.carousel-inner {
    height: 100vh;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    background: #000;
}

.carousel-item {
    height: 100%;
    text-align: center;
}

/* Image and Video Styling */
.carousel-inner img,
.carousel-inner video,
.carousel-inner iframe {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
    border-radius: 8px;
    object-fit: contain;
}

/* Carousel Controls Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-size: 70%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Close Button Styling */
.btn-close {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-close:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Caption Styling */
.carousel-caption {
    position: absolute;
    bottom: 20px;
    /*left: 20px;*/
    /*right: 20px;*/
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.carousel-caption h5 {
    margin: 0 0 5px;
    font-size: 1.25rem;
    font-weight: bold;
}

.carousel-caption p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .carousel-caption {
        font-size: 0.9rem;
        padding: 10px;
    }

    .carousel-caption h5 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
}

