/* =========================================================
   TEKIFAY HEADER + AUDIT MODAL
   ========================================================= */

:root {
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --primary-blue-soft: #eff6ff;

    --text-dark: #0f172a;
    --text-muted: #64748b;

    --bg-body: #ffffff;
    --bg-card: #ffffff;

    --border-light: #e2e8f0;

    --font-main: "Plus Jakarta Sans", sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
    --shadow-md: 0 8px 25px rgba(15, 23, 42, .08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, .15);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-body);
    color: var(--text-dark);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   FIXED HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;

    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid var(--border-light);

    z-index: 9999;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 1px 10px rgba(15, 23, 42, .04);
}


/* =========================================================
   HEADER CONTAINER
   ========================================================= */

.header-container {
    width: 100%;
    max-width: 1280px;
    height: 100%;

    margin: 0 auto;
    padding: 0 24px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-link {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    text-decoration: none;
}

.tekifay-logo {
    height: 50px;
    width: auto;

    max-width: 600px;

    display: block;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;

    list-style: none;

    gap: 18px;
}

.nav-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 8px 4px;

    color: var(--text-dark);

    font-size: .90rem;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 4px;
    right: 4px;
    bottom: 0;

    height: 2px;

    background: var(--primary-blue);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.dropdown-item {
    position: relative;
}

.dropdown-item i.fa-chevron-down {
    font-size: .65rem;
    transition: transform .25s ease;
}

.mega-dropdown {
    position: absolute;

    top: calc(100% + 14px);
    left: 50%;

    width: 285px;

    padding: 10px;

    background: var(--bg-card);

    border: 1px solid var(--border-light);
    border-radius: 14px;

    display: grid;
    gap: 3px;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 10px);

    transition: all .25s ease;

    box-shadow: var(--shadow-lg);
}

.dropdown-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

.dropdown-item:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

.mega-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 11px 12px;

    border-radius: 9px;

    color: var(--text-dark);

    font-size: .84rem;
    font-weight: 500;

    text-decoration: none;

    transition: all .2s ease;
}

.mega-dropdown a i {
    width: 18px;

    color: var(--primary-blue);

    text-align: center;
}

.mega-dropdown a:hover {
    background: var(--primary-blue-soft);
    color: var(--primary-blue);

    transform: translateX(2px);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 12px;
}


/* =========================================================
   FREE AUDIT BUTTON
   ========================================================= */

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 19px;

    border: 0;
    border-radius: 30px;

    background: var(--primary-blue);
    color: #fff;

    font-family: inherit;
    font-size: .86rem;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    box-shadow: 0 5px 16px rgba(37, 99, 235, .25);

    transition: all .25s ease;
}

.cta-btn:hover {
    background: var(--primary-blue-hover);

    transform: translateY(-2px);

    box-shadow: 0 8px 22px rgba(37, 99, 235, .32);
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-light);
    border-radius: 10px;

    background: #fff;

    color: var(--text-dark);

    font-size: 18px;

    cursor: pointer;

    transition: all .2s ease;
}

.mobile-toggle:hover {
    color: var(--primary-blue);
    background: var(--primary-blue-soft);
}


/* =========================================================
   MOBILE SIDE MENU
   ========================================================= */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, .45);

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;

    z-index: 10000;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: min(330px, 88%);

    height: 100vh;

    padding: 20px;

    background: #fff;

    transform: translateX(100%);

    transition: transform .35s cubic-bezier(.4, 0, .2, 1);

    z-index: 10001;

    overflow-y: auto;

    box-shadow: -15px 0 40px rgba(15, 23, 42, .15);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border-light);
}

.mobile-logo {
    width: 130px;
    height: auto;
    display: block;
}

.mobile-close {
    width: 40px;
    height: 40px;

    border: 1px solid var(--border-light);
    border-radius: 10px;

    background: #fff;

    color: var(--text-dark);

    cursor: pointer;

    font-size: 18px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;

    margin-top: 18px;
}

.mobile-nav>a,
.mobile-service-btn {
    display: flex;

    align-items: center;
    gap: 12px;

    width: 100%;

    padding: 14px 8px;

    border: 0;
    border-bottom: 1px solid #f1f5f9;

    background: transparent;

    color: var(--text-dark);

    font-family: inherit;

    font-size: .95rem;
    font-weight: 600;

    text-decoration: none;

    text-align: left;

    cursor: pointer;
}

