@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");

:root {
    --primary-color: #6a0dad;
    --background-color: #0f0f0f;
    --text-color: #f0f0f0;
    --card-bg-color: #1a1a1a;
    --border-color: #333;
}

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

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%236a0dad" opacity="0.5"/><circle cx="10" cy="10" r="2" fill="%23fff"/></svg>'),
        auto;
}

/* Custom cursor for interactive elements */
a,
button,
.clickable,
.team-member,
.nav-link,
.social-link {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%236a0dad" opacity="0.7"/><circle cx="12" cy="12" r="3" fill="%23fff"/></svg>'),
        pointer;
}

/* Add glow effect to interactive elements on hover */
a:hover,
button:hover,
.nav-link:hover,
.social-link:hover {
    filter: drop-shadow(0 0 8px rgba(106, 13, 173, 0.6));
}

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

/* Header styles */
/*     
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 15px 5%;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    header.scrolled {
      background: rgba(18, 18, 18, 0.9);
      backdrop-filter: blur(20px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 10px;
      background: transparent;
      position: relative;
      outline: 1.8px solid #444;
      border-radius: 30px;
      backdrop-filter: blur(5px);
      box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    }

    .logo {
      font-size: 1.8em;
      text-decoration: none;
      margin-left: 20px;
      letter-spacing: 2px;
      font-family: "Roboto Slab", sans-serif;
      font-weight: 500;
      font-style: normal;
      background: linear-gradient(135deg, #4d40c4, #520dad, #7c3aed);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      opacity: 0;
      transform: translateY(-20px);
      animation: logoGlow 2s ease-in-out infinite alternate;
    }

    @keyframes logoGlow {
      from {
        filter: drop-shadow(0 0 5px rgba(106, 13, 173, 0.5));
      }

      to {
        filter: drop-shadow(0 0 15px rgba(106, 13, 173, 0.8));
      }
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 15px;
    }

    .nav-link {
      color: #fff;
      text-decoration: none;
      font-weight: 400;
      padding: 5px 20px;
      position: relative;
      overflow: hidden;
      display: inline-block;
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(20px);
    }

    .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: linear-gradient(135deg, #6a0dad, #5628ee);
      transition: all 0.3s ease;
      transform: translateX(-50%);
      box-shadow: 0 0 10px rgba(106, 13, 173, 0.5);
    }

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

    .nav-link span {
      position: relative;
      display: inline-block;
      transition: transform 0.3s ease;
      z-index: 1;
    }

    .nav-link::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.1);
      transition: width 0.3s ease;
      z-index: 0;
      border-radius: 25px;
    }

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

    .nav-link:hover {
      color: #f0f0f0;
      text-shadow: 0 0 10px rgba(106, 13, 173, 0.7);
    }

    .nav-link:hover span {
      transform: translateX(5px);
    }

    .nav-link.active {
      color: var(--primary-color);
      font-weight: 600;
    }

    .nav-link.active::after {
      width: 80%;
      background: linear-gradient(135deg, #6a0dad, #5628ee);
    }

    .nav-link.active span {
      color: var(--primary-color);
    }*/

/* Mobile menu */
/*     
    #hamburger {
      display: none;
      cursor: pointer;
    }

    .second-nav {
      display: none;
      list-style: none;
      flex-direction: column;
      top: 99px;
      width: 100%;
      height: max-content;
      position: fixed;
      z-index: 9999;
      background: rgba(30, 30, 30, 0.95);
      backdrop-filter: blur(10px);
      border: 2px solid rgba(106, 13, 173, 0.5);
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .active-second-nav {
      display: flex;
      animation: slideDown 0.3s ease-out;
    }

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

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .second-nav-li {
      color: #fff;
      text-decoration: none;
      font-weight: 400;
      width: 100%;
      height: max-content;
      text-align: center;
      font-size: 25px;
      font-weight: 500;
      padding: 15px 0px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
    }

    .second-nav-li:hover {
      background: linear-gradient(135deg, #6a0dad, #5628ee);
      color: white;
      transform: translateX(10px);
    }

    @media (max-width: 768px) {
      #hamburger {
        display: inline-block;
      }

      #first-nav {
        display: none;
      }
    } */



