/********** Template CSS **********/
:root {
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;

    --primary: #ffc23e;
    --accent: #1f2937;
    --highlight: #575af0;

}

html, body {
  overflow-x: hidden;
}


.back-to-top {
    position: fixed;
    display: none;
    left: 45px;
    bottom: 22px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.mb-5{
    margin-bottom: 5rem !important;
    margin-top: 1rem !important;
}
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Whatsapp widget responsiveness */
.elfsight-app-8eef5ff3-8280-4b10-a0cd-810ec58eb551 {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 999;
    max-width: 100%; /* Ensure widget doesn't exceed screen width */
    overflow: hidden; /* Prevent any overflow */
}

/* Responsive adjustment for WhatsApp widget */
@media (max-width: 400px) {
    .elfsight-app-8eef5ff3-8280-4b10-a0cd-810ec58eb551 {
        bottom: 50px;
        right: 15px;
        max-width: 95%; /* Adjust for smaller screens */
    }
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: color 0.3s;
}
.navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-logo {
  height: 50px;           /* Adjust as per your logo’s design */
  width: auto;            /* Maintains aspect ratio */
  object-fit: contain;    /* Ensures no distortion */
  border-radius: 8px;     /* Optional: smooth rounded edges */
  transition: transform 0.3s ease;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

/* Base styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    /* Light lavender to match homepage */
    color: #1e1e2f;
}

/* Hero Section */
#home {
    background: linear-gradient(135deg, #fef9f5 0%, #ffffff 60%);
    padding: 5rem 1rem 7rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#home::before,
#home::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 60px;
    background: linear-gradient(to bottom, #ffae00 0%, #ffbf35 100%);
    opacity: 0.15;
}

#home::before {
    left: 0;
}

#home::after {
    right: 0;
}

.home-img {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    width: 320px;
    height: 320px;
    margin-left: 30px;
    transition: transform 0.4s ease;
}

.home-img:hover {
    transform: scale(1.03);
}

#home h1 {
    font-size: 3rem;
    color: var(--accent);
    font-weight: 700;
}

#home h3 {
    font-size: 1.5rem;
    color: var(--highlight);
    font-weight: 600;
}

.typed-text-output {
    font-size: 1.2rem;
    color: #374151;
    /* Tailwind gray-700 */
    font-weight: 500;
    line-height: 1.6;
}

#learn-contact a {
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background-color: var(--highlight);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background-color: #4f46e5;
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--highlight);
    color: var(--highlight);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--highlight);
    color: #fff;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.2);
}

@media (max-width: 768px) {
    .home-img {
        margin-left: 0;
        margin-top: 2rem;
    }
}

/* Info Box */
.info-box {
    background: #fff6d2;
    /* Softer yellow for better contrast */
    border-radius: 18px;
    padding: 2.5rem 2rem;
    max-width: 1100px;
    margin: auto;
    position: absolute;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Slightly stronger shadow for better separation */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 92%;
    color: #1f2937;
    /* Tailwind gray-800 for high readability */
}


.info-item .number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--highlight);
    /* Strong red for emphasis */
}

.info-item .fw-bold {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    /* Tailwind gray-900 */
}

.info-item small {
    color: #4b5563;
    /* Tailwind gray-600 */
}

.info-item .fw-bold {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.info-item:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .info-box {
        position: relative;
        flex-direction: column;
        padding: 2rem 1.5rem;
        text-align: center;
        left: 46%;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
    }

    .info-item .number {
        margin-bottom: 0.5rem;
    }
}


/**** Resume Section ****/
.resume-section {
    padding: 3rem 1rem;
    background-color: #f3f1ff;
    padding-top: 10rem;
}

.resume-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

/* Columns */
.resume-column {
    flex: 1 1 45%;
    min-width: 300px;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #7c3aed;
    /* Purple heading */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title .icon {
    font-size: 1.3rem;
}

.resume-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08);
    transition: transform 0.3s ease;
    border-left: 4px solid #7c3aed;
}

.resume-card:hover {
    transform: translateY(-4px);
}

.resume-card .year {
    font-size: 0.9rem;
    color: #7c3aed;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.resume-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 0.25rem;
}

.resume-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .resume-container {
        flex-direction: column;
    }

    .resume-column {
        flex: 1 1 100%;
    }
}

.resume-download {
    text-align: center;
    margin-top: 2rem;
}

.download-btn {
    display: inline-block;
    background-color: #7c3aed;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.download-btn:hover {
    background-color: #5b21b6;
    color: white;
}


/*** Skills ***/
#skills {
    background-color: #f8f9fc;
    padding-top: 5rem;
}

