/* =========================================================
   01. ROOT VARIABLES - SOFT NEUTRAL THEME
========================================================= */

:root {
    /* Backgrounds */
    --bg-main: #f4f6f9;      /* Main page background - soft gray */
    --bg-section: #ffffff;   /* White sections */
    --bg-section-alt: #eef2f6; /* Light gray sections */
    --bg-deep: #0f172a;      /* Header/Footer - deep but not black */

    /* Text */
    --text-dark: #1e293b;    /* Main text */
    --text-muted: #64748b;   /* Secondary text */
    --text-light: #f8fafc;   /* Text on dark bg */

    /* Brand */
    --blue-600: #2563eb;     /* Buttons */
    --blue-500: #3b82f6;     /* Accents */
    --blue-100: #dbeafe;     /* Soft accent bg */

    --border: rgba(148, 163, 184, 0.2);
    --container: 1180px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-main); /* Soft gray page bg */
    color: var(--text-dark);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

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

/* =========================================================
   03. GLOBAL UTILITIES
========================================================= */

.section {
    width: 100%;
    padding: 100px 6%;
    background: var(--bg-section); /* White */
}

.section:nth-child(even) {
    background: var(--bg-section-alt); /* Light gray */
}

.section-headin {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-headin  {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-heading h2 span {
    color: var(--blue-600);
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* =========================================================
   04. NAVIGATION / HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-deep); /* Deep but not black */
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar {
    width: min(var(--container), 90%);
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    height: 65px;
    width: 70px;
    border: 1px solid var(--blue-500);
    border-radius: 40px;
    
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.8;
    transition: 0.25s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--blue-500);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

.lets-talk {
    border: 1px solid var(--blue-500);
    background: transparent;
    color: var(--text-light);
    width: 70px;
}
.lets-talk:hover {
    background: var(--blue-600);
}

/* =========================================================
   05. HERO
========================================================= */

.hero {
    position: relative;
    min-height: 680px;
    padding: 120px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: var(--bg-section); /* White hero */
    margin-top: -35px;
}

.hero-content {
    width: min(620px, 100%);
}

.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-align: left;
    margin-left: 20px;
}

.hero h1 span {
    color: var(--blue-600);
}

.hero p {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn-primary {
    background: var(--blue-600);
    color: white;
    padding: 5px 30px;
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-dark);
    padding: 5px 30px;
}
.btn-secondary:hover {
    background: var(--bg-main);
}

/* ORBIT HERO VISUAL */
.hero-visual {
    width: 400px; /* bigger */
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px !important;   /* size of the center circle */
    height: 150px !important;
    background: rgba(0, 0, 0, 1);
    border: 3px solid var(--blue-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    padding: -1px;
}

.orbit-center img {
    width: 120px !important;   /* logo size inside circle */
    height: 120px !important;
    border-radius: 80px !important; /* makes it round like AT was */
    object-fit: contain !important;
}

.orbit-ring {
    position: absolute;
    border: 1px solid var(--blue-100);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 180px;
    height: 180px;
    border-color: var(--blue-600);
    animation-duration: 12s;
}

.ring-2 {
    width: 230px;
    height: 230px;
    border: 2px dashed var(--blue-500);
    animation-duration: 18s;
    animation-direction: reverse;
}

.ring-3 {
    width: 330px;
    height: 310px;
    border: 2px dotted var(--blue-600);
    animation-duration: 24s;
}

.tech-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--blue-600);
    color: white;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    font-weight: 800;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================================================
   06. INTRO STRIP
========================================================= */

.section2 {
    background: var(--bg-section-alt);
}
.intro-strip {
    width: min(var(--container), 90%);
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-large);
    padding: 10px;
}
.intro-item {
    padding: 30px;
    text-align: center;
}
.intro-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* =========================================================
   07. ABOUT
========================================================= */

/* ========== ABOUT SECTION ========== */
.about-section {
    width: 100%;
    padding: 100px 6%;
    background: var(--bg-section);
}

.about-section .section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-left: 100px;
}

.about-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    margin-left: 60px;
}

.about-section h2 span {
    color: var(--blue-600);
}



.about-content p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 15px;
}

.about-grid {
    width: min(var(--container), 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-top: -15px;
}

.about-card {
    padding: 32px;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
    margin-top: -30px;
    margin-bottom: 70px;
}

.about-icon {
    width: 50px;
    height: 50px;
    background: var(--blue-100);
    color: var(--blue-600);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 80px;
    margin-top: 10px;
}
.about-card h3 {
    margin-bottom: 8px;
}

@media (max-width: 1000px) {
    .about-grid { grid-template-columns: 1fr; }
}


/* ========== SERVICES SECTION ========== */

.services-section {
    width: 100%;
    padding: 100px 6%;
    background: var(--bg-section-alt);
}

.services-section .section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-left: 100px;
}