/* Modern Mobile Navigation */

#hamburger {
    display: none;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    position: relative;
}

#hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

#hamburger span:nth-child(1) {
    top: 0;
}

#hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#hamburger span:nth-child(3) {
    bottom: 0;
}

#hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#hamburger.active span:nth-child(2) {
    opacity: 0;
}

#hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.second-nav {
    display: none;
    list-style: none;
    flex-direction: column;
    top: 80px;
    width: 90%;
    max-width: 400px;
    height: max-content;
    position: fixed;
    z-index: 9999;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    overflow: hidden;
}

.second-nav.active-second-nav {
    display: flex;
    animation: slideDownMobile 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideDownMobile {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.second-nav-li {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    height: max-content;
    text-align: center;
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.second-nav-li:last-child {
    border-bottom: none;
}

.second-nav-li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 13, 173, 0.2), transparent);
    transition: width 0.4s ease;
    z-index: -1;
}

.second-nav-li:hover::before {
    width: 100%;
}

.second-nav-li:hover {
    color: #6a0dad;
    transform: translateX(5px);
}

.second-nav-li a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 18px 0;
    width: 100%;
}

@media (max-width: 768px) {
    #hamburger {
        display: inline-block;
    }

    #first-nav {
        display: none;
    }
}


/* Updated Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 100;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        padding: 10px 3%;
    }

    nav {
        padding: 8px;
    }

    .logo {
        font-size: 1.5em;
        margin-left: 10px;
    }
}

header.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: transparent;
    position: relative;
    outline: 1.8px solid #444;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;

}

.logo {
    font-size: 1.8em;
    text-decoration: none;
    margin-left: 20px;
    letter-spacing: 2px;
    font-family: "Roboto Slab", sans-serif;
    font-weight: 500;
    font-style: normal;
    background: linear-gradient(135deg, #4d40c4, #520dad, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

}


nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 20px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    z-index: 1;

}


.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transition: width 0.3s ease;
    z-index: 0;
    border-radius: 25px;

}

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

.nav-link:hover {
    color: black;
}

.nav-link:hover span {
    transform: translateX(5px);
}





/* About Page Specific Sections */
.about-hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: linear-gradient(135deg,
            rgba(18, 18, 18, 0.4),
            rgba(26, 26, 26, 0.9)),
        url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop") no-repeat center center/cover;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: gradientShift 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        background: linear-gradient(45deg,
                rgba(106, 13, 173, 0.1),
                rgba(86, 40, 238, 0.1));
    }

    50% {
        background: linear-gradient(45deg,
                rgba(86, 40, 238, 0.1),
                rgba(106, 13, 173, 0.1));
    }
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: "Roboto Slab", sans-serif;
    opacity: 0;
    color: #6a0dad !important;
    transform: translateY(30px);
    background: linear-gradient(135deg, #602dbe, #602dbe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ccc;
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.7;
}

.scroll-down {
    position: absolute;
    bottom: 6-0px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0;
    text-shadow: 0 0 10px rgba(106, 13, 173, 0.5);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.page-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Roboto Slab", sans-serif;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.section-header .line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-color),
            transparent);
    margin: 20px auto;
    transition: width 1s ease;
}

/* Our Story Section */
.our-story {
    background: linear-gradient(135deg,
            #0a0a0a 0%,
            #1a1a1a 50%,
            #0f0f0f 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.our-story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%,
            rgba(106, 13, 173, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 70% 80%,
            rgba(86, 40, 238, 0.1) 0%,
            transparent 50%);
    pointer-events: none;
}

.our-story .story-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.our-story .story-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateX(-50px);
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.our-story .story-text p {
    margin-bottom: 20px;
    color: #d0d0d0;
    font-weight: 300;
}

.story-part {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.story-part:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.story-part h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    padding-left: 15px;
}

.story-part h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(106, 13, 173, 0.5);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), #5628ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), #5628ee);
    opacity: 0.5;
}

