/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #6b46c1;
    --primary-dark: #553c9a;
    --primary-light: #9f7aea;
    --secondary-color: #f7fafc;
    --accent-color: #e9d8fd;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;
    --background-light: #ffffff;
    --background-dark: #1a202c;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #6b46c1 0%, #9f7aea 100%);
    --transition: all 0.3s ease;
    --primary-bg: #181a20;
    --card-bg: #23263a;
    --navbar-bg: rgba(24, 26, 32, 0.92);
    --border-purple: #a78bfa;
    --border-cyan: #38bdf8;
    --border-pink: #f472b6;
    --border-orange: #fbbf24;
    --text-main: #f3f4f6;
    --text-muted: #a1a1aa;
    --shadow-main: 0 4px 24px 0 rgba(80, 80, 120, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body, .dark-section, .projects-section, .contact-section, .footer, .skills-section, .experience-section, .education-section {
    background: #181924 !important;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
    color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
    transition: var(--transition);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--navbar-bg) !important;
    box-shadow: 0 2px 16px rgba(107, 70, 193, 0.08);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar-brand, .brand-text {
    color: #a78bfa !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
  font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: var(--text-main) !important;
  font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
    color: var(--border-purple) !important;
    background: rgba(167, 139, 250, 0.10);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-social-icons {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    margin-left: 1rem;
}

.navbar-icon {
  color: #fff;
    font-size: 1.35rem;
    opacity: 0.85;
    transition: color 0.2s, opacity 0.2s;
    display: inline-flex;
    align-items: center;
}

.navbar-icon:hover {
    color: #a78bfa;
    opacity: 1;
}

.navbar-social-icons svg {
    width: 1.35rem;
    height: 1.35rem;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.navbar-social-icons a:hover svg {
    opacity: 1;
}

.navbar-social-icons .navbar-icon:not(:last-child) {
    margin-right: 2rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: #181a20 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.hero-section .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: flex !important;
    align-items: center !important;
}

.hero-background, .hero-shapes, .shape, .hero-section .overlay {
    display: none !important;
}

.hero-content {
  position: relative;
    z-index: 2;
    color: var(--text-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
  margin-bottom: 1rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
  font-weight: 400;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.hero-buttons {
  display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

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

.hero-image {
    height: 100%;
  display: flex;
      align-items: center;
      justify-content: center;
}

.image-container {
    width: 300px;
    height: 300px;
    min-height: 0;
    min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    border: 8px solid #ffffff;
    margin: 0 auto;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  display: block;
    border-radius: 50%;
    border: none;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-overlay {
  position: absolute;
    top: 0;
  left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(107, 70, 193, 0.3), rgba(159, 122, 234, 0.3));
    transition: var(--transition);
}

.image-container:hover .profile-image {
    transform: scale(1.05);
}

.image-container:hover .image-overlay {
    opacity: 0.7;
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title, .experience-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #a78bfa;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-purple);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: transparent;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-details {
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.detail-item h5 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.detail-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.skills-container {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.skills-title {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-header span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.skill-header span:last-child {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.skill-bar {
  width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-purple);
    border-radius: 4px;
    transition: width 1s ease;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-section {
    background: var(--background-light);
}

.timeline {
  position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 2rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #393a4d;
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
  display: flex;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    position: relative;
    width: 100%;
    min-height: 180px;
}

.timeline-left {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline-right {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.timeline-content {
    width: 44%;
    z-index: 2;
}

.timeline-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #181a20;
    border: 3px solid #a78bfa;
  display: flex;
  align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 32px;
    transform: translate(-50%, 0);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(80,80,120,0.10);
}

.timeline-label {
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    color: #a1a1aa;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
  text-align: center;
    width: 180px;
    z-index: 2;
}

.timeline-left .timeline-content {
    margin-right: 3.5rem;
    text-align: right;
}

.timeline-right .timeline-content {
    margin-left: 3.5rem;
    text-align: left;
}

.timeline-left .timeline-label {
    left: calc(50% + 40px);
    text-align: left;
}

.timeline-right .timeline-label {
    left: calc(50% - 220px);
    text-align: right;
}

.timeline-header h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.duration {
  display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-description {
    list-style: none;
    padding: 0;
}

.timeline-description li {
  position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.timeline-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--secondary-color);
}

.project-card {
    background: var(--background-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    height: 100%;
}

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

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

.project-image img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
    height: 100%;
    background: rgba(107, 70, 193, 0.9);
  display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--accent-color);
    color: var(--primary-color);
  padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--background-light);
}

.contact-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    height: 100%;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 50%;
  display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    color: var(--text-white);
    font-size: 1.5rem;
}

.contact-card h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
  margin-bottom: 0;
    color: var(--text-light);
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.social-links {
  display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-purple);
    border-radius: 50%;
  display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--text-white);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--background-dark);
    color: var(--text-white);
    padding: 2rem 0;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline:before {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        min-height: 0;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 0 1.5rem 0 !important;
        text-align: left !important;
    }
    
    .timeline-circle {
        left: 20px;
        top: 0;
        transform: none;
        margin-bottom: 0.5rem;
  position: relative;
    }
    
    .timeline-label {
        left: 20px;
        top: 70px;
        transform: none;
        width: 100%;
        text-align: left;
        margin-bottom: 1.5rem;
  position: relative;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .skills-card-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        overflow-x: auto;
        gap: 1.2rem;
    }
    .skill-card {
        min-width: 220px;
        max-width: 320px;
    }
    .image-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-around;
    }
    
    .image-container {
        width: 220px;
        height: 220px;
    }
    
    .contact-card {
  margin-bottom: 1rem;
    }
    .skills-card-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        overflow-x: auto;
        gap: 1rem;
    }
    .skill-card {
        min-width: 180px;
        max-width: 260px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .image-container {
        width: 220px;
        height: 220px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

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

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

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

/* ===== TYPING ANIMATION ===== */
#typing-text {
    border-right: 2px solid var(--text-white);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--text-white); }
}

/* ===== SCROLL ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

.dark-summary {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-main);
    color: var(--text-main);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.skills-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
    width: 100%;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 18px;
    padding: 2.5rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-main);
    border: 2.5px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}
.skill-card .skill-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.skill-card-purple {
    border-color: var(--border-purple);
}
.skill-card-cyan {
    border-color: var(--border-cyan);
}
.skill-card-pink {
    border-color: var(--border-pink);
}
.skill-card-orange {
    border-color: var(--border-orange);
}
.skill-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 32px rgba(167, 139, 250, 0.18);
    border-width: 3.5px;
}

.exp-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.exp-card {
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: var(--shadow-main);
    padding: 2.2rem 2rem 1.5rem 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border: 2px solid rgba(167, 139, 250, 0.12);
    transition: box-shadow 0.2s, border-color 0.2s;
}
.exp-card:hover {
    box-shadow: 0 6px 32px rgba(167, 139, 250, 0.18);
    border-color: var(--border-purple);
}
.exp-header {
    margin-bottom: 1rem;
}
.exp-role {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--border-purple);
}
.exp-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--border-cyan);
}
.exp-date {
    font-size: 0.98rem;
    color: var(--border-orange);
    margin-bottom: 0.5rem;
}
.exp-list {
    margin-left: 1.2rem;
  margin-bottom: 0;
    color: var(--text-main);
    font-size: 1.05rem;
}
.exp-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.edu-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.edu-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-main);
    padding: 1.5rem 2rem;
    color: var(--text-main);
    border: 2px solid rgba(56, 189, 248, 0.12);
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.edu-card:hover {
    box-shadow: 0 6px 32px rgba(56, 189, 248, 0.18);
    border-color: var(--border-cyan);
}
.edu-degree {
    font-size: 1.15rem;
  font-weight: 700;
    color: var(--border-purple);
    margin-bottom: 0.3rem;
}
.edu-school {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}
.edu-date {
    font-size: 0.98rem;
    color: var(--border-orange);
}

@media (max-width: 767.98px) {
    .exp-card, .edu-card {
        padding: 1.2rem 1rem;
    }
}

.name-purple {
    color: #a78bfa !important;
    font-weight: 800;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.exp-modern-card {
    background: #23263a;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(80, 80, 120, 0.10);
    border: 1.5px solid #38bdf8;
    padding: 2.2rem 2rem 1.5rem 2rem;
    color: #f3f4f6;
    margin-bottom: 2rem;
    min-height: 350px;
}
.exp-modern-title {
    color: #38bdf8;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.exp-modern-meta {
    font-size: 1.05rem;
    color: #a1a1aa;
    margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.exp-modern-icon {
    color: #a78bfa;
    font-size: 1.1rem;
    margin-right: 0.2rem;
}
.exp-modern-company {
    color: #38bdf8;
    font-weight: 600;
}
.exp-modern-date {
    color: #fbbf24;
    font-size: 0.98rem;
}
.exp-modern-list {
    margin-left: 1.2rem;
    color: #e0e7ef;
    font-size: 1.08rem;
    margin-bottom: 0;
}
.exp-modern-list li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.exp-modern-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
  height: 100%;
    justify-content: flex-start;
    margin-top: 1.5rem;
}
.exp-modern-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #181a20;
    border: 3px solid #a78bfa;
  display: flex;
  align-items: center;
    justify-content: center;
  position: relative;
    margin-bottom: 1.2rem;
}
.exp-modern-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}
.exp-modern-logo-text {
  position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    color: #a1a1aa;
    font-size: 0.95rem;
    margin-top: 0.3rem;
    font-weight: 600;
}
.exp-modern-timeline-label {
    margin-top: 1.2rem;
  text-align: center;
}
.exp-modern-timeline-project {
    color: #a1a1aa;
    font-style: italic;
    font-size: 1.08rem;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .exp-modern-card {
        padding: 1.2rem 1rem;
    }
    .exp-modern-timeline {
        margin-top: 2.5rem;
    }
}

/* ===== MODERN TIMELINE EXPERIENCE SECTION ===== */
.timeline-modern {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0 2rem 0;
}
.timeline-modern:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 100%;
  background: #fff2;
  border-radius: 3px;
  transform: translateX(-50%);
  z-index: 0;
}
.timeline-modern-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;
  margin-bottom: 3.5rem;
}
.timeline-modern-left {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}
.timeline-modern-right {
  width: 40%;
  display: flex;
  justify-content: flex-start;
  z-index: 2;
}
.timeline-modern-spacer {
  width: 40%;
  height: 1px;
}
.timeline-modern-center {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.timeline-modern-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #181a20;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 12px rgba(80,80,120,0.10);
}
.timeline-modern-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.timeline-modern-date {
  color: #bdbdbd;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0.2rem;
  text-align: center;
}
.timeline-modern-card {
  background: #28243c;
  border: 1.5px solid #fff2;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
  padding: 2.2rem 2.5rem;
  color: #fff;
  max-width: 480px;
              width: 100%;
          position: relative;
  transition: box-shadow 0.2s;
}
.timeline-modern-card:hover {
  box-shadow: 0 4px 32px 0 rgba(80,80,120,0.18);
  border-color: #a78bfa;
}
.timeline-modern-content h3,
.timeline-modern-role {
  font-size: 1.45rem;
            font-weight: 800;
  margin-bottom: 0.5rem;
              color: #fff;
}
.timeline-modern-company {
  font-size: 1.1rem;
  color: #bdbdbd;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.timeline-modern-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.timeline-modern-list li {
  margin-bottom: 0.7rem;
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.7;
}
          @media (max-width: 991.98px) {
  .timeline-modern-row {
    flex-direction: column;
    min-height: 0;
    margin-bottom: 2.5rem;
  }
  .timeline-modern-left,
  .timeline-modern-right,
  .timeline-modern-spacer,
  .timeline-modern-center {
  width: 100%;
    max-width: 100%;
    justify-content: center;
  margin: 0;
  }
  .timeline-modern-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
  }
  .timeline-modern-center {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .experience-title {
    font-size: 2rem;
  }
  .timeline-modern-card {
    padding: 1.1rem 0.5rem;
  }
  .timeline-modern-node {
    width: 44px;
    height: 44px;
  }
  .timeline-modern-logo {
    width: 24px;
    height: 24px;
  }
}

/* ===== CONTACT SECTION ANIMATION ===== */
.contact-animated-bg {
      position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.contact-animated-bg::before, .contact-animated-bg::after {
      content: '';
    position: absolute;
    border-radius: 50%;
  opacity: 0.5;
  animation: floatBubbles 8s linear infinite;
}
.contact-animated-bg::before {
  width: 60px; height: 60px;
  left: 10%; top: 80%;
  background: #a78bfa44;
  animation-delay: 0s;
}
.contact-animated-bg::after {
  width: 40px; height: 40px;
  left: 80%; top: 90%;
  background: #38bdf844;
  animation-delay: 2s;
}
@keyframes floatBubbles {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-600px) scale(1.2); opacity: 0; }
}
.aos-fade-in {
  opacity: 0;
  animation: fadeInUp 1.2s 0.2s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-globe-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
    margin: 0 auto;
  z-index: 1;
  filter: drop-shadow(0 4px 32px #0004);
}
.contact-form-card {
  position: relative;
  z-index: 2;
}
.contact-section {
    position: relative;
  overflow: hidden;
}

.rotating-globe {
  animation: rotateGlobe 8s linear infinite;
}
@keyframes rotateGlobe {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.technologies-section {
  background: #181924;
  padding: 5rem 0 4rem 0;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 2.5rem 3.5rem;
  justify-items: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.tech-card {
  background: #202232;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(80, 80, 120, 0.10);
  padding: 1.1rem 1.1rem 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 80px;
  max-width: 90px;
  max-height: 90px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.tech-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.tech-card:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 8px 32px 0 #a78bfa33;
}
@media (max-width: 991.98px) {
  .tech-grid {
    gap: 2rem 2rem;
  }
  .tech-card {
    min-width: 64px;
    min-height: 64px;
    max-width: 70px;
    max-height: 70px;
    padding: 0.7rem;
  }
  .tech-card img {
    width: 40px;
    height: 40px;
  }
}

.timeline-modern-card, .timeline-modern-content h3, .timeline-modern-role, .timeline-modern-list, .timeline-modern-list li {
    color: #fff !important;
    opacity: 1 !important;
}
.timeline-modern-company, .timeline-modern-date {
    color: #e0e0e0 !important;
    opacity: 1 !important;
}
