/* Home page opens*/
@media (max-width: 1200px) {
  .intrn-opp-pricing-card {
    right: -60px;
  }
  .intrn-opp-features-list {
    left: -30px;
  }
  .header-top {
    width: auto;
    margin: 0 auto;
  }
}

@media (max-width: 1199px) {
  /* FAQ sec Opens here */
  .faq-container {
    gap: 50px;
    width: auto;
  }
  .faq-left {
    padding-right: 10px;
  }
  .faq-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .header-top {
    width: auto;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }

  .hero-title {
    font-size: 3rem;
  }
  .about-container {
    gap: 40px;
    padding: 30px 20px;
  }
  .about-floating-elements {
    width: 60px;
    height: 60px;
  }
  .header-top {
    width: auto;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  /* FAQ sec Opens here */
  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    padding-right: 0;
    text-align: center;
  }
  .faq-left .faq-left-item {
    text-align: left;
  }
  .header-top {
    width: auto;
    margin: 0 auto;
  }
  .nav-menu {
    display: none;
  }

  .sdbar-mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 968px) {
  .intrn-opp-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 60px;
  }

  .intrn-opp-left-section {
    order: 2;
    max-width: 100%;
  }
  .intrn-opp-hero-image {
    order: 1;
    width: 100%;
  }

  .intrn-opp-person-container {
    max-width: 600px;
    margin: 0 auto;
    display: ruby;
  }

  .intrn-opp-features-list {
    position: static;
    transform: none;
    margin: 20px auto;
    max-width: 300px;
  }

  .intrn-opp-pricing-card {
    position: static;
    margin: 20px auto 0;
    max-width: 300px;
  }

  .intrn-opp-main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1;
    margin-bottom: 8px;
  }
  .intrn-opp-description {
    margin: auto;
  }
  .header-top {
    width: fit-content;
    margin: 0 auto;
  }
  .mentor-mentors-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-container {
    width: auto;
  }
  .intrn-opp-person-container {
    max-width: max-content;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    display: none;
  }
  /* Sidebar base */
  .sdbar-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 90%;
    background-color: #ffffff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    transition: right 0.6s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px; /* space for close button */
  }

  .sdbar-sidebar.sdbar-active {
    right: 0;
  }

  .sdbar-mobile-menu-btn {
    font-size: 2rem;
    border: none;
    background-color: #fff;
  }

  /* Close button */
  .sdbar-close-btn {
    position: absolute;
    top: 15px;
    right: 70px;
    font-size: 3rem;
    color: #4ecdc4;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .sdbar-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: #34b8ae;
  }

  /* Menu links */
  .sdbar-menu {
    text-align: left; list-style-type: none !important;;
  }

  .sdbar-menu a {
    display: block;
    padding: 2px 12px;
    color: #4ecdc4;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Hover zoom + background */
  .sdbar-menu a:hover {
    color: #34b8ae;
    transform: scale(1.2);
    background-color: rgba(78, 205, 196, 0.1);
    border-radius: 10px;
  }

  /* Overlay */
  .sdbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 998;
  }

  .sdbar-overlay.sdbar-active {
    opacity: 1;
    visibility: visible;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .search-container {
    flex-direction: column;
    padding: 15px;
    border-radius: 20px;
    margin: 0 auto;
  }

  .search-input,
  .category-select,
  .search-btn {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .search-input {
    text-align: center;
  }

  .hero-images {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
  }

  .image-card:nth-child(1),
  .image-card:nth-child(4) {
    transform: none;
  }

  .placeholder-content {
    font-size: 2rem;
    padding-top: 20px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 20px;
  }
  .about-image-section {
    order: 2;
  }
  .about-content-section {
    order: 1;
  }
  h1 {
    font-size: 2.5rem;
  }
  .about-description {
    font-size: 16px;
  }
  .about-button-container {
    justify-content: center;
    gap: 15px;
  }
  .about-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
  .about-floating-elements {
    display: none;
  }

  .mentor-main-title {
    font-size: 36px;
  }

  .mentor-mentors-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mentor-mentor-card {
    flex-direction: row;
    text-align: center;
  }

  .mentor-mentor-photo {
    width: 120px;
    height: 120px;
  }

  .mentor-mentor-name {
    font-size: 24px;
  }

  .mentor-action-button {
    justify-content: center;
  }
  .intrn-opp-container {
    padding: 20px 15px;
    gap: 40px;
  }
  .intrn-opp-person {
    width: 350px;
    height: 320px;
    right: -12px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
  }
  .intrn-opp-features-list {
    padding: 15px;
    margin: 15px auto;
  }
  .intrn-opp-features-list li {
    font-size: 14px;
    margin: 10px 0;
  }
  .intrn-opp-pricing-card {
    padding: 20px;
    margin: 15px auto 0;
    min-width: 260px;
  }
  .intrn-opp-trial-text {
    font-size: 20px;
  }
  .intrn-opp-subtitle {
    font-size: 16px;
  }
  .intrn-opp-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .intrn-opp-cta-button {
    padding: 14px 28px;
    font-size: 15px;
  }
  /* FAQ sec Opens here */
  .faq-section {
    padding: 50px 20px;
  }
  .faq-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }
  .faq-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .faq-left-item,
  .faq-right-item {
    padding: 18px;
    margin-bottom: 12px;
  }

  /* Footer Opens here */
  .ftr-footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ftr-quick-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ftr-social-links {
    justify-content: center;
  }
  .ftr-scroll-to-top {
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
  .ftr-scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
  .header-top {
    width: fit-content;
    margin: 0 auto;
  }
  .about-image-section img {
    width: 400px;
  }
  .social-links {
    display: none;
  }
  .intrn-opp-person-container {
    display: flex;
    max-width: -webkit-fill-available;
  }
}

/* Co-founder section opens  */
/* FIX FOR 700PX – 950PX WIDTH RANGE */
@media (min-width: 700px) and (max-width: 950px) {
    .profiles-grid {
        grid-template-columns: 1fr 1fr; /* only one card per row */
    }

    .profile-card {
        flex-direction: column;
        height: auto; /* allow content to expand */
    }

    .profile-left {
        flex: unset;
        height: 260px; /* top image height */
    }

    .profile-right {
        flex: unset;
        padding: 1.5rem;
    }
}

/* Co-founder section closed  */

@media (max-width: 600px) {
  /* FAQ sec Opens here */
  .faq-section {
    padding: 40px 15px;
  }
  .faq-container {
    gap: 30px;
    width: auto;
  }
  .faq-badge {
    font-size: 13px;
    padding: 6px 12px;
  }
  .faq-left-item h3,
  .faq-right-item h3 {
    font-size: 15px;
    line-height: 1.3;
  }
  .faq-toggle {
    width: 22px;
    height: 22px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .nav-menu {
    display: none;
  }

  .sdbar-mobile-menu-btn {
    display: contents;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    z-index: 1001;
  }

  .sdbar-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
  }

  .sdbar-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: right 0.4s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  .sdbar-sidebar.active {
    right: 0;
  }

  .sdbar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .sdbar-close-btn {
    position: absolute;
    top: 15px;
    right: 60px;
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #000;
  }

  .sdbar-menu {
   /* display: flex;*/
    flex-direction: column;
    gap: 20px; 
        padding-top: 32px; text-align: center;
  }
  :is(dir, menu, ol, ul) ul{list-style-type:none;}

  .sdbar-menu a {
    color: #000;
    font-size: 17px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
    padding: 0.8pc;
  }

  .sdbar-menu a:hover {
    color: #4ecdc4;
    transform: scale(1.1);
  }

  .sdbar-footer {
    margin-top: auto;
    padding-bottom: 40px;
  }
  .intrn-opp-person-container {
    display: ruby;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .main-header {
    width: 98%;
  }

  .header-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .logo-icon img {
    width: 50px;
    height: 50px;
  }
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .nav-container {
    flex-direction: row;
    gap: 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-images {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .search-container.search-container {
    margin: 0;
  }

  .about-image-section img {
    width: 400px;
  }
  .about-container {
    padding: 15px;
    gap: 30px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .about-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .about-button-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .about-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 16px 24px;
  }

  .mentor-container {
    padding: 20px 10px;
  }

  .mentor-main-title {
    font-size: 28px;
  }

  .mentor-mentor-card {
    max-width: 100%;
    border-radius: 12px;
  }

  .mentor-mentor-name {
    font-size: 1.15rem;
  }

  .mentor-action-button {
    justify-content: start;
  }

  .mentor-mentor-photo {
    width: 100px;
    height: 100px;
  }

  .mentor-mentor-badge {
    width: 35px;
    height: 35px;
  }
  .intrn-opp-main-title {
    font-size: clamp(1.8rem, 9vw, 2rem);
  }
  .intrn-opp-person {
    width: 200px;
    height: 280px;
  }
  .intrn-opp-features-list {
    padding: 12px;
  }
  .intrn-opp-pricing-card {
    min-width: 240px;
    padding: 18px;
  }
  .intrn-opp-pricing-option {
    padding: 12px;
  }
  .intrn-opp-cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }
  /* Blog sec opens here */
  /* Blog sec closed here */

  /* FAQ sec Opens here */
  .faq-section {
    padding: 30px 15px;
  }
  .faq-left-item,
  .faq-right-item {
    padding: 15px;
  }
  .faq-left-item h3,
  .faq-right-item h3 {
    font-size: 14px;
    gap: 10px;
  }
  .faq-answer {
    font-size: 13px;
    margin-top: 12px;
    padding-top: 12px;
  }
  /* Footer section Opens here */
  .ftr-footer {
    padding: 40px 0 20px 0;
  }
  .ftr-container {
    padding: 0 15px;
  }
  .ftr-footer-section h3 {
    font-size: 16px;
  }
  .ftr-social-link {
    width: 35px;
    height: 35px;
  }
  .ftr-social-link svg {
    width: 16px;
    height: 16px;
  }
  .header-top {
    width: fit-content;
    margin: 0 auto;
  }
  .intrn-opp-features-list {
    width: min-content;
    
  }
}

/* FAQ sec Opens here */
@media (max-width: 360px) {
  .faq-section {
    padding: 25px 10px;
  }
  .faq-left-item,
  .faq-right-item {
    padding: 12px;
  }
  .faq-left-item h3,
  .faq-right-item h3 {
    font-size: 13px;
  }
  .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .header-top {
    width: auto;
    margin: 0 auto;
  }
}

/* FAQ sec Opens here */
@media (max-height: 500px) and (orientation: landscape) {
  .faq-section {
    padding: 30px 20px;
  }
  .faq-container {
    gap: 30px;
  }
  .faq-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}

/* Home page closes*/

/* About page opens*/
@media (max-width: 1024px) {
  .about-title {
    font-size: 3rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .about-heading {
    font-size: 2.2rem;
  }

  .about-mg {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-find-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-sg {
    grid-template-columns: 1fr;
  }

  .about-scard:nth-child(2),
  .about-scard:nth-child(3),
  .about-scard:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .about-banner {
    height: 50vh;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-breadcrumb {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .about-sep {
    display: none;
  }
  .about-gr {
    display: inline;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-img {
    height: 400px;
  }

  .about-badge {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 1rem;
  }

  .about-text {
    text-align: left;
  }

  .about-heading {
    font-size: 2rem;
  }

  .about-sec {
    padding: 3rem 0;
  }

  .about-sec,
  .about-find-sec {
    padding: 40px 0;
  }

  .about-con {
    width: 100%;
    padding: 0 15px;
  }
  .about-cd {
    margin-bottom: 15px;
  }

  .about-h1 {
    font-size: 2rem;
  }

  .about-find-h2 {
    font-size: 1.8rem;
  }

  .about-find-grid {
    gap: 40px;
  }

  .about-twrap {
    flex-direction: column;
    height: auto;
    max-width: 100%;
  }

  .about-timg,
  .about-tcon {
    width: 100%;
  }

  .about-timg {
    height: 200px;
  }
  .about-lc {
    width: auto;
  }
  .about-sg {
    width: 360px;
    margin: 0 auto;
  }
  .contctus-wrap {
    margin: 10px;
    display: inline-table !important;
  }
}

@media (max-width: 480px) {
  .about-banner-content {
    padding: 0 1rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-container {
    padding: 0 1rem;
  }

  .about-img {
    height: 300px;
  }

  .about-heading {
    font-size: 1.8rem;
  }

  .about-welcome {
    font-size: 1rem;
    padding-left: 1rem;
  }

  .about-desc {
    font-size: 1rem;
  }

  .about-h1 {
    font-size: 1.7rem;
  }

  .about-find-h2 {
    font-size: 1.5rem;
  }

  .about-scard {
    padding: 20px;
  }

  .about-tcon {
    padding: 20px;
  }

  .about-timg {
    height: 160px;
  }

  .about-lc {
    width: auto;
  }
}
/* About page closes*/

/* Contact page opens*/
@media (max-width: 968px) {
  .contctus-wrap {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .contctus-left {
    order: 2;
    padding: 30px;
    min-height: 300px;
  }

  .contctus-right {
    order: 1;
    padding: 40px 30px;
  }

  .contctus-head-txt {
    font-size: 36px;
  }

  .contctus-phone {
    width: 150px;
    height: 260px;
  }

  .contctus-screen {
    height: 200px;
    margin-top: 20px;
  }

  .contctus-avatar {
    width: 90px;
    height: 90px;
    bottom: -20px;
  }

  .contctus-head {
    width: 60px;
    height: 60px;
  }

  .contctus-hair {
    width: 70px;
    height: 45px;
    top: -15px;
  }
}

@media (max-width: 640px) {
  .contctus-sec {
    padding: 20px 15px;
  }

  .contctus-right {
    padding: 30px 20px;
  }

  .contctus-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contctus-head-txt {
    font-size: 28px;
  }

  .contctus-btn {
    padding: 16px 30px;
    width: 100%;
  }

  .contctus-phone {
    width: 120px;
    height: 200px;
  }

  .contctus-screen {
    height: 150px;
    margin-top: 15px;
  }

  .contctus-avatar {
    width: 70px;
    height: 70px;
    bottom: -15px;
  }

  .contctus-head {
    width: 45px;
    height: 45px;
  }

  .contctus-hair {
    width: 55px;
    height: 35px;
    top: -10px;
  }

  .contctus-body {
    width: 45px;
    height: 30px;
  }
  .contctus-wrap {
    margin: 10px;
    display: inline-table;
  }
}

@media (max-width: 480px) {
  .contctus-wrap {
    margin: 10px;
    display: inline-table;
  }

  .contctus-left {
    padding: 20px;
    min-height: 250px;
  }
}
/* contact page closes*/
