/* ================================================
   GLOBAL VARIABLES & RESET
================================================ */
:root {
    --primary: #0059ff;
    --primary-dark: #003bb3;
    --accent: #7b2ff7;
    --accent-light: #c59dff;
    --black: #0d0d0d;
    --white: #ffffff;

    --bg-light: #f7f9ff;
    --text: #1a1a1a;
    --text-soft: #555;

    --shadow: 0 4px 18px rgba(0,0,0,0.12);
}

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

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: var(--text);
    overflow-x: hidden;
}



/* ================================================
   GLASS STICKY HEADER
================================================ */
.glass-header {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 14px 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    transition: 0.35s;
}

.glass-header.scrolled {
    background: rgba(0, 89, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.header-container {
    width: 90%;
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.nav-menu a {
    margin: 0 14px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s;
}

.nav-menu a:hover {
    color: var(--accent-light);
}

.hire-btn {
    background: var(--white);
    padding: 10px 16px;
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}



/* ================================================
   HERO SECTION + AI WAVES
================================================ */
.hero-section {
    position: relative;
    padding: 160px 20px 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ai-wave {
    position: absolute;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 20% 20%, var(--primary), transparent 60%);
    animation: waveMove 9s infinite linear;
    opacity: 0.35;
}

.wave2 {
    background: radial-gradient(circle at 80% 70%, var(--accent), transparent 60%);
    animation-duration: 12s;
}

.wave3 {
    background: radial-gradient(circle at 50% 30%, #00e1ff, transparent 60%);
    animation-duration: 15s;
}

@keyframes waveMove {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}



/* Floating Particles */
.particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    opacity: 0.6;
}

.p1 { top: 30%; left: 10%; animation-duration: 6s; }
.p2 { top: 50%; right: 15%; animation-duration: 7s; }
.p3 { bottom: 20%; left: 25%; animation-duration: 8s; }
.p4 { top: 20%; right: 30%; animation-duration: 9s; }

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



/* ================================================
   HERO CONTENT
================================================ */
.hero-content {
    max-width: 1200px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
}

.ai-text {
    color: var(--primary);
}

.hero-subtitle {
    margin: 16px 0 30px;
    font-size: 17px;
    color: var(--text-soft);
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}



/* BUTTONS */
.btn {
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.25s;
}

.primary {
    background: var(--primary);
    color: var(--white);
}

.primary:hover {
    background: var(--primary-dark);
}

.outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.outline:hover {
    background: var(--primary);
    color: var(--white);
}

.white {
    background: var(--white);
    color: var(--primary);
}



/* HERO RIGHT IMAGE */
.profile-glow {
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 260px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-glow img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
}



/* ================================================
   METRICS
================================================ */
.metrics-row {
    display: flex;
    gap: 25px;
    margin-top: 28px;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}



/* ================================================
   ABOUT SECTION
================================================ */
.about-section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
       color: #E63946;
}

.about-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.about-highlights li {
    list-style: none;
    padding: 8px 0;
}



/* ================================================
   SKILLS SECTION

/* About Section Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations to About elements */
.about-section {
    animation: fadeInDown 0.8s ease-out;
}

.about-grid > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.about-grid > *:nth-child(1) { animation-delay: 0.1s; }
.about-grid > *:nth-child(2) { animation-delay: 0.3s; }

.about-highlights li {
    animation: slideInLeft 0.6s ease-out backwards;
}

.about-highlights li:nth-child(1) { animation-delay: 0.5s; }
.about-highlights li:nth-child(2) { animation-delay: 0.7s; }
.about-highlights li:nth-child(3) { animation-delay: 0.9s; }
.about-highlights li:nth-child(4) { animation-delay: 1.1s; }
.about-highlights li:nth-child(5) { animation-delay: 1.3s; }
.about-highlights li:nth-child(6) { animation-delay: 1.5s; }

/* Hover effects for About highlights */
.about-highlights li:hover {
    transform: translateX(10px) scale(1.02);
    transition: all 0.3s ease;
}

.about-highlights li {
    transition: all 0.3s ease;
}
================================================ */
.skills-section {
    padding: 70px 20px;
    background: var(--bg-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.skill-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    border-left-color: #E63946;
    background: linear-gradient(135deg, var(--white) 0%, rgba(230, 57, 70, 0.05) 100%);
}

.skill-tags-span {
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 4px 4px;
    transition: all 0.3s ease;
}

.skill-tags-span:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.skill-tags span {
    display: inline-block;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    margin: 6px;
    font-size: 13px;
}



/* ================================================
   PROJECT CARDS
================================================ */
.projects-section {
    padding: 80px 20px;
}

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

.project-card {
    background: var(--white);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: 0.25s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.project-tags span {
    padding: 6px 10px;
    background: var(--bg-light);
    margin: 4px;
    border-radius: 6px;
    font-size: 13px;
}



/* ================================================
   CERTIFICATIONS
================================================ */
.cert-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
}

.cert-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: 0.25s;
}

.cert-card:hover {
    transform: scale(1.03);
}

.cert-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}



/* MODAL */
.cert-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
}

