:root {
    --dark-bg: #010214;
    --card-bg: #1e1530;
    --text-color: #ffffff;
    --highlight-color: #a45ee5;
    --border-color: #4a3e60;
    --font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(rgba(148, 112, 244, 0.12) 1px, transparent 1px),
        radial-gradient(rgba(148, 112, 244, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    transition: background-image 0.4s ease;
}

#landing {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: var(--dark-bg);
}

.glow-grid {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 60px);
  grid-auto-rows: 60px;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.glow-tile {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s, box-shadow 0.3s;
}

.glow-tile.active {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.2);
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(148,112,244,0.25) 0%, rgba(148,112,244,0) 70%);
    pointer-events: none;
    mix-blend-mode: lighten;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

.ga-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(01, 02, 20, 0.9);
    backdrop-filter: blur(10px);
    height: 4.8125rem;
    display: flex;
    justify-content:center;
    align-items: center;
} 

.header-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    margin-left: 5px;
    font-size: 13px;
    /* line-height: 1.2; */
    font-weight: 600;
}

.navbar
{
    border: 1px solid var(--text-color);
    border-radius: 100px;
    padding: 7px 30px;
    display: flex;
    justify-content: space-between;
    width: 40vw;

}

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    /* margin-left: 30px; */
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.navbar a:hover {
    opacity: 1;
}

.join-button {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    /* border-radius: 100px; */
    padding: 7px 30px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s, border-color 0.3s;
    margin: 0 70px ;
}

.join-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--highlight-color);
}

/* Main Content and Title */
.landing-page
{
    height: 72vh;
    /* width: 100vw; */
    background-image: url(assets/Frame\ 888.png) ;
    position: relative;
    /* top: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.landing-page::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse, rgba(01, 02, 20, 0) 40%, rgb(01, 02, 20,1) 100%);
}
.landing-txt
{
    background: radial-gradient(ellipse, rgba(01, 02, 20, 1) 30%, rgba(01, 02, 20, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40vw;
    height: 20vh;
}
.landing-txt1
{
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: 4rem; /* 114.286% */
    letter-spacing: -0.035rem;
}
.landing-txt2
{
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.625rem; /* 162.5% */
}
#glowGrid, .glow-grid {
  pointer-events: none;
}
.landing-btn {
    margin-top: 80px;
    margin-bottom: 20px;
    white-space: nowrap;   /* keeps the text on one line */
    padding: 1rem 2.5rem;
    width: auto;
    height: 3.125rem;
    border-radius: 9.9375rem;
    border: 1px solid #6747F6;
    background: linear-gradient(144deg, rgba(148, 112, 244, 1) 11.39%, rgba(86, 44, 205, 1) 79.95%, rgba(75, 46, 201, 1) 148.5%);
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;        
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;             
    -webkit-tap-highlight-color: transparent;
    z-index: 2;                  
    position: relative;
}

.main-content {
    background-color: #010214;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}
.ga-timeline
{
    margin-bottom: 120px;
}
.main-title{
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem; /* 120% */
    letter-spacing: -0.0125rem;
    margin-bottom: 70px;
}

/* Info Cards Section */
.info-cards, .materials-cards, .contact-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 100px;
}

.card {
    flex: 1;
    border-radius: 1rem;
    border: 1px solid #2C2D3C;
    padding: 40px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
}

.card-icon {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 70px;

}
 .infosvg
 {

    height: 50px;
    width: 50px;
    opacity: 0.7;
 }
.card-title {
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.875rem; /* 136.364% */
    margin-bottom: 20px;
}