.services-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    margin-left: 40px;
}

.services-section h2 span {
    color: var(--blue-600);
}

.services-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    width: min(var(--container), 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 100px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    overflow: hidden;
    margin-top: -80px;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--blue-600);
    border-radius: 60px 0 0 0;
    opacity: 0.50;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--blue-100);
    color: var(--blue-600);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.service-number {
    color: var(--blue-600);
    font-weight: 700;
}

.services-section h3 {
    
}

.services-section p {
    text-align: left;
    margin-top: 50px;
}

@media (max-width: 1000px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ========== PROJECTS SECTION ========== */

.projects-section {
    width: 100%;
    padding: 100px 6%;
    background: var(--bg-section);
}

.projects-section .section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.projects-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.projects-section h2 span {
    color: var(--blue-600);
}

.projects-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

.projects-grid {
    width: min(var(--container), 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -59px;
}

.project-card {
    position: relative;
    padding: 32px 12px 32px 32px;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--blue-600);
    border-radius: 60px 0 0 0;
    opacity: 0.50;
}

.project-visual {
    min-height: 220px;
    background: var(--bg-section-alt);
    border-radius: var(--radius-medium);
    border: 1px solid var(--blue-100);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    font-weight: 800;
    font-size: 1.3rem;
    margin: -8px;
}

.project-category {
    color: var(--blue-600);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: lowercase;
    font-style: italic;
}

.project-link {
    color: var(--blue-600);
    font-weight: 700;
}
.project-content h3 {
    margin-top: 20px;
}

@media (max-width: 1000px) {
    .projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   10. WHY SECTION
========================================================= */

/* ========== WHY SECTION ========== */
.why-section {
    width: 100%;
    padding: 100px 6%;
    background: var(--bg-section);
}

.why-section .section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.why-section .section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.why-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.why-section h2 span {
    color: var(--blue-600);
}

.why-section .section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.why-section {
    width: min(var(--container), 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    margin-top: -5px;
}

.value-card {
    position: relative;
    padding: 28px;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: 0.3s ease;
}

.value-card2 {
    margin-top: -50px;
    position: relative;
    padding-bottom: -48p;
    padding-top: 10px;
    padding-left: 28px;
    padding-right: 28px;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: 0.3s ease;
    height: 220px;

}

.value-card:hover {
    transform: translateY(-6px);
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* BLUE DOT CORNER LIKE YOUR SERVICE CARDS */
.value-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: var(--blue-600);
    border-radius: 50px 0 0 0;
    opacity: 0.50;
}

.value-card2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: var(--blue-600);
    border-radius: 50px 0 0 0;
    opacity: 0.50;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .why-section { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   11. CONTACT
========================================================= */

/* ========== CONTACT SECTION ========== */
.contact-section {
    width: 100%;
    padding: 100px 6%;
    background: var(--bg-section-alt);
}

.contact-section .section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.section-label,h2 {
    margin-left: 20px;
}

.contact-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.contact-section h2 span {
    color: var(--blue-600);
}

.contact-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.contact-wrapper {
    width: min(var(--container), 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-form {
    padding: 40px;
    background: var(--bg-section);
    border: 1px solid var(--blue-500);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--blue-100);
    border-radius: 12px;
    background: var(--bg-main);
    
}

.form-button {
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--blue-600);
    color: white;
    border: none;
}

@media (max-width: 1000px) {
    .contact-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   12. FOOTER
========================================================= */

.site-footer {
    background: var(--bg-deep); /* Same as header */
    color: var(--text-light);
    padding: 1px 6% 6px;
    margin-bottom: -50px;
    margin-top: 30px;
}

.site-footer .footer-main {
    display: inline-block;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 40px;
    padding-bottom: -100px;
}


.footer-logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
  color: #ffffff; /* ArDiza part */
  font-family: sans-serif;
}

.footer-logo span {
  /* This is the Tech gradient from your logo */
  background: linear-gradient(90deg, #1E96FF 0%, #3B82F6 30%, #7C3AED 70%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-brand p {
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0 0;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.7);
    padding: 8px 5px 10px;
    font-size: 13px;
    
}
.footer-links a:hover {
    color: var(--blue-500);
}

/* ========== FOOTER SOCIAL ========== */
.footer-social h3 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.8px;
}

.footer-social .social-icons { /* <-- ADDED SPACE HERE */
    display: flex;
    gap: 7px;
}

.footer-social .social-icons a { /* <-- ADDED SPACE HERE */
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.footer-social .social-icons a svg {
    width: 20px;
    height: 20px;
}

.footer-social .social-icons a:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    transform: translateY(-3px);
    color: white;
}

/* Update footer grid to 3 columns */
.site-footer .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Brand | Links | Social */
    gap: 40px;
    width: min(var(--container), 90%);
    ;
    padding-left: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social .social-icons {
        justify-content: center;
    }
}

.footer-bottom {
    margin: 50px auto;
    padding: 24px 0 0 0;
    color: rgba(248, 250, 252, 0.6);
    text-align: center;
    font-size: 1px;
}

.footer-bottom h4 {
    margin: 10px auto;
    padding: 15px 0 0 0;
    color: rgba(248, 250, 252, 0.6);
    text-align: center;
    font-size: 12px;
    border-top: 1px solid rgba(248, 250, 252, 0.2);
}

.reveal {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 2s ease, transform 2s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(50px);
}

/* =========================================================
   13. RESPONSIVE
========================================================= */

/* ... all your other desktop CSS above ... */


/* =========================================================
   13. RESPONSIVE / MOBILE MENU
========================================================= */

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--blue-600);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 10px;
    padding: 5px;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
    }
    
    .nav-links.open {
        display: flex;
        flex-direction: column;/* hidden by default */
        position: absolute;
        gap: 30px;
        top: 80px;
        right: 0;
        width: 25%;
        background: var(--bg-deep);
        padding: 20px 0;
        border: 3px solid rgba(255,255,255, 1);
        border-bottom-left-radius: 55px;
        border-top-left-radius: 55px;
    }

    .nav-links.active {
        display: flex; /* shows when clicked */
    }

    .nav-links a {
        padding: 14px 6%;
        width: 100%;
        text-align: center;
        font-size: 10px;
    }

    .lets-talk {
        margin: 0 -10px 0 auto;
        width: 130px;
        paddin: 8px 16px;
        font-size: 0.9rem;
        
    }

    /* other mobile stuff you already have */
    .hero { flex-direction: column; }
    .hero-visual { width: 280px; height: 280px; }
}

