/* Main Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
}

html {
    scroll-behavior: smooth;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38;
}

/* Background Video */
.back-vid {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
}

/* Header Styles */
header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(10px);
    padding: 0 30px;
    box-shadow: 0 0 15px #72a1de68;
    z-index: 999;
}

.left {
    display: flex;
    align-items: center;
}

header ul {
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.30);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #727fde65;
}

header ul li {
    list-style: none;
}

header ul a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    margin: 0 10px;
    transition: all 0.3s ease;
}

header ul a:hover,
header ul a.active {
    color: #72a1de;
    text-shadow: 0 0 10px #72a1de;
}

.box-icons {
    display: flex;
    gap: 40px;
}

.box-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgray;
    border-radius: 50%;
    transition: 0.3s;
}

.box-icons a:hover {
    background-color: #727fde;
    color: #000;
    box-shadow: 0 0 15px #727fde6f;
}

/* Blackhole Animation */
.blackhole-box {
    z-index: -1;
    position: absolute;
    top: 0;
    width: 100%;
    justify-content: center;
    mix-blend-mode: lighten;
}

.blackhole-box video {
    width: 100%;
    margin-top: -23.5%;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    padding-top: 70px;
    box-sizing: border-box;
}

.hero-info {
    position: absolute;
    left: 5%;
}

.hero-info .hero-info-title {
    color: #727fde;
    padding: 8px 5px;
    border: 1px solid #727fde77;
    width: 300px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #727fde88;
    border-radius: 50px;
}

.hero-info h1 {
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 70px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info p {
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}

.hero-info button {
    padding: 15px 35px;
    border: 1px solid #727fdeb4;
    background-color: #2200493d;
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 5px #727fde86;
    cursor: pointer;
    transition: 0.3s;
}

.hero-info button:hover {
    box-shadow: 0 0 15px #727fde86;
}

.hero-img-box {
    position: absolute;
    right: 3%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 15px #727fde6f;
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* Scroll Down Indicator */
.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.477);
}

.scroll-down::before,
.scroll-down::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 49%;
    width: 10px;
    height: 10px;
    border: 2px solid lightgray;
    transform: translate(-50%, -100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
}

.scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
    }
    30%,
    60% {
        opacity: 1;
    }
    100% {
        top: 90%;
        opacity: 0;
    }
}

/* Info Section - UPDATED LAYOUT */
.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-top: 100px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    grid-template-rows: auto auto;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    border: 1px solid gray;
    background-color: #080020b7;
    border-radius: 20px;
    transition: 0.3s;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

/* First card takes left column and full height */
.card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* Second and third cards stack in right column */
.card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h1 {
    font-size: 22px;
    margin-bottom: 15px;
    color: lightgray;
}