.card p, .card li {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.375rem; /* 157.143% */
    color: var(--Typo-2, rgba(255, 255, 255, 0.60));
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.card li::before {
    content: "•";
    color: var(--highlight-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Statistics Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    margin-bottom: 100px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(217, 217, 217, 0.40);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.625rem; /* 162.5% */
    color: var(--Typo-2, rgba(255, 255, 255, 0.60));

}

.partition
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.part1
{
    width: 26.8125rem;
    height: 2.8125rem;
    background: linear-gradient(90deg, rgba(86, 44, 205, 0.15) 0%, rgba(148, 112, 244, 0.15) 50%, rgba(86, 44, 205, 0.15) 100%);
    filter: blur(50px);
}
.part2
{
    width: 48.5625rem;
    height: 0.05rem;
    background: linear-gradient(90deg, rgba(207, 192, 249, 0.12) 0%, rgba(207, 192, 249, 0.48) 50%, rgba(207, 192, 249, 0.12) 100%);
}
.part3
{
    width: 45.8125rem;
    height: 2.8125rem;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(86, 44, 205, 0.15) 0%, rgba(148, 112, 244, 0.30) 50%, rgba(86, 44, 205, 0.15) 100%);
    filter: blur(50px);
}
.part4 {
    width: 50rem;
    height: 2.8125rem;
    background: linear-gradient(
        90deg,
        rgba(86, 44, 205, 0.2) 0%,
        rgba(148, 112, 244, 0.35) 50%,
        rgba(86, 44, 205, 0.2) 100%
    );
    filter: blur(60px);
    margin-top: -1.5rem; /* adjust overlap or spacing */
}
/* Course Materials Section */
.section-title
{
    margin-top: 100px;
    text-align: left;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem; /* 120% */
    letter-spacing: -0.0125rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.arrow-icon
{
    display: flex;
    align-items: center;
}
.arrow-icon svg
{
    width: 3rem;
    height: 3rem;
    aspect-ratio: 1/1;
}
.materials-cards {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(144deg, rgba(148,112,244,1) 11.39%, rgba(86,44,205,1) 79.95%);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.card-btn:hover {
  transform: scale(1.05);
}

.material-card {
    flex: 1 1 220px;
    max-width: 250px;
    background-color: #1a1a1a;
    border-radius: 12px;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
}

.material-card .card-title
{
    text-align: left;
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.875rem; /* 136.364% */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-subtitle {
    text-align: left;
    color: var(--Typo-2, rgba(255, 255, 255, 0.60));
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.375rem; /* 157.143% */
    margin-bottom: 20px;
}
.material-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card-sp
{
    padding-top: 20px;
}
#card-sp-sp
{
    margin-top: 20px;
}

/* FAQ Section */
.faq-section {
    /* max-width: 800px; */
    margin: 0 auto 100px auto;
}

.faq-items {
    margin-top: 50px;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.faq-item:hover {
    opacity: 0.8;
}

.faq-question {
    font-size: 18px;
    font-weight: 500;
    /* flex-grow: 1; */
}

.faq-toggle {
    font-size: 24px;
    color: var(--highlight-color);
    font-weight: bold;
    user-select: none;
}

.faq-answer {
    display: none;
    padding-top: 20px;
    font-size: 16px;
    opacity: 0.7;
}
.faq-qa
{
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.faq-item.open .faq-answer {
    display: block;
    text-align: left;
}

.faq-item.open .faq-toggle {
    content: "";
}

/* Contact Section */

.contact-cards {
    justify-content: center;
    margin-top: 50px;
}

.contact-card {
    min-height: auto;
    text-align: left;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.text-center
{
    text-align: center;
}

.contact-card .profile-image {
    width: 80%;                        /* smaller so it fits well inside the card */
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background-color: #3b3052;
    background-size: cover;             /* ensures the image fills the area */
    background-position: center;        /* keeps face centered */
    background-repeat: no-repeat;       /* removes tiling */
    margin: 0 auto 20px auto;
    border: 2px solid var(--highlight-color);
    box-shadow: 0 0 15px rgba(103, 71, 246, 0.3); /* subtle glow to match your theme */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card .profile-image:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(103, 71, 246, 0.5);
}

.contact-card .card-title {
    margin-bottom: 5px;
}

.contact-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}
.cc-logo
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons a {
    color: var(--text-color);
    font-size: 20px;
    margin: 0 10px;
}

/* Footer Section */
.footer {
    background-color: #010214;
    padding: 60px 80px 20px 80px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    /* gap: 40px; */
    margin-left: 20px;
    margin-right: 20px;
    gap :20px;

}

.footer-brand
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-social .social-icons a {
    font-size: 24px;
    margin-right: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.init-link a
{
    text-decoration: none;
    color: var(--text-color);
}

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

.footer-social .social-icons a {
  color: var(--text-color);
}

.footer-social .social-icons a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
    margin-top: 40px;
    margin-bottom: 100px;
}

html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header {
        padding: 20px 40px;
    }
    .navbar {
        display: none;
    }
    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .footer {
        padding: 40px;
    }
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    .contact-cards {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .header-content {
        flex-direction: column;
    }
    .logo, .navbar, .header-actions {
        margin-bottom: 15px;
    }
    .main-title, .section-title {
        font-size: 32px;
        text-align: center;
        flex-direction: column;
    }
    .info-cards, .materials-cards {
        flex-direction: column;
        gap: 20px;
    }
    .stats-section {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .search-container {
        width: 100%;
    }
    .join-button {
        width: 100%;
        margin-top: 10px;
    }
}
