@import url("base.css");
@import url("variables.css");
@import url("./components/navbar.css");
@import url("./components/buttons.css");
@import url("./components/cards.css");
@import url("./components/tech.css");
@import url("./components/footer.css");
@import url("./components/herocontactsection.css");
@import url("./components/faq.css");
@import url("./components/hero-section.css");

/* ===============================
   Hero Section
==================================*/
.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* ===============================
   Hero Content
==================================*/
.hero-content {
    padding: 100px 0;
    width: 50%;
    text-align: start;
    z-index: 2;
}

/* ===============================
   Hero Title Animation
==================================*/
.hero-title {
    font-size: 50px;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 66px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1s ease forwards;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 18px;
    margin: 20px 0 40px 0;
    max-width: 650px;
    line-height: 28px;
    color: var(--text-light);
}

/* ===============================
   Hero Stats
==================================*/
.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--transition-normal);
}

.stat-item.visible h3 {
    opacity: 1;
    transform: scale(1);
}

.stat-item p {
    font-size: 0.95rem;
    margin-top: 0.3rem;
    color: var(--text-light);
}

/* Trust Bar (Enterprise Credentials) */
.trust-bar {
    background: var(--heading-color);
    color: #ffffff;
    padding: 0.75rem 0;
    text-align: center;
}

.trust-bar .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.trust-bar-text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.trust-bar-text span:not([aria-hidden="true"]) {
    color: #ffffff;
    white-space: nowrap;
}

.trust-bar-text span[aria-hidden="true"] {
    opacity: 0.85;
    font-weight: 300;
}

/* Microsoft-style quick-help strip */
.quick-help-strip { padding: 1.25rem 0; background: #f5f5f5; }
.quick-help-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.quick-help-lead { margin: 0; font-size: 1rem; font-weight: 600; color: var(--heading-color, #1a1a1a); }
.quick-help-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.quick-help-links a { color: var(--link-color, #0067b8); text-decoration: none; font-size: 0.95rem; }
.quick-help-links a:hover { text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 768px) {
    .trust-bar {
        padding: 0.85rem 0;
    }
    .trust-bar-text {
        font-size: 0.85rem;
        gap: 0.4rem 0.6rem;
        line-height: 1.4;
    }
    .trust-bar-text span:not([aria-hidden="true"]) {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .trust-bar-text {
        font-size: 0.8rem;
        gap: 0.35rem 0.5rem;
    }
}

@media (max-width: 380px) {
    .trust-bar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .trust-bar-text {
        font-size: 0.75rem;
    }
}

/* ===============================
   Hero Video / Image Section
==================================*/
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

body.arabic .hero-image {
    left: 0;
    right: auto;
}

body.arabic .btn-primary i {
    transform: rotate(-90deg);
}

.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* ===============================
   Center Headings (Used in Other Sections)
==================================*/
.hero-main-headings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0 0 50px 0;
}

.hero-main-headings h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--heading-color);
}

.hero-main-headings p {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    max-width: 50%;
    text-align: center;
    line-height: 28px;
}

/* ===============================
   Consultation Section (Background Image + Overlay)
==================================*/
.cunsoltation-main {
    background-image: url('../assets/images/startup.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    color: #fff;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Overlay */
.cunsoltation-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.cunsoltation-main * {
    position: relative;
    z-index: 1;
}

.cunsoltation-main h1 {
    font-size: 56px;
    color: var(--background);
    font-weight: 600;
    line-height: 66px;
}

.cunsoltation-main p {
    font-size: 18px;
    color: var(--light-gray-alt);
    font-weight: 400;
    line-height: 28px;
}

.cunsoltation-main .hero-cta {
    margin: 20px 0 0 0;
}

/* ===============================
   Scroll to Top Button
==================================*/
#scrollToTopBtn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--primary-color);
    color: var(--background);
    border: none;
    padding: 12px 16px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 9999;
}
#scrollToTopBtn:hover{
    background-color: var(--primary-dark);
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* ===============================
   Responsive Styles
==================================*/
@media (max-width: 1320px) {
    section {
        padding: 40px 0;
    }
    .hero-section .container {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }
    .hero-content {
        width: 100%;
        padding: 0;
    }
    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 40px;
    }
    .cards-section-white .about-hero {
        flex-direction: column;
    }
}

@media (max-width: 1100px) {
    .hero-title {
        font-size: 44px;
    }
    .hero-subtitle {
        font-size: 16px;
        max-width: 90%;
        margin: 15px 0 30px 0;
    }
    .stat-item h3 {
        font-size: 26px;
    }
    .stat-item p {
        font-size: 14px;
    }
    .hero-contact-section {
        padding: 40px 20px;
    }
}

@media (max-width: 800px) {
    .hero-contact-content h1,
    .cunsoltation-main h1,
    .hero-main-headings h1,
    .hero-title {
        font-size: 34px;
    }
    .hero-section .container {
        padding: 20px;
    }
    .hero-main-headings p {
        max-width: 100%;
    }
    .hero-breadcrumb,
    .hero-contact-content p,
    .cunsoltation-main p,
    .hero-main-headings p {
        font-size: 16px;
    }
    .cunsoltation-main {
        height: max-content;
        padding: 50px 20px;
    }
    .cards-section {
        padding: 40px 0;
    }
}

@media (max-width: 660px) {
    .container {
        padding: 0 20px;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-section .container {
        padding: 50px 20px;
    }
    .hero-contact-content h1,
    .cunsoltation-main h1,
    .hero-main-headings h1,
    .hero-title {
        font-size: 28px;
        line-height: 34px;
    }
    .hero-subtitle {
        width: 100%;
    }
    .hero-breadcrumb,
    .hero-contact-content p,
    .hero-subtitle,
    .cunsoltation-main p,
    .hero-main-headings p {
        font-size: 14px;
    }
    .stat-item h3 {
        font-size: 20px;
    }
    .hero-stats {
        gap: 16px;
    }
    .stat-item p {
        font-size: 12px;
    }
    .hero-main-headings h1 {
        text-align: center;
    }
    .tech-stack-main {
        padding: 0;
    }
}
