        :root {
            --primary-color: #6366f1;
            --secondary-color: #8b5cf6;
            --accent-color: #ec4899;
            --text-color: #1f2937;
            --bg-color: #f8fafc;
            --card-bg: #ffffff;
            --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
            --gradient-2: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            --border-radius: 16px;
            --curve-color: #6366f1;
        }

        .dark-mode {
            --text-color: #f1f5f9;
            --bg-color: #0f172a;
            --card-bg: #1e293b;
            --curve-color: #8b5cf6;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
            background-color: var(--bg-color);
            transition: var(--transition);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        .logo {
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 600;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            font-size: 2.8rem;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .section-title span {
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--gradient);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .section-subtitle {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
            color: #64748b;
            font-size: 1.1rem;
        }

        .dark-mode .section-subtitle {
            color: #94a3b8;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            gap: 10px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            z-index: -1;
            transition: width 0.4s ease;
        }

        .btn:hover::before {
            width: 100%;
        }

        .btn-primary {
            background: var(--gradient);
            color: white;
            box-shadow: var(--shadow);
        }

        .btn-primary:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-5px);
        }

        /* Particle Background */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            z-index: -1;
            top: 0;
            left: 0;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 22px 0;
            transition: var(--transition);
            background-color: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }

        .dark-mode .navbar {
            background-color: rgba(15, 23, 42, 0.85);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            text-decoration: none;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo span {
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .logo i {
            font-size: 1.5rem;
            color: var(--primary-color);
        }

        .nav-links {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            padding: 5px 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--gradient);
            bottom: 0;
            left: 0;
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-color);
        }

        /* Theme Toggle */
        .theme-toggle {
            display: flex;
            align-items: center;
        }

        #dark-mode-toggle {
            display: none;
        }

        .toggle-label {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
            background-color: #cbd5e1;
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transition);
        }

        .dark-mode .toggle-label {
            background-color: #334155;
        }

        .toggle-label i {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 14px;
            z-index: 1;
        }

        .toggle-label .fa-sun {
            left: 8px;
            color: #f59e0b;
        }

        .toggle-label .fa-moon {
            right: 8px;
            color: #e2e8f0;
        }

        .toggle-ball {
            position: absolute;
            top: 3px;
            left: 3px;
            width: 24px;
            height: 24px;
            background: var(--gradient);
            border-radius: 50%;
            transition: var(--transition);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        #dark-mode-toggle:checked+.toggle-label .toggle-ball {
            transform: translateX(30px);
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 1001;
            width: 30px;
            height: 24px;
            justify-content: space-between;
        }

        .hamburger span {
            width: 100%;
            height: 3px;
            background-color: var(--text-color);
            transition: var(--transition);
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Home Section */
        .home-section {
            padding-top: 150px;
            padding-bottom: 120px;
            position: relative;
            overflow: hidden;
        }

        .home-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .photo-container {
            position: relative;
            display: flex;
            justify-content: center;
        }

        .photo-wrapper {
            position: relative;
            width: 380px;
            height: 380px;
        }

        .profile-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50% 20% 50% 20%;
            position: relative;
            z-index: 3;
            border: 8px solid transparent;
            background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                var(--gradient) border-box;
            animation: float 6s ease-in-out infinite;
            box-shadow: var(--shadow-hover);
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }

        .photo-frame {
            position: absolute;
            width: 105%;
            height: 105%;
            border: 3px solid var(--primary-color);
            border-radius: 50% 20% 50% 20%;
            top: -2.5%;
            left: -2.5%;
            z-index: 2;
            opacity: 0.5;
            animation: float 6s ease-in-out infinite reverse;
        }

        .photo-glow {
            position: absolute;
            width: 130%;
            height: 130%;
            background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
            top: -15%;
            left: -15%;
            z-index: 1;
            opacity: 0.1;
            filter: blur(30px);
            animation: pulse 4s infinite alternate;
        }

        @keyframes pulse {
            0% {
                opacity: 0.1;
                transform: scale(1);
            }

            100% {
                opacity: 0.2;
                transform: scale(1.05);
            }
        }

        .intro-content {
            max-width: 600px;
        }

        .subtitle {
            font-size: 1.2rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            display: inline-block;
            padding: 6px 15px;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 30px;
            font-weight: 500;
        }

        .main-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .typing-container {
            min-height: 70px;
            margin-bottom: 25px;
        }

        .typing-text {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--text-color);
        }

        .typed-text {
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
        }

        .cursor {
            display: inline-block;
            width: 3px;
            margin-left: 2px;
            background-color: var(--primary-color);
            animation: blink 1s infinite;
        }

        .cursor.typing {
            animation: none;
        }

        @keyframes blink {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }

            100% {
                opacity: 1;
            }
        }

        .intro-description {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 30px;
            color: #64748b;
        }

        .dark-mode .intro-description {
            color: #94a3b8;
        }

        .skills-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }

        .skill-badge {
            padding: 8px 16px;
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color);
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid rgba(99, 102, 241, 0.2);
            transition: var(--transition);
        }

        .skill-badge:hover {
            background: rgba(99, 102, 241, 0.2);
            transform: translateY(-3px);
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--card-bg);
            color: var(--text-color);
            font-size: 1.3rem;
            transition: var(--transition);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .social-links a::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: var(--gradient);
            opacity: 0;
            transition: var(--transition);
            z-index: 1;
        }

        .social-links a:hover::before {
            opacity: 1;
        }

        .social-links a i {
            position: relative;
            z-index: 2;
        }

        .social-links a:hover {
            color: white;
            transform: translateY(-5px);
        }

        .social-links .linkedin:hover {
            box-shadow: 0 10px 20px rgba(10, 102, 194, 0.3);
        }

        .social-links .github:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        /* Animated Curve */
        .animated-curve {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            z-index: 1;
        }

        .animated-curve svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 120px;
        }

        .animated-curve svg path {
            animation: wave 20s linear infinite;
            transform-origin: center;
        }

        .animated-curve.bottom {
            top: 0;
            bottom: auto;
            transform: rotate(180deg);
        }

        @keyframes wave {
            0% {
                transform: translateX(0) translateY(0);
            }

            50% {
                transform: translateX(-25%) translateY(-10px);
            }

            100% {
                transform: translateX(-50%) translateY(0);
            }
        }

        /* About Section */
        .about-section {
            background-color: rgba(99, 102, 241, 0.02);
            position: relative;
        }

        .dark-mode .about-section {
            background-color: rgba(99, 102, 241, 0.03);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text h3 {
            font-size: 2rem;
            margin-bottom: 20px;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .about-text p {
            line-height: 1.8;
            margin-bottom: 25px;
            color: #64748b;
        }

        .dark-mode .about-text p {
            color: #94a3b8;
        }

        .learning-path {
            margin-top: 40px;
        }

        .learning-path h4 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--text-color);
        }

        .path-steps {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .path-step {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: var(--shadow);
            border-left: 4px solid var(--primary-color);
            transition: var(--transition);
        }

        .path-step:hover {
            transform: translateX(10px);
            box-shadow: var(--shadow-hover);
        }

        .path-step h5 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: var(--text-color);
        }

        .path-step p {
            margin: 0;
            font-size: 0.95rem;
            color: #64748b;
        }

        .dark-mode .path-step p {
            color: #94a3b8;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .stat-card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 30px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(99, 102, 241, 0.1);
        }

        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .stat-card i {
            font-size: 2.5rem;
            margin-bottom: 15px;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .stat-card h3 {
            font-size: 2.5rem;
            margin-bottom: 5px;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .stat-card p {
            color: #64748b;
            font-size: 0.95rem;
        }

        .dark-mode .stat-card p {
            color: #94a3b8;
        }

        /* Projects Section */
        .project-slider {
            padding: 30px 10px 60px;
        }

        .project-card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: auto;
            border: 1px solid rgba(99, 102, 241, 0.1);
        }

        .project-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .project-image {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-links {
            display: flex;
            gap: 15px;
        }

        .project-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            text-decoration: none;
            transform: translateY(20px);
            transition: var(--transition);
        }

        .project-card:hover .project-link {
            transform: translateY(0);
        }

        .project-link:nth-child(2) {
            transition-delay: 0.1s;
        }

        .project-info {
            padding: 25px;
        }

        .project-info h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .project-info p {
            color: #64748b;
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .dark-mode .project-info p {
            color: #94a3b8;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tech-badge {
            padding: 6px 12px;
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color);
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(99, 102, 241, 0.2);
        }

        .swiper-button-next,
        .swiper-button-prev {
            color: var(--primary-color);
            background-color: var(--card-bg);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: var(--shadow);
            top: auto;
            bottom: 0;
        }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 1.2rem;
        }

        .swiper-pagination {
            bottom: 0 !important;
        }

        .swiper-pagination-bullet {
            background-color: var(--primary-color);
            opacity: 0.5;
            width: 12px;
            height: 12px;
        }

        .swiper-pagination-bullet-active {
            opacity: 1;
            background: var(--gradient);
        }

        /* Contact Section */
        .contact-section {
            position: relative;
        }

        .contact-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 60px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 20px;
            background-color: var(--card-bg);
            padding: 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .contact-item:hover {
            transform: translateX(10px);
            box-shadow: var(--shadow-hover);
        }

        .contact-item i {
            font-size: 1.8rem;
            color: var(--primary-color);
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 50%;
        }

        .contact-item h3 {
            font-size: 1.2rem;
            margin-bottom: 8px;
        }

        .contact-item p {
            color: #64748b;
        }

        .dark-mode .contact-item p {
            color: #94a3b8;
        }

        .contact-form {
            background-color: var(--card-bg);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 16px 20px;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            background-color: transparent;
            color: var(--text-color);
            font-family: 'Poppins', sans-serif;
            transition: var(--transition);
            font-size: 1rem;
        }

        .dark-mode .form-group input,
        .dark-mode .form-group textarea {
            border-color: #334155;
        }

        .form-group label {
            position: absolute;
            top: 16px;
            left: 20px;
            color: #94a3b8;
            transition: var(--transition);
            pointer-events: none;
            background-color: var(--card-bg);
            padding: 0 5px;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .form-group input:focus+label,
        .form-group input:not(:placeholder-shown)+label,
        .form-group textarea:focus+label,
        .form-group textarea:not(:placeholder-shown)+label {
            top: -10px;
            font-size: 0.85rem;
            color: var(--primary-color);
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        /* Footer */
        .footer {
            background-color: var(--card-bg);
            padding: 40px 0;
            border-top: 1px solid #e2e8f0;
        }

        .dark-mode .footer {
            border-top-color: #334155;
        }

        .footer .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .footer p {
            color: #64748b;
        }

        .dark-mode .footer p {
            color: #94a3b8;
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .footer-social a {
            color: var(--text-color);
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .footer-social a:hover {
            color: var(--primary-color);
            transform: translateY(-3px);
        }

        /* Responsive Styles */
        @media screen and (max-width: 1100px) {

            .home-content,
            .about-content,
            .contact-content {
                gap: 40px;
            }

            .photo-wrapper {
                width: 340px;
                height: 340px;
            }

            .main-title {
                font-size: 3rem;
            }
        }

        @media screen and (max-width: 992px) {

            .home-content,
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
            }

            .photo-container {
                order: -1;
            }

            .photo-wrapper {
                width: 320px;
                height: 320px;
            }

            .intro-content {
                text-align: center;
                max-width: 100%;
            }

            .skills-badges,
            .action-buttons,
            .social-links {
                justify-content: center;
            }

            .about-stats {
                margin-top: 40px;
            }
        }

        @media screen and (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                background-color: var(--card-bg);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: var(--transition);
                box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
                gap: 25px;
                z-index: 1000;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                margin: 0;
            }

            .hamburger {
                display: flex;
            }

            .section-title {
                font-size: 2.3rem;
            }

            .main-title {
                font-size: 2.5rem;
            }

            .typing-text {
                font-size: 1.5rem;
            }

            .section {
                padding: 80px 0;
            }

            .home-section {
                padding-top: 130px;
            }

            .contact-form {
                padding: 30px;
            }

            .footer .container {
                flex-direction: column;
                gap: 25px;
                text-align: center;
            }
        }

        @media screen and (max-width: 576px) {
            .photo-wrapper {
                width: 280px;
                height: 280px;
            }

            .main-title {
                font-size: 2.2rem;
            }

            .typing-text {
                font-size: 1.3rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .btn {
                padding: 12px 24px;
                font-size: 0.95rem;
            }

            .action-buttons {
                flex-direction: column;
                align-items: center;
            }

            .action-buttons .btn {
                width: 100%;
                max-width: 300px;
            }

            .about-stats {
                grid-template-columns: 1fr;
            }

            .stat-card {
                padding: 25px;
            }

            .contact-item {
                padding: 20px;
            }
        }
 /* Certifications Section */
.certifications-section {
    background-color: rgba(99, 102, 241, 0.02);
    position: relative;
}

.dark-mode .certifications-section {
    background-color: rgba(99, 102, 241, 0.03);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certification-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(99, 102, 241, 0.3);
}

.certification-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark-mode .certification-image {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.certification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.certification-card:hover .certification-image img {
    transform: scale(1.05);
}

.certification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.certification-card:hover .certification-overlay {
    opacity: 1;
}

.certification-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.certification-card:hover .certification-badge {
    transform: translateY(0);
}

.certification-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.certification-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.certification-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.dark-mode .certification-info p {
    color: #94a3b8;
}

.certification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.certification-issuer {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(99, 102, 241, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.view-cert {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-cert:hover {
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 576px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-image {
        height: 180px;
    }
}