.mobile-nav>a i {
    width: 20px;
    color: var(--primary-blue);
}

.mobile-service-btn {
    justify-content: space-between;
}

.mobile-service-btn span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-service-btn span i {
    width: 20px;
    color: var(--primary-blue);
}

.mobile-submenu {
    max-height: 0;

    overflow: hidden;

    background: #f8fafc;

    border-radius: 8px;

    transition: max-height .3s ease;
}

.mobile-submenu.active {
    max-height: 400px;
}

.mobile-submenu a {
    display: block;

    padding: 11px 15px 11px 40px;

    color: var(--text-muted);

    font-size: .84rem;
    font-weight: 500;

    text-decoration: none;

    border-bottom: 1px solid #eef2f7;
}

.mobile-submenu a:hover {
    color: var(--primary-blue);
}

.mobile-audit-btn {
    width: 100%;

    margin-top: 25px;

    padding: 13px;

    border: 0;
    border-radius: 10px;

    background: var(--primary-blue);
    color: #fff;

    font-family: inherit;

    font-size: .9rem;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   AUDIT MODAL
   ========================================================= */

.audit-modal {
    position: fixed;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(15, 23, 42, .62);

    opacity: 0;
    visibility: hidden;

    z-index: 20000;

    transition: all .3s ease;

    backdrop-filter: blur(6px);
}

.audit-modal.active {
    opacity: 1;
    visibility: visible;
}

.audit-modal-box {
    position: relative;

    width: min(700px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    padding: 35px;

    background: #fff;

    border: 1px solid rgba(226, 232, 240, .8);

    border-radius: 20px;

    box-shadow: 0 30px 80px rgba(15, 23, 42, .25);

    transform: translateY(25px) scale(.97);

    transition: transform .35s ease;
}

.audit-modal.active .audit-modal-box {
    transform: translateY(0) scale(1);
}

.audit-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border-light);
    border-radius: 50%;

    background: #fff;

    color: var(--text-muted);

    cursor: pointer;

    font-size: 16px;

    z-index: 2;
}

.audit-close:hover {
    color: var(--primary-blue);
    background: var(--primary-blue-soft);
}


/* =========================================================
   AUDIT HEADING
   ========================================================= */

.audit-heading {
    text-align: center;

    max-width: 560px;

    margin: 0 auto 28px;
}

.audit-icon {
    width: 56px;
    height: 56px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: var(--primary-blue-soft);

    color: var(--primary-blue);

    font-size: 22px;
}

.audit-heading h2 {
    margin-bottom: 8px;

    color: var(--text-dark);

    font-size: 1.55rem;
    font-weight: 800;
}

.audit-heading p {
    color: var(--text-muted);

    font-size: .86rem;
    line-height: 1.65;
}


/* =========================================================
   FORM
   ========================================================= */

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    color: var(--text-dark);

    font-size: .78rem;
    font-weight: 700;
}

.form-group label span {
    color: var(--text-muted);

    font-size: .7rem;
    font-weight: 500;
}

.input-box {
    display: flex;

    align-items: center;

    min-height: 46px;

    padding: 0 13px;

    border: 1px solid var(--border-light);

    border-radius: 10px;

    background: #fff;

    transition: all .2s ease;
}

.input-box:focus-within {
    border-color: var(--primary-blue);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.input-box>i {
    width: 20px;

    margin-right: 8px;

    color: var(--primary-blue);

    text-align: center;

    font-size: 14px;
}

.input-box input,
.input-box textarea {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text-dark);

    font-family: inherit;

    font-size: .82rem;
}

.input-box input {
    height: 44px;
}

.input-box textarea {
    min-height: 90px;

    padding: 12px 0;

    resize: vertical;

    line-height: 1.5;
}

.textarea-box {
    align-items: flex-start;

    padding-top: 4px;
}

.textarea-box>i {
    margin-top: 12px;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
    color: #94a3b8;
}

.keyword-counter {
    margin-top: 5px;

    color: var(--text-muted);

    font-size: .68rem;

    text-align: right;
}

.form-error {
    display: block;

    min-height: 16px;

    margin-top: 3px;

    color: #ef4444;

    font-size: .68rem;
}

.submit-audit-btn {
    width: 100%;

    margin-top: 5px;

    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 0;
    border-radius: 10px;

    background: var(--primary-blue);
    color: #fff;

    font-family: inherit;

    font-size: .88rem;
    font-weight: 700;

    cursor: pointer;

    transition: all .25s ease;
}