.cert-modal img {
    width: 60%;
    max-width: 600px;
    border-radius: 10px;
}



/* ================================================
   POWER BI SECTION
================================================ */
.powerbi-section {
    padding: 80px 20px;
    background: var(--white);
}

.powerbi-wrapper {
    display: flex;
    justify-content: center;
}

.powerbi-card {
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
    width: 400px;
    border-radius: 12px;
    text-align: center;
}

.powerbi-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}



/* ================================================
   RESUME GENERATOR
================================================ */
.resume-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.resume-box {
    max-width: 600px;
    margin: auto;
}

.resume-form input,
.resume-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.resume-result {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}



/* ================================================
   CONTACT SECTION
================================================ */
.contact-section {


/* ================================================
ENHANCEMENTS - RED TITLE & ANIMATIONS
================================================ */

/* RED PROFESSIONAL TITLE */
.hero-title {
  color: #e63946;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* COLORFUL ANIMATED GRADIENT WORDS */
.gradient-word {
  background: linear-gradient(120deg, #ff6b6b, #feca57, #48dbfb, #5f27cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 0 rgba(0,0,0,0.1); }
  50% { text-shadow: 0 0 18px rgba(255,255,255,0.7); }
}

/* ENHANCED SKILL CARDS WITH ANIMATIONS */
.skill-card {
  background: linear-gradient(135deg, #0f172a, #020617);
  border: 1px solid rgba(148,163,184,0.4);
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(96,165,250,0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96,165,250,0.7);
  box-shadow: 0 22px 45px rgba(0,0,0,0.3);
}

.skill-card:hover::before {
  opacity: 1;
}

/* PROJECT CARD BUTTON FIXES */
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-description {
  max-height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  color: #0b1120;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.btn-ghost {
  background: rgba(15,23,42,0.8);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.6);
}

.btn-ghost:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96,165,250,0.7);
}

/* AI TOOLS BUTTONS - PROFESSIONAL */
.ai-tools-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  border-color: #22c55e;
  background: rgba(34,197,94,0.1);
  transform: translateY(-2px);
}

/* CONTACT SECTION CLEANUP */
.contact-extra,
.contact-whatsapp {
  display: none !important;
}

.contact-card {
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  border: 1px solid rgba(148,163,184,0.4);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,0.6);
}

/* PULSE DOT ANIMATION */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 1.7s infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* HERO IMAGE WITH GLOW */
.profile-glow {
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 260px;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(0,89,255,0.5);
}

.profile-glow img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
}

/* RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .profile-glow {
    width: 200px;
    height: 200px;
  }
  
  .profile-glow img {
    width: 180px;
    height: 180px;
  }
  
  .skill-card {
    padding: 1rem;
  }
  
  .project-actions {
    gap: 0.5rem;
  }
  
  .btn-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* HIDE EMAIL 2 AND WHATSAPP IN CONTACT SECTION */
/* Hide Email 2 link by targeting info@deepanraj.work.gd */
a[href*="info@deepanraj.work.gd"] {
  display: none !important;
}

/* Hide WhatsApp link */
a[href*="wa.me"] {
  display: none !important;
}

/* Alternative approach: Hide parent elements containing Email 2 or WhatsApp text */
/* Target any element that might contain the Email 2 text */
body > *:has(a[href*="info@deepanraj.work.gd"]) {
  display: none !important;
}

/* Hide parent of WhatsApp link */
body > *:has(a[href*="wa.me"]) {
  display: none !important;
}

   /* Hide Email 2 paragraph using nth-child */
.contact-info-box p:nth-child(2) {
  display: none !important;
}

/* Hide WhatsApp button using class */
.whatsapp-btn {
  display: none !important;
}

   /* Hide Email 2 using the hidden-email-2 class */
.hidden-email-2 {
  display: none !important;
}

/* ENHANCED CONTACT SECTION STYLING */
.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-info-box p {
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(59,130,246,0.1));
  padding: 1rem 1.4rem;
  border-radius: 10px;
  border-left: 4px solid #22c55e;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info-box p:hover {
  transform: translateX(8px);
  border-left-color: #3b82f6;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(59,130,246,0.15));
  box-shadow: 0 4px 12px rgba(34,197,94,0.2);
}

.contact-info-box b {
  color: #22c55e;
  font-weight: 700;
}
   
/* IMPROVED CONTACT SECTION LAYOUT */
.contact-container {
    max-width: 1200px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
}

.contact-grid {
    display: contents;
}

.contact-content {
    order: 1;
}

.contact-form-wrapper {
    order: 2;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: #f9f9f9 !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none !important;
    border-color: #4F27F5 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(79, 39, 245, 0.1) !important;
}

.contact-form button {
    padding: 14px 30px !important;
    background: linear-gradient(135deg, #4F27F5 0%, #E63946 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
}

.contact-form button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(79, 39, 245, 0.4) !important;
}

#formSuccess {
    text-align: center;
    color: #27ae60;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact-form-wrapper {
        order: 2 !important;
    }
}




}
