:root {
    --primary: #1a73e8;
    --secondary: #4285f4;
    --dark: #0d47a1;
    --light: #f8f9fa;
    --accent: #34a853;
    --accent-secondary: #fbbc05;
    --text: #202124;
    --text-light: #5f6368;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
    position: relative;
}

/* ===== Enhanced About Sections ===== */

/* About Intro */
.about-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Profile Wrapper */
.profile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}


.profile-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    z-index: 3;
}

/* Pulse Animation */
.pulse-animate {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.profile-section {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.profile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: var(--transition);
    z-index: 2;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(78, 84, 200, 0.3), rgba(143, 148, 251, 0.3));
    z-index: 1;
    border-radius: 20px;
    animation: glowAnimation 3s infinite alternate;
}

@keyframes glowAnimation {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 0.8;
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    top: 20%;
    left: -30px;
    animation: float 6s infinite ease-in-out;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--accent);
    bottom: 10%;
    right: -20px;
    animation: float 8s infinite ease-in-out reverse;
}

.shape.square {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    top: 70%;
    left: 80%;
    animation: float 7s infinite ease-in-out;
}

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

.about-text {
    flex: 1;
    min-width: 300px;
}

.professional-profile-section {
    margin-bottom: 40px;
}

.professional-profile-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.professional-profile-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================= */
/* Leadership Section Styles                     */
/* ============================================= */


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

.leadership-card {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    z-index: 1;
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.leadership-card:hover::before {
    height: 10px;
}

.leadership-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
    transition: var(--transition);
}

.leadership-card:hover .leadership-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.leadership-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.leadership-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.leadership-card:hover .leadership-content h3::after {
    width: 100px;
}