.submit-audit-btn:hover {
    background: var(--primary-blue-hover);

    transform: translateY(-1px);
}


/* =========================================================
   THANK YOU SCREEN
   ========================================================= */

.thank-you-screen {
    display: none;

    min-height: 440px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;
}

.thank-you-screen.active {
    display: flex;
    animation: thankFade .5s ease;
}

@keyframes thankFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-animation {
    position: relative;

    width: 90px;
    height: 90px;

    margin-bottom: 22px;
}

.success-circle {
    position: absolute;

    inset: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-blue);

    color: #fff;

    font-size: 30px;

    animation: successPop .6s cubic-bezier(.175, .885, .32, 1.275);
}

.success-ring {
    position: absolute;

    inset: 0;

    border: 2px solid rgba(37, 99, 235, .2);

    border-radius: 50%;

    animation: ringPulse 1.5s infinite;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.thank-you-screen h2 {
    margin-bottom: 10px;

    color: var(--text-dark);

    font-size: 1.8rem;
    font-weight: 800;
}

.thank-you-screen p {
    max-width: 470px;

    color: var(--text-muted);

    font-size: .9rem;
    line-height: 1.6;
}

.thank-you-note {
    margin-top: 8px;

    color: #94a3b8;

    font-size: .75rem;
}

.thank-close-btn {
    margin-top: 25px;

    padding: 11px 22px;

    border: 0;
    border-radius: 9px;

    background: var(--primary-blue);
    color: #fff;

    font-family: inherit;

    font-size: .82rem;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   BODY OFFSET
   ========================================================= */

body {
    padding-top: 76px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .nav-list {
        gap: 11px;
    }

    .nav-link {
        font-size: .82rem;
    }

    .header-container {
        padding: 0 18px;
    }

    .tekifay-logo {
        height: 60px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        height: 68px;
    }

    body {
        padding-top: 68px;
    }

    .header-container {
        display: flex;

        justify-content: space-between;

        padding: 0 16px;
    }

    .main-nav {
        display: none;
    }

    .cta-btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .tekifay-logo {
        height: 60px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .audit-modal {
        padding: 12px;
    }

    .audit-modal-box {
        padding: 28px 18px;

        border-radius: 16px;

        max-height: 94vh;
    }

    .audit-heading {
        margin-bottom: 22px;
    }

    .audit-heading h2 {
        font-size: 1.25rem;

        padding-right: 20px;
    }

    .audit-heading p {
        font-size: .78rem;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .full-width {
        grid-column: auto;
    }

    .form-group label {
        font-size: .74rem;
    }

    .input-box {
        min-height: 44px;
    }

    .thank-you-screen {
        min-height: 400px;
    }

}


/* =========================================================
   EXTRA SMALL
   ========================================================= */

@media (max-width: 380px) {

    .tekifay-logo {
        height: 60px;
    }

    .mobile-toggle {
        width: 40px;
        height: 40px;
    }

}


/* --- CURSOR CANVAS ACTION  --- */

#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}

/* --- FLOATING whatsapp and cALL ACTION BUTTONS --- */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.call-btn {
    background: var(--primary-blue);
}

.whatsapp-btn {
    background: #25D366;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}




/* --- FOOTER CSS START --- */


.site-footer {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eaedf2;
    margin-top: 80px;
    box-sizing: border-box
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 20px 55px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    justify-content: space-between;
    align-items: start;
    box-sizing: border-box
}

.brand-col {
    max-width: 320px
}

.footer-logo {
    width: auto;
    height: 38px;
    display: block;
    margin-bottom: 22px
}

.brand-col p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #666;
    margin-bottom: 24px
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    transition: all .3s ease
}

.social-links a i {
    font-size: 17px;
    color: #222;
    transition: all .3s ease
}

.social-links a:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-4px)
}

.social-links a:hover i {
    color: #fff
}

.footer-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px
}

.footer-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background: #0056b3;
    display: block
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-col ul li {
    margin-bottom: 12px
}

.footer-col ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: all .25s ease
}

.footer-col ul li a:hover {
    color: #0056b3;
    transform: translateX(6px)
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid #eaedf2;
    background: #f8fafc;
    padding: 20px 15px;
    text-align: center;
    box-sizing: border-box
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    text-align: center
}

@media(max-width:992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px
    }
}

@media(max-width:600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px
    }
}