.our-story .story-image {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateX(50px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(106, 13, 173, 0.3);
}

.our-story .story-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    border: 1px solid rgba(106, 13, 173, 0.2);
    object-fit: cover;
}

.our-story .story-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(106, 13, 173, 0.5);
    filter: brightness(1.05) contrast(1.05);
}

.quote-box {
    background: rgba(106, 13, 173, 0.15);
    border-left: 4px solid var(--primary-color);
    padding: 30px 25px 25px 25px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(106, 13, 173, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.quote-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 13, 173, 0.3);
}

.quote-box p {
    font-style: italic;
    color: #e0e0e0;
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
}

.quote-box::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -15px;
    left: 10px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    font-weight: bold;
}

.quote-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(106, 13, 173, 0.1),
            transparent);
    border-radius: 0 15px 15px 0;
    z-index: 0;
}

.quote-author {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg,
            #0f0f0f 0%,
            #1a1a1a 50%,
            #0a0a0a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(106, 13, 173, 0.2);
    border-bottom: 1px solid rgba(106, 13, 173, 0.2);
}

.timeline-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%,
            rgba(106, 13, 173, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 80% 70%,
            rgba(86, 40, 238, 0.1) 0%,
            transparent 50%);
    pointer-events: none;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.timeline-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Roboto Slab", sans-serif;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.timeline-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
}

.timeline-header .line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-color),
            transparent);
    margin: 20px auto;
    transition: width 1s ease;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color), #5628ee);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(106, 13, 173, 0.6);
}

.timeline-item {
    padding: 25px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), #5628ee);
    border: 5px solid #0f0f0f;
    top: 35px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px rgba(106, 13, 173, 0.7);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.9);
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(106, 13, 173, 0.4);
    border-color: rgba(106, 13, 173, 0.5);
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #5628ee);
    border-radius: 2px 2px 0 0;
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.timeline-content h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
    background: rgba(106, 13, 173, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-content h3 i:hover {
    transform: rotate(10deg);
    background: rgba(106, 13, 173, 0.3);
}

.timeline-content p {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 300;
}

.timeline-year {
    position: absolute;
    top: 25px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(106, 13, 173, 0.15);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(106, 13, 173, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-year:hover {
    background: rgba(106, 13, 173, 0.25);
    transform: scale(1.05);
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -110px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -110px;
}

/* Why How When Section */
.why-how-when {
    background: linear-gradient(135deg,
            #0a0a0a 0%,
            #1a1a1a 50%,
            #0f0f0f 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-how-when::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 20%,
            rgba(106, 13, 173, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 60% 80%,
            rgba(86, 40, 238, 0.1) 0%,
            transparent 50%);
    pointer-events: none;
}

.why-how-when-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-how-when-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.why-how-when-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Roboto Slab", sans-serif;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.why-how-when-header .line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-color),
            transparent);
    margin: 20px auto;
    transition: width 1s ease;
}

.why-how-when-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-how-when-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.why-how-when-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
    border-color: rgba(106, 13, 173, 0.3);
}

.why-how-when-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #5628ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-how-when-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.why-how-when-card p {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 0;
}

/* TEAM SECTION START - Simple Grid Layout */

/* Team Section Styles */
.team-section {
    padding: 120px 0;
    background: linear-gradient(135deg,
            #0a0a0a 0%,
            #1a1a1a 50%,
            #0f0f0f 100%);
    color: #f5f5f5;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%,
            rgba(106, 13, 173, 0.1) 0%,
            transparent 20%),
        radial-gradient(circle at 90% 80%,
            rgba(86, 40, 238, 0.1) 0%,
            transparent 20%);
    z-index: 0;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-section .header {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.team-section .header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Team Member Card */
.team-member {
    width: 100%;
    height: auto;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.35);
    border-color: rgba(106, 13, 173, 0.5);
}

.team-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    z-index: 2;
}

