:root {
    --background: #89c6c6;
    --foreground: #191818;
    --card: #000001;
    --card-foreground: #de4e4e;
    --primary: #0d2d78;
    --primary-foreground: #eeeeee;
    --secondary: #1a1a24;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    --border: #27272a;
    --radius: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(115deg, #0b3085, #3fcce5);
    -webkit-background-clip: text;
    font-size: 60px;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    color: rgb(15, 22, 119);
    font-weight: 600;
    font-size: 0.880rem;
    display: block;
    margin-bottom: 1rem;
    cursor: pointer;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #183f58, #3072eb);
    color: whitesmoke;
    box-shadow: 0 0 40px rgba(24, 188, 233, 0.3);
  
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.1);
   color: rgb(119, 11, 97);
}

.btn-glass {
    background: linear-gradient(135deg, rgb(200, 219, 200),rgb(32, 161, 45));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: rgb(255, 255, 255);
    border: 1px solid rgba(130, 213, 155, 0.1);
}

.btn-glass:hover {
   background-color: rgb(101, 160, 116);
   color: rgb(119, 11, 97);
   transform: scale(1.1);
}

.btn-full {
    width: 100%;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(36, 2, 89, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fdfdfd, #f5f5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: color 0.3s;
}

.nav-links a:hover {
 color: #15d9e8;
}

.nav-links .btn {
    padding: 0.5rem 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-bg-orb-1 {
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.2);
}

.hero-bg-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 320px;
    height: 320px;
    background: rgba(168, 85, 247, 0.1);
    animation-delay: 2s;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(39, 39, 42, 0.3) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(39, 39, 42, 0.3) 1px, transparent 1px);
    background-size: 4rem 4rem;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 2rem;
}


.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(210, 204, 204, 0.05);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(17, 39, 188, 0.1);
    border-radius: 9999px;
    color:rgb(13, 70, 62);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.profile-image{
    width: 230px;
    height: 230px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
    border: 4px solid #0752a8;
    margin-left: 200px;
    box-shadow: 0px  20px 50px rgb(100, 195, 239)
    
    
}
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgb(13, 20, 48);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: rem;
    flex-wrap: wrap;
    color: rgb(140, 9, 81);
    
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform: translate(-5px,40px);
}

.social-icon {
    padding: 0.75rem;
    background: rgba(251, 211, 82, 0.05);
    border: 2px solid rgba(17, 17, 17, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background:linear-gradient(135deg,rgb(129, 157, 199), rgb(17, 129, 116)); 
    color: white;
}

.scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(232, 240, 238);
    animation: float 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}


.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    color: rgb(163, 147, 8);
}

.highlight-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(38, 8, 172, 0.8), rgba(7, 177, 98, 0.5));
    border: 1px solid rgba(244, 243, 239, 0.5);
    border-radius: var(--radius);
    transition: all 0.7s;
    cursor: pointer;
   
}

.highlight-card:hover {
    transform: scale(1.1);
    border-color: rgba(168, 85, 247, 0.5);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(215, 85, 247, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}


.skills {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--background), rgba(17, 17, 24, 0.5));
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    
}

.skill-category {
    padding: 2rem;
    background: linear-gradient(300deg, rgba(56, 32, 177, 0.8), rgba(70, 217, 163, 0.5));
    border: 1px solid rgba(237, 237, 240, 0.5);
    border-radius: 1rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgb(38, 70, 231);
    border-radius: 50%;
}

.skill-item {
    margin-bottom: 1rem;
}
.edu-row{
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(11, 9, 9);
   
}

.education {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.skill-info span:last-child {
    color:white;
}
.edu-row{
    display: flex;
    justify-content: center;
}
.skill-bar {
    height: 8px;
    background: var(--secondary);
    border-radius: 9999px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-radius: 9999px;
    transition: width 1s ease-out;
}


.projects {
    padding: 8rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, rgba(26, 26, 153, 0.8), rgba(26, 26, 36, 0.5));
    border: 1px solid rgba(39, 39, 42, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s;
    cursor: pointer;
   
}

.project-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
     box-shadow: 0 10px 70px rgb(104, 187, 236);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
    
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card), transparent);
}

.project-content {
    padding: 1.5rem;
    color: bisque;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
  
}

.project-content p {
    font-size: 0.875rem;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    padding: 0.25rem 0.75rem;
    background: rgb(5, 102, 144);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgb(0, 0, 0);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: greenyellow;
    transition: color 0.3s;
}

.project-links a:hover {
    color:white;
}

.contact {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--background), rgba(17, 17, 24, 0.5));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(114, 19, 204, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-value {
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block ;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgb(243, 228, 231);
    border: 1px solid rgb(255, 0, 187);
    border-radius: var(--radius);
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgb(6, 36, 134);
}

.form-group textarea {
    resize: none;
}

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
   
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(3, 6, 3);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    padding: 0.5rem;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-copyright {
    font-size: 0.875rem;
    color: black;
}

@media (max-width: 1024px) {
    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        text-align: center;
    }
}
