

body {
    height: 100%;
    background-color: #000000;
    background-image: url('../assets/images/bg-pattern.png');
    background-size: contain;
    background-position: top 50px right;
    background-repeat: no-repeat;
    min-height: 100vh;
    
}





/* Header nav bar Styles */
header {
    width: 100vw;
    max-width: 1200px;
    margin: 20px auto;
    position: sticky;
    top: 0px;
    transition: top 0.3s ease;
    z-index: 1;

}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: rgba(31, 31, 31, 0.329);
    z-index: -1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;



}

.logo-img {
    width: 150px;
    height: auto;
    transition: width 0.3s ease;
    /* cursor: pointer; */
}

.indian {
    display: flex;
    gap: 7px;
    align-items: center;

}

nav div img {
    width: 30px;
}

nav div span {
    font-size: 1rem;
    letter-spacing: 1px;
}


.bold {
    font-weight: 700;
}

nav {
    display: flex;
    gap: 20px;
}



/* Section Styles */
section {
    padding: 30px 0;

}


.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.subtitle {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    letter-spacing: 2px;
    margin-top: 5px;
}





/* Home Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    min-height: 85vh;
    max-width: 1200px;
}

.profile-texts {
    text-align: center;
    /* position: relative; */
    top: 160px;
}

.intro-text {
    font-size: 3rem;
    margin: 0;
    color: #ffffff;
    font-weight: 600;
    /* font-style: italic; */

}

.name-text {
    font-size: 5rem;
    font-family: "Zain", sans-serif;
    font-family: "JetBrains Mono", monospace;
    font-weight: 900;
    letter-spacing: 0.2rem;
    color: var(--theme-color);
    /* text-shadow: 0 0 30px rgba(21, 255, 0, 0.6), 0 0 60px rgba(0, 255, 21, 0.4), 0 0 90px rgba(43, 255, 0, 0.2); */
    margin-bottom: 1rem;
}

/* Typing animation styles */
.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.hero-subtitle {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 500;
    /* font-style: italic; */
    min-height: 60px;
    margin-bottom: 20px;
    margin-top: -10px;
}




.contact-btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--theme-color);
    color: #000000;
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid var(--theme-color);
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}



.download-cv-btn  {
    display: inline-block;
    background-color: transparent;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
}

.download-cv-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--theme-color);
    color: #000000;
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}





/* ---------Woek--exprience---------- */

.stats-container {
    display: flex;
    max-width: fit-content;
    margin: 32px 0;
    gap: 24px;
    padding: 18px 24px;
    background: rgba(126, 126, 126, 0.05);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.stat-item {
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-color);
}

.stat-plus {
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-color);
}

.stat-label {
    margin-top: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.scroll-indicator span {
    color: var(--theme-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
   
    border-radius: 30px;
    padding: 3px 5px;

}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 20px);
    }
}



/* About Section */
.about {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 100px;


}

.about-content {
    display: flex;
    flex-direction: row-reverse;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0px 25px; */
    line-height: 1.8;
    height: 300px;
}

.about-content p {
    margin-bottom: 20px;
    color: #aaa;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
}

.tech-stack i {
    font-size: 40px;
}

.social-icons a i {
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.2);
    color: #888;
}




.tab-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
    flex: 1 1 33.3%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: #aaa;
    /* cursor: pointer; */
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.tab.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
}

.tab-content {
    padding: 20px;
    min-height: 150px;
    position: relative;
}

.tab-panel {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.tab-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}





/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;

    }

    .tab {
        flex: 1 1 100%;
        /* stack tabs vertically on small screens */
        font-size: 0.95rem;
    }

    .tab-content {
        padding: 16px;
        max-height: 100%;
    }

    .tab-container {
        margin: 0px 20px;
    }


}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .tab {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .tab-container {
        border-radius: 8px;

    }
}



.about-picture {
    width: 250px;
    display: flex;
    flex-direction: column;

}



.about-picture div {
    margin: 0 auto;
}