.org {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.desc {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.leadership-badge {
    display: inline-block;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.leadership-card:hover .leadership-badge {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px);
}

.card-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f8f9fa" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f8f9fa" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f8f9fa"/></svg>');
    background-size: cover;
    opacity: 0;
    transition: var(--transition);
}

.leadership-card:hover .card-wave {
    opacity: 1;
    height: 30px;
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-card {
        padding: 25px;
    }
}



/* Profile Quote */
.profile-quote {
    max-width: 600px;
    text-align: center;
}

blockquote.typewriter {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    font-size: 1.3rem;
    font-style: italic;
    position: relative;
}

/* Professional Profile Enhancements */
.profile-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.highlight-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.career-philosophy {
    background: rgba(78, 84, 200, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid var(--primary);
}

/* Competency Cards Enhancements */

.competencies-section {
    margin: 40px 0;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.competency-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 30px;
    height: 100%;
}

.competency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.competency-card h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.competency-skills {
    list-style: none;
    margin-top: 15px;
}

.competency-skills li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.competency-skills li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.competency-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.competency-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.competency-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.competency-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}


/* Technical Skills Section */
/* Constellation Layout */
.constellation-display {
  padding: 4rem 0;
  background: #f8fafc;
}

.constellation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.constellation-header {
  text-align: center;
  margin-bottom: 3rem;
}

.constellation-title {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.constellation-description {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.skill-constellation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.skill-node {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.skill-node:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.node-core {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.node-icon {
  width: 60px;
  height: 60px;
  background: #1a73e8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2);
}

.node-skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.skill-point {
  padding: 0.8rem;
  background: #f1f5f9;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  color: #334155;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.skill-point::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #1a73e8;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.skill-point:hover {
  background: #e2e8f0;
  transform: translateX(5px);
}

.skill-point:hover::before {
  transform: scaleY(1);
}

/* Responsive */
@media (max-width: 768px) {
  .skill-node {
    min-width: 100%;
  }
  
  .constellation-title {
    font-size: 2rem;
  }
}
/* Certification Banner */
.certification-banner {
    background: linear-gradient(135deg, rgba(78, 84, 200, 0.9), rgba(143, 148, 251, 0.9));
    color: white;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.certification-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

.banner-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
}

.banner-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
}

.banner-content .btn {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-header {
        padding: 15px;
    }
    
    .category-header h5 {
        font-size: 1rem;
    }
    
    .certification-banner {
        padding: 20px;
    }
}

/* Core Competencies Section */
.skills-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.skills-header {
    text-align: center;
    margin-bottom: 60px;
}

.skills-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.skills-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.skills-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-tile {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.skill-tile:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tile-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: all 0.3s ease;
}

.skill-tile:hover .tile-accent {
    height: 8px;
}

.tile-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
}

.skill-tile:hover .tile-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.skill-tile h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
}

.tile-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tile-tag {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tile:hover .tile-tag {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Wave Animation */
.skill-tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231a73e8" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231a73e8" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231a73e8"/></svg>');
    background-size: cover;
    opacity: 0;
    transition: all 0.3s ease;
}

.skill-tile:hover::after {
    opacity: 1;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .skills-section {
        padding: 80px 0;
    }
    
    .skills-title {
        font-size: 2rem;
    }
    
    .skill-tile {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-title {
        font-size: 1.8rem;
    }
    
    .skills-subtitle {
        font-size: 1rem;
    }
}
/* Certification Banner */
/*.certification-banner {
    background: linear-gradient(135deg, rgba(78, 84, 200, 0.9), rgba(143, 148, 251, 0.9));
    color: white;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.banner-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.banner-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}
*/
/* Typewriter Effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 6s steps(40, end) infinite;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(32px, 9999px, 76px, 0); }
    20% { clip: rect(108px, 9999px, 23px, 0); }
    40% { clip: rect(91px, 9999px, 29px, 0); }
    60% { clip: rect(92px, 9999px, 98px, 0); }
    80% { clip: rect(10px, 9999px, 2px, 0); }
    100% { clip: rect(54px, 9999px, 77px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 119px, 0); }
    20% { clip: rect(79px, 9999px, 66px, 0); }
    40% { clip: rect(128px, 9999px, 80px, 0); }
    60% { clip: rect(109px, 9999px, 103px, 0); }
    80% { clip: rect(47px, 9999px, 127px, 0); }
    100% { clip: rect(102px, 9999px, 74px, 0); }
}

/* Character Animation */
.animate-charcter {
    background-image: linear-gradient(
        -225deg,
        var(--primary) 0%,
        var(--secondary) 29%,
        #ff1361 67%,
        #fff800 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 3s linear infinite;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-highlights {
        grid-template-columns: 1fr;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-badge {
        font-size: 0.8rem;
        padding: 5px 15px;
    }
    
    blockquote.typewriter {
        font-size: 1.1rem;
    }
}


.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.bg-light {
    background-color: #f8f9fa;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn svg {
    margin-left: 10px;
    width: 20px;
    height: 20px;
    fill: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-link {
    margin-left: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9), rgba(66, 133, 244, 0.9));
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-rotator {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    height: 2.5rem;
    overflow: hidden;
}

.text-rotator span {
    display: inline-block;
    position: relative;
    animation: rotateWords 12s infinite;
    opacity: 0;
    width: 100%;
}

@keyframes rotateWords {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.text-rotator span:nth-child(2) {
    animation-delay: 3s;
}
.text-rotator span:nth-child(3) {
    animation-delay: 6s;
}
.text-rotator span:nth-child(4) {
    animation-delay: 9s;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        top: 5px;
        opacity: 1;
    }
    100% {
        top: 20px;
        opacity: 0;
    }
}

.arrow-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.carousel-container {
    position: relative;
    width: 90%; /* Use percentage instead of fixed max-width */
    max-width: 1200px; /* Still keep a maximum width */
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Add responsive padding */
    padding: 0 5px; /* Small padding on sides */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        width: 98%;
        border-radius: 10px; /* Slightly smaller radius on tablets */
    }
}

@media (max-width: 768px) {
    .carousel-container {
        width: 100%;
        border-radius: 0; /* Full width on mobile */
        margin: 1rem auto; /* Smaller margin */
        box-shadow: none; /* Remove shadow on small screens */
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: auto;
}

.carousel-slide {
    min-width: 100%;
    padding: 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
    position: absolute;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}


.card-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 200px; /* Set minimum height */
    overflow: hidden; 
}

.card-images img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #f5f5f5; /* Fallback background */
    padding: 5px; /* Optional: adds breathing room */
}

/* For single image display  */
.card-images.single-image {
    grid-template-columns: 1fr;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .card-images {
        grid-template-columns: 1fr;
    }
    
    .card-images img {
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    .card-images img {
        max-height: 200px;
    }
}


.slide-content {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.slide-header {
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.slide-header h3 {
    margin: 15px 0 10px;
    font-size: 1.8rem;
    font-weight: 600;
}

.slide-date {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 15px;
    display: block;
}

.org-logo {
    font-size: 3rem;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(255,255,255,0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.collaborators, .positions, .event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.collaborators span, .positions span, .event-details span {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.org-badge, .position-badge, .role-badge, .event-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.slide-body {
    display: flex;
    flex: 1;
    padding: 0;
    gap: 0;
    flex-direction: column;
}

.slide-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    border-bottom: 1px solid #eee;
}

.slide-images img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-right: 1px solid #eee;
    transition: transform 0.3s ease;
}

.slide-images img:hover {
    transform: scale(1.02);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide-details {
    padding: 25px;
    overflow-y: auto;
}

.slide-details h4 {
    color: #444;
    margin: 20px 0 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slide-details h4:first-child {
    margin-top: 0;
}

.slide-details ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.slide-details li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.5;
}

.slide-details li i {
    color: #6e48aa;
    margin-right: 8px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.tags span {
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.impact-stats, .collaboration-badges, .impact-grid, .outcome-grid, 
.focus-grid, .benefits-grid, .dev-grid, .program-highlights, 
.contributions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.stat-box, .impact-item, .outcome-item, .focus-item, 
.benefit-item, .dev-item, .highlight, .contribution {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-box:hover, .impact-item:hover, .outcome-item:hover, 
.focus-item:hover, .benefit-item:hover, .dev-item:hover, 
.highlight:hover, .contribution:hover {
    transform: translateY(-5px);
}

.stat-box i, .impact-item i, .outcome-item i, 
.focus-item i, .benefit-item i, .dev-item i, 
.highlight i, .contribution i {
    font-size: 1.8rem;
    color: #6e48aa;
    margin-bottom: 10px;
}

.stat-box span {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.stat-box small, .impact-item p, .outcome-item p, 
.focus-item p, .benefit-item p, .dev-item p, 
.highlight p, .contribution p {
    font-size: 0.85rem;
    color: #666;
}

.collaboration-badges span {
    background: #e0e0ff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4a4a8a;
}

.outcomes-flex {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.outcome-badge {
    background: #f0f5ff;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.outcome-badge i {
    font-size: 1.8rem;
    color: #4a6fa5;
}

.outcome-badge strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.outcome-badge p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.carousel-nav:hover {
    background: white;
    color: #6e48aa;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: #6e48aa;
    transform: scale(1.2);
}

.indicator::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    margin-bottom: 10px;
}

.indicator:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .slide-body {
        flex-direction: column;
    }
    
    .slide-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .slide-header h3 {
        font-size: 1.5rem;
    }
    
    .slide-images {
        grid-template-columns: 1fr;
    }
    
    .stat-box, .outcome-badge {
        min-width: 100%;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slide-header {
        padding: 20px 15px;
    }
    
    .slide-details {
        padding: 20px 15px;
    }
    
    .tags span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}



/* Experience Section */
.timeline-container {
    position: relative;
    padding-left: 50px;
}

.timeline-line {
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -50px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    box-shadow: 0 0 0 5px rgba(78, 84, 200, 0.2);
}

.timeline-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
    min-height: 50px;
}

.company-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.company-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.card-header h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.card-body ul {
    list-style: none;
}

.card-body li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.card-body li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.card-footer {
    margin-top: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tags span:hover {
    background-color: var(--primary);
    color: white;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.education-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.edu-header {
    padding: 30px 30px 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edu-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.university-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.university-logo img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.edu-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.edu-body {
    padding: 20px 30px;
}

.institution {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
}

.date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.gpa {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.edu-footer {
    padding: 0 30px 30px;
}

.coursework h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.coursework ul {
    list-style: none;
}

.coursework li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.coursework li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Projects Section */
/* Modern Projects Section Styles */
#projects {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.projects-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 24px;
    background: rgba(26, 115, 232, 0.1);
    border: none;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.tab-button.active, .tab-button:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-card.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-icon {
    padding: 30px 30px 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-size: 2rem;
    text-align: center;
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-impact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-impact span {
    font-size: 0.85rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-impact i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    #projects {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
/* Certifications Section */
/*.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}*/
.certifications-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: thin; /* Firefox */
}

/* Optional: smoother scroll */
.certifications-grid::-webkit-scrollbar {
    height: 8px;
}
.certifications-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.cert-card {
    min-width: 300px; /* Required for horizontal layout */
    scroll-snap-align: start;
    flex-shrink: 0;
}


/*
.cert-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
*/
.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.cert-badge {
    position: relative;
    margin-bottom: 20px;
}

.badge-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    position: relative;
    margin: 0 auto;
}

.cert-badge i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
}

.cert-content {
    text-align: center;
}

.cert-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.cert-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cert-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.view-cert-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.view-cert-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
/* Certificate Modal - Updated CSS */
#certificateModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: flex-start; /* Changed from center to flex-start */
    padding: 40px 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

#certificateModal .modal-content {
    background: white;
    max-width: 900px;
    width: 95%;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    margin: 20px auto;
    animation: modalFadeIn 0.3s ease-out;
    transform-origin: center top; /* Animation starts from top */
}

#certificateModal img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain; /* Ensures full image is visible */
}

/* Updated Honors Section Styles */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.honor-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.honor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Leadership-specific cards */
.honor-card.leadership-highlight::before {
    background: linear-gradient(to right, #4a6fa5, #6b8cce);
}

.honor-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    transition: var(--transition);
}

.honor-card.leadership-highlight .honor-icon {
    background: linear-gradient(to right, #4a6fa5, #6b8cce);
}

.honor-card:hover .honor-icon {
    transform: rotate(15deg) scale(1.1);
}

.honor-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
    flex-grow: 1;
}

.honor-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Leadership Tags */
.leadership-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.leadership-tags span {
    background: #e9f0fa;
    color: #4a6fa5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.honor-card:hover .leadership-tags span {
    background: #4a6fa5;
    color: white;
}

/* Reflection Section */
.leadership-reflection {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.leadership-reflection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.leadership-reflection blockquote {
    border-left: 4px solid #ff6b35;
    padding-left: 1.5rem;
    margin: 0;
    font-style: italic;
    color: #555;
    position: relative;
}

.leadership-reflection blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -10px;
    top: -20px;
    color: rgba(255, 107, 53, 0.1);
    font-family: serif;
    line-height: 1;
}

.leadership-reflection blockquote p {
    font-size: 1.25rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.reflection-content h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.reflection-content p {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .leadership-reflection {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .leadership-reflection blockquote p {
        font-size: 1.1rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.honor-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}


/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    background: transparent;
    transition: var(--transition);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--primary);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

.pulse-animate {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.send-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    fill: white;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    background: white;
    border-radius: 10px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

#certificateImage {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 5px;
}

.certificate-info {
    padding: 0 20px;
    text-align: center;
}

.certificate-info h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.certificate-info p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Project Modal */
.modal-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: var(--dark);
}

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

.project-modal-tags span {
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.modal-body {
    display: flex;
    gap: 30px;
}

.project-modal-image {
    flex: 1;
}

.project-modal-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.project-modal-content {
    flex: 1;
}

.project-modal-content h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.detail-item h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.detail-item ul {
    list-style: none;
}

.detail-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.detail-item li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 1s ease forwards;
}

.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    animation: revealText 1.5s cubic-bezier(0.85, 0, 0.15, 1) forwards;
    transform-origin: left;
}

@keyframes revealText {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

.word-by-word span {
    display: inline-block;
    opacity: 0;
    animation: wordFadeIn 0.5s forwards;
}

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

.line-by-line span {
    display: inline-block;
    opacity: 0;
    animation: lineFadeIn 0.5s forwards;
}

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

.title-reveal {
    position: relative;
    overflow: hidden;
}

.title-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    animation: titleReveal 1.5s cubic-bezier(0.85, 0, 0.15, 1) forwards;
    transform-origin: left;
}

@keyframes titleReveal {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

.subtitle-reveal {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-list li {
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

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

.floating {
    animation: floating 3s ease-in-out infinite;
}

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

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(32px, 9999px, 76px, 0);
    }
    20% {
        clip: rect(108px, 9999px, 23px, 0);
    }
    40% {
        clip: rect(91px, 9999px, 29px, 0);
    }
    60% {
        clip: rect(92px, 9999px, 98px, 0);
    }
    80% {
        clip: rect(10px, 9999px, 2px, 0);
    }
    100% {
        clip: rect(54px, 9999px, 77px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    20% {
        clip: rect(79px, 9999px, 66px, 0);
    }
    40% {
        clip: rect(128px, 9999px, 80px, 0);
    }
    60% {
        clip: rect(109px, 9999px, 103px, 0);
    }
    80% {
        clip: rect(47px, 9999px, 127px, 0);
    }
    100% {
        clip: rect(102px, 9999px, 74px, 0);
    }
}

.glitch-sub {
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.animate-charcter {
    background: linear-gradient(to right, var(--primary), var(--secondary), #ff6b6b, var(--primary));
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.subtitle-animate {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.contact-title {
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -10px;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    animation: underlineGrow 1s ease forwards;
}

@keyframes underlineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    transform-origin: left;
    }
}

.contact-subtitle {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Magnetic Button Effect */
.magnetic {
    position: relative;
    overflow: hidden;
}

.magnetic::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.5s, height 0.5s;
}

.magnetic:hover::before {
    width: 400px;
    height: 400px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .modal-body {
        flex-direction: column;
    }
    
    .project-modal-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .profile-section {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .education-grid {
        grid-template-columns: 1fr 1fr;
    }
}



@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        margin: 15px 0;
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .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(7px, -6px);
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .text-rotator {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn, .btn-outline {
        width: 100%;
    }
} 
/* Medium Articles Section Styles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}


.article-excerpt {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.5;
}



.article-link {
    display: inline-flex;
    align-items: center;
    color: #00ab6c; /* Medium green color */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: #038e5a;
}

.article-link i {
    margin-left: 8px;
    font-size: 1.1rem;
}

.articles-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.articles-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
/* Add these styles to your CSS file */
.article-publication {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 171, 108, 0.1);
    border-radius: 15px;
    width: fit-content;
}

.article-publication i {
    margin-right: 6px;
    color: #00ab6c;
    font-size: 0.8rem;
}

.article-publication strong {
    color: #333;
    margin-left: 4px;
}

/* Adjust article content spacing to accommodate publication */
.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #333;
}

/* Update article meta positioning */
.article-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}
/* =============================================
   INFLUENTIAL WOMEN - BRANDED CARD
   ============================================= */

.honor-card.iw-featured-card {
    border: 1px solid rgba(233, 30, 99, 0.15);
    position: relative;
    overflow: visible;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.honor-card.iw-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.08);
}

/* Pink shimmer top border */
.honor-card.iw-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #ff6b9d, #e91e63);
    background-size: 200% 100%;
    border-radius: 12px 12px 0 0;
    animation: pinkShimmer 3s linear infinite;
}

@keyframes pinkShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Icon */
.iw-icon {
    background: linear-gradient(135deg, #e91e63, #ff6b9d) !important;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.25);
    transition: var(--transition);
}

.honor-card.iw-featured-card:hover .iw-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
}

/* Platform row */
.iw-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.iw-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================== */
/* LOGO PLACEHOLDER - REPLACE <i> with <img> */
/* ========================================== */
.iw-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.iw-logo i {
    font-size: 1.2rem;
}

.iw-badge {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e91e63;
    background: #fce4ec;
    padding: 3px 14px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #f8bbd0;
}

/* Title */
.honor-card.iw-featured-card h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.honor-card.iw-featured-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Links */
.iw-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 16px;
}

.iw-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #555;
    background: #f5f5f5;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.iw-link:hover {
    background: #fce4ec;
    color: #e91e63;
    border-color: #f8bbd0;
    transform: translateY(-2px);
}

.iw-link i {
    font-size: 0.85rem;
    color: #e91e63;
}

/* Quote */
.iw-quote {
    background: #fce4ec;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 8px 0 16px;
    position: relative;
    border-left: 3px solid #e91e63;
    text-align: left;
}

.iw-quote i {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 1.4rem;
    color: #e91e63;
    opacity: 0.2;
}

.iw-quote span {
    font-size: 0.88rem;
    font-style: italic;
    color: #444;
    padding-left: 22px;
    display: block;
    line-height: 1.6;
}

/* Tags */
.iw-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.iw-tags span {
    background: #fce4ec !important;
    color: #e91e63 !important;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.iw-tags span:hover {
    background: #e91e63 !important;
    color: white !important;
    transform: translateY(-2px);
}


/* =============================================
   SOCIAL ICON - INFLUENTIAL WOMEN HOVER EFFECT
   ============================================= */

/* Hero social icon hover */
.social-icons a[aria-label="Influential Women"]:hover {
    background: rgba(233, 30, 99, 0.2) !important;
    transform: translateY(-5px);
}

.social-icons a[aria-label="Influential Women"] i {
    transition: transform 0.3s ease;
}

.social-icons a[aria-label="Influential Women"]:hover i {
    transform: scale(1.1);
}

/* Footer social icon hover */
.footer-social .social-icons a[aria-label="Influential Women"]:hover {
    background: rgba(233, 30, 99, 0.2) !important;
    transform: translateY(-5px);
}

.footer-social .social-icons a[aria-label="Influential Women"] i {
    transition: transform 0.3s ease;
}

.footer-social .social-icons a[aria-label="Influential Women"]:hover i {
    transform: scale(1.1);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .honor-card.iw-featured-card {
        padding: 20px 16px;
    }

    .iw-logo {
        font-size: 0.95rem;
    }

    .iw-links {
        gap: 6px;
    }

    .iw-link {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .iw-quote span {
        font-size: 0.8rem;
        padding-left: 18px;
    }

    .iw-quote i {
        font-size: 1rem;
        top: 8px;
        left: 8px;
    }
}
/* IU ICON */
.honor-icon.iw-icon {
    width: 90px;
    height: 90px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    background: #ffffff;
    border-radius: 50%;
}

.honor-icon.iw-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.iw-social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}
