/* ===== IMPORTS AND VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');

:root {
    --accent1: #eb4873;
    --accent2: #6240a2;
    --bg: #f6fbfb;
    --dark: #0b1220;
    --muted: #6b7280;
    --card: #ffffff;
    --radius: 14px;
    --orange: #f27521;
    --dark-orange: #d66b1e;
    --purple: #6f419d;
    --gold: #ffd700;
    --dark-bg: #071026;
    --light-blue: #cfeef5;
    font-family: "Times New Roman", Times, serif;
}

/* ===== BASE STYLES ===== */
body {
    margin: 0;
    background: var(--bg);
    color: var(--dark);
    font-family: "Times New Roman", Times, serif;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px */
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #fff;
    padding: 0 20px 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center
}

.hero-content h1 {
    font-size: 60px;
    margin: 0 0 12px;
    font-weight: normal;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 30px;
    margin: 0px;
    font-weight: normal;
    text-transform: uppercase;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-heading span {
    font-weight: normal;
    line-height: 1.05;
}

.hero-heading span:first-child {
    font-size: 24px;
    letter-spacing: 1.5px;
}

.hero-heading span:nth-child(2) {
    font-size: 48px;
}

.hero-heading span:nth-child(3) {
    font-size: 36px;
}

.hero-heading span:nth-child(4) {
    font-size: 32px;
    line-height: 1.15;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.lead {
    font-size: 18px;
    margin-bottom: 22px;
    color: #fff;
    text-align: justify;
}

.hero-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

/* ===== BUTTONS ===== */
.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    width: auto;
    align-self: flex-start;
}

/* ===== GRID AND LAYOUT ===== */
.section {
    padding: 25px 0
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

/* ===== SCOPE OF SERVICES ===== */
.scope-of-services {
    padding: 20px 0 0;
    background: var(--bg);
}

.scope-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
}

.scope-title-container {
    display: flex;
    position: relative;
    align-items: center;
    gap: 20px;
}

.scope-content h2 {
    font-size: 40px;
    margin: 0;
    text-transform: uppercase;
    font-weight: normal;
    color: var(--purple);
}

.services-title-large {
    font-size: 70px;
    display: block;
}

.scope-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.scope-content p {
    font-size: 18px;
    color: var(--purple);
}

.scope-illustration {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
}

@media (max-width: 1010px) and (min-width: 950px) {
    .scope-of-services .container {
        padding: 0 24px;
    }

    .scope-of-services .scope-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .scope-of-services .scope-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .scope-of-services .scope-content .scope-illustration {
        margin: 0 auto;
    }

    .scope-of-services .scope-cards .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 950px) and (min-width: 769px) {
    .scope-of-services .container {
        padding: 0 24px;
    }

    .scope-of-services .scope-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
    }

    .scope-of-services .scope-content {
        text-align: center;
        max-width: 640px;
    }

    .scope-of-services .scope-cards .grid-2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .scope-of-services .scope-cards .grid-2>a {
        flex: 1 1 240px;
        max-width: 280px;
        display: flex;
    }

    .scope-of-services .card {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
}

@media (max-width: 1300px) and (min-width: 1011px) {
    .scope-of-services .container {
        padding: 0 40px;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: radial-gradient(circle at 50% 50%, #eb4873, #6240a2);
    color: #fff;
}

.services-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.services-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 60px;
    margin: 0;
    font-weight: normal;
    white-space: nowrap;
}

.service-icon {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

@media (max-width: 870px) and (min-width: 767px) {
    .service-icon {
        height: 70px;
    }
}

.services-section .card {
    background-color: #e54875;
    color: #fff;
    text-align: center;
    width: 200px;
    height: 280px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.services-section .learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f27521;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.services-section .learn-more-btn:hover {
    background: #d66b1e;
}

/* ===== SERVICES SWIPER ===== */
.services-swiper {
    width: 100%;
    /* padding: 20px; */
    overflow: hidden;
}

.services-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.services-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-shrink: 0;
}

.services-swiper .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 200px;
    margin: 0 auto;
}

.services-pagination {
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.services-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.services-pagination .swiper-pagination-bullet:hover,
.services-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.1);
}

/* Hide services pagination indicators on desktop */
@media (min-width: 1024px) {
    .services-pagination {
        display: flex;
    }
}

/* Override grid layout for swiper */
.services-section .grid-5 {
    display: none;
}

.services-section .services-swiper {
    display: block;
}

/* ===== CARDS ===== */
.card {
    background: var(--accent1);
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.card h4 {
    text-transform: uppercase;
}

.scope-of-services .card {
    background: #e54875;
    color: #fff;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    text-transform: uppercase;
    transition: all 0.35s ease;
    transform: translateY(0);
    min-height: 152px;
}

/* 🔹 Hover Effect */
.scope-of-services .card:hover {
    background: linear-gradient(135deg, #ff5a7e, #e54875);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* 🔹 Optional: Add subtle text glow on hover */
.scope-of-services .card:hover h4,
.scope-of-services .card:hover p {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ===== STATS ===== */
.stats-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08)
}

.stat {
    background: #fefefe;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee
}

.stat h3 {
    /* margin: 6px 0; */
    font-size: 22px
}


/* ===== OUR PARTNERS ===== */

.partners-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 55px 0;
    background: var(--bg);
    text-align: center;
}

.partners-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    margin: 0;
    font-weight: normal;
    color: var(--purple);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

.slider {
    background: var(--bg);
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide-track {
    animation: scroll 20s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    flex: 0 0 250px;
    padding: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, #eb4873, #6240a2);
    color: #fff;
}

.testimonials-section .card {
    height: 250px;
    width: 400px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.testimonials-section .card .testimonial-header {
    flex-shrink: 0;
    margin-bottom: 10px;
}

.testimonials-section .card p.muted {
    height: 200px;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    margin: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.profile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    gap: 18px;
    justify-content: center;
}

/* Mobile: Hide second card in testimonials carousel */
@media (max-width: 767px) {
    .carousel-slide .card:nth-child(2) {
        display: none;
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #fff;
}

.testimonials-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    margin: 0;
    font-weight: normal;
}

/* ===== BUSINESS DATA ===== */
.business-data {
    padding: 55px 0 0;
}

.business-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 70px;
    margin: 0;
    color: var(--purple);
    font-weight: normal;
}

.business-intro {
    text-align: center;
    color: var(--purple);
    font-size: 18px;
    padding: 0 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SUB-SECTION (STATS IMAGES) ===== */
.sub-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: radial-gradient(circle at 50% 50%, #eb4873, #6240a2);
    color: #fff;
    /* padding: 40px 0; */
}

.sub-section .container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* min-height: clamp(420px, 55vw, 560px); */
}

.stat-content {
    text-align: center;
    /* margin-bottom: 24px; */
}

.stat-images {
    /* margin-top: auto; */
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: flex-end;
}

.stat-image-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.stat-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(160px, 18vw, 260px);
    color: #fff;
    /* padding: 6px 14px; */
    font-size: clamp(16px, 1.8vw, 24px);
    text-align: center;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1.2;
}

.stat-overlay span {
    display: block;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 4px;
}

.stat-image {
    width: clamp(160px, 18vw, 260px);
    height: auto;
    margin-top: 0;
}

.stat-image-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: auto;
    height: clamp(180px, 20vw, 260px);
}

.stat-number {
    font-size: 35px;
    text-align: center;
    margin: 0;
    font-weight: bold;
}

.stat-label {
    text-align: center;
    font-size: 32px;
    margin: 4px 0 0;
}

.stars {
    text-align: center;
    color: #ffdf00;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin: 1rem;
}

/* ===== POPUP ===== */
#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

#popupOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

#popupBox {
    width: 90%;
    max-width: 450px;
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    text-align: center;
    position: relative;
    font-family: "Times New Roman", serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

#popupClose {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    font-weight: bold;
}

