* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* HEADER */
.header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
}

.logo img {
    width: 180px;
    height: auto;
}

/* NAVIGATION */
.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

.nav ul li:hover a {
    opacity: 0.7;
}

/* BUTTON */
.consult-btn {
    padding: 12px 25px;
    background: #ff3b2d;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s ease;  /* Smooth effect */
}

.consult-btn:hover {
    background: #e62f22;   /* Slightly darker red */
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 6px 18px rgba(255, 59, 45, 0.4); /* Glow shadow */
}


.hero {
    position: relative;
    width: 100%;
    height: 80vh;       /* Reduced height */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: center;
    object-position: center;  /* Better for smaller height */
    z-index: -1;
}

/* HERO CONTAINER CENTERED */
.hero-container {
    width: 90%;
    max-width: 1300px;
    display: flex;
    justify-content: center;   /* Center horizontally */
    align-items: center;       /* Center vertically */
    text-align: center;        /* Center text */
    height: 100%;              /* Ensures proper vertical alignment */
}

/* LEFT CONTENT FULL WIDTH + CENTERED */
.hero-left {
    width: 100%;
    color: #fff;
}

/* TITLE */
.page-subtitle {
    font-size: 40px;
    font-weight: 700;
    margin-top: 30px;
}

/* BREADCRUMB CENTERED */
.breadcrumb {
    margin-top: 10px;
    font-size: 16px;
}

.breadcrumb a {
    color: #ff6a58;
    text-decoration: none;
}

/* Remove the unused RIGHT block */
.hero-right {
    display: none;
}



@media (max-width: 768px) {

    .hero {
        height: 70vh;          /* Reduce height on mobile */
        padding: 40px 0;
    }

    .hero-container {
        width: 95%;
        margin-top: 20px;
        text-align: center;
    }

    .hero-left {
        width: 100%;
    }

    .page-subtitle {
        font-size: 26px;        /* Reduced title size */
        margin-top: 10px;
    }

    .breadcrumb {
        font-size: 14px;
        margin-top: 6px;
    }

    .breadcrumb a {
        font-size: 14px;
    }

    .hero-bg {
        object-position: center top;
    }
}


@media (max-width: 480px) {

    .hero {
        height: 70vh;
    }

    .page-subtitle {
        font-size: 22px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .hero-container {
        width: 100%;
        padding: 0 10px;
    }
}


/* ==============================
   CLEAN DROPDOWN MENU
================================*/


.has-dropdown {
    position: relative;
}

.arrow {
    font-size: 12px;
    margin-left: 5px;
    cursor: pointer;
    color: #fff;
}

/* Desktop dropdown base */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 120px;
    background: #fff;
    display: none; 
    flex-direction: column;
    padding: 6px 0;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 9999;
}

.dropdown li a {
    padding: 8px 10px;
    font-size: 14px;
    color: #222;
    display: block;
}

/* DESKTOP: Show on hover */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown {
        display: flex !important;
    }

    /* Anti-flicker bridge */
    .has-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 10px;
        background: transparent;
    }
}

/* MOBILE DROPDOWN */
@media (max-width: 768px) {

    .nav {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        display: none;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    .nav.active {
        display: flex;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul li a {
        color: #000;
    }

    .arrow {
        color: #000;
    }

    .dropdown {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background: #f7f7f7;
        padding-left: 20px;
        border-radius: 0;
        box-shadow: none;
    }

    /* Open only when JS adds .open */
    .has-dropdown.open .dropdown {
        display: flex !important;
    }
}

/* MOBILE MENU ICON */
.menu-toggle {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}


/* ===============================
   FINAL OVERRIDE – FORCE HIDE DROPDOWN
================================ */

.has-dropdown .dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(5px);
    background: #fff !important;
    width: 130px !important;    /* size fix */
    padding: 8px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

/* DESKTOP HOVER – SHOW */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* Anti-gap flicker fix */
    .has-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 10px;
        background: transparent;
    }
}

/* MOBILE – show only when .open class exists */
@media (max-width: 768px) {
    .has-dropdown.open .dropdown {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        background: #f7f7f7 !important;
        width: 100% !important;
        box-shadow: none !important;
        padding-left: 15px !important;
    }
}

/* ===============================
      CLEAN DROPDOWN (NO BLANK BOX)
=============================== */

/* Parent */
.has-dropdown {
    position: relative;
}

/* Dropdown hidden */
.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 30px;
    width: 130px;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.18s ease;
}

/* Dropdown item text */
.has-dropdown .dropdown li a {
    display: block;
    padding: 8px 12px;
    color: #222 !important;         /* FIX: visible text */
    text-decoration: none;
    font-size: 14px;
}