@media (max-width: 1000px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid, .why-section, .contact-wrapper { grid-template-columns: 1fr; }
    .lets-talk { width: 130px; margin: 0 3px 0 auto;}
    span.eyebrow {
        display: inline-block;
        /* pulls it up more on phone */
        margin-bottom: 15px;
    }
    
    .footer-bottom p {
        margin: 10px auto;
        padding: 24px 0 0 0;
        color: rgba(248, 250, 252, 0.6);
        text-align: center;
        font-size: 15px;
        border-top: 1px solid rgba(248, 250, 252, 0.2);
    }
    
    .footer-bottom h4 {
        font-size: 17px;
        font-weight: 700px;
    }
    
    .value-card2 {
        height: 165px;
        padding-top: 25px;
    }
    
    .project-card {
        margin: 20px;
    }
}

@media (max-width: 700px) {
    .section { padding: 70px 5%; }
    .services-grid, .projects-grid, .values-grid, .intro-strip { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: left;
        padding: 80px 5%;
    }
    
   span.eyebrow {
        display: inline-block;
        /* pulls it up more on phone */
        margin-bottom: 15px;
    }
    
    .hero-visual {
        display: none; /* hide the big circle on mobile to save space */
    }

    .navbar {
        width: 100%; /* use full width */
        padding: 0 5%;
    }

    .site-footer .footer-main {
        grid-template-columns: 1fr; /* stack footer columns */
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 40px;
    }

    .hero-visual {
        display: flex !important; /* FORCE IT TO SHOW */
        width: 280px; /* scale down for phone */
        height: 280px;
    }

    .ring-1 { width: 120px; height: 120px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 270px; height: 270px; }

    .tech-core {
        width: 90px;
        height: 90px;
        font-size: 1.6rem;
    }
    
    .orbit-center {
         width: 70px;
         height: 70px;
    }
    
    .orbit-center img {
        width: 55px;
        height: 55px;
     }
}

/* ========== CONTACT SECTION FIXED ========== */


/* Form with proper spacing */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px; /* space between each field */
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* space between Name and Email */
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px; /* space between label and input */
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--blue-100);
    border-radius: 8px;
    background: var(--bg-section);
    font-size: 10px;
}

/* ========== LABEL STYLING ONLY ========== */
.contact-section label {
    display: block;           /* makes margin work */
    font-size: 0.9rem;        /* label size */
    font-weight: 600;         /* semi-bold */
    color: #1e293b;           /* dark slate color */
    margin-bottom: 8px;       /* space under label */
    text-transform: uppercase;/* optional: makes it GET IN TOUCH style */
    letter-spacing: 0.05em;   /* spacing between letters */
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-600);
}

