/* footer section of index file */



.tedx-footer {
    background:black;
    color: #ffffff;
    padding: 100px 50px 50px;

}

.footer-container {
    max-width: 1200px;
    margin-right: 300px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-section {
    flex: 2;
    min-width: 300px;
   
}

.links-section {
    flex: 1.2;
    min-width: 150px;
    
}

.contact-section {
    flex: 1.5;
    min-width: 250px;
   
}
.email-link {
color: white;
text-decoration: none;
padding: 5px;
transition: background-color 0.3s;
margin-right: 5px;
}

.email-link:hover {
color: red;
}

.tedx-heading {
    color: #e62b1e;
    font-size: 36px;
    margin-bottom: 4px;
}

.subheading {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
    align-items: center; /* Align text and icon in a row */
}
.contact-info div {
    display: flex;
    align-items: center; /* Ensures icons and text align properly */
    margin-bottom: 8px; /* Add spacing between each contact detail */
}

.tagline {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    max-width: 280px;
}

.footer-links {
    list-style: none;
    line-height: 1.8;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e62b1e;
}

.contact-info {
    line-height: 1.8;
    font-size: 16px;
}

.contact-social-wrapper {
    display: flex;
    gap: 30px;
}

.follow-us-section {
    margin-left: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #e62b1e;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

hr {
    border: 0;
    height: 1px;
    background: #333;
    margin: 30px auto;
    max-width: 1200px;
}
/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
  }

  /* Footer styling */
  .site-footer {
    position: relative;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
  }

  
  


  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .tagline {
        max-width: none;
        margin: 0;
        text-align: left;
    }

    .brand-section {
        text-align: left;
    }

    .tedx-heading, .subheading {
        text-align: left;
    }

    .contact-social-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .follow-us-section {
        margin-left: 0;
        margin-top: 20px;
    }

    .social-icons {
        justify-content: flex-start;
    }
}


/* Back to top arrow styling */
/* Ensure footer has relative positioning */
.footer {
    position: relative;
}

/* Place back-to-top button inside the footer */
    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 5%;
        right: 5%;
        width: 60px;
        height: 60px;
        background-color: #e62b1e; /* Red Circle */
        color: white; /* White Arrow */
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 28px;
        cursor: pointer;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
        opacity: 1; /* Make sure it's visible */
        visibility: visible;
        z-index: 1000;
    }

    .back-to-top i {
        font-size: 28px;
    }

    .back-to-top:hover {
        background-color: #c22218; /* Darker Red on Hover */
        transform: scale(1.1);
    }

    /* Hide Button Initially */
    .hidden {
        opacity: 0;
        visibility: hidden;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
        .back-to-top {
            width: 50px;
            height: 50px;
            font-size: 24px;
            bottom: 10%;
            right: 5%;
        }

        .back-to-top i {
            font-size: 24px;
        }
    }

    @media (max-width: 480px) {
        .back-to-top {
            width: 45px;
            height: 45px;
            font-size: 20px;
            bottom: 12%;
            right: 5%;
        }

        .back-to-top i {
            font-size: 20px;
        }
    }