.member-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #6a0dad;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.3);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member:hover .member-image {
    border-color: #fff;
    box-shadow: 0 15px 40px rgba(106, 13, 173, 0.5);
    transform: scale(1.05);
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.member-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    transition: all 0.3s ease;
}

.member-info h3 {
    font-size: 1.1rem;
    color: #6a0dad;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.member-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    flex-grow: 1;
}

.team-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Enhanced social link colors */
.social-link:nth-child(1):hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.social-link:nth-child(2):hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #fff;
}

.social-link:nth-child(3):hover {
    background: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    border-color: #e6683c;
    color: #fff;
}

/* TEAM SECTION END*/

/* Responsive Team Grid */
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .member-image {
        width: 150px;
        height: 150px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .member-image {
        width: 140px;
        height: 140px;
    }

    /* Make story image responsive to section dimensions on large screens */
    .our-story .story-image {
        max-width: 100%;
        height: auto;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .our-story .story-image {
        max-width: 100%;
        height: auto;
        flex: 1.2;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 0 15px;
    }

    .team-member {
        min-height: 420px;
    }

    .team-section .header {
        font-size: 2.5rem;
    }

    .member-image {
        width: 130px;
        height: 130px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .team-section {
        padding: 100px 0;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
        padding: 0 15px;
    }

    .team-member {
        min-height: 400px;
    }

    .team-section .header {
        font-size: 2.2rem;
    }

    .member-image {
        width: 120px;
        height: 120px;
    }

    .member-info h2 {
        font-size: 1.4rem;
    }

    .member-info h3 {
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .team-section {
        padding: 80px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }

    .team-member {
        min-height: 380px;
    }

    .team-section .header {
        font-size: 2rem;
    }

    .member-image {
        width: 110px;
        height: 110px;
    }

    .member-info h2 {
        font-size: 1.3rem;
    }

    .member-info h3 {
        font-size: 0.9rem;
    }

    .member-description {
        font-size: 0.9rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* footer section styling */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 20px;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(106, 13, 173, 0.3);
    box-shadow: 0 -5px 30px rgba(106, 13, 173, 0.1);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            #6a0dad,
            #5628ee,
            #6a0dad,
            transparent);
}

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

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

.footer-column h3.footer-logo {
    font-size: 1.8rem;
    color: #6a0dad;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-column h4 {
    font-size: 1.3rem;
    color: #6a0dad;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #6a0dad;
    margin-right: 10px;
    width: 20px;
}

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

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: "→";
    margin-right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #6a0dad;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-newsletter-text {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter-form input:focus {
    border-color: #6a0dad;
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.3);
}

.footer-newsletter-form button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.5);
}

.footer-social h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.social-media {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.social-media a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.social-media a:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
}


/* Social media specific background colors on hover */
.social-media a:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
}