#popupBox ul {
    padding: 0;
    list-style: none;
    font-size: 18px;
    margin: 12px 0 22px;
}

#popupBox ul li {
    margin: 8px 0;
}

.popup-btn {
    padding: 12px 22px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile First Approach */

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    header {
        padding: 10px 15px;
    }

    /* Hide mobile services dropdown by default */
    .dropdown {
        display: none;
    }

    /* Show mobile services dropdown when menu is open */


    /* Hide mobile services submenu by default */
    .mobile-services-submenu {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        margin-top: 10px;
    }

    /* Show mobile services submenu when services toggle is active */
    .mobile-services-submenu.show {
        display: block;
    }

    /* Style mobile services submenu items */
    .mobile-services-submenu li {
        padding: 8px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-services-submenu li:last-child {
        border-bottom: none;
    }

    .mobile-services-submenu li a {
        color: var(--dark);
        text-decoration: none;
        font-size: 16px;
        display: block;
        padding: 4px 0;
    }

    .mobile-services-submenu li a:hover {
        color: var(--accent1);
    }

    /* Hide desktop dropdown on mobile */
    .dropdown-content {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
        color: var(--dark);
        background: none;
        border: none;
        font-size: 24px;
    }

    /* Temporary: Show hamburger on all screen sizes for testing */
    @media (min-width: 768px) {
        .mobile-toggle {
            display: block !important;
        }
    }

    .logo img {
        height: 50px;
    }

    .hero {
        padding: 40px 20px 0;
    }

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

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .lead {
        font-size: 16px;
        text-align: justify;
    }

    .register-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .scope-of-services {
        padding: 40px 0;
    }

    .scope-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scope-title-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .scope-content h2 {
        font-size: 32px;
    }

    .services-title-large {
        font-size: 50px;
    }

    .scope-icon {
        width: 150px;
        height: 150px;
    }

    .scope-content p {
        font-size: 16px;
    }

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

    .section {
        padding: 40px 0;
    }

    .services-title-container {
        flex-direction: column;
        gap: 10px;
    }

    .services-title {
        font-size: 40px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    .services-section .card {
        min-height: 250px;
        padding: 15px;
    }

    .business-title {
        font-size: 50px;
    }

    .business-intro {
        padding: 0 20px;
        font-size: 16px;
    }


    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 24px;
    }

    .stat-images {
        flex-direction: column;
        gap: 10px;
    }

    .stat-image {
        width: clamp(160px, 60vw, 220px);
        margin-top: 0;
    }

    .stat-image-center {
        height: auto;
    }

    .stat-overlay1,
    .stat-overlay2 {
        position: static;
        width: 100%;
        font-size: 24px;
        padding: 10px;
        margin-top: 10px;
    }

    .testimonials-title {
        font-size: 32px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-section p a {
        max-width: none;
        white-space: normal;
    }

    #popupBox {
        width: 95%;
        padding: 20px;
    }

    #popupBox ul {
        font-size: 16px;
    }

    .popup-btn {
        padding: 10px 18px;
        font-size: 16px;
    }

    .scope-of-services .container {
        padding: 0 20px;
    }

    .scope-of-services .scope-cards .grid-2 {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .scope-of-services .scope-cards .grid-2>a {
        width: 100%;
        max-width: 320px;
        display: flex;
    }

    .scope-of-services .card {
        width: 100%;
        margin: 0 auto;
    }
}

/* Tablet Styles (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .stat-images {
        gap: 12px;
    }

    .stat-image {
        width: clamp(140px, 22vw, 200px);
    }

    .stat-image-center {
        height: clamp(160px, 24vw, 220px);
    }

    .stat-overlay {
        width: clamp(140px, 24vw, 180px);
        font-size: clamp(15px, 2.2vw, 18px);
        padding: 4px 10px;
    }

    .stat-overlay span {
        font-size: clamp(24px, 3.6vw, 30px);
        margin-bottom: 2px;
    }
}

/* Desktop Styles (1024px and above) - Already defined in main CSS */

@media (max-width: 1024px) {
    .stat-image {
        width: clamp(180px, 28vw, 260px);
        margin-top: 60px;
    }

    .stat-image-center {
        height: clamp(200px, 30vw, 280px);
    }

    .stat-images {
        gap: 16px;
    }

    .stat-overlay {
        width: clamp(160px, 24vw, 220px);
        font-size: clamp(16px, 2.6vw, 22px);
    }

    .stat-overlay span {
        font-size: clamp(26px, 4.6vw, 34px);
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .stat-overlay {
        width: clamp(130px, 24vw, 170px);
        font-size: clamp(14px, 2vw, 17px);
        padding: 4px 10px;
    }

    .stat-overlay span {
        font-size: clamp(22px, 3.4vw, 28px);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .stat-image {
        width: clamp(140px, 22vw, 200px);
    }

    .stat-image-center {
        height: clamp(160px, 24vw, 220px);
    }
}

@media (max-width: 768px) {
    .sub-section .container {
        min-height: auto;
    }

    .stat-images {
        flex-direction: column;
        gap: 14px;
        margin-top: 0;
        align-items: center;
    }

    .stat-overlay {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 8px;
    }

    .stat-image {
        width: clamp(140px, 55vw, 200px);
    }

    .stat-image-center {
        height: auto;
        width: clamp(170px, 65vw, 240px);
    }

    .stat-image-wrapper {
        display: none;
    }
}

/* ========== BACK TO TOP & FLOATING ACTION BUTTONS ========== */
.back-to-top-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
}

#backToTopBtn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E88E5;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#backToTopBtn:hover {
    filter: brightness(0.95);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-4px);
}

#backToTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-social-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    left: auto;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-social-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

/* Individual Social Buttons */
.floating-social-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: scale(1);
}

/* Individual Button Colors */
.btn-call {
    background: #1E88E5;
}

.btn-whatsapp {
    background: #25D366;
}

.floating-social-btn[aria-label="instagram"],
.floating-social-btn[data-tooltip="instagram"] {
    background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
    color: #ffffff;
}

.btn-facebook {
    background: #1877F2;
}

.btn-youtube {
    background: #FF0000;
}

/* Hover Effects */
.floating-social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.floating-social-btn i {
    transition: transform 0.3s ease;
}

.floating-social-btn:hover i {
    transform: rotate(360deg);
}

/* Tooltip on Hover */
.floating-social-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

.floating-social-btn::after {
    content: '';
    position: absolute;
    right: 65px;
    border: 6px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-social-btn:hover::before,
.floating-social-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .floating-social-container {
        bottom: 90px;
        right: 20px;
        gap: 12px;
    }

    .floating-social-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .floating-social-container {
        bottom: 80px;
        right: 15px;
        gap: 10px;
    }

    .floating-social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Hide tooltip on small screens */
    .floating-social-btn::before,
    .floating-social-btn::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .back-to-top-wrap {
        right: 14px;
        bottom: 14px;
    }

    #backToTopBtn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 950px) {
    .scope-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .scope-title-container {
        justify-content: center;
        text-align: center;
    }

    .scope-content p {
        margin: 0 auto;
        max-width: 90%;
        text-align: justify;
    }

    .scope-illustration {
        margin: 0 auto;
        max-width: 300px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}