html {
            scroll-behavior: smooth;
        }

        .tinos-regular {
            font-family: "Tinos", serif;
            font-weight: 400;
            font-style: normal;
        }

        .tinos-bold {
            font-family: "Tinos", serif;
            font-weight: 700;
            font-style: normal;
        }

        .tinos-regular-italic {
            font-family: "Tinos", serif;
            font-weight: 400;
            font-style: italic;
        }

        .tinos-bold-italic {
            font-family: "Tinos", serif;
            font-weight: 700;
            font-style: italic;
        }

        body {
            min-height: 100vh;
            background-color: rgb(247, 243, 243);
            transition: background-color 0.3s;
            color: #000;
            overflow-x: hidden;
        }

        .dark-mode {
            background-color: #1a1919;
            color: white;
        }

        .name-box {
            background-color: rgb(253, 253, 253);
            color: rgb(0, 0, 0);
            padding: 5px 10px;
            margin-right: 5px;
            border-radius: 0.5rem;
            border: 0.05px solid rgb(223, 218, 218);
            background-color: #ffffff;
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
        }

        .dark-mode .name-box {
            background-color: transparent;
            color: #fff;
            border: 0.9px solid #474646;
            background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
        }

        .navbar-box {
            margin: 1rem auto;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            background-color: #fff;
            max-width: 850px;
            border: 0.5px solid rgb(223, 218, 218);
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
        }

        .navbar-box .navbar-nav .nav-link {
            color: #000000;
        }

        .dark-mode .navbar-box {
            background-color: #161515;
            border: 1px solid #474646;
            background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
        }

        .dark-mode .navbar-box .navbar-nav .nav-link {
            color: #f8f9fa;
        }

        .navbar-toggler {
            border: none;
            transition: all 0.3s ease;
        }

        .navbar-toggler-icon {
            display: inline-block;
            width: 1.5em;
            height: 1.5em;
            vertical-align: middle;
            content: "";
            background: no-repeat center center;
            background-size: 100% 100%;
        }

        .fa-bars,
        .fa-times {
            display: none;
            color: #000;
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        }

        .navbar-toggler.collapsed .fa-bars {
            display: inline;
            transform: rotate(0deg);
            opacity: 1;
        }

        .navbar-toggler:not(.collapsed) .fa-times {
            display: inline;
            transform: rotate(90deg);
            opacity: 1;
        }

        .dark-mode .fa-bars,
        .dark-mode .fa-times {
            color: white;
        }

        .dark-mode .navbar-toggler {
            border-color: white;
        }

        .theme-toggle-btn {
            border-radius: 0.5rem;
            border: 0.05px solid rgb(223, 218, 218);
            background-color: #ffffff;
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
            font-size: 1rem;
            cursor: pointer;
            color: #000;
            padding: 5px 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .theme-toggle-btn i {
            margin: 0 3px;
            font-size: 1rem;
        }

        .theme-toggle-btn:hover {
            background-color: #fff;
            border: 1px solid #000;
            color: #000;
        }

        .dark-mode .theme-toggle-btn {
            background-color: transparent;
            color: #fff;
            border: 0.9px solid #474646;
            background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
        }

        .dark-mode .theme-toggle-btn:hover {
            background-color: transparent;
            border-color: #fff;
            color: #fff;
        }

        @media (max-width: 991px) {
            .theme-toggle-btn {
                display: flex !important;
            }
        }

        .card {
            border-radius: 0.5rem;
            border: 0.5px solid rgb(223, 218, 218);
            box-shadow: 0 .5rem .25rem rgba(0, 0, 0, 0.075);
            transition: background-color 0.3s, border 0.3s, box-shadow 0.3s;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
        }

        .dark-mode .card {
            background-color: #141414;
            border-color: #474646;
            color: #f8f9fa;
            background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
        }

        /* Base Button Styles */
.btn-outline-primary,
.btn-outline-secondary {
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode Button Base Styles */
.dark-mode .btn-outline-primary,
.dark-mode .btn-outline-secondary {
    border-color: #f8f9fa;
    color: #f8f9fa;
    background: linear-gradient(145deg, #161515, #1a1a1a, #121212); /* Dark gradient matching dark mode */
}

/* Dark Mode Hover Styles */
.dark-mode .btn-outline-primary:hover,
.dark-mode .btn-outline-secondary:hover {
    background: linear-gradient(145deg, #2a2a2a, #3a3a3a, #1e1e1e); /* Darker gradient for hover effect */
    color: #ddd; /* Light text color for contrast */
    border-color: #474646; /* Slightly darker border */
}

/* Light Mode Hover Styles for Buttons */
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    background: linear-gradient(145deg, #f0f0f0, #fafafa, #e5e5e5); /* Light gradient matching light mode */
    color: #333; /* Darker text color for contrast */
    border-color: #ccc; /* Match border color with the background */
}

/* Light Mode Button Base Styles */
.btn-outline-primary,
.btn-outline-secondary {
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0); /* Light gradient for base state */
    color: #000;
    border-color: #ddd;
}


/* Dark Mode Hover Styles for Buttons */
.dark-mode .btn-outline-primary:hover,
.dark-mode .btn-outline-secondary:hover {
    background-color: #111111; /* Darker gray to match dark mode theme */
    color: #f5f4f4; /* Light text color for contrast */
    border-color: #141414; /* Match border color with the background */
}


        .form-check-input:checked {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }

        .dark-mode .form-check-input:checked {
            background-color: #b1b1b1;
            border-color: #b1b1b1;
        }

        .fa-sun {
            display: none;
        }

        .dark-mode .fa-sun {
            display: inline-block;
        }

        .dark-mode .fa-moon {
            display: none;
        }

        .hobby-icon {
            font-size: 1.6rem;
        }

        .hobby-box {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: transparent;
            color: #000;
            width: 70px;
            height: 50px;
            border-radius: 10px;
            margin: 15px;
            position: relative;
            border: 0.5px solid #474646;
            box-sizing: border-box;
            background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
            cursor: pointer;
        }

        .hobby-box::after {
            content: '';
            position: absolute;
            top: 0;
            right: 4px;
            bottom: 0;
            width: 2px;
            background-color: #000;
            box-shadow: 1px 0 2px rgba(0, 0, 0, 0.5);
            box-sizing: border-box;
        }

        .dark-mode .hobby-box {
            color: #fff;
            border-color: #474646;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        .dark-mode .hobby-box::after {
            background-color: #474646;
        }

        .custom-card {
            background-color: #fff;
            color: #000;
            border: 0.5px solid rgb(223, 218, 218);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
            overflow: hidden;
            padding: 10px;
            margin: auto;
            padding-bottom: 10px;
        }

        .dark-mode .custom-card {
            background-color: #141414;
            color: #fff;
            border-color: #474646;
            background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
        }

        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 10px;
            justify-content: center;
            align-items: center;
        }

        .skill-box {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            border-radius: 15px;
            box-sizing: border-box;
            padding: 20px 20px;
            width: 140px;
            height: 45px;
            transition: background-color 0.3s;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
            background-color: transparent;
            border: 0.05px solid rgb(223, 218, 218);
            background-color: #ffffff;
            transform-style: preserve-3d;
            background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
        }

        .skill-icon {
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: #161515;
        }

        .skill-name {
            display: flex;
            align-items: center;
            font-weight: bold;
            color: #161515;
            font-size: 0.9rem;
        }

        .dark-mode .skill-box {
            background-color: transparent;
            color: #fff;
            border: 0.9px solid #474646;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        .dark-mode .skill-icon i {
            color: #fff;
        }

        .dark-mode .skill-name {
            color: white;
        }

        @media (max-width: 1400px) {
            .skills-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 992px) {
            .skills-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .skills-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .skill-box {
                height: 45px;
                padding: 5px 10px;
            }

            .skill-name {
                text-align: center;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 576px) {
            .skills-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .skill-box {
                width: 140px;
                height: 50px;
                padding: 5px 5px;
            }

            .skill-name {
                text-align: center;
                font-size: 0.8rem;
            }
        }

        @media (min-width: 576px) and (max-width: 767.98px) {
            .skills-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 768px) and (max-width: 991.98px) {
            .skills-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 992px) and (max-width: 1199.98px) {
            .skills-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (min-width: 1200px) and (max-width: 1399.98px) {
            .skills-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        hr {
            height: 1px;
            border-width: 0;
            color: rgb(0, 0, 0);
            background-color: rgb(0, 0, 0);
        }

        .dark-mode hr {
            height: 1px;
            border-width: 0;
            color: rgb(255, 255, 255);
            background-color: rgb(255, 255, 255)
        }

        .portfolio-section {
            padding: 20px;
            text-align: center;
            background-color: rgb(247, 243, 243);
        }

        .portfolio-cards-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .portfolio-card {
            width: calc(25% - 20px);
            border: 0.5px solid rgb(223, 218, 218);
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            background-color: #fff;
            color: #000;
            display: block;
            margin-bottom: 20px;
            transition: background-color 0.3s;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
            background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
        }

        .portfolio-card-header {
            padding: 3px;
            background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
        }

        .portfolio-card-icon {
            width: 100%;
            height: 120px;
            padding: 2px;
        }

        .portfolio-card-title {
            font-size: 18px;
            margin: 10px 0;
            color: #000;
        }

        .portfolio-card-link {
            color: #007bff;
            text-decoration: none;
            font-size: 16px;
        }

        .portfolio-card-body {
            padding: 10px;
            background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
        }

        .portfolio-card-tag {
            display: inline-block;
            margin: 5px;
            padding: 5px 10px;
            border-radius: 5px;
            background-color: #e7e7e7;
            color: #000;
            font-size: 14px;
        }

        @media (max-width: 991px) {
            .portfolio-card {
                width: calc(50% - 20px);
            }
        }

        @media (max-width: 767px) {
            .portfolio-card {
                width: calc(100% - 20px);
            }
        }

        .dark-mode .portfolio-section {
            background-color: #1a1919;
        }

        body.dark-mode .portfolio-card {
            background-color: #141414;
            color: #fff;
            border-color: #444;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        body.dark-mode .portfolio-card-header {
            background-color: #161515;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        body.dark-mode .portfolio-card-title,
        body.dark-mode .portfolio-card-link {
            color: #fff;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        body.dark-mode .portfolio-card-body {
            background-color: #161515;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        body.dark-mode .portfolio-card-header {
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        body.dark-mode .portfolio-card-tag {
            color: #fff;
            background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
        }

        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #fff;
            padding: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            margin: 20px auto;
            width: fit-content;
            border: 0.5px solid rgb(223, 218, 218);
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
        }

        .page-nav,
        .page-button {
            border: 1px solid #ccc;
            background-color: #fff;
            color: #333;
            padding: 6px 12px;
            margin-right: 15px;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.3s;
        }

        .page-nav {
            font-size: 18px;
        }

        .page-button {
            background-color: #000;
            color: white;
        }

        .page-nav:hover,
        .page-button:hover {
            background-color: #6b6969;
        }

        .page-info {
            margin: 0 10px;
            font-size: 16px;
        }

        .page-input {
            width: 50px;
            height: 40px;
            text-align: center;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin: 0 10px;
        }

        .direct-page-control {
            display: flex;
            align-items: center;
            font-size: 16px;
            margin-left: 5px;
        }

        .dark-mode .pagination-container {
            border-color: #474646;
            color: #fff;
            background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
        }

        .dark-mode .page-nav,
        .dark-mode .page-button {
            background-color: #444;
            color: #fff;
            border-color: #666;
        }

        .dark-mode .page-nav:hover,
        .dark-mode .page-button:hover {
            background-color: #555;
        }

        .dark-mode .page-input {
            background-color: #555;
            color: #fff;
            border-color: #666;
        }

        .filters-container {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #fff;
            padding: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            margin: 20px auto;
            width: fit-content;
            border: 0.5px solid rgb(223, 218, 218);
            background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
        }

        .dark-mode .filters-container {
            background-color: #141414;
            border-color: #474646;
            color: white;
            background: linear-gradient(145deg, #0f0f0f, #1e1e1e, #3a3a3a);
        }

        .filter-tab {
            display: flex;
            justify-content: start;
            gap: 10px;
            border-bottom: 1px solid transparent;
            margin-bottom: 10px;
            padding-left: 0;
        }

        .filter-tab li {
            padding: 8px 16px;
            cursor: pointer;
            font-weight: 500;
            position: relative;
            color: #333;
            white-space: nowrap;
        }

        .filter-tab li.active {
            color: #000;
        }

        .filter-tab li.active::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 3px;
            background-color: #000;
            border-left: 3px solid #000;
            box-sizing: border-box;
        }

        .dark-mode .filter-tab li {
            color: #ffffff;
        }

        .dark-mode .filter-tab li.active {
            color: #fff;
        }

        .dark-mode .filter-tab li.active::after,
        .dark-mode .filter-tab li.active::before {
            background-color: #fff;
        }

        @media (max-width: 768px) {
            .filter-tab {
                overflow-x: auto;
                gap: 5px;
            }

            .filter-tab li {
                padding: 8px 12px;
            }
        }

        @media (max-width: 575.98px) {
            .filters-container {
                justify-content: center;
                padding: 5px;
                margin: 10px auto;
            }
        }

        @media (min-width: 576px) and (max-width: 767.98px) {
            .filters-container {
                justify-content: center;
                padding: 8px;
                margin: 15px auto;
            }
        }

        @media (min-width: 768px) and (max-width: 991.98px) {
            .filters-container {
                padding: 10px;
                margin: 20px auto;
            }
        }

        @media (min-width: 992px) {
            .filters-container {
                padding: 10px;
                margin: 20px auto;
            }
        }

        .navbar .fas {
            color: #000000;
            font-size: 12px;
        }

        .dark-mode .navbar .fas {
            color: #ffffff;
        }

        .hobby-box .tooltip {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    background: #fffbfb; /* Light background for light mode */
    color: #000000; /* Black text for light mode */
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
  
}

.hobby-box .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff; /* Light background for arrow in light mode */
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.hobby-box:hover .tooltip {
    top: -55px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Dark mode styles */
.dark-mode .hobby-box .tooltip {
    background: #000000; /* Dark background for dark mode */
    color: #ffffff; /* White text for dark mode */
}

.dark-mode .hobby-box .tooltip::before {
    background: #000000; /* Dark background for arrow in dark mode */
}

/* No hover effect on the hobby-box itself */
.hobby-box:hover {
    background: none;
}


        :root {
            --bs-tooltip-margin: 10px;
        }

        .skill-box:hover,
        .portfolio-card:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn 1s ease-out;
        }

        body,
        .navbar-box,
        .card,
        .skill-box,
        .portfolio-card,
        .pagination-container {
            transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
        }

        .header {
            background: url('header-image.jpg') no-repeat center center;
            background-size: cover;
            height: 400px;
            position: relative;
            overflow: hidden;
            background-attachment: fixed;
        }

        .header h1 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 3em;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }



    .cert-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
    border: 1px solid rgb(223, 218, 218);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row; /* Align items horizontally by default */
}

.dark-mode .cert-card {
    background-color: #141414;
    border-color: #474646;
    color: #f8f9fa;
    background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
}

.cert-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;  /* Ensure text is below the icon */
}

.cert-org-icon {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 5px; /* Adds space below the icon */
}

.cert-info {
    flex-grow: 1;
    text-align: left;
}

.cert-title {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #000;
}

.dark-mode .cert-title {
    color: #fff;
}

.cert-description {
    font-size: 14px;
    color: #555;
}

.dark-mode .cert-description {
    color: #ccc;
}

.cert-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.dark-mode .cert-date {
    color: #777;
}

.cert-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cert-card a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.dark-mode .cert-card a {
    color: #79b2ff;
}

.cert-card a:hover {
    text-decoration: underline;
}

.cert-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-left: 15px;
}

/* Responsive styling for small and extra-small devices */
@media (max-width: 576px) {
    .cert-card {
        flex-direction: row; /* Keep row direction on small screens */
        align-items: flex-start;
    }

    .cert-info {
        text-align: left;
    }

    .cert-image {
        width: 60px; /* Adjust size for small screens */
        height: 60px;
        border-radius: 10px;
    }
}














/* Credits Card */
.credits-card {
    color: #000;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    padding: 10px 20px;
    margin: 20px auto;
    text-align: center;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark mode styles for Credits Card */
.dark-mode .credits-card {
    background-color: #333;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments for Credits Card */
@media (max-width: 576px) {
    .credits-card {
        padding: 10px;
        font-size: 14px;
    }
}







.social-icons-card {
    color: #000;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    padding: 10px 20px;
    margin: 20px auto;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.wrapper {
    display: flex;
    list-style: none;
    height: auto;
    width: 100%;
    font-family: "Poppins", sans-serif;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.wrapper .icon {
    position: relative;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
    position: absolute;
    top: -35px;
    font-size: 10px;
    background: #fffbfb;
    color: #000;
    padding: 4px 6px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 6px;
    width: 6px;
    background: #f8f7f7;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hover effects for the icons */
.wrapper .icon:hover {
    background: #f7f4f4;
    color: #000;
}

/* Dark mode styles */
.dark-mode .social-icons-card {
    background-color: #333;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.dark-mode .wrapper .icon {
    background: #161515;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.dark-mode .wrapper .tooltip {
    background: #1f1f1f;
    color: #fff;
}

.dark-mode .wrapper .tooltip::before {
    background: #1f1f1f;
}

.dark-mode .wrapper .icon:hover {
    background: #2a2a2a;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .wrapper {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .wrapper .icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .wrapper .tooltip {
        font-size: 8px;
        padding: 3px 5px;
    }
}



.portfolio-card-tag {
    display: inline-block;
    margin: 3px; /* Reduced margin for smaller tags */
    padding: 2px 8px; /* Reduced padding for smaller size */
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0); /* Same gradient as in your other elements */
    /* Light mode tag background */
    color: #333; /* Light mode tag text */
    font-size: 10px; /* Smaller font size */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

    border-radius: 5px;
    
}

.dark-mode .portfolio-card-tag {
    background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a); /* Dark mode gradient */
    color: #e7e7e7; /* Dark mode tag text */
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* Adjust spacing between tags */
}

.show-more-btn {
    background-color: transparent;
    border: none;
    color: #007bff; /* Light mode button color */
    cursor: pointer;
    margin-top: 3px;
    font-size: 12px; /* Smaller button font size */
}

.dark-mode .show-more-btn {
    color: #79b2ff; /* Dark mode button color */
}

.tag-container .portfolio-card-tag:nth-child(n+5) {
    display: none;
}





/* Light Mode */


.navbar-box {
    background: linear-gradient(145deg, #ffffff, #eef2ff, #d9e8ff);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  
    transition: background 0.3s ease, box-shadow 0.3s ease;
}



 h3, h4 {
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);

    padding: 6px 20px;
    border-radius: 6px;
    color: #111113;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

 .card h3 {
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
    padding: 6px 16px;
    border-radius: 6px;
    color: #111113;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-block; /* Keep it from taking the full width */
    max-width: fit-content; /* Ensure it only takes the space it needs */
     text-align: center;/* Align text to the left */
}
.card h4 {
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
    padding: 6px 10px;
    border-radius: 8px;
    color: #111113;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-block;
    max-width: max-content;
}

/* Dark Mode */





.dark-mode h3, .dark-mode h4 {
    background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
    padding: 6px 20px;
    border-radius: 8px;
    color: #fafafa;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}


/* Universal Styling for Smooth Transitions */
.card, .custom-card, .cert-card, .credits-card, .social-icons-card,
h3, h4, button, .theme-toggle-btn, .navbar-box, .footer-light-mode {
    transition: all 0.3s ease;
}
/* Center aligned heading */
.card h4.center {
    text-align: center;
    margin: 0 auto;
}

/* Left aligned heading */
.card h4.left {
    text-align: left;
    margin: 0; /* Ensures it starts from the left */
}


/* Hide the mobile theme toggle button on larger screens */
.theme-toggle-btn.mobile-visible {
    display: none;
}

/* Show the mobile toggle button on small screens */
@media (max-width: 991px) {
    .theme-toggle-btn.mobile-visible {
        display: flex !important;
        margin-left: auto;
        margin-right: 10px;
    }
    
    /* Hide the toggle button inside .navbar-nav on small screens */
    .navbar-nav .theme-toggle-btn {
        display: none !important;
    }
}

/* Ensure the toggle button within .navbar-nav is visible on larger screens */
@media (min-width: 992px) {
    .navbar-nav .theme-toggle-btn {
        display: inline-flex;
    }
}

/* Smooth Fade-in Effect for Portfolio Cards */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hover Effect for Tags */
.portfolio-card-tag {
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.portfolio-card-tag:hover {
    background-color: #00b4d8;
    color: #fff;
    transform: scale(1.1);
}

/* Skill Box Hover */
.skill-box:hover {
    background-color: #00b4d8;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}





/* Enhanced Hero Section with a Welcoming Message */
.hero-section {
    padding:  15px;
    max-width: 900px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
    border-radius: 20px; /* Softer rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07); /* Softer shadow for elegance */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Light border */
    animation: fadeIn 1s ease-in-out, gradientShift 15s ease infinite; /* Background animation */
    background-size: 400% 400%;
    
}

.hero-content {
    color: #3d3d3d; /* Matches professional tone */
}

.hero-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #141414; /* Darker color for title focus */
    margin-bottom: 0.5rem;
    letter-spacing: 1px; /* Extra spacing */
    animation: fadeInDown 1.2s ease; /* Slight delay for emphasis */
    position: relative;
}

.hero-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #333; /* Accent underline */
    margin: 8px auto 0;
    animation: growLine 0.8s ease-in-out;
}
.dark-mode .hero-title::after {
    background-color: #eaeaea;
}

.hero-lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555; /* Slightly lighter for contrast */
    max-width: 600px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px; /* Slightly spaced letters */
    animation: fadeInUp 1.5s ease; /* Smooth animation for entrance */
}

.tagline {
    font-size: 1rem;
    color: #888;
    font-style: italic;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.6); /* Blurred background */
    backdrop-filter: blur(5px); /* Blurring effect */
    padding: 5px 10px;
    border-radius: 5px;
}

.hero-title .wave {
    display: inline-block;
    animation: wave 2s infinite;
}

@keyframes wave {
    0% { transform: rotate(0); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.profile-circle {
    width: 70px;
    height: 70px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.8s ease; /* Delayed animation for emphasis */
}

.hero-quote {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    color: #2b2b2b; 
    max-width: 800px;
    padding: 10px 20px;
    margin-top: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-block;
    text-align: center;
    letter-spacing: 0.8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}

/* Dark Mode Styles */
.dark-mode .hero-section {
    background: linear-gradient(145deg, #050505, #121212, #1f1f1f); /* Dark mode gradient */
    color: #eaeaea;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .hero-title {
    color: #dcdcdc;
}

.dark-mode .hero-lead {
    color: #dcdcdc;
    text-shadow: 0.5px 0.5px 3px rgba(255, 255, 255, 0.05); /* Light glow */
}


.dark-mode .tagline {
    color: #aaaaaa;
}

.dark-mode .profile-circle {
    background-color: #333;
}

.dark-mode .hero-quote {
    background-color: rgba(255, 255, 255, 0.05); /* Darker for dark mode */
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Keyframes for Entrance Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes growLine {
    from { width: 0; }
    to { width: 50px; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}








.platform-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
    border-radius: 8px;
    border: 0.5px solid rgb(223, 218, 218);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    color: #000;
    padding: 15px;
    transition: all 0.3s ease;
}

.platform-card h3 {
    font-size: 1.1rem; /* Smaller heading */
    margin-bottom: 10px;
}

.platform-card:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.platform-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px; /* Reduced width */
    margin: 5px 0;
}

.platform-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    object-fit: contain;
}

.platform-name {
    font-size: 0.9rem; /* Smaller text size */
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .platform-card {
        padding: 10px;
    }

    .platform-logo {
        width: 45px;
        height: 45px;
    }

    .platform-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .platform-card {
        padding: 10px;
    }

    .platform-item {
        width: 70px;
    }

    .platform-logo {
        width: 35px;
        height: 35px;
    }
}

/* Dark Mode Styles */
.dark-mode .platform-card {
    background: linear-gradient(145deg, #050505, #121212, #1f1f1f);
    color: #f8f9fa;
    border: 0.9px solid #474646;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.dark-mode .platform-name {
    color: #cccccc;
}

.dark-mode .platform-logo {
    filter: brightness(0.9);
}










.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}











/* Styling for Social Links Container */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Adjust spacing between each icon/link pair */
    margin-top: 15px;
}

/* Styling for Individual Social Icons and Links */
.social-icon {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.social-icon i {
    margin-right: 5px;
    font-size: 18px; /* Slightly larger for better visibility */
    transition: color 0.3s;
}

/* Brand Colors for Icons */
.social-icon:nth-child(1) i { /* LinkedIn */
    color: #0077b5;
}

.social-icon:nth-child(2) i { /* GitHub */
    color: #333;
}

.social-icon:nth-child(3) i { /* Email */
    color: #EA4335;
}

.social-link-text {
    text-decoration: none;
    font-size: 14px;
    color: inherit;
    transition: color 0.3s;
}

/* Dark Mode Adjustments */
body.dark-mode .social-icon:nth-child(2) i { /* GitHub Dark Mode */
    color: #ccc;
}

body.dark-mode .social-icon:nth-child(3) i { /* Email Dark Mode */
    color: #ff7f7f; /* Adjust for better contrast */
}

body.dark-mode .social-link-text {
    color: #ddd;
}

.social-link-text:hover {
    text-decoration: underline;
}



@media (max-width: 576px) {
    h1, h2, h3, h4, h5 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}













.info-card {
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0); /* Light mode gradient */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-height: 500px; 
    margin-bottom: 10px;/* Adjust based on your desired height */
}

.info-card-body {
    color: #333;
    
    line-height: 1.7;
}

.info-card-body p {
    margin-bottom: 1rem;
}

.highlight {
    color: #0077b5; /* Accent color for key terms */
    font-weight: bold;
}

.fade-in-on-scroll {
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode */
.dark-mode .info-card {
    background: linear-gradient(145deg, #050505, #121212, #1f1f1f); /* Dark mode gradient */
    color: #eaeaea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .info-card-body {
    color: #eaeaea;
}

.dark-mode .highlight {
    color: #6ec1e4; /* Dark mode accent color */
}







/* Hero Content */
.hero-content {
    color: #3d3d3d;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #141414;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero-lead {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #333131;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 5px;
    
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

/* Spacing Between Sections */
.section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Icons in Hobbies */
.hobbies-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.hobbies-icons i {
    font-size: 1.5rem;
    background-color: #e9e9e9;
    border-radius: 50%;
    padding: 15px;
}




.portfolio-card:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background-color: #f0f0f0;
    color: #555;
}

.footer-icons a {
    margin: 0 10px;
    font-size: 1.2rem;
    color: #555;
}

.footer-icons a:hover {
    color: #000;
}

/* Consistent Title Styles */
.section-title {
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

/* Button and Label Styles */
.pagination-label {
    text-align: center;
    font-size: 1rem;
    color: #333;
}

.pagination-buttons button {
    margin: 5px;
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-buttons button:hover {
    background-color: #0056b3;
}

/* Media Query for Mobile Devices */
@media (max-width: 767px) {
    .hero-section {
        padding: 10px;
        margin: 10px;
    }

    .hobbies-icons {
        flex-wrap: wrap;
        gap: 10px;
    }

   

    .footer-icons a {
        font-size: 1rem;
        margin: 0 5px;
    }
}

/* Media Query for Larger Screens */
@media (min-width: 768px) {
    .section {
        margin: 30px auto;
        padding: 25px;
    }

    .hero-section {
        padding: 20px;
        margin: 30px auto;
    }

   
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}












.view-all-button {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0); /* Consistent with overall design */
    color: #333;
    text-decoration: none;
    border: 1px solid rgb(180, 180, 180); /* Slightly darker border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Softer shadow */
    transition: all 0.3s ease;
}

.view-all-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.view-all-btn:hover {
    background: linear-gradient(145deg, #e0e0e0, #f5f5f5); /* Softer hover background */
    color: #0056b3;
    border-color: #bbb; /* Darker border on hover for emphasis */
}

.view-all-btn:hover i {
    transform: scale(1.1);
    color: #0056b3;
}

.dark-mode .view-all-btn {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a, #121212); /* Slightly lighter gradient for dark mode */
    color: #f0f0f0;
    border: 1px solid #555;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .view-all-btn:hover {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f); /* Smooth hover for dark mode */
    color: #79b2ff;
    border-color: #777; /* Enhanced border contrast on hover */
}

.dark-mode .view-all-btn:hover i {
    color: #79b2ff;
}













/* Modal styles for light and dark mode with consistency to your main page */

/* Modal Background & Content */
.modal-content {
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0); /* Light mode gradient */
    border-radius: 10px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.dark-mode .modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a, #121212); /* Dark mode gradient */
    color: #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
}

/* Modal Header */
.modal-header {
    border-bottom: none;
    color: #333;
    padding: 15px;
}

.dark-mode .modal-header {
    color: #f0f0f0;
}

.modal-title {
    font-weight: bold;
    font-size: 1.25rem;
}

.dark-mode .modal-title {
    color: #f8f9fa;
}

/* Modal Body */
.modal-body {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.dark-mode .modal-body {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

/* Text Styling for Institutions and Degree Details */
.modal-body h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.dark-mode .modal-body h6 {
    color: #eaeaea;
}

.modal-body p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.dark-mode .modal-body p {
    color: #ccc;
}

/* Modal Footer */
.modal-footer {
    border-top: none;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-footer .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.dark-mode .modal-footer .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.dark-mode .modal-footer .btn-primary:hover {
    background-color: #79b2ff;
    border-color: #79b2ff;
}

/* Close Button */
.btn-close {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #333;
    transition: color 0.3s ease;
}

.dark-mode .btn-close {
    color: #f0f0f0;
}

.btn-close:hover {
    color: #555;
}

.dark-mode .btn-close:hover {
    color: #bbb;
}

/* Info Icon */
.fas.fa-info-circle {
    color: #0d0d0e;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 5px;
}


.fas.fa-info-circle:hover {
    color: #0056b3;
}

.dark-mode .fas.fa-info-circle {
    color: #f0f0f0;
}

.dark-mode .fas.fa-info-circle:hover {
    color: #5a9be6;
}

/* Modal Dialog Sizing */
.modal-dialog {
    max-width: 700px;
    margin: 30px auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 10px;
    }
}

/* Modal Scrolling Adjustments */
.modal-body {
    max-height: 500px;
    overflow-y: auto;
}

/* Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.dark-mode .modal-body::-webkit-scrollbar-thumb {
    background-color: #555;
}


/* Close Button */
.btn-close {
    background: transparent;
    border: none;
    font-size: 2.0rem;
    color: #333; /* Default color for light mode */
    transition: color 0.3s ease;
}

.dark-mode .btn-close {
    color: #f0f0f0; /* Light color for dark mode */
}

.btn-close:hover {
    color: #555; /* Slightly darker color on hover in light mode */
}

.dark-mode .btn-close:hover {
    color: #bbb; /* Light gray for hover in dark mode */
}

/* Adjusting close button to ensure visibility */
.btn-close::before {
    content: '\00d7'; /* Unicode for the close symbol (X) */
    font-weight: bold;
    font-size: 2.0rem;
    display: inline-block;
    color: inherit;
}

.dark-mode .btn-close::before {
    color: inherit;
}






/* Reduced Rounded Corners for All Card Types */
.custom-card,
.card,
.portfolio-card,
.cert-card,
.platform-card {
    border-radius: 20px; /* Moderately rounded corners */
    overflow: visible; /* Allows tooltips to be visible */
    position: relative; /* Ensures child elements are positioned correctly */
}

/* Header with Consistent Top Corner Rounding */
.custom-card-header,
.card-header,
.portfolio-card-header,
.cert-card-header,
.platform-card-header {
    border-radius: 20px 20px 0 0; /* Top corners only */
    overflow: hidden; /* Keeps internal content within rounded corners */
}

/* Body with Consistent Bottom Corner Rounding */
.custom-card-body,
.card-body,
.portfolio-card-body,
.cert-card-body,
.platform-card-body {
    border-radius: 0 0 20px 20px; /* Bottom corners only */
    overflow: hidden; /* Keeps internal content within rounded corners */
}





 
    /* Section Styling */
    .section {
        padding: 60px 20px;
        margin-bottom: 40px;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .section-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Full-Width Section */
    .full-width-section {
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Grid System */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .grid-item {
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .grid-item:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Flexbox Layout for Alignment */
    .flex-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .flex-item {
        flex: 1;
        min-width: 200px;
        max-width: 400px;
    }

    /* Scroll Animation for Section Transitions */
    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(50px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

 

    /* Responsive Design */
    @media (max-width: 768px) {
        body {
            font-size: 14px;
        }

        .hero-section h1 {
            font-size: 1.8rem;
        }

        .grid-container {
            gap: 15px;
        }

        .section {
            padding: 40px 10px;
        }
    }




/* Image Styling for .portfolio-card-icon */
.portfolio-card-icon {
    width: calc(100% - 1px); /* Adjust width to account for padding */
    height: auto;
    object-fit: cover;
    border-radius: 16px; /* Match the internal header border radius */
    margin: 5px auto; /* Add margin for spacing */
    display: block;
}


/* Pagination Container Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 15px; /* Moderately rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: fit-content;
    border: 1px solid rgb(223, 218, 218);
    background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0);
    gap: 10px;
}

/* Rounded Navigation Buttons */
.page-nav,
.page-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 20px; /* Fully rounded buttons */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

/* Active Page Button - Light Mode */
.page-button.active {
    background-color: #000; /* Dark background for light mode */
    color: #fff; /* White text */
    border-color: #000;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Hover Effect for Navigation Buttons (Light Mode) */
.page-nav:hover,
.page-button:hover {
    background-color: #333;
    color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Page Info Styling */
.page-info {
    margin: 0 5px; /* Reduced margin for closer spacing */
    font-size: 16px;
    font-weight: 500;
}

/* Rounded Input Field */
.page-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    color: #333;
}

/* Dark Mode Styling for Pagination */
.dark-mode .pagination-container {
    border-color: #474646;
    background: linear-gradient(145deg, #2b2b2b, #1c1c1c);
}

/* Dark Mode Buttons */
.dark-mode .page-nav,
.dark-mode .page-button {
    background-color: #444;
    color: #fff;
    border-color: #555;
}

/* Active Page Button - Dark Mode */
.dark-mode .page-button.active {
    background-color: #fff; /* Light background for dark mode */
    color: #000;
    border-color: #fff;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Hover Effect for Dark Mode */
.dark-mode .page-nav:hover,
.dark-mode .page-button:hover {
    background-color: #555;
    color: #fff;
}

/* Dark Mode Input Field */
.dark-mode .page-input {
    background-color: #555;
    color: #fff;
    border-color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: row;
        gap: 10px;
    }

    .page-nav,
    .page-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .page-input {
        width: 50px;
        height: 36px;
    }
}







/* 3D Profile Image Container */
.profile-image-3d {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 20px auto;
    background-color: transparent; /* No background color */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Lighter shadow for visibility */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Profile Image with Full Visibility */
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    background-color: transparent;
    transform: rotateY(5deg);
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.profile-image-3d:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Compatibility Fix */
.dark-mode .profile-image-3d {
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.05); /* Subtle white shadow to avoid black appearance */
    background-color: transparent;
}


.degree-section {
    margin-bottom: 1.5rem; /* Adds consistent spacing between sections */
}

.degree-section p {
    margin-bottom: 0.25rem; /* Adjusts spacing within the degree details */
}





/* Smooth transition for collapsing and expanding */
.navbar-collapse {
    transition: height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}

/* Adding animation for collapsed state */
.navbar-collapse.collapsing {
    height: 0;
    opacity: 0;
    transition: height 0.4s ease, opacity 0.4s ease;
}

/* Adding animation for expanded state */
.navbar-collapse.show {
    height: auto;
    opacity: 1;
    transition: height 0.4s ease, opacity 0.4s ease;
}

/* Hamburger icon rotation animation */
.navbar-toggler i {
    transition: transform 0.4s ease;
}

.navbar-toggler.collapsed .fa-bars {
    transform: rotate(0deg); /* Default position */
}

.navbar-toggler:not(.collapsed) .fa-bars {
    transform: rotate(90deg); /* Rotates when expanded */
}

.navbar-toggler.collapsed .fa-times {
    transform: rotate(90deg); /* Hidden when collapsed */
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .fa-times {
    transform: rotate(0deg); /* Visible when expanded */
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}




/* Smooth transition for collapsing and expanding */
.navbar-collapse {
    transition: height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}

/* Adding animation for collapsed state */
.navbar-collapse.collapsing {
    height: 0;
    opacity: 0;
    transition: height 0.4s ease, opacity 0.4s ease;
}

/* Adding animation for expanded state */
.navbar-collapse.show {
    height: auto;
    opacity: 1;
    transition: height 0.4s ease, opacity 0.4s ease;
}

/* Hamburger icon rotation animation */
.navbar-toggler i {
    transition: transform 0.4s ease;
}

.navbar-toggler.collapsed .fa-bars {
    transform: rotate(0deg); /* Default position */
}

.navbar-toggler:not(.collapsed) .fa-bars {
    transform: rotate(90deg); /* Rotates when expanded */
}

.navbar-toggler.collapsed .fa-times {
    transform: rotate(90deg); /* Hidden when collapsed */
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .fa-times {
    transform: rotate(0deg); /* Visible when expanded */
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}


@media (max-width: 768px) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Ensures the elements are distributed properly */
        padding: 5px 10px; /* Compact padding for mobile devices */
    }

    .navbar-brand {
        font-size: 1rem; /* Adjust font size for better fit */
        white-space: nowrap; /* Prevents text from wrapping */
        overflow: hidden;
        text-overflow: ellipsis; /* Adds ellipsis for longer text */
    }

    .navbar-toggler {
        padding: 5px; /* Reduces the padding to save space */
        font-size: 1.5rem; /* Adjusts the icon size */
        margin-left: auto; /* Pushes the toggler to the right */
        flex-shrink: 0; /* Prevents resizing */
    }

    .theme-toggle-btn {
        display: inline-block; /* Ensures the theme toggle button is visible */
        margin-right: 5px; /* Adds spacing to the right */
        font-size: 1.5rem; /* Ensures proper size */
        flex-shrink: 0; /* Prevents resizing */
    }

    .navbar-collapse {
        justify-content: flex-start; /* Aligns the menu items */
        width: 100%; /* Makes sure the collapse container stretches fully */
    }
}
/* General Reset for Body and HTML */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw; /* Ensure the width is exactly the viewport width */
    overflow-x: hidden; /* Disable horizontal scrolling */
}


.navbar {
    width: 100%; /* Ensure the navbar doesn't exceed the viewport width */
}


/* Mobile-Specific Adjustments */
@media (max-width: 568px) {

    
    .filters-group-wrap,.pagination-container{
        font-size: 14px;
    justify-content: start;
    padding-right: -2px;
}


}




@media (max-width: 500px) {
    .card-body.d-flex {
        grid-template-columns: repeat(3, 1fr);
    }
}





@media (max-width: 768px) {
    .card-body.d-flex.flex-wrap.justify-content-start {
        display: grid; /* Use grid layout */
        grid-template-columns: repeat(3, 1fr); /* 3 hobby boxes in a row */
        gap: 5px; /* Space between boxes */
    }

   
}


 
}
/* Optional: Adjust pagination for smaller devices */
.pagination-container {
    gap: 5px; /* Reduce spacing */
}

.page-button, .page-nav {
    width: 36px; /* Smaller buttons for pagination */
    height: 36px;
    font-size: 16px;
}

.page-input {
    width: 45px; /* Smaller input box */
    font-size: 16px;
}



/* Responsive styling for smaller screens */
@media (max-width: 500px) {
    .filter-tab {
        gap: 5px; /* Reduce gap between tabs for smaller devices */
        padding: 5px 10px; /* Reduce padding for better fit */
    }

    .filter-tab li {
        font-size: 0.85rem; /* Smaller font size */
        padding: 8px 12px; /* Reduced padding */
    }
}



/* Media Query for Small Screens */
@media (max-width: 768px) {
    .filters-container {
        width: 100%; /* Ensure full width for small screens */
        padding: 2px; /* Reduce padding for compact layout */
        justify-content: start; /* Align items to the left */
    }

    .filter-tab {
        overflow-x: hidden;/* Smaller spacing between items */
    }

   
}


/* Media Query for Very Small Screens (360px or less) */
@media (max-width: 400px) {
    .filters-container {
        width: 100%; /* Allow full width */
      
    }

    .filter-tab li {
        font-size: 0.75rem; /* Reduce font size */
        padding: 6px 10px; /* Reduce padding */
    }
}



/* Adjustments for smaller screens (below 400px) */
@media (max-width: 768px) {
    .hobby-box {
        width: 60px; /* Smaller width for small screens */
        height: 50px; /* Smaller height */
        font-size: 0.85rem; /* Reduce icon size */
    }

    .card-body.d-flex.flex-wrap.justify-content-start {
        grid-template-columns: repeat(3, 1fr); /* Ensure 3 per row on small screens */
      
    }
}




/* Media Query for Very Small Screens (360px or less) */
@media (max-width: 768px) {
    .filters-container {
        width: 100%; /* Allow full width */
        overflow-x: auto; /* Enable horizontal scrolling */
    }

   
}

















/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ffffff, #fcfcfc, #f9f9f9);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    border: 2px solid rgb(160, 149, 149);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.dark-mode .chat-icon {
    background: linear-gradient(145deg, #000000, #0d0d0d, #1a1a1a);
    color: #fff;
    border: 2px solid #888;
}

/* Chat Container */
.chat-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 450px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #000;
    border: 1px solid rgb(223, 218, 218);
    z-index: 1000;
    animation: slideIn 0.3s forwards;
    max-height: 90vh; /* Prevents overflow for large screens */
}

.dark-mode .chat-container {
    background: #000;
    color: #fff;
    border-color: #474646;
}

/* Chat Header */
.chat-header {
    background: #ffffff;
    padding: 12px;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(223, 218, 218);
    font-weight: bold;
}

.dark-mode .chat-header {
    background: #1a1a1a;
    color: #fff;
}

/* Close Button */
.close-chat {
    cursor: pointer;
    font-size: 24px;
    color: #333;
 
    background-color: #fff; /* White background */
   padding: 2px; /* Padding for better spacing */
    display: inline-flex; /* Aligns icon properly */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease; /* Smooth transition for hover */
 
}

.close-chat:hover {
    color: #000;
    border-color: #bbb; /* Darker border on hover */
    background-color: #f5f5f5; /* Subtle hover background */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); /* Enhance shadow on hover */
}

/* Dark Mode Styling */
.dark-mode .close-chat {
    color: #ddd;
    border-color: #444; /* Dark mode border */
    background-color: #222; /* Match dark mode background */
}

.dark-mode .close-chat:hover {
    color: #fff;
    border-color: #666;
    background-color: #333; /* Subtle hover background for dark mode */
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2); /* Enhanced shadow for dark mode */
}


/* Chat Body */
.chat-body {
    height: 340px;
    overflow-y: auto; /* Enables scrolling */
    padding: 10px;
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 120px); /* Ensures chat input doesn’t overlap */
    scrollbar-width: thin;
   
}

.dark-mode .chat-body {
    background: #000;
    color: #fff;
}

/* Scrollbar Styling */
.chat-body::-webkit-scrollbar {
    width: 4%;
}

.chat-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark-mode .chat-body::-webkit-scrollbar-track {
    background: #333;
}

.dark-mode .chat-body::-webkit-scrollbar-thumb {
    background: #555;
}

.dark-mode .chat-body::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Chat Messages */
.chat-message {
    margin: 10px 0;
    padding: 12px 18px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #333;
    border: 1px solid rgb(223, 218, 218);
    align-self: flex-start;
    max-width: 80%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dark-mode .chat-message {
    background-color: #121212;
    color: #fff;
    border-color: #474646;
}

.chat-message.user {
    background-color: #4caf50;
    color: white;
    align-self: flex-end;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dark-mode .chat-message.user {
    background-color: #1a7f37;
    color: #fff;
}

/* Option Button Grid Styling */
.chat-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    padding: 10px;
}

.chat-option {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: #e0e0e0;
    color: #333;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 5px;
    flex: 0 1 calc(45% - 10px); /* Adjusts to fit 2 in a row */
    min-width: fit-content;
}

.chat-option:hover {
    background-color: #d0d0d0;
}

.dark-mode .chat-option {
    background: #444;
    color: #fff;
}

.dark-mode .chat-option:hover {
    background: #666;
}

/* Chat Input Container */
.chat-input-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #ddd;
    position: sticky;
    bottom: 0;
    z-index: 10;
    gap: 8px;
}

.dark-mode .chat-input-container {
    background: #1a1a1a;
    border-color: #474646;
}

.chat-input-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}

.chat-input-container input:focus {
    outline: none;
    border-color: #4caf50;
}

.dark-mode .chat-input-container input {
    background: #2e2e2e;
    color: #fff;
    border-color: #444;
}

.chat-input-container button {
    padding: 10px 15px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
}

.chat-input-container button:hover {
    background: #45a049;
}

.dark-mode .chat-input-container button {
    background: #1a7f37;
}

.dark-mode .chat-input-container button:hover {
    background: #166b2e;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .chat-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-body {
        max-height: calc(100vh - 120px); /* Dynamic height for mobile */
    }

    .chat-options-container {
        justify-content: center; /* Center the options */
    }

    .chat-option {
        flex: 1 1 calc(48% - 8px); /* Ensures two options per row */
        font-size: 0.75rem; /* Smaller text for mobile */
        padding: 6px 8px;
    }
}
/* Chat Options - Adjust for Two per Row */
.chat-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start; /* Align options properly */
    padding: 10px;
}

.chat-option {
    flex: 1 1 calc(48% - 10px); /* Two options per row */
    padding: 8px 10px; /* Adjust padding for better fit */
    text-align: center;
    border-radius: 8px;
    background-color: #e0e0e0;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.75rem; /* Smaller font size */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 5px 0;
}

.chat-option:hover {
    background-color: #d0d0d0; /* Add hover effect */
}

.dark-mode .chat-option {
    background: #444;
    color: #fff;
}

.dark-mode .chat-option:hover {
    background: #666;
}

/* Responsive Chat Options */
@media (max-width: 768px) {
    .chat-options-container {
        justify-content: center; /* Center the options for smaller devices */
    }

    .chat-option {
        flex: 1 1 48%; /* Maintain two options per row on mobile */
        font-size: 0.7rem; /* Slightly smaller font for compact view */
        padding: 6px 8px;
    }
}

@media (max-width: 576px) {
    .chat-option {
        flex: 1 1 45%; /* Adjust further for very small screens */
        font-size: 0.65rem; /* Even smaller font */
        padding: 5px 7px;
    }
}









.show-options-button {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  margin: 10px auto;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
}

.show-options-button:hover {
  background-color: #0056b3;
}



/* Chat Options and Show Options Button - Light Mode */
.chat-option, .show-options-button, #chatSendButton {
  background: linear-gradient(145deg, #ffffff, #fafafa, #f0f0f0); /* Light mode gradient */
  color: #000; /* Text color for light mode */
  padding: 10px 15px;
  border: 1px solid #ddd; /* Subtle border for light mode */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow */
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease; /* Smooth transition */
}

/* Dark Mode Styles */
.dark-mode .chat-option,
.dark-mode .show-options-button,
.dark-mode #chatSendButton {
  background: linear-gradient(145deg, #050505, #121212, #1f1f1f); /* Dark mode gradient */
  color: #fff; /* Text color for dark mode */
  border: 1px solid #333; /* Subtle border for dark mode */
  box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1); /* Light shadow for dark mode */
}

/* Hover Effects */
.chat-option:hover, .show-options-button:hover, #chatSendButton:hover {
  opacity: 0.95; /* Subtle hover effect */
  transform: translateY(-2px); /* Lift effect on hover */
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.dark-mode .chat-option:hover,
.dark-mode .show-options-button:hover,
.dark-mode #chatSendButton:hover {
  box-shadow: 3px 3px 7px rgba(255, 255, 255, 0.2); /* Enhanced shadow for dark mode */
}






















.chat-typing-indicator {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.typing-bubbles {
  display: flex;
  justify-content: space-between;
  width: 40px;
}

.typing-bubbles .bubble {
  width: 8px;
  height: 8px;
  background-color: #000; /* Black for light mode */
  border-radius: 50%;
  animation: bounce 1.5s infinite;
}

.typing-bubbles .bubble:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-bubbles .bubble:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* For dark mode */
body.dark-mode .typing-bubbles .bubble {
  background-color: #fff; /* White for dark mode */
}









.chat-options-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Space between options */
  margin-top: 10px;
}

.chat-option {
 
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  
  cursor: pointer;
  text-align: center;
  flex: 1 0 30%; /* 30% width for three options per row */
  max-width: 100px; /* Optional: cap the width for better design */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}


@media (max-width: 600px) {
  .chat-option {
    flex: 1 0 45%; /* Adjust for smaller screens */
  }
}