:root {
    --blue: rgba(63, 147, 241, 0.8);
    --dark1: rgba(30, 30, 30, 0.95);
    --dark2: rgba(37, 37, 39, 0.9);
    --light1: #dfdfdf;
    --neon: rgba(0, 255, 255, 0.8);
    --transition: 0.3s ease;
    --primary: rgba(46, 204, 113, 0.8);
    --secondary: rgba(52, 152, 219, 0.8);
    --text: rgba(44, 62, 80, 0.9);
    --bg: rgba(236, 240, 241, 0.9);
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: url(./Polygon\ Luminary.svg);
  background-position: cover;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    border-bottom: 1px solid var(--blue);
}

header .logo {
    font-size: 1.5rem;
    color: var(--neon);
    font-weight: bold;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--light1);
    transition: var(--transition);
}

nav a:hover {
    color: var(--neon);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--neon);
}

section {
    padding: 100px 20px 80px;
    text-align: center;
}


.btn {
    padding: 10px 25px;
    margin: 10px;
    background: var(--blue);
    color: white;
    border: none;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--neon);
    color: var(--dark1);
}

/* Home Section */
.hero {
    min-height: 100vh;
    display: flex;
    
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    /* padding: 20px; */

}

.profile-image {
    /* margin-top: 7%; */
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #00ccff;
    box-shadow: 0 0 10px 5px rgba(63, 147, 241, 0.5);
    /* margin-bottom: 30px; */
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.oval-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 10px 5px rgba(63, 147, 241, 0.5);
    transition: box-shadow 0.3s ease;
}

#name-typewriter {
    padding-bottom: 60px;
}

.typewriter-text-h3 {
    color: #89f13f;
    font-size: 1.5rem;
    /* margin-bottom: 50px; */
}

/* Typewriter Text Style */
.typewriter-text {
    color: #e5f13f;
    font-size: 1.5rem;
    /* margin-top: 10px; */
    height: 10px;
    white-space: nowrap;
    overflow: hidden;
    /* border-right: 3px solid #dff13f; */
}




@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Skills Section */

.skills-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 1rem;
    background-color: var(--color_Dark1);
  }
  .skills-section h2{
    display: block;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #3f93f1;
  }
  
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .skill-item {
    display: flex;
    justify-content: center;
    align-items:center;
  }
  

.circular-progress {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0%,
            var(--primary) var(--progress),
            #ddd var(--progress),
            #ddd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: progress 1.5s ease-out forwards;
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
}

.progress-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
}

.skill-name {
    margin-top: 1rem;
    color: var(--text);
    font-size: 1.1rem;
}

@keyframes progress {
    from {
        background: conic-gradient(var(--primary) 0%, #ddd 0%);
    }
}

@media (max-width: 768px) {
    .circular-progress {
        width: 120px;
        height: 120px;
    }

    .circular-progress::before {
        width: 100px;
        height: 100px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin: 20px 0;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    text-align: center;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #00ccff;
    color: #fff;
}

.btn-secondary {
    border: 2px solid #00ccff;
    color: #00ccff;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* services-section */

.services-section {
    /* background-color: #252527; */
    padding: 4rem 2rem;
    color: #dfdfdf;
    text-align: center;
  }
  
  .services-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #3f93f1;
  }
  
  .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .card {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 15px rgba(63, 147, 241, 0.2);
    position: relative;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #3f93f1;
  }
  
  .card h3 {
    font-size: 1.5rem;
    color: #3f93f1;
    margin-bottom: 1rem;
  }
  
  .card p {
    font-size: 1rem;
    color: #c4c4c4;
  }
  
  .card details {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #c4c4c4;
  }
  
  .card summary {
    cursor: pointer;
    outline: none;
  }
  
  .btn.neon-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: 2px solid #3f93f1;
    color: #3f93f1;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: transparent;
    font-weight: bold;
  }
  
  .btn.neon-btn:hover {
    background-color: #3f93f1;
    color: #1e1e1e;
    box-shadow: 0 0 12px #3f93f1, 0 0 20px #3f93f1;
  }
  
  .zoom-in {
    animation: zoomIn 0.6s ease forwards;
  }
  
  @keyframes zoomIn {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }




  
  /* Slider */

  .Slider {
    padding: 4rem 2rem;
    /* background-color: var(--color_Dark1); */
    text-align: center;
  }
  

  
  .swiper {
    width: 100%;
    /* height: 50%; */
    max-width: 600px;
    padding-bottom: 3rem;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  
  .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.4s ease-in-out;
  }
  
  .swiper-slide:hover img {
    transform: scale(1.05);
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: var(--color_Blue);
  }
  
  .swiper-pagination-bullet {
    background: var(--color_Light2);
    opacity: 0.6;
  }
  
  .swiper-pagination-bullet-active {
    background: var(--color_Blue);
    opacity: 1;
  }
  


/* Watsappform */


.form-container {
    max-width: 550px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(10, 18, 71, 0.2);
    /* semi-transparent */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid #00ffe7;
    box-shadow: 0 0 25px #00ffe7;
}

.form-container h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #00ffe7;
    text-shadow: 0 0 5px #00ffe7;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    background: transparent;
    border: 1px solid #00ffe7;
    border-radius: 10px;
    font-size: 16px;
    color: #5f10f1;
    outline: none;
    box-shadow: 0 0 10px #00ffe755;
}

