/* ========================================
   SANKET KOTHARI - PORTFOLIO STYLES
   Simple, Complete, Single CSS File
   ======================================== */

/* === VARIABLES === */
:root {
  --primary-blue: #0066cc;
  --accent-cyan: #00d4ff;
  --dark-navy: #1a1a2e;
  --text-dark: #2d3748;
  --text-gray: #4a5568;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* === NAVBAR === */
nav.navbar.navbar-light {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 5px solid var(--black) !important;
  padding: 1.5rem 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0.8rem;
  color: var(--text-dark) !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  transition: width 0.3s;
}

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

.btn-resume {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan)) !important;
  border: none !important;
  color: white !important;
  padding: 0.75rem 2rem !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.btn-resume:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.5);
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  min-height: 90px;
  font-weight: 600;
}

#typing-text {
  color: var(--primary-blue);
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--accent-cyan);
  margin-left: 8px;
  animation: blink 0.7s infinite;
  vertical-align: text-bottom;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  animation: float 4s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}

.social-link {
  width: 55px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--black);
  border-radius: 50%;
  color: var(--text-dark);
  background: white;
  margin: 0 0.5rem;
  font-size: 1.4rem;
  transition: all 0.3s;
}

.social-link:hover {
  transform: translateY(-8px) rotate(10deg) scale(1.1);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: white;
}

/* === BUTTONS === */
.btn {
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan)) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 6px 25px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.5);
}

.btn-outline-primary {
  border: 4px solid var(--primary-blue) !important;
  color: var(--primary-blue) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan)) !important;
  color: white !important;
  border-color: var(--accent-cyan) !important;
  transform: translateY(-5px) scale(1.05);
}

/* === SECTIONS === */
.section-padding {
  padding: 120px 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-divider {
  width: 140px;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  margin: 1.5rem auto 2rem;
  border-radius: 10px;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.section-divider::before {
  left: -30px;
}

.section-divider::after {
  right: -30px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 3rem;
}

/* === DIVIDER LINES === */
.divider-line {
  width: 100%;
  height: 6px;
  background: var(--black);
  margin: 80px 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.divider-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: white;
  border: 6px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.divider-line::after {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: var(--primary-blue);
  z-index: 1;
}

/* === CARDS === */
.card-dark {
  background: white;
  border: 6px solid var(--black);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-dark:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-blue);
}

/* === SKILLS === */
.skill-card {
  background: white;
  border: 6px solid var(--black);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  height: 100%;
}

.skill-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-blue);
}

.skill-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 50%;
  font-size: 3.5rem;
  color: white;
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.45);
  border: 5px solid var(--black);
  transition: all 0.5s;
}

.skill-card:hover .skill-icon {
  transform: rotate(360deg) scale(1.15);
  box-shadow: 0 18px 50px rgba(0, 212, 255, 0.7);
}

.skill-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-bar {
  width: 100%;
  height: 12px;
  background: #e9ecef;
  border-radius: 15px;
  border: 3px solid var(--black);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 15px;
  position: relative;
  transition: width 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 2.5s infinite;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 800;
  padding: 2rem 0;
  border-bottom: 6px solid var(--black);
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-badge {
  padding: 3rem;
  text-align: center;
  border: 6px solid var(--black);
  border-radius: 24px;
  background: white;
  transition: all 0.4s;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.category-badge:hover {
  transform: translateY(-18px) scale(1.05);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-blue);
}

.category-badge i {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.4s;
}

.category-badge:hover i {
  transform: scale(1.3) rotate(15deg);
}

.category-badge span {
  font-size: 1.5rem;
  font-weight: 700;
}

/* === EXPERIENCE === */
.exp-card {
  background: white;
  border: 6px solid var(--black);
  border-radius: 24px;
  padding: 3.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
  transition: all 0.4s;
}

.exp-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
  border-color: var(--primary-blue);
}

.exp-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  border: 5px solid white;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
  margin-bottom: 1.5rem;
  transition: transform 0.5s;
}

.exp-card:hover .exp-icon {
  transform: rotate(360deg) scale(1.15);
}

.exp-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.exp-company {
  font-size: 1.3rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.exp-date {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.exp-list {
  list-style: none;
  margin: 1.5rem 0;
}

.exp-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.exp-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  font-weight: bold;
}

.tech-tag {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: white;
  border: 3px solid var(--black);
  border-radius: 25px;
  margin: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.tech-tag:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: white;
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

/* === PROJECTS === */
.project-card {
  background: white;
  border: 6px solid var(--black);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
  border-color: var(--primary-blue);
}

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

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

.project-content {
  padding: 2rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.project-desc {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-link {
  color: var(--primary-blue);
  font-weight: 600;
  margin-right: 1.5rem;
  transition: all 0.3s;
}

.project-link:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

/* === CONTACT === */
.contact-card {
  background: white;
  border: 6px solid var(--black);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
  margin-bottom: 2rem;
}

.form-control,
.form-select {
  border: 4px solid var(--black);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
  outline: none;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, #0052a3 0%, var(--primary-blue) 50%, var(--accent-cyan) 100%) !important;
  color: white !important;
  border-top: 6px solid var(--black);
  border-bottom: 6px solid var(--black);
  padding: 120px 0;
  position: relative;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.4rem;
  color: white !important;
  margin-bottom: 3rem;
  opacity: 0.98;
}

.btn-light {
  background: white !important;
  color: var(--primary-blue) !important;
  border: 4px solid var(--black) !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-light:hover {
  background: var(--black) !important;
  color: white !important;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.btn-outline-light {
  background: transparent !important;
  color: white !important;
  border: 4px solid white !important;
  font-weight: 700 !important;
}

.btn-outline-light:hover {
  background: white !important;
  color: var(--primary-blue) !important;
  transform: translateY(-5px) scale(1.08);
}

/* === FOOTER === */
.footer {
  background: var(--dark-navy);
  color: white;
  padding: 3rem 0;
  border-top: 6px solid var(--black);
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.3);
}

.footer-text {
  font-size: 1.05rem;
  opacity: 0.9;
}

.footer-social-link {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  margin: 0 0.5rem;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.footer-social-link:hover {
  background: white;
  color: var(--dark-navy);
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* === ANIMATIONS === */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

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

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

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
    min-height: 70px;
  }
  
  .divider-line {
    margin: 60px 0;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    min-height: 60px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .card-dark {
    padding: 2rem;
  }
  
  .skill-card {
    padding: 2rem 1.5rem;
  }
  
  .skill-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }
  
  .divider-line {
    margin: 40px 0;
    height: 5px;
  }
  
  .divider-line::before {
    width: 70px;
    height: 70px;
    border-width: 5px;
  }
  
  .divider-line::after {
    font-size: 2rem;
  }
}