/* Dropdown item hover */
.has-dropdown .dropdown li a:hover {
    background: #f2f2f2;
}

/* DESKTOP – show on hover */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Anti-flicker bridge */
    .has-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 10px;
        background: transparent;
    }
}

/* MOBILE – only show when .open added by JS */
@media (max-width: 768px) {
    .has-dropdown.open .dropdown {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .has-dropdown .dropdown {
        position: relative;
        background: #f7f7f7;
        width: 100%;
        box-shadow: none;
        padding-left: 20px;
    }

    .has-dropdown .dropdown li a {
        color: #000 !important;   /* mobile readable */
        text-align: left;
    }
}

/* ============= FIX HOME SHIFT ON MOBILE ONLY ============= */

/* Desktop: DO NOT force width */
.has-dropdown {
    position: relative;
}

/* Anchor should behave normally on desktop */
.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile override */
@media (max-width: 768px) {

    /* Parent fixed width ONLY in mobile */
    .has-dropdown {
        width: 140px;        /* keeps home centered in mobile */
    }

    /* Center Home text + arrow */
    .has-dropdown > a {
        justify-content: center;
        width: 100%;
    }

    /* When dropdown opens, still centered */
    .has-dropdown.open > a {
        justify-content: center;
    }


    .has-dropdown .dropdown {
        width: 100% !important;
        position: relative !important;
    }
}

/* MOBILE: Move Home button slightly right */
@media (max-width: 768px) {
    .nav ul li.has-dropdown > a {
        padding-left: 10px;   /* pushes Home → right */
    }

}


/* Disable wave animation on mobile */
@media (max-width: 768px) {
    .wave-text span {
        animation: none !important;
        transform: none !important;
    }

    .wave-text:hover span {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .nav ul li a {
        color: #000 !important;   /* Black text for mobile menu */
        opacity: 1 !important;    /* Make sure it’s fully visible */
    }
}

@media (max-width: 768px) {
    .nav ul li {
        text-align: center;
        width: 100%;
    }

    .nav ul li a {
        display: inline-flex;
        align-items: center;
        justify-content: center; /* centers text + arrow */
        gap: 6px; /* spacing between Home and ▼ */
    }
}

@media (max-width: 768px) {

    /* Center the dropdown container */
    .nav ul li .dropdown {
        width: 90%;                /* same width as menu items */
        margin: 10px auto;         /* center horizontally */
        text-align: center;        /* center the text */
        justify-content: center;
    }

    /* Center dropdown text */
    .nav ul li .dropdown li a {
        text-align: center;
        display: block;
        width: 100%;
        justify-content: center;
    }
}


/* DESKTOP ONLY: dropdown small left adjustment */
@media (min-width: 769px) {
    .has-dropdown .dropdown {
        left: -30px !important;
    }
}

.nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    display: inline-block;
    position: relative;
}


/* Each letter block */
.wave-text span {
    display: inline-block;
    transition: 0.3s ease;
}

/* Hover wave animation */
.wave-text:hover span {
    animation: waveAnim 0.45s ease-in-out forwards;
}

/* delay for wave effect */
.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.05s; }
.wave-text span:nth-child(3) { animation-delay: 0.1s; }
.wave-text span:nth-child(4) { animation-delay: 0.15s; }
.wave-text span:nth-child(5) { animation-delay: 0.2s; }
.wave-text span:nth-child(6) { animation-delay: 0.25s; }
/* Add more if links have more letters */

/* Wave keyframes */
@keyframes waveAnim {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}


