 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
            color: #333;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(26, 26, 26, 0.9);
            backdrop-filter: blur(20px);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            background: rgba(26, 26, 26, 0.95);
            box-shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #dc2626;
            transition: color 0.3s ease;
        }

        nav.scrolled .logo {
            color: #dc2626;
        }

        .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;
            position: relative;
        }

        nav.scrolled .nav-links a {
            color: white;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: #dc2626;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

        .hero-content {
            z-index: 2;
            animation: fadeInUp 1s ease-out;
            width: 100%;
        }

        .hero-profile {
            display: flex;
            align-items: center;
            gap: 3rem;
            max-width: 1000px;
        }

        .profile-image {
            flex-shrink: 0;
            position: relative;
        }

        .profile-image img {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #dc2626;
            box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
            transition: all 0.3s ease;
        }

        .profile-image:hover img {
            transform: scale(1.05);
            box-shadow: 0 30px 80px rgba(220, 38, 38, 0.4);
        }

        .profile-text {
            flex: 1;
        }

        .greeting {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: white;
            font-weight: 500;
        }

        .hi-text {
            color: #cccccc;
        }

        .dynamic-title {
            color: #dc2626;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .dynamic-title::after {
            content: '';
            position: absolute;
            right: -10px;
            top: 0;
            height: 100%;
            width: 3px;
            background: #dc2626;
            animation: blink 1s infinite;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .hero .subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: linear-gradient(45deg, #dc2626, #991b1b);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
        }

        /* Floating Elements */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .floating-circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(220, 38, 38, 0.1);
            animation: float 6s ease-in-out infinite;
        }

        .floating-circle:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            right: 10%;
            animation-delay: 0s;
        }

        .floating-circle:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 20%;
            animation-delay: 2s;
        }

        .floating-circle:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 30%;
            left: 10%;
            animation-delay: 4s;
        }

        /* About Section */
        .about {
            background: #0f0f0f;
            padding: 6rem 0;
            position: relative;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
            background: linear-gradient(45deg, #dc2626, #991b1b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #cccccc;
        }

        .about-image {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(220, 38, 38, 0.3), rgba(153, 27, 27, 0.3));
            z-index: 2;
        }

        .placeholder-image {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, #dc2626, #991b1b);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
        }

        /* Skills Section */
        .skills {
            background: #1a1a1a;
            padding: 6rem 0;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

       .skill-card {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.skill-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: all 0.3s ease;
}


.Images {
    display: flex;
    flex-wrap: wrap;  
    gap: 20px;         
    justify-content: center;
    margin-bottom: 20px;
}

.Images img {
    max-width: 100%;  
    height: auto;     
    border: 2px solid rgb(126, 13, 13);
    border-radius: 8px; 
    flex: 1 1 200px;   
}


.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
}

.skill-card:hover img {
  transform: scale(1.05);
}


        /* Portfolio Section */
        .portfolio {
            padding: 6rem 0;
            background: #0f0f0f;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .portfolio-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(220, 38, 38, 0.1);
            transition: all 0.3s ease;
            border: 1px solid rgba(220, 38, 38, 0.1);
        }

        .portfolio-item:hover {
            transform: scale(1.05);
            box-shadow: 0 25px 60px rgba(220, 38, 38, 0.3);
        }

        .portfolio-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(220, 38, 38, 0.9), rgba(153, 27, 27, 0.9));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }

        .portfolio-overlay h3 {
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
        }

        /* Contact Section */
        .contact {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
            padding: 6rem 0;
            color: white;
        }

        .contact-content {
            text-align: center;
        }

        .contact .section-title {
            color: white;
            background: none;
            -webkit-text-fill-color: white;
        }

        .contact-form {
            max-width: 600px;
            margin: 3rem auto 0;
        }

        .form-group {
            margin-bottom: 2rem;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            background: rgba(220, 38, 38, 0.1);
            color: white;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(220, 38, 38, 0.2);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: rgba(220, 38, 38, 0.5);
            box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .submit-button {
            background: linear-gradient(45deg, #dc2626, #991b1b);
            color: white;
            padding: 1rem 3rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
        }

        .submit-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            color: #cccccc;
            text-align: center;
            padding: 2rem 0;
            border-top: 1px solid rgba(220, 38, 38, 0.1);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes blink {
            0%, 50% {
                opacity: 1;
            }
            51%, 100% {
                opacity: 0;
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero-profile {
                flex-direction: column;
                gap: 2rem;
                text-align: center;
            }

            .profile-image img {
                width: 200px;
                height: 200px;
            }

            .greeting {
                font-size: 1.4rem;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero .subtitle {
                font-size: 1.2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .skills-grid,
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }

/*index2.html*/
.Casi{
   padding: 2rem;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 10px;
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