.social-media a[href*="instagram.com"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-media a[href*="github.com"]:hover {
    background: linear-gradient(45deg, #24292e, #343a40);
}

.social-media a[href*="twitter.com"]:hover,
.social-media a[href*="x.com"]:hover {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-media a[href*="linkedin.com"]:hover {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.social-media a[href*="youtube.com"]:hover {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.social-media a[href*="facebook.com"]:hover {
    background: linear-gradient(45deg, #4267B2, #3b5998);
}

.social-media a[href*="dribbble.com"]:hover {
    background: linear-gradient(45deg, #ea4c89, #d6356c);
}

.social-media a[href*="behance.net"]:hover {
    background: linear-gradient(45deg, #1769ff, #0057e7);
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #6a0dad;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-bottom {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-form input,
    .footer-newsletter-form button {
        width: 100%;
    }

    .footer-newsletter-form button {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
}

/* Responsive Design */
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .our-story .story-content {
        flex-direction: column;
        position: relative;
    }

    .our-story .story-text,
    .our-story .story-image {
        transform: none !important;
    }

    .our-story .story-text {
        padding: 30px;
        font-size: 1.05rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 2;
        width: 100%;
    }

    .our-story .story-image {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.1;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .team-member {
        height: 350px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: -80px;
        right: auto;
        font-size: 1.1rem;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .page-section {
        padding: 80px 0;
    }

    .story-part h3 {
        font-size: 1.3rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .about-hero {
        height: 90vh;
        padding: 0 15px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero p {
        font-size: 1.05rem;
        max-width: 95%;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .our-story .story-content {
        flex-direction: column;
        gap: 30px;
        position: relative;
    }

    .our-story .story-text {
        font-size: 1.05rem;
        padding: 25px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 2;
        width: 100%;
    }

    .our-story .story-image {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.1;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: -75px;
        font-size: 0.95rem;
    }
    
    /* Card-based layout for timeline on small screens */
    .timeline::after {
        display: none;
    }

    .timeline {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 20px 0;
    }

    .timeline-item {
        width: 100%;
        padding: 0;
        position: relative;
        left: 0 !important;
    }

    .timeline-item::after {
        display: none;
    }

    .timeline-item .timeline-year {
        position: relative;
        top: 0;
        left: 0 !important;
        right: auto;
        font-size: 1.1rem;
        margin-bottom: 15px;
        display: inline-block;
    }
    
    .timeline-content {
        padding: 25px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(106, 13, 173, 0.3);
        border-color: rgba(106, 13, 173, 0.3);
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .timeline-content {
        padding: 22px;
        font-size: 0.9rem;
    }
    
    .timeline-content h3 {
        font-size: 1.4rem;
        gap: 10px;
    }
    
    .timeline-content h3 i {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-year {
        font-size: 0.9rem;
        padding: 4px 12px;
    }
    
    .why-how-when-grid {
        gap: 25px;
    }

    .why-how-when-card {
        padding: 25px 20px;
    }

    .why-how-when-card h3 {
        font-size: 1.6rem;
    }

    .page-section {
        padding: 70px 0;
    }

    .story-part h3 {
        font-size: 1.1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .about-hero {
        height: 85vh;
        padding: 0 10px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .our-story .story-content {
        flex-direction: column;
        gap: 30px;
        position: relative;
    }

    .our-story .story-text {
        font-size: 1rem;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 2;
        width: 100%;
    }

    .our-story .story-image {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.1;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .quote-box {
        padding: 20px 15px 15px 15px;
        margin: 20px 0;
    }

    .quote-box::before {
        font-size: 4rem;
        top: -10px;
    }

    .quote-box p {
        font-size: 1rem;
    }

    .timeline-header h2 {
        font-size: 1.8rem;
    }

    .timeline-header h2::after {
        width: 60px;
        height: 3px;
    }

    .timeline::after {
        left: 21px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 11px;
        width: 20px;
        height: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: -60px;
        font-size: 0.85rem;
        padding: 3px 10px;
    }
    
    /* Card-based layout for timeline on extra small screens */
    .timeline::after {
        display: none;
    }

    .timeline {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .timeline-item {
        width: 100%;
        padding: 0;
        position: relative;
        left: 0 !important;
    }

    .timeline-item::after {
        display: none;
    }

    .timeline-item .timeline-year {
        position: relative;
        top: 0;
        left: 0 !important;
        right: auto;
        font-size: 1rem;
        margin-bottom: 12px;
        display: inline-block;
    }
    
    .timeline-content {
        padding: 20px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        margin-left: 0;
        margin-right: 0;
        font-size: 0.85rem;
    }
    
    .timeline-content:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(106, 13, 173, 0.3);
        border-color: rgba(106, 13, 173, 0.3);
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        gap: 6px;
    }
    
    .timeline-content h3 i {
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .timeline-year {
        font-size: 0.85rem;
        padding: 3px 10px;
    }
    
    .why-how-when-grid {
        gap: 20px;
    }

    .why-how-when-card {
        padding: 20px 15px;
    }

    .why-how-when-card h3 {
        font-size: 1.5rem;
    }

    .page-section {
        padding: 60px 0;
    }

    .story-part h3 {
        font-size: 1rem;
    }
}