.card p {
    color: gray;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-link {
    text-decoration: none;
    display: inline-block;
}

.card:hover {
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.5);
    transform: translateY(-5px);
}
.btn-link {
    text-decoration: none;
    display: inline-block;
}
/* Gradient Text Animation */
.gradient {
    background: linear-gradient(to right, #008baa, #7e42a7, #6600c5, #6070fd, #2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

/* Sidebar Menu */
.menu-icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 70%;
    width: 0%;
    opacity: 0;
    background-color: #000000b8;
    backdrop-filter: blur(10px);
    z-index: 9999;
    box-shadow: 0 0 20px rgba(211, 211, 211, 0.411);
    border-bottom-left-radius: 100%;
}

.close-icon {
    font-size: 50px;
    color: lightgray;
    cursor: pointer;
    padding-left: 10px;
}

.sidebar ul {
    padding-left: 20px;
}

.sidebar ul li {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a {
    text-decoration: none;
    color: lightgray;
    font-size: 30px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(128, 128, 128, 0.256);
    transition: all 0.3s ease;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    color: #72a1de;
    text-shadow: 0 0 10px #72a1de;
}

.sidebar .social-icons {
    padding-left: 20px;
    margin-top: 60px;
    text-wrap: nowrap;
}

.sidebar .social-icons a {
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
    color: lightgray;
    transition: all 0.3s ease;
}

.sidebar .social-icons a:hover {
    color: #72a1de;
}

/* Sidebar Animations */
.sidebar.open-sidebar {
    animation: openSidebarAnimation 1.5s forwards;
}

@keyframes openSidebarAnimation {
    to {
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
}

.sidebar.close-sidebar {
    animation: closeSidebarAnimation 1.5s forwards;
}

@keyframes closeSidebarAnimation {
    from {
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
    to {
        width: 0;
        opacity: 0;
        bottom: 70%;
        border-bottom-left-radius: 50%;
    }
}

/* Responsive Adjustments */
@media (max-aspect-ratio: 16/9) {
    .back-vid {
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9) {
    .back-vid {
        width: 100%;
        height: auto;
    }
}

/* Laptop specific adjustments */
@media (min-width: 992px) and (max-width: 1440px) {
    .info-cards {
        grid-template-columns: 1fr 1fr;
    }

    .card h1 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }
}

/* Tablet adjustments */
@media (max-width: 991px) {
    .info-cards {
        grid-template-columns: 1fr;
    }

    .card:first-child,
    .card:nth-child(2),
    .card:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    header {
        position: fixed;
        height: 50px;
    }
    
    header ul {
        display: none;
    }
    
    header .box-icons {
        display: none;
    }
    
    header {
        font-size: 18px;
    }
    
    .blackhole-box video {
        margin-top: -16%;
    }
    
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 70px;
    }
    
    .hero-img-box {
        position: relative;
        margin: 100px;
        width: 300px;
        height: 300px;
    }
    
    .hero-info {
        position: relative;
        left: auto;
        bottom: auto;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 110px;
    }
    
    .autoBlur {
        animation: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
    
    .scroll-down {
        bottom: 110px;
        left: 60%;
        transform: translateX(-50%);
    }
    
    .menu-icon {
        display: inline;
    }
    
    .hero-info h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin: 20px 0;
    }
    
    .hero-info p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .card {
        min-height: auto;
        padding: 15px;
    }
}

/* Hide sidebar on desktop */
@media (min-width: 768px) {
    .sidebar {
        display: none !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-info h1 {
        font-size: 2rem;
    }
    
    .hero-info p {
        font-size: 0.9rem;
    }
    
    .hero-img-box {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 32px;
    }
    header {
        font-size: 16px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    header {
        padding: 0 15px;
    }
    
    .hero-info-title {
        width: 100% !important;
    }
}

/* Projects Section */
.my-project {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px 0;
}

.project-card {
    display: flex;
    width: 100%;
    margin-bottom: 60px;
    align-items: center;
    gap: 40px;
    background-color: rgba(8, 0, 32, 0.7);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #727fde3d;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(114, 127, 222, 0.2);
}

.project-vidbox {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-vidbox img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-vidbox:hover img {
    transform: scale(1.03);
}

.project-info {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.project-info h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #72a1de;
}

.project-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #b8b8b8;
}

.project-info button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #2200493d;
    color: white;
    border: 1px solid #727fdeb4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-info button:hover {
    background-color: #727fde;
    box-shadow: 0 0 15px #727fde86;
}

.project-info button a {
    color: inherit;
    text-decoration: none;
}

/* Skills Section */
.skills-section {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px 0;
    position: relative;
    align-items: center;
}
.skills-section .section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}
.skills-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.skills-image {
    position: absolute;
    width: 60%;
    max-width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    z-index: 0;
    filter: brightness(1.1);
}

.skills-column {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: transparent;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #727fde3d;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(114, 127, 222, 0.3);
    border-color: #727fdeb4;
}

.skill-card h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #b8b8b8;
    margin-bottom: 15px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.skills-list span {
    background-color: #2200493d;
    color: #72a1de;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #727fde3d;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.skills-grid h3 {
    color: #72a1de;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.skills-grid div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skills-bullets {
    margin-top: 15px;
    padding-left: 20px;
}

.skills-bullets li {
    color: #b8b8b8;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Tech Slider */
.tech-slider-container {
    width: 100%;
    margin-top: 80px;
    position: relative;
}

.slider {
    position: relative;
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    opacity: 0.9;
    margin: 0 auto;
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 15s linear infinite;
    transition: all 0.3s ease;
    animation-delay: calc((15s / var(--quantity)) * (var(--position) - 1) - 15s) !important;
    padding: 0 15px;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.slider:hover .list .item img {
    filter: grayscale(100%) brightness(0.8);
}

.slider .list .item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
    animation-play-state: paused;
}

@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -1);
    }
}

.slider:hover .item {
    animation-play-state: paused;
}

/* Contact Section */
.contact-section {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 40px 0;
    position: relative;
    align-items: center;
}
.contact-section .section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box {
    background-color: rgba(8, 0, 32, 0.7);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    border: 1px solid #727fde3d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-box p {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #72a1de;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-box input,
.contact-box textarea {
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #727fde3d;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-box input:focus,
.contact-box textarea:focus {
    outline: none;
    border-color: #727fdeb4;
    box-shadow: 0 0 10px #727fde3d;
}

.input-message {
    height: 120px;
    resize: vertical;
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.social-box {
    display: flex;
    gap: 20px;
}

.social-box a {
    color: #72a1de;
    font-size: 28px;
    transition: all 0.3s ease;
}

.social-box a:hover {
    color: #727fde;
    transform: translateY(-3px);
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: #727fde;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: #5a68c5;
    box-shadow: 0 0 15px #727fde6f;
}

/* Animations */
.autoBlur {
    animation: autoBlurAnimation linear both;
    animation-timeline: view();
}

@keyframes autoBlurAnimation {
    0% {
        filter: blur(40px);
        opacity: 0;
    }
    35%, 65% {
        filter: blur(0);
        opacity: 1;
    }
    100% {
        filter: blur(40px);
        opacity: 0;
    }
}

.autoDisplay {
    animation: autoDisplayAniation both;
    animation-timeline: view();
}

@keyframes autoDisplayAniation {
    from {
        filter: blur(10px);
        transform: translateY(-200px) scale(0);
        opacity: 0.2;
    }
    50% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.fadeInRight {
    animation: fadeInAnimation both;
    animation-timeline: view();
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: translateX(-500px) scale(0.2);
        filter: blur(20px);
    }
    35%, 65% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
    100% {
        filter: blur(20px);
    }
}

/* Responsive Adjustments for Sections */
@media (max-width: 1024px) {
    .skills-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .skills-column {
        width: 100%;
        max-width: 700px;
    }
    
    .skills-image {
        width: 80%;
        opacity: 0.6;
    }
    
    .project-card {
        gap: 30px;
        padding: 25px;
    }
    
    .project-info h1 {
        font-size: 1.6rem;
    }
    
    .project-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .skills-section {
        width: 95%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-card {
        padding: 25px;
    }
    
    .project-card {
        flex-direction: column;
        gap: 25px;
    }
    
    .project-vidbox, 
    .project-info {
        min-width: 100%;
        max-width: 100%;
    }
    
    .project-info {
        padding: 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .contact-box {
        padding: 30px;
    }
    
    .contact-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .slider {
        --width: 80px;
        --height: 80px;
    }
}

@media (max-width: 480px) {
    .skill-card h1 {
        font-size: 1.5rem;
    }
    
    .skill-card p, .skills-bullets li {
        font-size: 0.9rem;
    }
    
    .skills-list span {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .my-project {
        width: 95%;
    }
    
    .project-card {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .project-info h1 {
        font-size: 1.4rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .project-info button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-section {
        width: 95%;
        padding: 20px 0;
    }
    
    .contact-box {
        padding: 20px;
    }
    
    .social-box {
        gap: 15px;
    }
    
    .social-box a {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .slider {
        --width: 60px;
        --height: 60px;
        mask-image: linear-gradient(
            to right,
            transparent,
            #000 5% 95%,
            transparent
        );
    }
}

/* Certifications Section */
.certifications-section {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px 0;
    align-items: center;
}
.certifications-section .section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
    grid-auto-rows: 1fr; /* Equal height rows */
}

.certification-card {
    background-color: rgba(8, 0, 32, 0.7);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #727fde3d;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 120px; /* Minimum height */
}

.certification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(114, 127, 222, 0.3);
    border-color: #727fdeb4;
}

.certification-card h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #72a1de;
    padding: 4px;
    flex-grow: 1;
    line-height: 1.3;
    word-break: break-word;
}

.certification-card .issuer {
    color: #b8b8b8;
    font-size: 0.75rem;
    margin-bottom: 10px;
    padding: 4px;
    font-weight: 700;
    font-style: italic;
    word-break: break-word;
}

.certification-card .view-cert {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background-color: #2200493d;
    color: white;
    border: 1px solid #727fdeb4;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.certification-card .view-cert:hover {
    background-color: #727fde;
    box-shadow: 0 0 8px #727fde86;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certifications-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .certification-card {
        min-height: 110px;
    }
}

@media (max-width: 480px) {
    .certifications-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .certification-card {
        padding: 12px;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .certification-card h3 {
        font-size: 0.85rem;
    }
    
    .certification-card .view-cert {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}
/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
  }
  
  .chatbot-toggle {
    background: #2200493d;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(114, 127, 222, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .chatbot-toggle:hover {
    transform: scale(1.1);
  }
  
  .chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #080020b7;
    border: 5px solid #727fde3d;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }
  
  .chatbot-iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Active state */
  .chatbot-container.active .chatbot-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .chatbot-window {
      width: 300px;
      height: 450px;
    }
  }
  
  @media (max-width: 480px) {
    .chatbot-container {
      bottom: 20px;
      right: 20px;
    }
    
    .chatbot-window {
      width: calc(100vw - 40px);
      right: -20px;
    }
  }