.pricing-section {
    padding: 70px 60px;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.pricing-subtitle {
    color: #ff6b6a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.pricing-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
}

.toggle-yearly {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.toggle-yearly span {
    color: #0073ff;
}

.pricing-table {
    width: 100%;
    overflow-x: auto;
}

.plan-header {
    display: inline-block;
    width: 26%;
    text-align: center;
    padding: 10px;
}

.plan-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.price {
    font-size: 32px;
    font-weight: 700;
    margin: 5px 0;
}

.price span {
    font-size: 14px;
    color: #777;
}

.plan-info {
    font-size: 13px;
    color: #666;
}

/* Table */
.pricing-features {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pricing-features th,
.pricing-features td {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.pricing-features th {
    text-align: left;
    color: #333;
    font-weight: 500;
}

.pricing-features td {
    text-align: center;
    color: #333;
}

/* Buttons */
.btn-plan {
    display: inline-block;
    background: #10133e;
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.btn-plan:hover {
    background: #ff6a6a;
}

/* Row with buttons */
.pricing-buttons td {
    padding-top: 20px;
}


@media (max-width: 768px) {

    .pricing-section {
        padding: 40px 20px;
    }

    .pricing-title {
        font-size: 26px;
        text-align: center;
    }

    .pricing-subtitle {
        text-align: center;
    }

    .toggle-yearly {
        justify-content: center;
        text-align: center;
        margin-bottom: 25px;
    }

    /* Table container scroll on mobile */
    .pricing-table {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Table itself */
    .pricing-features {
        min-width: 700px; /* ensures scroll instead of breaking layout */
    }

    /* Reduce padding in table rows */
    .pricing-features th,
    .pricing-features td {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Header plan styling */
    .pricing-features h3 {
        font-size: 16px;
    }

    .pricing-features .price {
        font-size: 22px;
    }

    /* Buttons full width on mobile */
    .btn-plan {
        width: 90%;
        display: block;
        margin: 0 auto;
        font-size: 14px;
        padding: 10px 0;
    }

    .pricing-buttons td {
        padding-top: 15px;
    }
}


/* FOOTER MAIN */
.footer {
    padding: 60px 0 20px;
    color: #fff;
    border-radius: 120px 120px 0 0;
    background-image: url('Images1/footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
}


.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* LOGO SECTION */
.footer-logo {
    width: 30%;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 15px;
}

.logo-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* SOCIAL ICONS */
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #fff;
    color: #0b1b3b;
}

/* COLUMNS */
.footer-links {
    display: flex;
    justify-content: space-between;
    width: 75%;
    gap: 40px;
}


/* FOOTER BOTTOM */
.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.col {
    width: 33.33%;
    padding: 0 25px;
    position: relative;
}

.col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.col h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.col .divider {
    display: block;
    width: 40px;
    height: 3px;
    background: #fff;
    margin: 8px 0 12px;
    border-radius: 5px;
}

.col .desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.5;
    margin-bottom: 15px;
}

.col p {
    margin: 8px 0;
    cursor: pointer;
    opacity: 0.85;
}

.col p i {
    margin-right: 8px;
}

/* Hover effect for normal text links */
.col p:hover,
.footer-bottom a:hover {
    color: #ffb347;                /* soft orange highlight */
    opacity: 1;
    transform: translateX(4px);    /* slight movement */
    transition: 0.3s ease;
}

/* ================================
   📱 MOBILE DEVICES (Max 768px)
================================ */
@media (max-width: 768px) {

    /* STATS SECTION */
    .stats-section {
        padding: 30px 0;
        border-radius: 0 0 60px 60px;
    }

    .stats-inner {
        flex-direction: column;
        gap: 25px;
    }

    .divider {
        display: none; /* Remove line in mobile */
    }

    .stat-box i {
        font-size: 30px;
    }

    .stat-box h2 {
        font-size: 24px;
    }

    .stat-box p {
        font-size: 13px;
    }


    /* FOOTER SECTION */
    .footer {
        padding: 40px 20px;
        border-radius: 60px 60px 0 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    /* Logo center */
    .footer-logo {
        width: 100%;
    }

    .footer-logo img {
        width: 150px;
        margin: auto;
        display: block;
    }

    .social-links {
        text-align: center;
        margin-top: 10px;
    }

    /* Columns stacked */
    .footer-links {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }

    .col {
        width: 100%;
        padding: 0;
        border-right: none !important;  /* remove vertical divider */
    }

    .col .divider {
        margin-left: auto;
        margin-right: auto;
    }

    /* Footer bottom center */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom a {
        margin: 0 10px;
    }
}


/* ================================
   📱 SMALL DEVICES (Max 480px)
================================ */
@media (max-width: 480px) {

    .stats-section {
        padding: 20px 0;
    }

    .stat-box i {
        font-size: 26px;
    }

    .stat-box h2 {
        font-size: 20px;
    }

    .stat-box p {
        font-size: 12px;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-logo img {
        width: 130px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .footer-bottom a {
        display: inline-block;
        margin-bottom: 5px;
    }
}

.col p a {
    text-decoration: none;
    color: inherit;
}
.col p a:hover {
    color: #ff3b2e; /* optional hover color */
}

/* Remove cursor & hover for contact section */
.contact-col p {
    cursor: default !important;
    pointer-events: none;  /* No hover, no click */
    opacity: 0.85;
}

/* Also prevent hover changes */
.contact-col p:hover {
    color: inherit !important;
    transform: none !important;
    opacity: 0.85 !important;
}

/* Base hidden state */
.roll-trigger {
    opacity: 0;
    transform: translateY(40px) rotate(-10deg);
    transition: transform 1.8s ease-out, opacity 0.8s ease-out;
}

/* Final visible animated state */
.roll-animate {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}
