/* EduTechRR Timeline - Scoped Styles */
:root {
    --edtr-primary: #4361ee;
    --edtr-primary-light: #4895ef;
    --edtr-accent: #3f37c9;
    --edtr-sunlight: #ff9e00;
    --edtr-sunlight-glow: #ffcc00;
    --edtr-dark: #1a1a2e;
    --edtr-light: #f8f9fa;
    --edtr-gray: #6c757d;
}

.edtr-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.edtr-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.edtr-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--edtr-primary), var(--edtr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1.2;
}

.edtr-subtitle {
    font-size: 1.1rem;
    color: var(--edtr-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* TIMELINE STRUCTURE */
.edtr-timeline {
    position: relative;
    padding: 40px 0 180px;
}

.edtr-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 120px;
    width: 4px;
    background: linear-gradient(to bottom, var(--edtr-primary), var(--edtr-primary-light));
    transform: translateX(-50%);
    z-index: 1;
}

/* KNOT VISUAL EFFECT */
.edtr-timeline-knot {
    position: absolute;
    left: 50%;
    bottom: 120px;
    width: 24px;
    height: 24px;
    background: var(--edtr-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(67, 97, 238, 0.2);
}

.edtr-timeline-knot::before {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px dashed var(--edtr-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: edtr-pulse 3s infinite;
}

@keyframes edtr-pulse {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

/* ROPE CONNECTION */
.edtr-rope-connection {
    position: absolute;
    left: 50%;
    bottom: 120px;
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, var(--edtr-primary-light), var(--edtr-primary));
    transform: translateX(-50%);
    z-index: 1;
}

.edtr-rope-connection::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 18px;
    height: 18px;
    background: var(--edtr-primary);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2;
}

/* MILESTONES */
.edtr-milestones {
    position: relative;
    z-index: 2;
}

.edtr-milestone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    width: 100%;
}

.edtr-milestone:nth-child(even) {
    flex-direction: row-reverse;
}

.edtr-milestone-content {
    width: 45%;
    padding: 25px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
}

.edtr-milestone:nth-child(odd) .edtr-milestone-content {
    border-left: 4px solid var(--edtr-primary);
}

.edtr-milestone:nth-child(even) .edtr-milestone-content {
    border-right: 4px solid var(--edtr-primary);
}

.edtr-milestone-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, var(--edtr-primary), var(--edtr-primary-light));
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.edtr-milestone-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--edtr-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.edtr-milestone-desc {
    color: var(--edtr-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.edtr-milestone-marker {
    width: 26px;
    height: 26px;
    background: white;
    border: 4px solid var(--edtr-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: edtr-float 3s ease-in-out infinite;
}

@keyframes edtr-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* LOGO CONTAINER */
.edtr-logo-anchor {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 3;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edtr-logo-container {
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 8px;
    transition: all 0.3s ease;
}

/* Sunlight Border Animation */
.edtr-sunlight-border {
    position: absolute;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--edtr-sunlight) 30deg,
        var(--edtr-sunlight-glow) 60deg,
        var(--edtr-sunlight) 90deg,
        transparent 120deg,
        transparent 360deg
    );
    z-index: 3;
    animation: edtr-rotateSunlight 6s linear infinite;
    filter: blur(6px);
    opacity: 0.8;
}

@keyframes edtr-rotateSunlight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.edtr-logo-border {
    position: absolute;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    background: linear-gradient(45deg, var(--edtr-primary), var(--edtr-accent), var(--edtr-primary-light));
    z-index: 4;
    animation: edtr-rotateBorder 8s linear infinite;
    mask: radial-gradient(
        circle at center,
        transparent 60%,
        white 62%,
        white 100%
    );
}

.edtr-logo-container:hover {
    transform: scale(1.05);
}

.edtr-logo-container:hover .edtr-sunlight-border {
    animation: edtr-rotateSunlight 3s linear infinite, edtr-intensifySunlight 1.5s ease infinite alternate;
}

@keyframes edtr-intensifySunlight {
    0% { opacity: 0.8; filter: blur(6px); }
    100% { opacity: 1; filter: blur(10px); }
}

.edtr-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    text-decoration: none;
}

.edtr-logo-img {
    max-width: 80%;
    max-height: 80%;
    transition: transform 0.3s ease;
}

.edtr-logo-container:hover .edtr-logo-img {
    transform: scale(1.1);
}

/* Founder Message Styles */
.edtr-founder-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
}

