/* ==========================================================================
   Premium Design Utilities
   ========================================================================== */

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
    border-color: var(--primary-color);
}

/* Gradient Text */
.gradient-text {
    /* background: linear-gradient(135deg, var(--primary-color) 0%, #2eb97e 100%); */
    background-color: #863434;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Timeline / Journey Section */
.timeline-section {
    position: relative;
    padding: 30px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #863434, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}
.timeline-content span{
    color: #176098;
    letter-spacing: 0.5px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}
.timeline-content h4{
    font-size: 26px;
    letter-spacing: 1px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #863434;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px #863434;
}

@media (max-width: 991px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-item {
        justify-content: flex-start;
        padding-left: 50px;
    }
    .timeline-content {
        width: 100%;
        text-align: left !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .timeline-dot {
        left: 20px;
    }
}

/* Statistics Section */
.tech-stats {
    /* background: linear-gradient(135deg, #1a1a1a 0%, #176098 100%); */
    padding: 50px 0;
    /* color: var(--white); */
    color: #000;
    position: relative;
    overflow: hidden;
}

.tech-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
}
.tech-stats .container h2{
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #222;
    letter-spacing: 1px;
}
.stats-flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}
.stat-box {
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-box h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    /* background: linear-gradient(transparent, #000, #a5a5a5); */
    background: #333;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    display: inline-block;
}
.stat-box p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.8);
    letter-spacing: 1.2px;
    font-weight: 500;
}

/* Specialities Section */
.specialties-section {
    padding: 100px 0;
    /* background-color: #f8f9fa; */
    position: relative;
}
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.specialty-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}
.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px #f1e0e0, 0.15;
    border-color: #863434;
}
.specialty-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 30px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.specialty-card:hover img {
    transform: scale(1.1) rotate(10deg);
}
.specialty-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--heading-color);
    font-weight: 600;
}

.specialty-card p {
    color: var(--paragraph);
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #176098;
}

/* COURSE PAGE --PREMIUM CTA SECTION */
.premium-cta-section {
  padding: 80px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.cta-wrapper {
  background: #fcfcfc;
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
}
.cta-subtitle span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #176098;
}
.cta-heading {
  font-size: 40px;
  font-weight: 700;
  margin: 15px 0 20px;
  line-height: 1.3;
}
.highlight-text {
  color: #176098;
  display: block;
}
.cta-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  max-width: 600px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 28px;
  background: #176098;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-button span{
    color: #fff;
}

.cta-button:hover {
  background: #176080;
  transform: translateY(-3px);
}
.cta-img img {
  width: 100%;
  max-width: 450px;
  height: auto;
}
@media (max-width: 991px) {
  .cta-wrapper {
    padding: 40px 30px;
    text-align: center;
  }
  .cta-heading {
    font-size: 32px;
  }
  .highlight-text {
    display: inline;
  }
  .cta-text {
    margin: 0 auto;
  }
  .cta-img {
    margin-top: 30px;
  }
}
@media (max-width: 576px) {
  .premium-cta-section {
    padding: 60px 0;
  }
  .cta-wrapper {
    padding: 30px 20px;
    border-radius: 15px;
  }
  .cta-heading {
    font-size: 26px;
  }
  .cta-text {
    font-size: 15px;
  }
  .cta-button {
    padding: 12px 22px;
    font-size: 14px;
  }
  .cta-img img {
    max-width: 300px;
  }
}

/* ABOUT PAGE ---- ABOUT HERO */
.about-hero__content .sub-title{
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #176098;
}
.about-hero__content h2{
  font-size: 48px;  
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

@media(max-width:480px){
  .about-hero__content h2{
    font-size: 40px;      
  }
}

/* ABOUT PAGE---- MY STORY-AREA */
.my-story-area .section-header h5{
   font-size: 16px;
   font-weight: 700;
}
.my-story-area .section-header h2{
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}