:root {
    /* Font families */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Font sizes */
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    
    /* Font weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    
    /* Colors */
    --color-primary: #00EEFF;
    --color-bg: #1F242D;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-hover: rgba(0, 238, 255, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Layout */
    --max-width: 1100px;
    --padding-x: 20px;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
}

h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-semibold);
}

h3 {
    font-size: var(--fs-h3);
    font-weight: var(--fw-medium);
}

h4 {
    font-size: var(--fs-h4);
    font-weight: var(--fw-medium);
}

p {
    font-size: var(--fs-body);
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Container styles */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
    width: 100%;
}

/* Section styles */
section {
    padding: var(--spacing-xl) 0;
}

/* Responsive typography */
@media (max-width: 768px) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 1.75rem;
        --fs-h3: 1.25rem;
        --fs-h4: 1.1rem;
        --fs-body: 0.9375rem;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-h1: 1.75rem;
        --fs-h2: 1.5rem;
        --fs-h3: 1.2rem;
        --fs-h4: 1rem;
        --fs-body: 0.875rem;
    }
}

.first_section {
  padding: 20px 0;
  background: rgba(31, 36, 45, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 238, 255, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-image {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00EEFF, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 238, 255, 0.2);
}

.logo-image::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: #1F242D;
  border-radius: 50%;
  z-index: 1;
}

.logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.logo-container:hover .logo {
  transform: scale(1.1);
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.logo-container:hover .logo-text {
  letter-spacing: 1.5px;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  font-size: 1rem;
  color: #ffffff;
  transition: color 0.3s ease;
  padding: 5px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar ul li a:hover {
  color: #00EEFF;
}

/* Add active state for current page */
.navbar ul li a.active {
  color: #00EEFF;
}

.second_section {
  margin-top: 100px;
  flex: 1;
  min-height: calc(100vh - 180px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 10%;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem;
}

.left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 300px;
}

.introduction {
  color: white;
  max-width: 500px;
}

.introduction h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.typing-text {
  color: #00EEFF;
  font-weight: bold;
  white-space: nowrap;
  border-right: 2px solid #00EEFF;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #00EEFF; }
}

.introduction h6 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.introduction p {
  line-height: 1.6;
}

.social_media {
  margin-top: 0;
}

.social_media ul {
  display: flex;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.social_media ul li a {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 2px solid #00EEFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social_media ul li a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #00EEFF;
}

.social_media img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.profile {
  position: relative;
  width: 300px;
  height: 300px;
  margin-left: 2rem;
}

.hex-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hex-container::before,
.hex-container::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #00EEFF;
  animation: rotate 4s linear infinite;
}

.hex-container::before {
  border-left: transparent;
  border-right: transparent;
}

.hex-container::after {
  border-top: transparent;
  border-bottom: transparent;
  animation-direction: reverse;
}

.hex-container img {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 2px solid #00EEFF;
  padding: 5px;
  background-color: var(--color-bg);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.buttons {
  display: flex;
  gap: 1.5rem;
}

.cv-btn, .hire-btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv-btn {
  background: var(--color-primary);
  color: var(--color-bg);
}

.hire-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-text);
}

.cv-btn:hover, .hire-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 238, 255, 0.3);
}

@media (max-width: 768px) {
  .second_section {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    gap: 2rem;
    margin-top: 80px;
  }

  .left-content {
    width: 100%;
    max-width: 100%;
    align-items: center;
    order: 2;
  }

  .profile {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    order: 1;
  }

  .hex-container {
    width: 100%;
    height: 100%;
  }

  .hex-container img {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
  }

  .introduction {
    max-width: 100%;
    text-align: center;
  }

  .buttons {
    justify-content: center;
  }

  .social_media ul {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .second_section {
    padding: 30px 15px;
    margin-top: 70px;
  }

  .profile {
    width: 200px;
    height: 200px;
  }

  .hex-container {
    width: 100%;
    height: 100%;
  }

  .hex-container img {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
  }

  .introduction h1 {
    font-size: 2rem;
  }

  .introduction h6 {
    font-size: 1.1rem;
  }

  .introduction p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0 20px;
  }

  .cv-btn, .hire-btn {
    width: 100%;
    justify-content: center;
  }

  .social_media ul li a {
    width: 40px;
    height: 40px;
  }

  .social_media img {
    width: 20px;
    height: 20px;
  }
}

.social_media img {
  width: 20px;
  height: 20px;
  
}

.profile {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  position: relative;
}

.hex-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-container::before,
.hex-container::after {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-left: 2px solid #00EEFF;
  border-right: 2px solid #00EEFF;
}

.hex-container::before {
  animation: rotate 8s linear infinite;
}

.hex-container::after {
  animation: rotate 8s linear infinite reverse;
  width: 290px;
  height: 290px;
}

.hex-container img {
  position: relative;
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
  border: 4px solid #1F242D;
  box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.third_section {
  padding: 20px 20px; 
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  width: 100%;
  background: linear-gradient(90deg, 
    rgba(31, 36, 45, 0.8),
    rgba(0, 238, 255, 0.1),
    rgba(31, 36, 45, 0.8)
  );
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(0, 238, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.third_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00EEFF, transparent);
  animation: shimmer 3s infinite;
}

.third_section footer {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.third_section footer p {
  color: white;
  font-size: 0.9rem;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 238, 255, 0.3);
  position: relative;
  display: inline-block;
}

.third_section footer p::after {
  content: '© ';
  margin-right: 5px;
}

@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.cv-btn, .hire-btn {
    padding: 12px 25px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: #00EEFF;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cv-btn svg {
    transition: all 0.3s ease;
    stroke: currentColor;
}

.cv-btn:hover, .hire-btn:hover {
  background: transparent;
  border-color: #00EEFF;
  color: #00EEFF;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 238, 255, 0.3);
}

.hire-btn {
    background: #00EEFF;
    border-color: #00EEFF;
    color: #000;
}

.hire-btn:hover {
    background: rgba(0, 238, 255, 0.2);
    border-color: #00EEFF;
    color: #00EEFF;
}

/* Education Page Styles */
.education-page {
    padding-top: 80px;
}

.main-title {
    text-align: center;
    margin: 2rem 0 3rem;
}

.main-title h1 {
    font-size: 2.8rem;
    color: var(--color-text);
    position: relative;
    display: inline-block;
}

.main-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    animation: shimmer 2s infinite;
}

.profile-section {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.education-container {
    margin: 3rem auto;
}

.title {
    text-align: center;
    margin: 3rem 0;
}

.title h1 {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    position: relative;
    display: inline-block;
}

.title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    animation: shimmer 2s infinite;
}

.highlight {
    color: var(--color-primary);
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 238, 255, 0.1);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00EEFF;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #fff;
}

.roles {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.roles span {
    background: rgba(0, 238, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #00EEFF;
    border: 1px solid rgba(0, 238, 255, 0.3);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-section {
    margin-bottom: 20px;
}

.section-header {
    background: rgba(0, 238, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 238, 255, 0.3);
}

.section-header:hover {
    background: rgba(0, 238, 255, 0.2);
}

.section-header h3 {
    font-size: 1.2em;
    color: #00EEFF;
}

.toggle-icon {
    color: #00EEFF;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.section-header.active .toggle-icon {
    transform: rotate(45deg);
}

.section-content {
    display: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 10px 10px;
    margin-top: 2px;
}

.section-content.active {
    display: block;
}

.qualification-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qualification-item:last-child {
    border-bottom: none;
}

.qualification-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.qualification-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .roles {
        justify-content: center;
    }

    .main-title h1 {
        font-size: 2.2rem;
    }
    
    .profile-section {
        margin: 1rem auto;
        padding: 0 1rem;
    }
}

/* Contact Page Styles */
.contact-section {
    margin-top: 100px;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: rgba(37, 42, 52, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.1);
}

.contact-info {
    flex: 1;
    padding: 40px;
    background: rgba(31, 36, 45, 0.95);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-logo {
    margin-bottom: 30px;
}

.brand-logo {
    width: 120px;
    height: auto;
}

.contact-description {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 0.95em;
}

.social-links {
    display: flex;
    gap: 20px;
}

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

.social-icon:hover {
    background: #00EEFF;
    color: #1F242D;
    transform: translateY(-3px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.social-icon:hover img {
    filter: brightness(0);
}

.contact-form {
    flex: 1.2;
    padding: 40px;
    background: rgba(37, 42, 52, 0.95);
}

.contact-form h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 2em;
}

.contact-form .highlight {
    color: #00EEFF;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00EEFF;
    background: rgba(0, 238, 255, 0.1);
}

.contact-form textarea {
    height: 120px;
    resize: none;
    margin-bottom: 20px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #00EEFF;
    color: #1F242D;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #00c4cc;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Form validation styles */
.form-group {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.error-message {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 0.85em;
    color: #ff4444;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 68, 68, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    width: 100%;
}

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

.contact-form input.error,
.contact-form textarea.error {
    border: 2px solid #ff4444 !important;
    background: rgba(255, 68, 68, 0.05);
    animation: shake 0.5s ease;
}

.contact-form input.valid,
.contact-form textarea.valid {
    border: 2px solid #00ff88 !important;
    background: rgba(0, 255, 136, 0.05);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.submit-success {
    background: #00ff88 !important;
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 30px;
    }

    .error-message {
        font-size: 0.8em;
    }
}

/* Enhanced Form Validation Styles */
.field-tooltip {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: rgba(0, 238, 255, 0.1);
    border: 1px solid rgba(0, 238, 255, 0.3);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85em;
    color: #fff;
    width: 100%;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.field-tooltip.show-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.field-tooltip strong {
    display: block;
    color: #00EEFF;
    margin-bottom: 5px;
}

.field-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.field-tooltip li {
    padding: 3px 0;
    padding-left: 15px;
    position: relative;
}

.field-tooltip li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00EEFF;
}

.success-message {
    color: #00ff88;
}

/* Mobile responsiveness for tooltips */
@media (max-width: 768px) {
    .field-tooltip {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        width: 100%;
        border-radius: 15px 15px 0 0;
        background: rgba(31, 36, 45, 0.95);
        border-color: rgba(0, 238, 255, 0.5);
        padding: 15px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    }
}

/* Success Popup Styles */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.success-popup.show {
    opacity: 1;
    visibility: visible;
}

.success-popup-content {
    background: rgba(31, 36, 45, 0.95);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    border: 2px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    max-width: 90%;
    width: 400px;
}

.success-popup.show .success-popup-content {
    transform: translateY(0);
}

.success-popup i {
    font-size: 50px;
    color: #00ff88;
    margin-bottom: 20px;
}

.success-popup h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.success-popup p {
    color: #a0a0a0;
    font-size: 16px;
}

/* Animation for the success icon */
@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-popup.show i {
    animation: checkmark 0.5s ease-in-out;
}

/* Skills Page Styles */
.skills-section {
    margin-top: 120px;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.skills-container {
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
    margin: 0 auto;
    background: var(--color-card-bg);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 100%;
}

.hard-skills, .soft-skills {
    background: var(--color-card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--color-border);
}

.hard-skills h2, .soft-skills h2 {
    color: var(--color-text);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-category {
    background: var(--color-card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.skill-category h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--color-primary);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skills-list .skill-item {
    background: var(--color-card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-list .skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 238, 255, 0.1);
    border-color: var(--color-primary);
}

.skills-list .skill-item h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-description {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hard-skills, .soft-skills {
        padding: 1.5rem;
    }

    .skill-category {
        padding: 1.25rem;
    }

    .skills-list .skill-item {
        padding: 1.25rem;
    }

    .skills-list .skill-item h3 {
        font-size: 1.1rem;
    }

    .skill-description {
        font-size: 0.9rem;
    }
}

/* Projects Page Styles */
.projects-section {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.project-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
    color: #00EEFF;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-title a {
    color: inherit;
    text-decoration: none;
}

.project-title a:hover {
    text-decoration: underline;
}

.project-title img {
    width: 20px;
    height: 20px;
}

.project-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-meta {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.project-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.project-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.error-message {
    text-align: center;
    padding: 20px;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    color: var(--text-color);
}

.error-message p {
    margin: 10px 0;
}

.error-details {
    font-size: 0.9em;
    color: rgba(220, 53, 69, 0.8);
}

/* Language Colors */
.language-dot.JavaScript { background-color: #f1e05a; }
.language-dot.Python { background-color: #3572A5; }
.language-dot.HTML { background-color: #e34c26; }
.language-dot.CSS { background-color: #563d7c; }
.language-dot.Ruby { background-color: #701516; }
.language-dot.Shell { background-color: #89e051; }

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #666;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error {
    text-align: center;
    padding: 20px;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 10px 0;
}

/* GitHub Token Form */
.token-form {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--card-border);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.token-form h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.token-form p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.token-input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.token-input-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.token-input-container input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 238, 255, 0.1);
}

.token-input-container button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: var(--accent-color);
    color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.token-input-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--hover-shadow);
}

.token-form small {
    display: block;
    color: var(--text-color);
    opacity: 0.7;
}

.token-form small a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Root Variables */
:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #00EEFF;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(0, 238, 255, 0.1);
    --card-shadow: rgba(0, 238, 255, 0.1);
    --hover-shadow: rgba(0, 238, 255, 0.2);
    
    /* Font Families */
    --heading-font: 'Poppins', sans-serif;
    --subheading-font: 'Raleway', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Font Weights */
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/* Skills Page Typography */
.section-title h1 {
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.section-title .highlight {
    font-family: var(--heading-font);
    color: var(--accent-color);
}

.hard-skills h2, .soft-skills h2 {
    font-family: var(--subheading-font);
    font-weight: var(--font-semibold);
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.skill-category h3 {
    font-family: var(--subheading-font);
    font-weight: var(--font-medium);
    font-size: 1.2rem;
    letter-spacing: 0.3px;
    color: var(--text-color);
}

.skill-info span {
    font-family: var(--body-font);
    font-weight: var(--font-medium);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.skill-info span:first-child {
    font-weight: var(--font-semibold);
}

/* Soft Skills Typography */
.skills-list .skill-item h3 {
    font-family: var(--subheading-font);
    font-weight: var(--font-semibold);
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.skill-description p {
    font-family: var(--body-font);
    font-weight: var(--font-regular);
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: var(--text-color);
    opacity: 0.9;
}

/* Animation for skill bars */
@keyframes progressAnimation {
    from { 
        width: 0;
        opacity: 0;
    }
    to { 
        opacity: 1;
    }
}

.progress {
    animation: progressAnimation 1.2s ease-out forwards;
}

/* Hover Effects */
.skill-category:hover h3 {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.skills-list .skill-item:hover h3 {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title h1 {
        font-size: 2rem;
    }

    .hard-skills h2, .soft-skills h2 {
        font-size: 1.5rem;
    }

    .skill-category h3 {
        font-size: 1.1rem;
    }

    .skill-info span {
        font-size: 0.9rem;
    }

    .skills-list .skill-item h3 {
        font-size: 1rem;
    }

    .skill-description p {
        font-size: 0.9rem;
    }
}

/* Common page layout */
.title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.title h1 {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    position: relative;
    display: inline-block;
}

.title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    animation: shimmer 2s infinite;
}

.highlight {
    color: var(--color-primary);
}

/* Experience page styles */
.experience-page {
    margin-top: 100px;
    padding: var(--spacing-xl) 0;
}

.experience-container {
    display: grid;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: var(--spacing-lg);
    border: 1px solid rgba(0, 238, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 238, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 238, 255, 0.2);
}

.experience-image {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-content {
    flex: 1;
}

.experience-title {
    color: var(--color-primary);
    font-size: var(--fs-h2);
    margin-bottom: var(--spacing-xs);
}

.experience-company {
    color: var(--color-text);
    font-size: var(--fs-h3);
    margin-bottom: var(--spacing-xs);
}

.experience-date {
    color: var(--color-text-muted);
    font-size: var(--fs-small);
    margin-bottom: var(--spacing-sm);
}

.experience-description {
    margin-bottom: var(--spacing-md);
}

.experience-description p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.experience-description ul {
    list-style-type: none;
    padding-left: var(--spacing-md);
}

.experience-description li {
    position: relative;
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.experience-description li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: -20px;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    background: rgba(0, 238, 255, 0.1);
    color: var(--color-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: var(--fs-small);
    transition: background-color 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 238, 255, 0.2);
}

@media (max-width: 768px) {
    .experience-card {
        flex-direction: column;
    }

    .experience-image {
        flex: 0 0 150px;
        height: 150px;
    }

    .experience-title {
        font-size: var(--fs-h3);
    }

    .experience-company {
        font-size: var(--fs-h4);
    }
}

/* Common page margins */
.skills-section,
.education-page,
.projects-section,
.contact-section {
    margin-top: 100px;
    padding: var(--spacing-xl) 0;
}
/* Common card styles */
.skills-card,
.education-card,
.project-card,
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: var(--spacing-lg);
    border: 1px solid rgba(0, 238, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 238, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover,
.education-card:hover,
.project-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 238, 255, 0.2);
}

/* Common grid layouts */
.skills-grid,
.education-grid,
.projects-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title h1 {
        font-size: var(--fs-h2);
    }

    .experience-card,
    .skills-card,
    .education-card,
    .project-card,
    .contact-card {
        padding: var(--spacing-md);
    }

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

@media (max-width: 480px) {
    .title h1 {
        font-size: var(--fs-h3);
    }

    .experience-card h3,
    .skills-card h3,
    .education-card h3,
    .project-card h3 {
        font-size: var(--fs-h4);
    }
}

.professional-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 15px;
    overflow: hidden;
}

.skill-box {
    background: var(--color-card-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 238, 255, 0.1);
    border-color: var(--color-primary);
}

.skill-box h3 {
    color: var(--color-text);
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-card-bg);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.progress {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.skill-item {
    margin-bottom: 1.2rem;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-info span {
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

/* Remove any multi-icon related styles */
.multi-icon-container,
.tech-icon,
.experience-icon {
    display: none;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: rgba(31, 36, 45, 0.95);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Page Transition */
.page-transition {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update existing navbar styles */
.navbar ul {
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

/* Tablet/iPad Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .second_section {
        padding: 120px 40px 40px;
        gap: 3rem;
    }

    .profile {
        transform: scale(0.85);
    }

    .introduction {
        max-width: 500px;
    }

    .buttons {
        gap: 1.5rem;
    }

    /* Adjust grid layouts for tablets */
    .skills-grid,
    .projects-grid,
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .logo-container {
        gap: 15px;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .navbar ul {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 250px;
        background: rgba(31, 36, 45, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        border-radius: 15px;
        transform: translateX(120%);
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .navbar ul.active {
        transform: translateX(0);
    }

    .navbar ul li {
        width: 100%;
        text-align: center;
    }

    .navbar ul li a {
        padding: 10px;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar ul li a:hover,
    .navbar ul li a.active {
        background: rgba(0, 238, 255, 0.1);
    }

    /* Adjust home page layout for mobile */
    .second_section {
        flex-direction: column;
        padding-top: 80px;
        gap: 2rem;
    }

    .profile {
        order: -1;
        margin: 0 auto;
        transform: scale(0.8);
    }

    .left-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .introduction {
        max-width: 600px;
        margin: 0 auto;
    }

    .social_media ul {
        justify-content: center;
        gap: 1.5rem;
    }

    .buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .logo-container {
        gap: 10px;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .navbar ul {
        width: 90%;
        right: 5%;
        left: 5%;
        transform: translateY(-120%);
    }

    .navbar ul.active {
        transform: translateY(0);
    }

    .profile {
        transform: scale(0.7);
    }

    .hex-container {
        width: 180px;
        height: 180px;
    }

    .introduction h1 {
        font-size: 1.8rem;
    }

    .introduction h6 {
        font-size: 1.2rem;
    }

    .introduction p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .buttons {
        padding: 0 20px;
    }

    .cv-btn, .hire-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Add smooth transitions */
.page-transition {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these classes to existing elements */
.second_section,
.skills-section,
.education-container,
.experience-container,
.projects-container,
.contact-container {
    animation: fadeIn 0.5s ease forwards;
}

.typing-text {
  color: #00EEFF;
  font-weight: bold;
  white-space: nowrap;
  border-right: 2px solid #00EEFF;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #00EEFF; }
}


