@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #00468b;
    --text-color: #334155;
    --light-text: #64748b;
    --bg-color: #ffffff;
    --blue-gradient: linear-gradient(135deg, #00468b 0%, #235c8e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    position: relative;
    z-index: 9999;
    /* Max priority */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 9999;
}

/* ── Mobile/Tablet Color Reset ── */
@media (max-width: 991px) {

    .logo,
    .lang-link {
        color: #181536 !important;
        border-color: #181536 !important;
    }

    .menu-icon span {
        background-color: #181536 !important;
    }
}

.lang-switcher {
    font-weight: 600;
}

.lang-link {
    text-decoration: none;
    color: #fff;
    /* Updated to White */
    font-size: 0.95rem;
    padding: 5px 16px;
    border: 1.5px solid #fff;
    /* Updated to White */
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-link:hover {
    background: #fff;
    color: #181536;
    /* Inverted for high contrast */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    /* Updated to White */
    font-weight: 700;
    font-size: 1.2rem;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.menu-icon {
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 101;
    transition: transform 0.2s ease;
}

.menu-icon:hover {
    transform: scale(1.1);
}

.menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: #fff;
    /* Updated to White */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

/* Hamburger → X morph animation */
.menu-icon.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-icon.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* Main wrapper for navbar and hero */
.main-wrapper {
    background-image: url('../../images/backgrounds/hero-back.png');
    /* Corrected path to backgrounds */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: visible;
    /* Prevent planes from being cut off */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 5%;
    text-align: left;
}

/* Animated Mail Symbols */
.mail-icon {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.mail-left {
    width: 40%;
    left: 2%;
    bottom: -80px;
    will-change: transform, opacity;
    /* GPU Optimization */
}

.mail-left.active-animation {
    animation: moveBottomLeftToTopRight 8s linear both;
    /* Use 'both' for stability */
}

.mail-right {
    width: 60%;
    right: 2%;
    bottom: -160px;
    will-change: transform, opacity;
    /* GPU Optimization */
}

.mail-right.active-animation {
    animation: moveBottomRightToTopLeft 8s linear both;
    /* Use 'both' for stability */
}

@keyframes moveBottomLeftToTopRight {
    0% {
        transform: translate3d(-60%, 60%, 0);
        opacity: 1;
    }

    100% {
        transform: translate3d(-35%, 20%, 0) rotate(20deg);
        opacity: 1;
    }
}

@keyframes moveBottomRightToTopLeft {
    0% {
        transform: translate3d(70%, 70%, 0);
        opacity: 1;
    }

    100% {
        transform: translate3d(35%, 10%, 0) rotate(-5deg);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 75%;
    margin: 0 0 40px 0;
    text-align: left;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 25px;
}

.badge strong {
    color: #235c8e;
    font-weight: 700;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #235c8e;
    line-height: 1.2;
    margin-bottom: 25px;
    font-style: italic;
    max-width: 100%;
}

.hero p.subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 650px;
    line-height: 1.8;
}

/* Features Banner */
.features-banner {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
    margin: 30px 0 70px 0;
    position: relative;
    z-index: 20;
    width: 75%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 15px 120px;
    padding-left: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #475569;
    font-weight: 500;
}

.feature-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item svg {
    color: var(--primary-color);
}

/* Hero Bottom Accents */
.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 40px 5%;
    z-index: 15;
}

.email-service-label {
    background: transparent;
    color: #ffffff;
    padding: 25px 40px 25px 0;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    left: -20px;
    display: flex;
    align-items: center;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.contact-button {
    margin-right: 40px;
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #245F8E;
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* =========================================
   GLOBAL PATTERN OVERLAY
   ========================================= */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/asset/patter.png');
    background-size: 600px;
    /* More efficient than cover/auto */
    background-repeat: repeat;
    opacity: 0.12;
    /* Lowered opacity for better performance */
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    /* Hint to GPU */
}

/* =========================================
   ABOUT US SECTION
   ========================================= */
.about-section {
    display: flex;
    min-height: 105vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.main-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/asset/patter.png');
    background-size: cover;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;

}


.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/asset/patter.png');
    background-size: 600px;
    background-repeat: repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* --- Left Panel --- */
.about-left {
    width: 36%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0 0 0;
    position: relative;
    flex-shrink: 0;
    overflow: visible;
    z-index: 4;
}

.about-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0 0 0 35px;
    z-index: 10;
    position: relative;
    background: transparent;
}

.about-logo img {
    filter: brightness(10);
}

/* Buildings container — sits at the bottom of the left panel */
.about-buildings {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Vertical building — static, takes bottom-right of the panel */
.building-vertical {
    position: absolute;
    bottom: 0;
    left: 0%;
    /* Reverted to 0% by user request */
    width: 78%;
    max-height: 100%;
    /* Prevents vertical cutoff at the top */
    object-fit: contain;
    object-position: top center;
    /* Ensures the top area (where text is) is visible */
    z-index: 3;
    border-radius: 6px 6px 0 0;
}


/* Horizontal building — slides in from left on load */
.building-horizontal {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 130%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    z-index: 3;
    will-change: transform, opacity;
    /* GPU Optimization */
}

.building-horizontal.active-animation {
    animation: slideInBuilding 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.3s;
}

@keyframes slideInBuilding {
    0% {
        left: -110%;
        opacity: 0;
    }

    60% {
        opacity: 1;
    }


    100% {
        left: -10%;
        opacity: 1;
    }
}

/* --- Right Panel --- */
.about-right {
    flex: 1;
    min-width: 0;
    /* KEY: prevents flex child from overflowing */
    padding: 55px 60px 40px 0px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 5%;
    box-sizing: border-box;
    overflow: hidden;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 32px;
    line-height: 1.1;
}

/* Bullet points */
.about-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
    width: 85%;
    min-width: 0;
    box-sizing: border-box;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.about-point p {
    font-size: 18px;
    font-weight: 400;
    color: #0D0D0D;
    line-height: 27px;
    text-align: justify;
    z-index: 5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Partner logos slider */
.partners-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    margin-top: 10%;
    position: relative;
}

.partners-slider-container::before,
.partners-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-slider-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners-slider-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.partners-slider {
    display: flex;
    width: fit-content;
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll 30s linear infinite;
    padding-left: 40px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
}

.partner-logo img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================
   ABOUT SECTION RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .about-section {
        min-height: auto;
    }

    .about-right {
        padding: 40px 40px 40px 0;
    }
}

@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
        min-height: auto;
    }

    .about-left {
        width: 100%;
        height: 400px;
        padding: 40px 0 0 0;
        order: 2;
        /* Put images below text on mobile if better or keep logical order */
    }

    .building-vertical {
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
    }

    .building-horizontal {
        width: 100%;
        left: 0;
    }

    .about-right {
        width: 100%;
        padding: 60px 5%;
        order: 1;
    }

    .about-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .about-points {
        width: 100%;
    }

    .about-point p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .about-left {
        height: 300px;
    }

    .about-title {
        font-size: 2rem;
    }

    .slider-track {
        gap: 50px;
    }

    .partner-logo {
        width: 120px;
    }

    .partner-logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .about-left {
        height: 250px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-point p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Admin Styles */
.admin-body {
    background-color: #f1f5f9;
    padding: 50px 0;
}

.admin-panel {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.admin-panel h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
}

.btn-update {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-update:hover {
    background: #00366b;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .features-grid {
        gap: 15px 60px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        max-width: 90%;
    }

    .features-banner {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .features-grid {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .hero {
        padding: 60px 5%;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero p.subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .features-banner {
        margin: 20px 0 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .email-service-label {
        font-size: 1.5rem;
        padding: 10px 0;
        left: 0;
    }

    .hero-bottom {
        position: relative;
        padding: 20px 0;
        justify-content: center;
    }

    .contact-button {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }

    .mail-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .badge {
        font-size: 0.85rem;
    }

    .navbar {
        padding: 20px 0;
    }
}

/* =========================================
   OUR FEATURES SECTION
   ========================================= */
.features-section {
    background-color: #A9C7DF;
    padding: 100px 0 0 0;
    position: relative;
    overflow: hidden;
}

.section-outline-title {
    font-size: 7.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 70px;
    letter-spacing: 3px;
    font-family: 'Poppins', sans-serif;
}

.features-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

/* Feature Card Styling */
.feature-card {
    background-color: #fff;
    position: relative;
    height: 100%;
    min-height: 220px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: default;
    /* Create the angled corners illusion through a solid background */
}

/* The 4 custom blue corner markers matching the design */
.card-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.card-corner-tl {
    top: -2px;
    left: -2px;
    border-top-color: #245F8E;
    border-left-color: #245F8E;
}

.card-corner-tr {
    top: -2px;
    right: -2px;
    border-top-color: #245F8E;
    border-right-color: #245F8E;
}

.card-corner-bl {
    bottom: -2px;
    left: -2px;
    border-bottom-color: #245F8E;
    border-left-color: #245F8E;
}

.card-corner-br {
    bottom: -2px;
    right: -2px;
    border-bottom-color: #245F8E;
    border-right-color: #245F8E;
}

/* In normal state, corners are active, but card border is invisible */
.feature-card {
    border: 2px solid transparent;
}

/* HOVER STATE: Second Image Effect */
.feature-card:hover {
    background-color: #fff;
    transform: translate(-6px, -6px);
    /* Pop up and left/right */
    border-color: #245F8E;
    box-shadow: 6px 6px 0px #245F8E;
    /* Solid shadow drop */
}

.feature-card:hover .card-corner {
    opacity: 0;
    /* Hide corners on hover as the solid border takes over */
}

.card-header-icon {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.company-logo-icon {
    width: 28px;
    height: 28px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    filter: invert(93%) sepia(8%) saturate(147%) hue-rotate(186deg) brightness(89%) contrast(85%);
    /* makes it light grayish */
}

/* The background number */
.card-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.8;
    color: #e2e8f0;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
}

/* Hover affects on internal elements */
.feature-card:hover .company-logo-icon {
    filter: invert(27%) sepia(35%) saturate(1514%) hue-rotate(174deg) brightness(97%) contrast(92%);
    /* makes it primary blue #245F8E */
}

.feature-card:hover .card-number {
    color: #245F8E;
}

.feature-card:hover .card-text {
    color: #245F8E;
}

.card-text {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    transition: color 0.4s ease;
}

/* Bottom Envelope Image */
.features-bottom-img {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 5;
    pointer-events: none;
    line-height: 0;
}

.bottom-envelope {
    max-width: 900px;
    width: 100%;
    vertical-align: bottom;
    display: inline-block;
}

/* ── Responsive Features ── */
@media (max-width: 1400px) {
    .section-outline-title {
        font-size: 6rem;
    }
}

@media (max-width: 1024px) {
    .section-outline-title {
        font-size: 5rem;
    }

    .features-grid-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0 0 0;
    }

    .section-outline-title {
        font-size: 3.5rem;
        margin-bottom: 40px;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    }

    .features-grid-cards {
        grid-template-columns: 1fr;
    }

    .features-bottom-img {
        margin-top: 0px;
    }

    .feature-card:hover {
        transform: translate(-3px, -3px);
        box-shadow: 3px 3px 0px #245F8E;
    }
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/asset/patter.png');
    background-size: cover;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.pricing-inner-box {
    background: linear-gradient(90deg, #181536 0%, #3B71B1 100%);
    border-radius: 40px;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    color: #fff;
    margin: 0 auto;
    width: 95%;
    max-width: 1400px;
}

.pricing-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/asset/background-texture.jpg');
    background-size: contain;
    /* Set as requested */
    opacity: 0.01;
    pointer-events: none;
    z-index: 1;
}

.pricing-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: url('../../images/asset/rectangle_circles_pattern.png') no-repeat top right;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.pricing-bg-pattern-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: url('../../images/asset/bottom_left.png') no-repeat bottom left;
    background-size: contain;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.pricing-mail-float {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.float-left {
    left: 3%;
    top: 15%;
    width: 70px;
    transform: rotate(-10deg);
}

.float-right {
    right: 5%;
    top: 10%;
    width: 150px;
}

/* Made bigger as requested */

/* Header & Toggle */
.pricing-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 10;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    /* Split into 2 lines */
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.title-line-2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-dollar-icon {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
}

.pricing-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    position: relative;
    cursor: pointer;
    min-width: 220px;
    transition: all 0.3s;
}

.toggle-option {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    font-weight: 600;
    z-index: 2;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.toggle-option.active {
    background: #fff;
    color: #181536;
    border-radius: 40px;
}

.jewel-icon {
    width: 16px;
    height: 16px;
}

/* Grid & Cards */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 10;
}

.pricing-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px 25px;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    min-height: 580px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* subtle border */
    overflow: hidden;
    /* for texture */
}

/* Base Texture Layer */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/asset/patter.png');
    opacity: 0.5;
    /* 50% opacity as requested */
    pointer-events: none;
    z-index: 1;
}

/* Hover Effect with Radial Gradient */
.pricing-card:hover {
    transform: translateY(-15px);
    background: radial-gradient(circle, #058BF7 0%, #3B71B1 100%);
    color: #fff;
    z-index: 10;
}

/* Ensure content stays above the texture */
.pricing-card>* {
    position: relative;
    z-index: 2;
}

.pricing-card:hover .billing-info {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card:hover .check-icon {
    background: #fff;
    color: #3B71B1;
}

.pricing-card:hover .get-started-btn {
    background: #fff;
    border: none;
}

.pricing-card:hover .features-list {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.pricing-card:hover .featured-badge {
    display: flex;
}

.pricing-card .featured-badge {
    position: absolute;
    top: 15px;
    left: 25px;
    background: transparent;
    color: #3B71B1;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    letter-spacing: 0.5px;
}

.pricing-card:hover .featured-badge {
    color: #fff;
}

/* ── Contact CTA Section ─────────────────────────────────────────────── */
.contact-cta-section {
    padding-top: 60px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/asset/patter.png');
    background-size: cover;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.contact-cta-box {
    background: linear-gradient(90deg, #181536 0%, #3B71B1 100%);
    border-radius: 40px;
    padding: 60px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.contact-cta-content {
    flex: 1;
    position: relative;
    z-index: 5;
}

.contact-cta-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.contact-cta-logo img {
    height: 30px;
    width: auto;
}

.contact-cta-logo span {
    font-size: 1.4rem;
    font-weight: 500;
}

.contact-cta-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.contact-cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 35px;
    font-weight: 300;
}

.contact-cta-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    width: 48px;
    /* Slightly bigger for better overlapping visibility */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* Potential gap space */
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.social-icon:not(:first-child) {
    margin-left: -18px;
    /* Negative margin for overlap */
}

.social-icon:hover {
    transform: translateY(-8px);
    z-index: 10 !important;
    /* Pop above others on hover */
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* optional: filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); */
}

/* RTL Support for overlapping */
[dir="rtl"] .social-icon:not(:first-child) {
    margin-left: 0;
    margin-right: -18px;
}

.social-text {
    font-size: 1rem;
    opacity: 0.7;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
}

.contact-cta-image {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 40px;
}

.earth-globe {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.2));
}

/* ── Responsive CTA ── */
@media (max-width: 1200px) {
    .contact-cta-box {
        padding: 40px 60px;
    }

    .contact-cta-title {
        font-size: 3rem;
    }

    .earth-globe {
        width: 250px;
    }
}

@media (max-width: 991px) {
    .contact-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .contact-cta-logo {
        justify-content: center;
    }

    .contact-cta-socials {
        flex-direction: column;
        gap: 15px;
    }

    .social-text {
        border-left: none;
        padding-left: 0;
    }

    .contact-cta-image {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .contact-cta-title {
        font-size: 2.2rem;
    }

    .contact-cta-box {
        padding: 40px 30px;
        border-radius: 30px;
    }
}

/* RTL Support */
[dir="rtl"] .contact-cta-content {
    text-align: right;
}

[dir="rtl"] .contact-cta-logo {
    justify-content: flex-start;
}

[dir="rtl"] .contact-cta-logo span {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .contact-cta-socials {
    justify-content: flex-start;
}

[dir="rtl"] .social-text {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    padding-left: 20px;
    padding-right: 0;
}

[dir="rtl"] .contact-cta-image {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 991px) {
    [dir="rtl"] .contact-cta-content {
        text-align: center;
    }

    [dir="rtl"] .social-text {
        border-right: none;
        padding-right: 0;
    }
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    /* space for badge */
    margin-bottom: 30px;
}

.plan-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-box {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.price-box .currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
}

.price-box .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.billing-info {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px;
}

.featured .billing-info {
    color: rgba(255, 255, 255, 0.8);
}

.card-jewel-icon {
    width: 35px;
    height: 35px;
}

/* Features List */
.features-list {
    flex-grow: 1;
    margin-bottom: 30px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

.featured .features-list {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.features-label {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.features-list ul {
    list-style: none;
}

.features-list li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    width: 22px;
    height: 22px;
    background: #3B71B1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured .check-icon {
    background: #fff;
    color: #3B71B1;
}

.featured .not-included {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.not-included {
    opacity: 0.4;
    text-decoration: line-through;
}

/* Button */
.get-started-btn {
    display: block;
    text-align: center;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.3s;
}

.featured .get-started-btn {
    background: #fff;
    border: none;
}

.get-started-btn:hover {
    background: #f8fafc;
}

/* ── Responsive Pricing ── */
@media (max-width: 1200px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 991px) {
    .pricing-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .pricing-inner-box {
        padding: 60px 20px;
        border-radius: 25px;
        width: 98%;
    }

    .pricing-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-mail-float {
        display: none;
    }

    .pricing-bg-pattern {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .pricing-title {
        font-size: 1.8rem;
    }

    .title-dollar-icon {
        width: 45px;
    }

    .title-line-2 {
        gap: 8px;
    }

    .pricing-card {
        min-height: auto;
        padding: 30px 20px;
    }

    .price-box .amount {
        font-size: 2.8rem;
    }

    .pricing-toggle {
        min-width: 100%;
    }
}

[dir="rtl"] .billing-info {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .check-icon {
    margin-left: 0;
}

/* ── FAQ Section ────────────────────────────────────────────────────────── */
.faq-section {
    background: #fff;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/asset/patter.png');
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #181536;
    text-align: center;
    margin-bottom: 20px;
}

[dir="rtl"] .faq-section-title {
    text-align: center;
}

.faq-blue-word {
    color: #245F8E;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: #fff;
    border: 6px solid #245F8E80;
    border-radius: 40px;
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.faq-item:hover {
    transform: translateY(-10px);
    border-color: #245F8E;
    box-shadow: 0 15px 30px rgba(36, 95, 142, 0.15);
}

.faq-item.active {
    align-items: flex-start;
}

.faq-number {
    font-size: 6rem;
    font-weight: 900;
    color: #ebf1f6;
    /* Visible light blue/gray */
    line-height: 1;
    pointer-events: none;
    flex-shrink: 0;
    width: 80px;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

.faq-item.active .faq-number {
    margin-top: -10px;
}

.faq-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* at top */
    width: 100%;
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #181536;
    margin: 0;
    line-height: 1.4;
    padding-right: 50px;
    /* space for button in corner */
}

[dir="rtl"] .faq-question h3 {
    padding-right: 0;
    padding-left: 50px;
}

.faq-toggle {
    background: transparent;
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    top: 35px;
    right: 35px;
    transition: all 0.3s;
    padding: 0;
}

[dir="rtl"] .faq-toggle {
    right: auto;
    left: 35px;
}



/* ── Navigation Dropdown ─────────────────────────────────────────── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 25px);
    /* Space for padding */
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(24, 21, 54, 0.15);
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) translateZ(100px);
    /* Hardware elevated */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100000;
    /* Super high */
}

.nav-dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) translateZ(100px);
}

.dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-links li a {
    display: block;
    padding: 12px 25px;
    color: #181536;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left;
}

[dir="rtl"] .dropdown-links li a {
    text-align: right;
}

.dropdown-links li a:hover {
    background: #f8faff;
    color: #3B71B1;
    padding-left: 30px;
}

[dir="rtl"] .dropdown-links li a:hover {
    padding-left: 25px;
    padding-right: 30px;
}

.dropdown-links li a.active {
    color: #3B71B1;
    background: #f8faff;
}

.dropdown-links li a.btn-highlight {
    background: #181536;
    color: #fff;
    margin: 10px 15px 5px;
    border-radius: 8px;
    text-align: center;
}

.dropdown-links li a.btn-highlight:hover {
    background: #3B71B1;
    padding: 12px 25px;
}

/* RTL Dropdown Alignment */
[dir="rtl"] .nav-dropdown {
    right: auto;
    left: 0;
}

@media (max-width: 991px) {
    .nav-dropdown {
        width: 220px;
    }
}

.faq-item.active .faq-toggle {
    top: 20px;
    transform: none;
}

.faq-toggle img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.faq-toggle:hover img {
    transform: scale(1.15);
}

.icon-close {
    display: none;
}

.faq-item.active .icon-open {
    display: none;
}

.faq-item.active .icon-close {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 20px;
}

.faq-answer p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive FAQ ── */
@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .faq-item {
        padding: 25px;
        border-radius: 25px;
        border-width: 4px;
    }

    .faq-number {
        font-size: 6rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }
}

[dir="rtl"] .faq-number {
    left: auto;
    right: 20px;
}

[dir="rtl"] .faq-toggle {
    right: auto;
    left: 0;
}

[dir="rtl"] .faq-question h3 {
    padding-right: 0;
    padding-left: 40px;
}

[dir="rtl"] .pricing-bg-pattern {
    right: auto;
    left: 0;
    transform: scaleX(-1);
}

[dir="rtl"] .pricing-bg-pattern-bottom {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

[dir="rtl"] .pricing-card .featured-badge {
    left: auto;
    right: 25px;
}

/* ==============================================================
   FOOTER SECTION 
   ============================================================== */
.main-footer {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /* Section background now pure white as requested */
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/asset/patter.png');
    background-size: 800px;
    /* Adjusting pattern size for better detail */
    background-repeat: repeat;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /* Reduced gap to bring columns closer */
    margin-bottom: 60px;
}

.footer-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    flex: 1.5;
    /* Gave more weight to side columns to make boxes wider */
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px;
    /* Increased for a bigger center image */
}

.center-mail-img {
    width: 100%;
    max-width: 450px;
    /* Increased mail image as requested */
    object-fit: contain;
    animation: floating 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.center-mail-img:hover {
    transform: translateY(-10px) scale(1.05);
}

.footer-card {
    position: relative;
    z-index: 1;
    background: #245F8E1A;
    /* Gray background for the outer box */
    border-radius: 16px;
    /* Outer box radius now 16px as requested */
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.footer-card-inner {
    position: relative;
    background: #fff;
    border-radius: 4px;
    /* Internal boxes radius now 4px as requested */
    padding: 25px 30px;
    z-index: 3;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-edge {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 80%;
    height: 70%;
    background: #245F8E;
    border-radius: 4px;
    /* Internal boxes radius now 4px as requested */
    z-index: 1;
    transform: rotate(8deg);
    /* Reduced to 8deg for subtle effect */
    transition: all 0.4s ease;
    opacity: 0.95;
}

.left-side .footer-card:nth-child(even) .card-edge {
    transform: rotate(8deg);
    /* Uniform rotation as requested */
}

.right-side .footer-card:nth-child(odd) .card-edge {
    transform: rotate(8deg);
    /* Uniform rotation as requested */
}

.footer-card:hover .footer-card-inner {
    transform: scale(1.01);
}

.footer-card:hover .card-edge {
    transform: rotate(10deg) scale(1.02);
}

.branch-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.branch-icon {
    width: 22px;
    height: 22px;
}

.branch-title h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #245F8E;
}

.branch-address {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 18px 0;
}

/* Ensure text flows correctly regardless of overall layout direction */
[dir="rtl"] .branch-address,
[dir="rtl"] .branch-title h3,
[dir="rtl"] .phone-item span {
    font-family: 'Cairo', sans-serif !important;
}

.branch-phones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
}

.phone-item svg {
    color: #245F8E;
}

.phone-item span {
    direction: ltr !important;
    unicode-bidi: isolate;
    display: inline-block;
}

.card-bottom-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.footer-card:hover .card-bottom-logo {
    opacity: 0.6;
}

.bottom-card-icon {
    width: 14px;
    height: 14px;
    filter: grayscale(100%);
}

.card-bottom-logo span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.footer-copyright {
    text-align: center;
    padding: 10px 0;
    /* Padding reduced to minimal as requested */
    border-top: 1px solid rgba(36, 95, 142, 0.15);
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 20px;
    /* Reduced top margin from 40px to 20px */
}

.footer-copyright p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.copyright-logo {
    height: 20px;
    width: auto;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .center-mail-img {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .footer-center {
        order: -1;
        margin-bottom: 20px;
        width: 100%;
        /* Removing static width constraints */
    }

    .center-mail-img {
        width: 250px;
    }

    .footer-side {
        width: 100%;
        max-width: 600px;
    }
}