.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.7rem;
    margin-bottom: 2rem;
}

.skill-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.skill-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0d6efd;
    background: #e8f0ff;
}

.bg-sky {
    background: #e3f2fd;
    color: #1976d2;
}

.bg-pink {
    background: #fce4ec;
    color: #c2185b;
}

.bg-orange {
    background: #fff3e0;
    color: #ef6c00;
}

.bg-green {
    background: #e8f5e9;
    color: #2e7d32;
}

.bg-purple {
    background: #f3e5f5;
    color: #6a1b9a;
}

.bg-yellow {
    background: #fffde7;
    color: #fbc02d;
}

.skill-card h5 {
    font-weight: 600;
    margin-top: 15px;
}

.skill-card p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/*** Ventures***/
/*** Ventures ***/
/* Section background and typography */
.ventures-section {
  background-color: #f3f6fd; /* light lavender-blue */
  color: var(--dark);
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: auto;
}

/* Venture Card */
.venture-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.venture-card:hover {
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.venture-image-container {
  position: relative;
  overflow: hidden;
}

.venture-image {
  width: auto;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.venture-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.venture-desc {
  font-size: 0.95rem;
  color: #555;
  min-height: 60px;
  margin-bottom: 20px;
}

.venture-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid var(--primary);
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.venture-btn:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/*** Service ***/
.service-item .bg-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/bg-icon.png) center center no-repeat;
    background-size: cover;
}


/*** Project Portfolio ***/
#project {
    background-color: #ffffff;
}

.volunteer-box {
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.volunteer-box:hover {
    transform: translateY(-8px);
}

.volunteer-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 15px;
    background: #f7f7f7;
}

.details {
    padding: 20px;
    text-align: center;
}

.details .name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.web-link {
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    padding: 10px 12px;
    border-radius: 50%;
    transition: background 0.3s ease;
    text-decoration: none;
}

/* Filter Buttons Styling */
.filter-buttons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.filter-buttons li {
    padding: 8px 16px;
    border: 2px solid #575AF0;
    border-radius: 30px;
    cursor: pointer;
    color: #575AF0;
    background-color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-buttons li:hover,
.filter-buttons li.active {
    background-color: #575AF0;
    color: #fff;
}

.web-link:hover {
    background: var(--dark);
}


/*** Achievements ***/
#team{
    background-color: rgb(243,241,255);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}
.section-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.achievement-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.achievement-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 20px;
}

.achievement-text {
    padding: 20px;
}

.achievement-text h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.achievement-text p {
    font-size: 0.95rem;
    line-height: 1.4;
}



/*** Testimonial ***/
#testimonial{
    background-color: #f4f6ff;

}
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px solid var(--secondary);
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel .testimonial-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 5px;
    left: 5px;
    border-radius: 16px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

/*** Contact section ***/
.contact-section {
  background-color: var(--light);
  color: rgb(87,90,240);
  padding: 3rem 1rem;
}

.contact-section h2 {
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

.contact-section .highlight {
  color: var(--highlight);
}

.contact-box {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.contact-box .icon {
  font-size: 2rem;
  color: var(--highlight);
  margin-bottom: 15px;
}

.contact-box .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Grid Fix */
@media (max-width: 767px) {
  .contact-box {
    margin-bottom: 20px;
  }

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

  .contact-box .icon {
    font-size: 1.7rem;
  }

  .contact-box .title {
    font-size: 1rem;
  }
}
@media (max-width: 468px) {
    .contact-box .mail-addr{
        font-size: 0.8rem;
    }
}

/* **Footer** */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 60px 20px;
  position: relative;
  font-family: 'Poppins', sans-serif;
  border-top: 4px solid var(--secondary);
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-right,
.footer-left {
  flex: 1 1 300px;
  min-width: 260px;
}

.footer-right h3.getintouch {
  font-size: 2.4rem;
  color: var(--light);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 1.05rem;
  color: #cfcfcf;
  margin-bottom: 25px;
  line-height: 1.6;
}

.social-icons a {
  font-size: 1.4rem;
  color: var(--dark);
  background-color: var(--secondary);
  padding: 10px;
  border-radius: 50%;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
  background-color: var(--highlight);
  color: #fff;
  transform: scale(1.1);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-box {
  background-color: #222836;
  padding: 18px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.footer-box .icon {
  font-size: 1.5rem;
  color: var(--secondary);
}

.footer-box a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right,
  .footer-left {
    flex: 1 1 100%;
  }

  .social-icons a {
    margin-bottom: 10px;
  }

  #footer-mail{
    font-size: small;
  }
}