.edtr-founder-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.edtr-founder-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
}

.edtr-founder-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #3a5a9a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.edtr-initials {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.edtr-founder-heading {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.edtr-founder-name {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: bold;
}

.edtr-founder-position {
    margin: 3px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.edtr-founder-message {
    padding: 25px;
    line-height: 1.7;
    color: #333;
    font-size: 16px;
}

.edtr-founder-message p {
    margin-bottom: 15px;
}

.edtr-signature {
    margin-top: 20px;
    font-style: italic;
}

.edtr-signature-name {
    font-weight: bold;
    font-size: 18px;
}

.edtr-quick-links {
    padding: 20px 25px;
    background-color: #f5f7fa;
    border-top: 1px solid #e0e0e0;
}

.edtr-links-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
}

.edtr-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.edtr-link-btn {
    display: block;
    padding: 12px 15px;
    background-color: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.edtr-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.edtr-main-server { border-left: 4px solid #4b6cb7; }
.edtr-govt-server { border-left: 4px solid #27ae60; }
.edtr-lite-server { border-left: 4px solid #f39c12; }
.edtr-private-jobs { border-left: 4px solid #e74c3c; }
.edtr-tools { border-left: 4px solid #9b59b6; }
.edtr-books { border-left: 4px solid #3498db; }
.edtr-bookshop { border-left: 4px solid #1abc9c; }
.edtr-services { border-left: 4px solid #7f8c8d; }

/* Responsive Design */
@media (max-width: 992px) {
    .edtr-title {
        font-size: 2.2rem;
    }
    
    .edtr-milestone-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .edtr-timeline-container {
        padding: 50px 15px;
    }
    
    .edtr-header {
        margin-bottom: 50px;
    }
    
    .edtr-timeline-line, .edtr-rope-connection {
        left: 30px;
    }
    
    .edtr-timeline-knot {
        left: 30px;
        width: 20px;
        height: 20px;
    }
    
    .edtr-logo-anchor {
        left: 30px;
        transform: translateX(0);
        width: 120px;
        height: 120px;
    }
    
    .edtr-milestone {
        flex-direction: column !important;
        margin-bottom: 70px;
    }
    
    .edtr-milestone-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        border-left: 4px solid var(--edtr-primary) !important;
        border-right: none !important;
    }
    
    .edtr-milestone-marker {
        left: 30px;
        animation: edtr-floatMobile 3s ease-in-out infinite;
    }
    
    @keyframes edtr-floatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    
    .edtr-founder-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .edtr-founder-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .edtr-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .edtr-title {
        font-size: 1.8rem;
    }
    
    .edtr-subtitle {
        font-size: 1rem;
    }
    
    .edtr-milestone-content {
        padding: 18px;
        margin-left: 50px;
        width: calc(100% - 50px);
    }
    
    .edtr-milestone-marker {
        left: 25px;
        width: 22px;
        height: 22px;
    }
    
    .edtr-logo-container {
        width: 90px;
        height: 90px;
    }
    
    .edtr-sunlight-border {
        width: calc(100% + 20px);
        height: calc(100% + 20px);
    }
    
    .edtr-links-grid {
        grid-template-columns: 1fr;
    }
    
    .edtr-founder-message {
        padding: 20px 15px;
        font-size: 15px;
    }
}


:root {
  /* Color Variables */
  --social-bg: #f8f9fa;
  --social-icon-size: 1.75rem;
  --social-icon-padding: 0.75rem;
  --social-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Brand Colors */
  --facebook-brand: #1877f2;
  --twitter-brand: #1da1f2;
  --youtube-brand: #ff0000;
  --whatsapp-brand: #25d366;
  --instagram-brand: #e4405f;
  --telegram-brand: #0088cc;
  --linkedin-brand: #0a66c2;
}

/* Social Links Container */
.social-links-container {
  background-color: var(--social-bg);
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.social-links-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Social Link Styles */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--social-icon-size) + (2 * var(--social-icon-padding)));
  height: calc(var(--social-icon-size) + (2 * var(--social-icon-padding)));
  border-radius: 50%;
  transition: var(--social-transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.social-link:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 4px 8px rgba(0,0,0,0.16), 0 4px 8px rgba(0,0,0,0.23);
}

.social-icon {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
}

/* Brand-specific colors */
.social-link--facebook { background-color: var(--facebook-brand); }
.social-link--twitter { background-color: var(--twitter-brand); }
.social-link--youtube { background-color: var(--youtube-brand); }
.social-link--whatsapp { background-color: var(--whatsapp-brand); }
.social-link--instagram { 
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-link--telegram { background-color: var(--telegram-brand); }
.social-link--linkedin { background-color: var(--linkedin-brand); }

/* Hover effects */
.social-link--facebook:hover { background-color: #166fe5; }
.social-link--twitter:hover { background-color: #1991da; }
.social-link--youtube:hover { background-color: #e60000; }
.social-link--whatsapp:hover { background-color: #128c7e; }
.social-link--instagram:hover { opacity: 0.9; }
.social-link--telegram:hover { background-color: #0077b5; }
.social-link--linkedin:hover { background-color: #004182; }

/* Accessibility focus styles */
.social-link:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}


.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.about-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.gradient-text {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.animated-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  opacity: 0.7;
}

.pulse {
  animation: pulse 1.5s infinite ease-in-out;
}

.pulse-delay-1 {
  animation: pulse 1.5s infinite ease-in-out 0.3s;
}

.pulse-delay-2 {
  animation: pulse 1.5s infinite ease-in-out 0.6s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

.about-content {
  color: #333;
  line-height: 1.6;
}

.about-content p {
  margin-bottom: 1rem;
}

.content-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px dashed transparent;
}

.content-link:hover {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.animated-list {
  list-style: none;
  padding: 0;
}

.animated-list li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 2rem;
  transition: all 0.3s ease;
}

.animated-list li:hover {
  transform: translateX(5px);
  border-bottom-color: #3b82f6;
}

.animated-list li:last-child {
  border-bottom: none;
}

.icon {
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-size: 1.2rem;
}

.about-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%233b82f6" opacity=".1"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%233b82f6" opacity=".3"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%233b82f6"/></svg>');
  background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .about-card {
    padding: 1.5rem;
  }
  
  .about-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .animated-dots {
    align-self: flex-end;
  }
}

/* Animation on scroll */
[data-aos] {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
  opacity: 0;
}

[data-aos].animate-aos {
  transform: translateY(0);
  opacity: 1;
}

.dmca-badge-container {
  margin: 20px 0;
  text-align: center;
}

.dmca-badge img {
  width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

.dmca-badge:hover img {
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  color: #3b82f6;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}



  .edutechRR-app-downloads {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  }

  .edutechRR-download-card {
    width: 280px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .edutechRR-download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  }

  .edutechRR-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .edutechRR-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .edutechRR-android-icon {
    width: 24px;
    height: 24px;
    fill: #3DDC84;
  }

  .edutechRR-apple-icon {
    width: 24px;
    height: 24px;
    fill: #A2AAAD;
  }

  .edutechRR-badge {
    height: 50px;
    margin: 15px 0;
  }

  .edutechRR-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .edutechRR-download-button:hover {
    background: linear-gradient(135deg, #3367D6, #2D9144);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
  }

  .edutechRR-comingsoon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f5f7, #e5e5e7);
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .edutechRR-comingsoon-button:hover {
    background: linear-gradient(135deg, #e5e5e7, #d5d5d7);
  }

  .edutechRR-download-icon {
    width: 18px;
    height: 18px;
    fill: white;
  }

  .edutechRR-bell-icon {
    width: 18px;
    height: 18px;
    fill: #666;
  }

  /* Responsive adjustments */
  @media (max-width: 600px) {
    .edutechRR-app-downloads {
      flex-direction: column;
      align-items: center;
    }
    
    .edutechRR-download-card {
      width: 100%;
      max-width: 320px;
    }
  }