        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        /* Header & Navigation */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 156, 11, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

       .logo {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 200px;
          height: 50px;
          font-size: 1.6rem;
          font-weight: bold;
          color: #fff;
          background-color: transparent;
          font-family: 'Poppins', sans-serif;
          text-decoration: none;
          text-transform: uppercase;
          letter-spacing: 1px;
          border: 0px;
          border-radius: 10px;
          transition: background 0.3s ease;
          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        }

        .logo span {
          color: #333;
          background: #fff;
          padding: 0 6px;
          border-radius: 4px;
          margin-left: 5px;
          transition: background 0.3s ease, color 0.3s ease;
        }

        .logo:hover {
          background: rgba(255, 255, 255, 0.2);
        }

        .logo:hover span {
          background: #333;
          color: #ff9c0b;
        }


        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 25px;
        }

        .nav-links a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #ff9c0b 0%, #ffb84d 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
            pointer-events: none;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-text h1 {
            font-size: 3.5rem;
            color: white;
            margin-bottom: 1rem;
            animation: slideInLeft 1s ease-out;
        }

        .hero-text .subtitle {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            animation: slideInLeft 1s ease-out 0.2s both;
        }

        .hero-text p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            animation: slideInLeft 1s ease-out 0.4s both;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            animation: slideInLeft 1s ease-out 0.6s both;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: white;
            color: #ff9c0b;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-secondary:hover {
            background: white;
            color: #ff9c0b;
        }

        .hero-image {
            display: flex;
            justify-content: center;
            align-items: center;
            animation: slideInRight 1s ease-out 0.8s both;
        }

        .profile-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            text-align: center;
            transform: perspective(1000px) rotateY(-5deg);
            transition: all 0.3s ease;
        }

        .profile-card:hover {
            transform: perspective(1000px) rotateY(0deg) translateY(-10px);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
        }

       .profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.profile-image img {
    width: 110%; /* slightly larger for pan effect */
    height: 100%;
    object-fit: cover;
    animation: panImage 6s ease-in-out infinite alternate;
    transform: translateX(0);
}

/* Keyframes to pan the image left and right */
@keyframes panImage {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-10%);
    }
}



        /* Skills Section */
        .skills {
            padding: 6rem 0;
            background: #f8f9fa;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            transition: all 0.4s ease-in-out;
            width: 80px;
            height: 4px;
            background: #ff9c0b;
            border-radius: 2px;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .skill-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border-top: 4px solid #ff9c0b;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .skill-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ff9c0b, #ffb84d);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: white;
            font-size: 1.5rem;
        }

        .skill-card h3 {
            color: #333;
            margin-bottom: 1rem;
        }

        .skill-card p {
            color: #666;
            line-height: 1.6;
        }

        /* Portfolio Section */
        .portfolio {
            padding: 6rem 0;
            background: white;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .portfolio-item {
            background: #f8f8f9;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

       .portfolio-image {
            height: 200px;
            background: linear-gradient(28deg, #72bf59, #ff9c0b, #7fc668);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            /*border-radius: 8px;*/
            overflow: hidden;
        }

        .portfolio-image img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        .portfolio-image img {
          transition: transform 0.4s ease;
        }

        .portfolio-image:hover img {
          transform: scale(1.06);
        }

        .portfolio-content {
            padding: 1rem;
        }

        .portfolio-content h3 {
            color: #333;
            margin-bottom: 1rem;
        }

        .portfolio-content p {
            color: #666;
            margin-bottom: 1.5rem;
        }

        .portfolio-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .tag {
            background: #ff9c0b;
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        /* Contact Section */
        .contact {
            padding: 6rem 0;
            background: linear-gradient(135deg, #ff9c0b, #ffb84d);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .contact-info h2 {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .contact-info p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: white;
        }

        .contact-item i {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-form {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #ff9c0b;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* Footer */
        footer {
            background: #39602c;
            color: white;
            padding: 3rem 0 1rem;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #ff9c0b;
        }

        .footer-section p,
        .footer-section a {
            color: #ccc;
            text-decoration: none;
            line-height: 1.6;
        }

        .footer-section a:hover {
            color: #ff9c0b;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: #ff9c0b;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            color: #333;
            background: #ffb84d;
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid #c1c1c1;
            padding-top: 1rem;
            color: #ccc;
        }

        /* Animations */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
             .nav-links {
                display: none; /* hide by default */
                flex-direction: column;
                position: absolute;
                top: 60px;
                right: 1rem;
                left: 1rem;
                background-color: #ff9c0b;
                padding: 1rem;
                border-radius: 8px;
                width: 91%;
                z-index: 1000;
              }

              .nav-links.active {
                display: flex; /* show when active */
              }

              .mobile-menu {
                display: flex;
                flex-direction: column;
                cursor: pointer;
              }

              .mobile-menu span {
                width: 25px;
                height: 3px;
                background: white;
                margin: 3px 0;
                transition: 0.3s;
              }

              nav {
                position: relative;
              }

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
                margin-top: 5rem;
                margin-bottom: 3rem;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .skills-grid,
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Scroll animations */
        .scroll-animate {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .scroll-animate.active {
            opacity: 1;
            transform: translateY(0);
        }
