/* ==========================================================================
   TABLE OF CONTENTS
   1. CSS Reset & Base Styles
   2. Typography
   3. Colors & Variables
   4. Utility Classes
   5. Layout Components
   6. Navigation
   7. Hero Section
   8. About Section
   9. Services Section
   10. Portfolio Section
   11. Contact Section
   12. Footer
   13. Animations & Transitions
   14. Loading Screen
   ========================================================================== */

/* ==========================================================================
   1. CSS RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: all 0.3s ease;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: transparent;
}

ul {
  list-style: none;
}

/* ==========================================================================
   2. CSS VARIABLES & COLORS
   ========================================================================== */
:root {
  /* Colors */
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --error-color: #ef4444;
  
  /* Backgrounds */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --bg-gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --text-hero-primary: #ffffff;
  --text-hero-secondary: #e2e8f0;
  
  /* Borders */
  --border-color: #334155;
  --border-light: #e2e8f0;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
  --z-loading: 9999;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 2px;
  background: var(--primary-color);
}

.section-title {
  margin-bottom: 1.5rem;
  position: relative;
}

.section-description {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   4. UTILITY CLASSES
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: var(--spacing-3xl) 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.min-vh-100 {
  min-height: 100vh;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid transparent;
}

.main-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: opacity var(--transition-base);
}

.primary-btn {
  color: var(--text-light);
  background: var(--bg-gradient);
  box-shadow: var(--shadow-md);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--text-light);
}

.secondary-btn {
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.cta-btn {
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  border-radius: 50px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--text-light);
}

/* ==========================================================================
   6. LOADING SCREEN
   ========================================================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-loading);
  transition: opacity var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  border-top: 3px solid var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   7. NAVIGATION
   ========================================================================== */
.header_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-light);
}

.navbar-brand .brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  transition: all var(--transition-base);
}