/* Mobile */
@media (max-width: 700px) {
    .contact-form .form-row {
        grid-template-columns: 1fr; /* stack Name and Email */
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px; /* change to left: 25px; if you want it left side */
    background-color: #25D366;
    border-radius: 50%;
    border: 2px solid;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* STOP BODY SHIFT */
html, body {
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}

* {
  box-sizing: border-box;
}

/* Find the element causing it */
img, section, div {
  max-width: 100%;
}


/* ========================================
   FULL-SCREEN PAGE PANELS
======================================== */

.page-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: var(--bg-main);

    overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

.page-panel.active{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ========================================
   PANEL CLOSE BUTTON
======================================== */

.panel-close {
    position: sticky;
    top: -25px;
    right: 90px;

    width: 45px;
    height: 45px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    background: var(--bg-deep);
    color: white;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    z-index: 10;
}

.panel-close:hover {
    background: rgba(255,255,255,0.08);
}


/* ========================================
   MOBILE MENU
======================================== */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;

        position: absolute;

        gap: 30px;

        top: 80px;
        right: 0;

        width: 25%;

        background: var(--bg-deep);

        padding: 20px 0;

        border: 3px solid rgba(255,255,255,1);

        border-bottom-left-radius: 55px;
        border-top-left-radius: 55px;
    }

}

/* =========================
   ARDIZA TECH LOADER
========================= */

.site-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    background: black;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* Logo */

.loader-logo {
    width: 200px;
    height: auto;

    opacity: 0;
    transform: scale(0.92);

    animation: logoAppear 4.5s ease forwards;
}


/* Logo appearance */

@keyframes logoAppear {

    0% {
        opacity: 0;
        transform: scale(0.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* When loading is finished */

.site-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Prevent page from moving while loader is active */

body.loading {
    overflow: hidden;
}

/* =========================================================
   ONLINE HOSTING FAILSAFE
   The loader automatically releases the page even if JS is
   blocked, cached incorrectly, or temporarily unavailable.
========================================================= */
.site-loader {
    animation: ardizaLoaderFailsafe 5.2s forwards;
}

@keyframes ardizaLoaderFailsafe {
    0%, 88% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: sticky;
        z-index: 10000;
    }

    .navbar {
        position: relative;
        z-index: 10001;
    }

    .menu-toggle {
        position: relative;
        z-index: 10003;
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-links.open {
        z-index: 10002;
        width: min(260px, 72vw);
        right: 0;
        top: calc(100% + 8px);
    }
}

body.panel-open {
    overflow: hidden;
}


/* ===== ARDIZA TECH MOBILE MENU FINAL OVERRIDE ===== */
.menu-toggle-state {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 768px) {
  .site-header { position: sticky !important; top: 0 !important; z-index: 200000 !important; }
  .navbar { position: relative !important; z-index: 200001 !important; }
  .menu-toggle {
    display: inline-flex !important;
    position: relative !important;
    z-index: 200003 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    font-size: 32px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(59,130,246,.25) !important;
    user-select: none !important;
  }
  .nav-links {
    display: none !important;
    position: fixed !important;
    z-index: 200002 !important;
    top: 88px !important;
    right: 12px !important;
    width: min(280px, 78vw) !important;
    padding: 18px !important;
    gap: 8px !important;
    flex-direction: column !important;
    background: #0f172a !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.45) !important;
  }
  .nav-links.open,
  #menuToggleState:checked ~ #navLinks { display: flex !important; }
  .nav-links a { display:flex !important; width:100% !important; min-height:48px !important; align-items:center !important; justify-content:center !important; padding:12px !important; font-size:15px !important; border-radius:12px !important; }
}
@media (min-width: 769px) {
  .menu-toggle-state, .menu-toggle { display:none !important; }
}
/* Loader fallback: never block taps after 2.6s even if JS fails. */
.site-loader {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 2147483647 !important;
  animation: ardizaLoaderFailsafeFinal 2.6s forwards !important;
}
.site-loader .loader-logo {
  width: min(200px, 70vw) !important;
  max-width: 70vw !important;
  max-height: 70vh !important;
  height: auto !important;
  object-fit: contain !important;
}
@keyframes ardizaLoaderFailsafeFinal { 0%,75%{opacity:1;visibility:visible;pointer-events:auto} 100%{opacity:0;visibility:hidden;pointer-events:none} }


/* ===== FINAL MOBILE MENU TOUCH FIX ===== */
@media (max-width: 768px) {
  #menuToggle {
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  #navLinks.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ===== FOOTER LAST LINE SIZE FIX ===== */
.footer-bottom h5 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
@media (max-width: 768px) {
  .footer-bottom h5 {
    font-size: 17px;
  }
}