/* -----------skills-section-------------- */
/* Skills Section Styles */
.skills-sec {
    max-width: 1200px;
    padding: 40px 0;
    background: rgba(30, 30, 30, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 20px auto;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    /* Reduced by 25% from 160px */
}

.skill-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.skill-circle svg {
    transform: rotate(-90deg);
}

.skill-circle-bg {
    fill: none;
    stroke: #333;
    stroke-width: 12;
}

.skill-circle-progress {
    fill: none;
    stroke: #ffffff;
    /* White loader */
    stroke-width: 12;
    /* Thicker stroke */
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
}

.skill-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    /* Reduced from 24px */
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.skill-name {
    margin-top: 10px;
    font-size: 14px;
    /* Reduced from 18px */
    font-weight: 500;
    text-align: center;
    color: #ffffff;
}





/* Projects Section */

.projects {
    min-height: 100vh;
    padding-top: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.featured-project {
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    /* border-left: 3px solid var(--theme-color); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.featured-project:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.featured-project:hover .project-image img {
    transform: scale(1.05);
}

.project-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.project-description {
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-item {
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--theme-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.view-all-btn {
    display: inline-block;
    text-decoration: none;
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--theme-color);
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid var(--theme-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--theme-color);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}





/* Experience Section */
.experience-item {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    margin-bottom: 30px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.experience-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.experience-date {
    font-size: 14px;
    color: #888;
}

.experience-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #aaa;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    background-color: rgba(50, 50, 50, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #ccc;
}



/* Contact Form Styles */
.contact {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}

.contact-subtitle {
    font-size: 18px;
    color: #aaa;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.contact-form-container {
    width: 100%;
    max-width: 800px;
    background-color: #111;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #aaa;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #222;
    border: none;
    border-radius: 5px;
    color: var(--theme-color);
    font-size: 16px;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23555" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.message-container {
    position: relative;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.voice-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    /* cursor: pointer; */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.voice-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.voice-btn.recording {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--theme-color);
    border: none;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 600;
    /* cursor: pointer; */
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--theme-color);
}

/* ── Success Popup ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}
.popup-overlay.active {
  display: flex;
}
.popup-box {
  background: #0a0f0a;
  border: 1px solid #00ff88;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 340px;
  width: 90%;
  position: relative;
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
}
.popup-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.popup-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00ff88;
  border-radius: 50%;
  opacity: 0;
  animation: popupTwinkle 2s infinite;
}
@keyframes popupTwinkle {
  0%, 100% { opacity: 0; }
  50%       { opacity: 0.6; }
}
.popup-orbits {
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 220px;
  margin-left: -110px;
  margin-top: -110px;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,0.2);
  top: 50%; left: 50%;
  animation: popupOrbit linear infinite;
}
.orbit-lg {
  width: 200px; height: 200px;
  margin-left: -100px; margin-top: -100px;
  animation-duration: 7s;
}
.orbit-sm {
  width: 140px; height: 140px;
  margin-left: -70px; margin-top: -70px;
  animation-duration: 4s;
  animation-direction: reverse;
}
@keyframes popupOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.planet {
  position: absolute;
  border-radius: 50%;
  top: -3px; left: 50%;
  margin-left: -3px;
  width: 6px; height: 6px;
}
.planet-green { background: #00ff88; }
.planet-dark  { background: #00cc6a; width: 4px; height: 4px; top: -2px; margin-left: -2px; }

.popup-content { position: relative; z-index: 2; }

.tick-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  position: relative;
}
.tick-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid #00ff88;
  position: absolute;
  top: 0; left: 0;
  transform: scale(0);
}
.tick-circle.animate {
  animation: tickCircleGrow 0.5s ease forwards;
}
@keyframes tickCircleGrow {
  to { transform: scale(1); }
}
.tick-svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.tick-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}
.tick-path.animate {
  animation: drawTick 0.5s ease 0.5s forwards;
}
@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}
.popup-title {
  font-size: 16px;
  font-weight: 500;
  color: #00ff88;
  margin: 0 0 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.popup-sub {
  font-size: 12px;
  color: #a0b0a0;
  margin: 0 0 0.4rem;
}
.popup-msg {
  font-size: 10px;
  color: rgba(0,255,136,0.5);
  margin: 0 0 1.5rem;
  letter-spacing: 1px;
}
.popup-btn {
  background: transparent;
  color: #00ff88;
  border: 1px solid #00ff88;
  padding: 0.6rem 2rem;
  border-radius: 8px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 1.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}
.popup-btn:hover {
  background: rgba(0,255,136,0.1);
}

/* ── Popup Mobile Responsive ── */
@media (max-width: 480px) {
  .popup-box {
    padding: 2rem 1.25rem;
  }
  .popup-orbits {
    width: 160px;
    height: 160px;
    margin-left: -80px;
    margin-top: -80px;
  }
  .orbit-lg {
    width: 150px;
    height: 150px;
    margin-left: -75px;
    margin-top: -75px;
  }
  .orbit-sm {
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
  }
  .tick-wrap {
    width: 60px;
    height: 60px;
  }
  .tick-circle {
    width: 60px;
    height: 60px;
  }
  .popup-title {
    font-size: 13px;
    letter-spacing: 1.5px;
  }
  .popup-sub {
    font-size: 11px;
  }
  .popup-msg {
    font-size: 9px;
  }
  .popup-btn {
    font-size: 10px;
    padding: 0.5rem 1.5rem;
  }
}




/* Blog Section */
.blog-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-preview {
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    /* border-left: 3px solid #00ff88; */
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.blog-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
}

.blog-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  
    transition: transform 0.5s ease;
}

.blog-preview:hover .blog-preview-image img {
    transform: scale(1.05);
}

.blog-preview-content{
    margin: 10px 15px;
}



.blog-preview-date {
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--theme-color);
    font-size: 14px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-preview-title {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-preview-excerpt {
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    color: #00ff88;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.read-more-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00ff88;
    transition: width 0.3s ease;
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #fff;
}

.read-more-link:hover:after {
    width: 100%;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* z-index: 0; */
}

.view-all-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #00ff88;
    transition: all 0.3s ease;
    z-index: -1;
}

.view-all-btn:hover {
    color: #000;
}

.view-all-btn:hover:before {
    width: 100%;
}

/* Media Queries for Blog Section */
@media (max-width: 768px) {
    .blog-preview-container {
        grid-template-columns: 1fr;
    }
    
    
    
    .blog-preview-title {
        font-size: 18px;
    }
}

/* Footer Section--------------------------- */
footer {
    padding: 60px 0;
    text-align: center;
    padding-bottom: 100px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(50, 50, 50, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #444;
}

.social-icon i {
    font-size: 18px;
}

.copyright {
    font-size: 14px;
    color: #666;
    max-width: 600px;
    margin: 15px auto;
    line-height: 1.6;
    padding: 15px;
}

.visitor-count{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
}
.visitor-count span{
    font-size: 18px;
    margin-bottom: 5px;
    color: #666;
}

/* Responsive Styles */

@media (max-width: 1210px) {
    .skills-sec {
        margin: 15px auto;
        width: 96vw;
    }

    .projects {
        margin: 0 25px;
    }

    header {
        margin: 15px auto;
        width: 96vw;

    }
    .about{
        margin: 15px auto;
        width: 96vw;
    }
    .blog-section{
        margin: 15px auto;
        width: 96vw;
    }
   

}


@media (max-width: 768px) {


    .name-text {
        font-size: 4rem;
        letter-spacing: 0rem;
    }
    .intro-text {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .featured-projects {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .project-title {
        font-size: 20px;
    }
    .project-description {
        font-size: 14px;
    }

  
    .tech-stack i {
        font-size: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }

}

@media (max-width: 480px) {
    body {
        background-size: 130%;
        background-attachment: fixed;
        background-position: top right;
    }

    header {
        margin: 5px auto;
        width: 96vw;

    }

    .name-text {
        font-size: 3rem;

    }

    .intro-text {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .download-cb-btn {
        display: none;
    }

    .tech-stack i {
        font-size: 24px;
    }
    
    .featured-projects {
        padding: 0 10px;
        gap: 20px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-details {
        padding: 15px;
    }
    
    .project-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .project-description {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .tech-item {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .view-all-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .tech-stack {

        justify-content: center;

    }
    .contact-subtitle {
        font-size: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
    }

}

@media (max-width: 380px) {
    .name-text {
        font-size: 3rem;

    }

    .intro-text {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .profile-links {
        display: block;
        margin: 10px 0
    }

    .stat-label {
        font-size: 8px;
    }

}

@media (pointer: coarse) {
    #custom-cursor {
      display: none !important;
    }
  }