.form-container input::placeholder,
.form-container textarea::placeholder {
    color: #00ffe788;
}

.form-container button {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid #00ffe7;
    border-radius: 10px;
    color: #00ffe7;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00ffe7;
    box-shadow: 0 0 15px #00ffe7;
}

.form-container button:hover {
    background: #00ffe720;
    box-shadow: 0 0 25px #00ffe7;
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .form-container {
        padding: 25px;
        margin: 20px;
    }
}





/* Why choose me */
.why-choose-me {
    /* background: rgba(10, 10, 26, 0.9); */
    /* border: 1px solid var(--neon); */
    /* box-shadow: 0 0 30px rgba(0, 243, 255, 0.3); */
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.neon-heading {
    font-size: 3.5rem;
    text-align: center;
    color: #00f3ff;
    text-shadow: 0 0 10px #00f3ff80;
    position: relative;
    margin-bottom: 4rem;
}

/* .neon-heading .flicker {
    animation: flicker 1.5s infinite alternate;
} */

.cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cyber-card {
    background: rgba(10, 10, 30, 0.8);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.3s ease;
    overflow: hidden;
}

.cyber-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.neon-border {
    position: absolute;
    inset: 0;
    border: 2px solid #00f3ff;
    border-radius: 8px;
    opacity: 0.5;
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%,
            rgba(0, 243, 255, 0.2) 0%,
            transparent 60%);
    pointer-events: none;
}

.cyber-title {
    color: #00f3ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cyber-text {
    color: #a0f0ff;
    line-height: 1.6;
    font-size: 1rem;
}



@media (max-width: 768px) {
    .neon-heading {
        font-size: 2.5rem;
    }

    .cyber-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Media Section */
.social-media-section {
    padding: 30px 20px;
    text-align: center;

}

.social-media-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    justify-content: center;
    
    gap: 20px;
}

.social-icon i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fffbfb;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    /* Make icons white */
    transition: filter 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    /* background-color: #007bff; */
    /* Change background color on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.social-icon:hover img {
    filter: brightness(1) invert(0);
    /* Restore original icon color on hover */
}

/* floating-arrow  */
#floating-arrow {
    position: fixed;
    bottom: 20px;
    right: 50px;
    background-color: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#floating-arrow:hover {
    background-color: #0056b3;
}

#floating-arrow span {
    font-size: 24px;
}

/* Footer */
footer {
    padding: 20px;
    color: #00f3ff;
    /* background: rgba(37, 37, 39, 0.9); */
    /* border-top: 1px solid var(--neon); */
    /* box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); */
    text-align: center;
    /* color: var(--light1); */
}

/* Sidebar for small screens */
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: var(--dark2);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 15px;
        border-left: 1px solid var(--blue);
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }



}


/* Small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
    }

   

    .form-container input,
    .form-container textarea {
        font-size: 14px;
    }

    .cyber-card {
        padding: 1.5rem;
    }

    .social-icons {
        /* flex-direction: column; */
        align-items: center;
    }
}

/* Large phones landscape orientation */
@media (max-width: 850px) and (orientation: landscape) {
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
}

/* Tablet landscape optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}