 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Caveat:wght@500;700&display=swap');

        :root {
            --primary-color: #1e2b3a;
            --secondary-color: #F29441;
            --accent-color: #314E59;
            --light-color: #f7f9fc;
            --dark-color: #2d3748;
            --transition-speed: 0.4s;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--light-color);
            color: var(--primary-color);
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            padding: 20px;
            background-image: radial-gradient(#4ecdc4 0.5px, transparent 0.5px), radial-gradient(#ff6b6b 0.5px, transparent 0.5px);
            background-size: 40px 40px;
            background-position: 0 0, 20px 20px;
            background-attachment: relative;
        }

        .container {
            max-width: 660px;
            width: 100%;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.2);
            overflow: hidden;
            position: relative;
        }*/

        .header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }

        .header::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        .header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
            font-family: 'Lato', Calibri, Arial, sans-serif;
            font-weight: 600;
            color: #ffffff;
        }

        /* .header h1::before {
            content: "✨";
            position: absolute;
            top: -15px;
            left: -20px;
            transform: rotate(-10deg);
            font-size: 1.2rem;
        }

        .header h1::after {
            content: "✨";
            position: absolute;
            top: -10px;
            right: -20px;
            transform: rotate(10deg);
            font-size: 1.2rem;
        } */

        .header p {
            font-size: 1.5rem;
            color: #314E59;
            font-family: 'Caveat', cursive;
            
        } 

        .accordion {
            list-style: none;
            perspective: 1000px;
        }

        .accordion-item {
            margin-bottom: 15px;
            border-radius: 12px;
            background: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
            transition: all var(--transition-speed) ease;
            transform-origin: top center;
            transform-style: preserve-3d;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .accordion-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: var(--secondary-color);
            transform: scaleY(0);
            transition: transform var(--transition-speed) ease;
            border-radius: 4px 0 0 4px;
        }

        .accordion-item:hover::before {
            transform: scaleY(1);
        }

        .accordion-header {
            padding: 18px 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 12px;
            transition: background-color var(--transition-speed) ease;
            position: relative;
            z-index: 1;
        }

        .accordion-header:hover {
            background-color: rgba(78, 205, 196, 0.05);
        }

        .accordion-title {
            display: flex;
            align-items: center;
            gap: 15px;
            /* font-weight: 200; */
            color: var(--dark-color);
            
        }

        .accordion-title h2{
            font-weight: 200;
            font-family: 'Lato', Calibri, Arial, sans-serif;
        }

        .accordion-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(78, 205, 196, 0.1);
            border-radius: 50%;
            transition: all var(--transition-speed) ease;
        }

        .accordion-icon svg {
            width: 20px;
            height: 20px;
            transition: all var(--transition-speed) ease;
        }

        .accordion-toggle {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-speed) ease;
        }

        .accordion-toggle svg {
            width: 12px;
            height: 12px;
            transition: transform var(--transition-speed) ease;
            color: var(--dark-color);
    
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-speed) ease, padding var(--transition-speed) ease;
            background-color: white;
            border-radius: 0 0 12px 12px;
            opacity: 0;
            transform: translateY(-20px);
        }

        .accordion-body {
            padding: 0 20px 20px;
        }

        .accordion-item.active {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }

        .accordion-item.active .accordion-icon {
            background: var(--accent-color);
        }

        .accordion-item.active .accordion-icon svg {
            color: #ffffff;
        }

        .accordion-item.active .accordion-toggle {
            background: var(--secondary-color);
        }

        .accordion-item.active .accordion-toggle svg {
            transform: rotate(180deg);
            color: #ffffff;
        }

        .accordion-item.active .accordion-content {
            opacity: 1;
            transform: translateY(0);
        }

        .project-grid {
            display: grid;
            margin: auto;
            grid-template-columns: repeat(2, 1fr);
            /* grid-template-rows: repeat(var(--row), 100px); */
            margin-top: 10px;
            gap: 50px;
            /* display: grid;
            grid-template-columns: repeat(auto-fill, minmax(400px, 2fr));
            gap: 15px; */
            /* margin-top: 5px; */
        }

        .project-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            position: relative;
            height: auto;
            cursor: pointer;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        /* .project-card:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
        } */

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* .project-card:hover .project-image {
            transform: scale(1.1);
        } */

        .project-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            padding: 10px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .project-card:hover .project-overlay {
            transform: translateY(0);
        }

        .project-title {
            font-size: 0.8rem;
            font-weight: 600;
            margin: 0;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-5px);
            }
            100% {
                transform: translateY(0px);
            }
        }

        .hand-drawn {
            position: absolute;
            opacity: 0.8;
            pointer-events: none;
            z-index: 0;
        }

        .squiggle-1 {
            top: 50px;
            right: 30px;
            animation: float 4s ease-in-out infinite;
        }

        .squiggle-2 {
            bottom: 40px;
            left: 30px;
            animation: float 5s ease-in-out infinite;
        }

        .description {
            /* margin-top: 15px; */
            margin-right: 50px;
            line-height: 1.6;
            color: #555;
            font-size: 1rem;
            font-family: 'Lato', Calibri, Arial, sans-serif;
            font-weight: 400;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
            height: 50px;
            align-content: center;
        }

        .tag {
            padding: 4px 10px;
            background: rgba(78, 205, 196, 0.1);
            color: var(--accent-color);
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-2px);
        }

        @media (max-width: 412px) {
            .container {
                padding: 15px;
                border-radius: 16px;
            }

            .header h1 {
                font-size: 1.6rem;
            }

            .accordion-title {
                font-size: 0.9rem;
                
            }

            .project-grid {
                /* grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                gap: 10px; */
                grid-template-columns: repeat(1, 1fr);
                grid-template-rows: repeat(var(--row), 100px);
                margin-top: 50px;
                gap: 10px;
            }

            .project-title {
                font-size: 0.7rem;
            }
            .project-card{
                width: 100%;
                position: relative;
            }
            
        }

        /* Creative Border Effect */
        .border-animation {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
        }

        .border-animation__path {
            stroke-dasharray: 2000;
            stroke-dashoffset: 2000;
            transition: stroke-dashoffset 2s ease;
        }

        .accordion-item:hover .border-animation__path {
            stroke-dashoffset: 0;
        }

        /* Tooltip */
        .tooltip {
            position: absolute;
            background: var(--dark-color);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s, transform 0.3s;
            pointer-events: none;
            z-index: 100;
            max-width: 200px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .tooltip::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid var(--dark-color);
        }

        /* Scroll styles */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent-color);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }