@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* Typing Animation */
.typed-text {
  color: #129eaa;
  font-weight: 600;
}

.typed-cursor {
  animation: blink 1s infinite;
  color: #129eaa;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Certificate Modal */
.certificate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.certificate-modal.active {
  opacity: 1;
  visibility: visible;
}

.certificate-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.certificate-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.certificate-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-modal .modal-close:hover {
  background: #129eaa;
  transform: rotate(90deg);
}

.certificate-modal .modal-certificate {
  max-height: 80vh;
  overflow-y: auto;
}

.certificate-modal .modal-certificate img {
  max-width: 100%;
  height: auto;
  display: block;
}

.certificate-modal .modal-cert-info {
  padding: 20px;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}

.certificate-modal .modal-cert-info h3 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1.2rem;
}

.certificate-modal .modal-cert-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Toast Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #129eaa;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #129eaa;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.custom-cursor.hovering {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: #ff7a00;
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
    body {
        cursor: none;
    }
    
    a, button, .navlist li, .project-card-modern, .certificate-card-modern, .tool-card, .service-card, .nav-link, .nav-item {
        cursor: none !important;
    }
}

/* Modern Navbar */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: 'Allura', cursive;
    font-size: 28px;
    font-weight: 400;
    background: linear-gradient(90deg, #1e88e5, #8e24aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1e88e5;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e88e5, #8e24aa);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #1e88e5;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navbar */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 20px;
    }
}

:root {
    --bg-color: #f7f7f7;
    --text-color: #1a1a1a;
    --teal-color: #129eaa;
    --white: #ffffff;
    --light-gray: #e6e6e6;
    --border-radius: 20px;
    --font-main: 'Inter', sans-serif;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    padding: 0;
    /* Removed padding for full-width navbar */
}

/* About Section */
.about-section {
  padding: 80px 20px;
  margin-bottom: 40px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.about-text {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-text strong {
  color: #129eaa;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0f9fa 0%, #e8f5f6 100%);
  padding: 15px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(18, 158, 170, 0.2);
}

.highlight-item i {
  color: #129eaa;
  font-size: 1.2rem;
}

.highlight-item span {
  font-weight: 600;
  color: #333;
}

/* Contact Form Enhanced */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #eee;
  border-radius: 15px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #129eaa;
  background: #fff;
  box-shadow: 0 5px 20px rgba(18, 158, 170, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  margin-top: 20px;
}

.contact-form button:hover {
  background: #129eaa;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(18, 158, 170, 0.3);
}

/* Form Validation States */
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #ff6b6b;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 25px;
  }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Body padding for fixed navbar */
body {
    padding-top: 70px;
}

/* Enhanced Hover Effects */
.service-card:hover,
.tool-card:hover,
.certificate-card-modern:hover,
.project-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card,
.tool-card,
.certificate-card-modern,
.project-card-modern {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Certificate Card Hover */
.certificate-card-modern {
  cursor: pointer;
}

.certificate-card-modern:hover .cert-image-container img {
  transform: scale(1.05);
}

.certificate-card-modern .cert-image-container {
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.certificate-card-modern .cert-image-container img {
  transition: transform 0.4s ease;
}

/* Project Card Enhanced Hover */
.project-card-modern:hover .card-arrow {
  transform: translateX(10px);
}

.project-card-modern .card-arrow {
  transition: transform 0.3s ease;
}

/* Buttons */
.btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-dark {
    background-color: #1a1a1a;
    color: #fff;
}

.btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
   
    margin-bottom: 80px;
}

.badge {
    background-color: #d8f3f5;
    color: #0d8a95;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.btn-download-resume {
    background-color: #111;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-download-resume:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: transparent;
    color: #111;
    border-color: #111;
}

.btn-download-resume i {
    transition: transform 0.3s ease;
}

.btn-download-resume:hover i {
    transform: translateY(3px);
}

.profile-card {
    background: #fff;
    border-radius: 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    height: auto;
    position: relative;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 280px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    position: relative;
}

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

/* Spinning Avatar Animation */
.avatar-container {
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.avatar-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-container:hover .avatar-wrapper {
    transform: rotateY(180deg);
}

.avatar-front,
.avatar-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.avatar-front {
    background: #fff;
}

.avatar-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-back {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: inset 0 0 30px rgba(18, 158, 170, 0.3);
    border: 2px solid rgba(18, 158, 170, 0.5);
}

.avatar-back::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(18, 158, 170, 0.2) 0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.avatar-back .back-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(18, 158, 170, 0.8), 0 0 20px rgba(18, 158, 170, 0.5);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Avatar Stats */
.avatar-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    margin-top: -5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    gap: 20px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #ddd, transparent);
}

.stat-mini {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 60px;
}

.stat-number-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #129eaa;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.stat-label-small {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Centered Hero Section */
.hero-center-aligned {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  
    max-width: 600px;
    margin: 0 auto;
}

.hero-center-aligned .badge {
    margin-bottom: 40px;
}

.hero-center-aligned .profile-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 30px;
}

.hero-center-aligned .btn-download-resume {
    margin: 20px 0;
}

/* Hero Social Links */
.hero-social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link.github {
    color: #333;
}

.social-link.github:hover {
    background: #333;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.social-link.instagram {
    color: #e4405f;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.3);
}

.social-link.reddit {
    color: #ff4500;
}

.social-link.reddit:hover {
    background: #ff4500;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.3);
}

/* Currently Learning Section */
.learning-section {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.learning-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.learning-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.learning-tag {
    background: linear-gradient(135deg, #1e88e5 0%, #8e24aa 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learning-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
}

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

.skills-box {
    flex: 1;
    /* Take full width of grid area since icons are gone */
    background: #fff;
    /* Clean white background */
    border-radius: 30px;
    padding: 25px;
    color: var(--text-color);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skills-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    font-weight: 500;
    font-size: 1rem;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 8px;
}

.brand-names {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.9;
    font-weight: 600;
}

.social-icons {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.icon {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    /* Fixed size */
    height: 50px;
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.icon:hover {
    transform: scale(1.1);
}

/* Mission Section */
.mission {
    background-color: var(--teal-color);
    color: #fff;
    border-radius: 30px;
    padding: 80px 60px;
    margin-bottom: 80px;
}

.mission h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 40px;
    max-width: 900px;
}

.client-logos {
    display: flex;
    gap: 40px;
    font-size: 1.2rem;
    opacity: 0.7;
    font-weight: 600;
    align-items: center;
}

/* Services Section */
.services {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.section-header {
    flex: 0 0 250px;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 600;
}

.service-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: all 0.3s ease;
    /* Smooth transition for hover */
}

.service-card:hover {
    background-color: #ff7a00;
    color: #fff;
    transform: translateY(-5px);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .number {
    color: rgba(255, 255, 255, 0.5);
}

.service-card:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2);
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-footer h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-footer .number {
    color: #ddd;
    font-weight: 700;
    font-size: 1.2rem;
}


/* Experience Section */
.experience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Changed to 2 columns */
    gap: 40px;
    margin-bottom: 80px;
}

.exp-intro {
    grid-column: 1 / -1;
    /* Intro spans full width */
    text-align: center;
    align-items: center;
}

.exp-intro h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.exp-card {
    /* Existing card-white styles are applied via class, adjusting specific layout */
    padding: 0;
    /* Remove default padding to let image sit flush */
    overflow: hidden;
    /* For image */
    display: flex;
    flex-direction: column;
    height: auto;
    /* Let content dictate height, but keep it "less" visually by design */
}

.exp-image {
    width: 100%;
    height: 200px;
    /* Less height as requested */
    overflow: hidden;
}

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

.exp-card:hover .exp-image img {
    transform: scale(1.05);
    /* subtle zoom */
}

.exp-content {
    padding: 25px;
}

.exp-logo {
    font-weight: 600;
    color: #333;
    /* Darker for better visibility */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.exp-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.year {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    display: block;
    margin-top: 10px;
}

/* Selected Work */
.work {
    margin-bottom: 80px;
}

.section-header-work {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header-work h2 {
    font-size: 3rem;
    line-height: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.work-card {
    display: flex;
    flex-direction: column;
}

.work-image {
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    margin-bottom: 20px;
}

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

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.tags {
    display: flex;
    gap: 10px;
}

.tag {
    background: #eefbff;
    color: #0d8a95;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #dbccfc 100%);
    border-radius: 30px;
    padding: 100px 20px;
    text-align: center;
}

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

.contact-container h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.contact-container p {
    color: #555;
    margin-bottom: 40px;
    font-size: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 0;
    /* No visual container padding, inputs just sit there? Image shows fields floating on bg mostly */
    background: transparent;
}

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

input,
textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    outline: none;
    transition: background 0.3s;
}

input:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.9);
}

textarea {
    margin-bottom: 30px;
    resize: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .hero {
        flex-direction: column;
    }

    .hero-content {
        width: 100%;
        text-align: center;
    }

    .hero-visuals {
        width: 100%;
    }

    .services {
        flex-direction: column;
    }

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

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

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

/* Projects Section - Modern */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-card-modern {
    height: 450px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background-color: var(--white);
    margin-bottom: 80px;
}

/* Statistics Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #129eaa;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.section-header-tools {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-tools h2 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
}

.tool-card {
    background: #fff;
    width: 140px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #ff7a00;
}

.tool-icon {
    font-size: 2.5rem;
    color: var(--teal-color);
}

.tool-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }

    .tool-card {
        width: 120px;
        height: 120px;
    }
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.card-content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag-modern {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.project-title-modern {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.card-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff7a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    z-index: 2;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.project-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(255, 122, 0, 0.25);
}

.project-card-modern:hover .card-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 40%, rgba(255, 122, 0, 0.4) 100%);
}

.project-card-modern:hover .card-content {
    transform: translateY(-5px);
}

.project-card-modern:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Coming Soon State */
.project-card-modern.coming-soon {
    filter: grayscale(0.8);
    opacity: 0.8;
    cursor: default !important;
}

/* Certifications Section */
.certificate-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.certificate-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.15);
    background-color: #fff;
    border-color: #ff7a00;
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: #f7f7f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ff7a00;
    transition: all 0.3s ease;
}

.certificate-card:hover .cert-icon {
    background: #ff7a00;
    color: #fff;
}

.cert-info h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 4px;
    font-weight: 700;
}

.cert-info p {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

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

/* Modern Certification Cards */
.certificate-section-modern {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.section-subtitle-modern {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.certificate-grid-modern {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: #ff7a00 #f0f0f0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.certificate-grid-modern::-webkit-scrollbar {
    height: 8px;
}

.certificate-grid-modern::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.certificate-grid-modern::-webkit-scrollbar-thumb {
    background: #ff7a00;
    border-radius: 10px;
}

.certificate-card-modern {
    flex: 0 0 350px;
    /* Fixed width for horizontal scroll */
    background: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    scroll-snap-align: start;
    padding: 20px;
    gap: 15px;
}

.certificate-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 122, 0, 0.15);
    border-color: #ff7a00;
}

.card-top-bar-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.cert-header-left {
    display: flex;
    flex-direction: column;
}

.cert-title-new {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.cert-hashtag {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.cert-platform-new {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.cert-icon-container {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.certificate-card-modern:hover .cert-icon-container {
    background: #fff0e6;
}

.cert-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.cert-image-container img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.certificate-card-modern:hover .cert-image-container img {
    transform: scale(1.03);
}

.project-card-modern.coming-soon:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Floating Socials - Initial Hidden State */
.floating-socials {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) translateX(100px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.floating-socials.visible {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-see-more {
    background: #111;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-see-more:hover {
    background: transparent;
    color: #111;
    border-color: #111;
    transform: translateY(-5px);
}

.social-btn {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-btn.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-btn.whatsapp:hover {
    background: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Navbar Button Icon Fix */
.callbutton .icon i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .floating-socials {
        right: 15px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}


.mission.visible .tech-item:nth-child(4) {
    transition-delay: 0.25s;
}

.mission.visible .tech-item:nth-child(5) {
    transition-delay: 0.3s;
}

.mission.visible .tech-item:nth-child(6) {
    transition-delay: 0.35s;
}

.mission.visible .tech-item:nth-child(7) {
    transition-delay: 0.4s;
}

.mission.visible .tech-item:nth-child(8) {
    transition-delay: 0.45s;
}

.mission.visible .tech-item:nth-child(9) {
    transition-delay: 0.5s;
}

.mission.visible .tech-item:nth-child(10) {
    transition-delay: 0.55s;
}

.mission.visible .tech-item:nth-child(11) {
    transition-delay: 0.6s;
}

/* Education & Experience Section */
.edu-exp {
    margin-bottom: 80px;
}

.edu-exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.column-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--teal-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.year-badge {
    background: #eefbff;
    color: #0d8a95;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.info-card .role,
.info-card .company {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.info-card .details {
    font-size: 0.9rem;
    color: #777;
}

.job-details {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.job-details li {
    margin-bottom: 5px;
}

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

/* New Education & Experience Grid Styles */
.edu-exp-new {
    margin-bottom: 80px;
}

.row-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--teal-color);
    border-left: 4px solid var(--teal-color);
    padding-left: 15px;
}

.edu-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.edu-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.edu-card:hover {
    background-color: #ff7a00;
    color: #fff;
    transform: translateY(-5px);
}

.edu-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.edu-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
}

.details {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e88e5;
}

.card-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

.card-list li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #1e88e5;
}

/* Hover Text Adjustments */
.edu-card:hover .subtitle,
.edu-card:hover .details,
.edu-card:hover .card-list,
.edu-card:hover .card-list li::before {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
    .edu-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .edu-grid-row {
        grid-template-columns: 1fr;
    }
}

/* Timeline Layout Styles */
.timeline-section {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.timeline-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    border: 3px solid #f0f0f0;
}

.timeline-line {
    flex-grow: 1;
    width: 3px;
    background: #e0e0e0;
    margin-top: 10px;
    margin-bottom: -50px;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content {
    flex-grow: 1;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ff7a00;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-title h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: #222;
}

.timeline-institution {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

.timeline-badge {
    background: #333;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-left: 10px;
    vertical-align: middle;
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    white-space: nowrap;
}

.timeline-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.timeline-tag {
    background: #f0f2f5;
    color: #555;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.timeline-tag i {
    font-size: 0.8rem;
}

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

    .timeline-year {
        order: -1;
        margin-bottom: 5px;
    }
}

/* Illustration Icon Style */
.card-illustration {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.03);
    transform: rotate(10deg);
    pointer-events: none;
    transition: all 0.3s ease;
}

.timeline-content:hover .card-illustration {
    color: rgba(255, 122, 0, 0.1);
    transform: rotate(0deg) scale(1.1);
}


/* Projects Section */
.projects-section {
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1a1a1a;
    /* Dark theme */
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 400px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 122, 0, 0.5);
    /* Subtle orange glow border */
}

.project-image {
    width: 100%;
    height: 65%;
    /* Dominant image area */
    position: relative;
    overflow: hidden;
}

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

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

.project-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 26, 1) 100%);
    opacity: 0.8;
}

.project-info {
    padding: 20px 25px;
    color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to bottom */
    position: relative;
    z-index: 2;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    line-height: 1.2;
}

.project-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ff7a00;
    /* Orange accent */
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0;
    /* Hidden initially or visible? Request implies part of card features. Let's make it visible on hover or always subtle? Request: "small arrow icon button". Let's show it always but animate it. */
    opacity: 1;
    transform: scale(0.9);
}

.project-card:hover .project-btn {
    transform: scale(1.1) rotate(-45deg);
    background: #fff;
    color: #ff7a00;
}

/* Responsive Styles for New Features */

/* Mobile: Hide custom cursor and restore default */
@media (max-width: 1024px) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    a, button, .navlist li, .project-card-modern, .certificate-card-modern, .tool-card, .service-card {
        cursor: pointer !important;
    }
}

/* Hero responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
    }
}

/* Responsive Statistics Section */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 30px;
        width: 100%;
        max-width: 300px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Centered Hero Section Responsive */
@media (max-width: 768px) {
    .hero-center-aligned {
        padding: 40px 15px;
    }
    
    .hero-center-aligned .profile-card {
        max-width: 300px;
    }
    
    .hero-center-aligned .badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .avatar-stats {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .stat-divider {
        height: 25px;
    }
    
    .stat-number-large {
        font-size: 1.8rem;
    }
    
    .stat-label-small {
        font-size: 0.6rem;
    }
    
    .hero-social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-center-aligned {
        padding: 30px 10px;
    }
    
    .hero-center-aligned .profile-card {
        max-width: 260px;
    }
    
    .avatar-stats {
        gap: 5px;
        padding: 12px 10px;
    }
    
    .stat-divider {
        height: 20px;
    }
    
    .stat-number-large {
        font-size: 1.5rem;
    }
    
    .stat-label-small {
        font-size: 0.5rem;
    }
    
    .btn-download-resume {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Responsive Profile Image */
@media (max-width: 768px) {
    .profile-image {
        width: 200px !important;
        right: 10px !important;
        top: 10px !important;
    }
    
    .avatar-back .back-text {
        font-size: 0.9rem !important;
        padding: 10px !important;
    }
}