.navbar-brand:hover .brand-text {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1.5rem;
  color: var(--text-primary);
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav {
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:focus {
  color: var(--primary-color) !important;
}

.nav-link:active {
  color: var(--primary-color) !important;
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero_wrapper {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--bg-gradient-dark);
  overflow: hidden;
  background-image: url('../images/cover.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 100px 0 60px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

.hero-content {
  padding: 3rem 2rem;
  position: relative;
  z-index: 10;
  max-width: 600px;
  background: none !important;
  border-radius: var(--border-radius-xl);
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.hero-greeting {
  font-size: 1.125rem;
  color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #ffffff !important;
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.9),
    0 0 15px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 0, 0, 0.6);
  font-weight: 800;
}

.hero-title .text-gradient {
  color: #ffffff !important;
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.9),
    0 0 15px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 0, 0, 0.6);
}

.hero-description {
  font-size: 1.25rem;
  color: #ffffff !important;
  margin-bottom: 2rem;
  max-width: 500px;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Hero Section Button Styling */
.hero-cta .main-btn {
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta .secondary-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.hero-cta .secondary-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   9. ABOUT SECTION
   ========================================================================== */
.about_wrapper {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge span {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.about-badge small {
  font-size: 0.875rem;
  opacity: 0.9;
}

.about-tabs .nav-pills {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.about-tabs .nav-link {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all var(--transition-base);
}

.about-tabs .nav-link.active {
  background: var(--primary-color);
  color: var(--text-light);
}

.about-tabs .nav-link:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-header {
  display: flex;
  justify-content: between;
  align-items: center;
}

.skill-header h6 {
  margin-bottom: 0;
  color: var(--text-primary);
  font-weight: 600;
}

.skill-percentage {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.875rem;
}

.progress {
  height: 8px;
  background: var(--bg-light);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.progress-bar {
  background: var(--bg-gradient);
  height: 100%;
  border-radius: 50px;
  transition: width 1s ease;
}

.certificates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certificate-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.certificate-item:hover {
  background: var(--bg-white);
  border-color: var(--primary-color);
}

.certificate-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.certificate-content h6 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.certificate-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.certificate-content a {
  color: var(--primary-color);
  font-weight: 500;
}

.certificate-content a:hover {
  text-decoration: underline;
}

.award-badge {
  display: inline-block;
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tech-category h6 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-item {
  background: var(--bg-light);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.tech-item:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.education-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.education-year {
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  min-width: 80px;
  text-align: center;
}

.education-content h6 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.education-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   10. ACHIEVEMENTS SECTION
   ========================================================================== */
.achievements_wrapper {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.achievement-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 1;
}

.achievement-card:hover::before {
  opacity: 0.1;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
}

.achievement-icon i {
  font-size: 2.5rem;
  color: var(--text-light);
}

.achievement-image {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
}

.achievement-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.award-image,
.leetcode-profile-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-base);
  background: var(--bg-tertiary);
}

.achievement-card:hover .award-image,
.achievement-card:hover .leetcode-profile-image {
  transform: scale(1.05);
}

.achievement-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all var(--transition-base);
}

.achievement-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.leetcode-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.achievement-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-align: center;
}

.achievement-content h5 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.achievement-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.leetcode-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  justify-content: space-around;
  background: var(--bg-tertiary);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.achievement-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.highlight-item i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.achievement-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

.company-award {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: var(--text-dark);
}

.cert-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00c9ff, #92fe9d);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   11. EXPERIENCE SECTION
   ========================================================================== */
.experience_wrapper {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.experience-timeline {
  position: relative;
  padding: 2rem 0;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-date {
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-date {
  text-align: right;
}

.timeline-date {
  flex: 0 0 200px;
  padding: 1rem;
  position: relative;
}

.date-badge {
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-white);
  min-width: 120px;
  text-align: center;
}

.date-badge.current {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  animation: pulse 2s infinite;
}

.timeline-date::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--bg-white);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.timeline-item:nth-child(odd) .timeline-date::after {
  left: -10px;
}

.timeline-item:nth-child(even) .timeline-date::after {
  right: -10px;
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  position: relative;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  flex: 1;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: var(--border-light);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: var(--border-light);
}

.company-logo {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.company-logo i {
  font-size: 1.5rem;
  color: var(--text-light);
}

.experience-details h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.experience-details h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.experience-details p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.experience-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-achievements .achievement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.experience-achievements .achievement-item:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.experience-achievements .achievement-item i {
  color: var(--secondary-color);
}

.experience-achievements .achievement-item:hover i {
  color: var(--text-light);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ==========================================================================
   12. SERVICES SECTION
   ========================================================================== */
.services_wrapper {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 1;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--text-light);
  transition: all var(--transition-base);
}

.service-content h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
}

.service-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.service-features i {
  color: var(--secondary-color);
  font-size: 1rem;
}

/* ==========================================================================
   13. PORTFOLIO SECTION
   ========================================================================== */
.portfolio_wrapper {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.portfolio-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  width: 100%;
  color: var(--text-light);
}

.portfolio-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  text-align: center;
}

.portfolio-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  opacity: 0.9;
  font-size: 0.875rem;
}

.portfolio-links {
  display: flex;
  gap: 0.5rem;
}

.portfolio-links .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.portfolio-links .btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   14. CONTACT SECTION
   ========================================================================== */
.contact_wrapper {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.contact-content {
  padding-right: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h6 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  text-align: left;
  font-weight: 600;
}

.contact-details a,
.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-control:hover {
  border-color: var(--primary-color);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-image {
  text-align: center;
}

.contact-img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.contact-content {
  margin-bottom: 2rem;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer_wrapper {
  background: var(--bg-light);
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
}

.footer-brand .footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.footer-brand .footer-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-copyright p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   16. CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   17. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .image-container {
    width: 280px;
    height: 280px;
  }
  
  .about-tabs .nav-pills {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .about-tabs .nav-link {
    text-align: center;
  }
  
  .contact-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .navbar-nav {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    margin-top: 1rem;
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .portfolio-card {
    height: 300px;
  }
  
  .floating-elements {
    display: none;
  }
}

.hero-text {
    /* Remove background color to eliminate the black box */
    background: none;
    /* Other existing styles */
    color: white;
    font-size: 2.5em;
    text-align: center;
    /* ... existing code ... */
}
