
*
@font-face {
    font-family: "Nexa";
    src: url("Fonts/Nexa-heavy.ttf") format("ttf");
    font-weight:400;
    font-style:normal;
}
{
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #10131a;
    color: #f0f2f5;
    font-family: Nexa,Arial, sans-serif;
    line-height: 1.6;
}
.logo {
    display:block;
    width:140px;
    height: auto;
    margin: 0 auto 25px;
    flex-shrink:0;
    transform:translateY(20px);
    filter: drop-shadow(0 0 8px #02071666);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    padding: 20px 40px;
    box-sizing: border-box;
    position:relative;
    z-index: 1;
}
.brand {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-text {
    text-align: left;
    flex: 0 1 auto;
}

header {
    position: relative;
    overflow: hidden;
    background-color: #090e1b;
    background-image:
    linear-gradient(
    90deg,
    #090e1b 0%,
    rgba(9, 14, 27, 1) 25%,
    rgba(9, 14, 27, 0.95) 40%,
    rgba(9, 14, 27, 0.65) 60%,
    rgba(9, 14, 27, 0.2) 85%,
    rgba(9, 14, 27, 0) 100%
),
    url("images/computer.jpg");
background-size: 100% 100%, auto 325%;
background-position: center, 50% center;
background-repeat: no-repeat;

    padding: 25px 8%;
    border-bottom: 2px solid #110ddb;
    animation:headerGlow 4s ease-in-out infinite;
}


nav {
    text-align: right;
}

nav a {
    color: #f0f2f5;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
}

nav a:hover {
    color: #066aff;
}

h1 {
    font-size: 48px;
    margin: 0 0 4px 0;
    line-height: 1.1;
    background: linear-gradient(180deg, #d5d6d6, #d8d9da, #b3b3b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px #4169FF66);
    text-align: center;
}

header p {
    color: #e9e9e9;
    font-size: 18px;
    text-align: center;
    margin:0;
    line-height: 1.2;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

section {
    padding: 35px 0;
}

h2 {
    font-size: 32px;
}

h3 {
    color: #00c3ff;
    text-align: center;
}

a {
    transition: color 0.2s ease;
    
}
#services {
    text-align: center;
}







footer {
    text-align: center;
    padding: 20px;
    background-color: #191f2b;
    color: #aeb7c4;
}

@keyframes headerGlow {
    0%,100% {
        border-bottom-color:#110ddb;
        box-shadow: 0 5px 15px rgba(17,13,219,0,15);
    }
    50% {
        border-bottom-color: #4169ff;
        box-shadow: 0 5px 25px rgba(65,105,255,0.45);
    }
}


/* Hide hamburger by default */
.menu-toggle {
    display: none;
}

/* Mobile header + menu */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
        overflow: visible;          /* critical for iPhone */
    }

    .header-content {
        padding: 10px 16px;
        gap: 12px;
        min-width: 0;
    }

    .brand {
        min-width: 0;
        gap: 10px;
    }

    .logo {
        width: 48px;
        height: 48px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .header-text {
    text-align: center;
    min-width: 0;
}

.header-text h1 {
    font-size: 18px;
    margin: 0;
    text-align: center;
}

.header-text p {
    font-size: 9px;
    line-height: 1.4;
    margin: 4px 0 0;
    text-align: center;
}

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        flex-shrink: 0;
        background: #090e1b;
        border: 1px solid #4169ff;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        z-index: 1001;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .menu-toggle span {
        height: 2px;
        width: 100%;
        background: #72aaff;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    #main-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        box-sizing: border-box;
        padding: 100px 28px 40px;
        background: rgba(9, 14, 27, 0.98);
        backdrop-filter: blur(14px);
        border: none;
        border-left: 2px solid #4169ff;
        border-radius: 0;
        box-shadow: -10px 0 35px rgba(17, 13, 219, 0.25);
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        -webkit-overflow-scrolling: touch;
    }

    #main-nav.open {
        transform: translateX(0);
        visibility: visible;
    }

    #main-nav a {
        padding: 20px 12px;
        white-space: normal;
        text-align: left;
        font-size: 18px;
        border-bottom: 1px solid rgba(65, 105, 255, 0.2);
    }
}

/* Desktop – keep hamburger hidden */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Hamburger → X animation */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* HERO SECTION */
/* ========== HERO SECTION ========== */
#hero {
    padding: 90px 0%;
    background: linear-gradient(
        135deg,
        #090e1b 0%,
        #10182b 55%,
        #090e1b 100%
    );
    border:none;
    animation:none;
    width:100%;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8%;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-tagline {
    color: #72aaff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.hero-text h2 {
    color: #ffffff;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.15;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.hero-description {
    color: #b9c5d8;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 32px 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-button {
    display: inline-block;
    padding: 14px 28px;
    background: #00bdec;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hero-button:hover {
    background: #0099c7;
    box-shadow: 0 0 20px rgba(0, 189, 236, 0.35);
}

.hero-secondary {
    display: inline-block;
    padding: 13px 24px;
    color: #72aaff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(114, 170, 255, 0.4);
    border-radius: 6px;
    transition: all 0.25s ease;
}

.hero-secondary:hover {
    color: #ffffff;
    border-color: #72aaff;
    background: rgba(114, 170, 255, 0.1);
}

.hero-visual {
    flex: 1;
    min-width: 0;
    max-width: 520px;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(65, 105, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Mobile Hero */
@media (max-width: 768px) {
    #hero {
        padding: 50px 20px 60px;
    }

    .hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }

    .hero-text {
        max-width: 100%;
        text-align: left;
    }

    .hero-text h2 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-visual {
        max-width: 100%;
    }

    .hero-visual img {
        height: 240px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-button,
    .hero-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ========== HOME SERVICES PREVIEW ========== */
.home-services {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin: 0 0 12px 0;
    color: #ffffff;
}

.section-intro {
    color: #b9c5d8;
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.service-preview-card {
    display: block;
    background: #191f2b;
    border: 1px solid #303949;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-preview-card:hover {
    border-color: #4169ff;
    box-shadow: 0 8px 28px rgba(65, 105, 255, 0.18);
    transform: translateY(-3px);
}

.service-preview-card h3 {
    color: #00c3ff;
    font-size: 18px;
    margin: 0 0 10px 0;
    text-align: left;
}

.service-preview-card p {
    color: #b9c5d8;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.services-cta {
    margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .home-services {
        padding: 60px 16px;
    }

    .services-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-preview-card {
        padding: 22px 20px;
    }
}
/* Pulsing blue separator under the hero */
#hero {
    position: relative;
    border: none;
    animation: none;
}

#hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 2px;
    transform: translateX(-50%);
    background: #110ddb;
    box-shadow: 0 0 8px #110ddb, 0 0 16px #4169ff;
    animation: headerGlow 4s ease-in-out infinite;
}
#services {
    position: relative;
}

#services::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 2px;
    transform:translateX(-50%);
    background: #110ddb;
    box-shadow: 0 0 8px #110ddb, 0 0 16px #4169ff;
    animation: headerGlow 4s ease-in-out infinite;
}

/* SUBTLE HEXAGON TEXTURE BEHIND HEADER BRAND */

header {
    position: relative;
    isolation: isolate;
}

header::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;

    top: -35px;
    bottom: -35px;
    left: -25px;
    width: 42%;

    opacity: 0.09;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='90' viewBox='0 0 104 90'%3E%3Cg fill='none' stroke='%2372aaff' stroke-opacity='.7' stroke-width='1.2'%3E%3Cpath d='M26 1 L52 16 L52 46 L26 61 L0 46 L0 16 Z'/%3E%3Cpath d='M78 1 L104 16 L104 46 L78 61 L52 46 L52 16 Z'/%3E%3Cpath d='M52 46 L78 61 L78 91 L52 106 L26 91 L26 61 Z'/%3E%3C/g%3E%3C/svg%3E");

    background-size: 78px 68px;
    background-repeat: repeat;

    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        rgba(0,0,0,0.8) 45%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        black 0%,
        rgba(0,0,0,0.8) 45%,
        transparent 100%
    );
}

/* MATCHING HEXAGON TEXTURE BEHIND HEADER NAVIGATION */

header::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;

    top: -35px;
    bottom: -35px;
    right: -25px;
    width: 42%;

    opacity: 0.09;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='90' viewBox='0 0 104 90'%3E%3Cg fill='none' stroke='%2372aaff' stroke-opacity='.7' stroke-width='1.2'%3E%3Cpath d='M26 1 L52 16 L52 46 L26 61 L0 46 L0 16 Z'/%3E%3Cpath d='M78 1 L104 16 L104 46 L78 61 L52 46 L52 16 Z'/%3E%3Cpath d='M52 46 L78 61 L78 91 L52 106 L26 91 L26 61 Z'/%3E%3C/g%3E%3C/svg%3E");

    background-size: 78px 68px;
    background-repeat: repeat;

    -webkit-mask-image: linear-gradient(
        to left,
        black 0%,
        rgba(0,0,0,0.8) 45%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to left,
        black 0%,
        rgba(0,0,0,0.8) 45%,
        transparent 100%
    );
}
#about h2 {
    text-align: center;
}
#about p {
    text-align: center;
}

/* MOBILE HEADER AND MENU LAYER FIX */

header {
    position: relative;
    z-index: 1000;
}

/* Keep the header content above its decorative hexagons */
header > * {
    position: relative;
    z-index: 1;
}

/* Keep decorative header textures behind the content */
header::before,
header::after {
    z-index: 0;
}

@media (max-width: 768px) {
    header {
        z-index: 1000;
    }

    header nav {
        position: relative;
        z-index: 1001;
    }

    header nav ul {
        position: absolute;
        z-index: 1002;
        background: #080f1e;
        border: 1px solid rgba(114, 170, 255, 0.3);
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    }
}

/* CLICKABLE HOME BRAND */

.brand-home-link {
    color: inherit;
    text-decoration: none;
}
/* ========== HOME ABOUT ========== */
.home-about {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.home-about h2 {
    font-size: clamp(26px, 4vw, 34px);
    margin: 0 0 20px 0;
    color: #ffffff;
}

.home-about p {
    color: #b9c5d8;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.home-about .hero-secondary {
    margin-top: 12px;
    display: inline-block;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0d121c;
    border-top: 1px solid #1e2636;
    padding: 60px 20px 30px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #8b95a8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.footer-links a {
    color: #b9c5d8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #72aaff;
}

.footer-contact p {
    color: #8b95a8;
    font-size: 14px;
    margin: 0 0 12px 0;
}

.footer-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #00bdec;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.25s ease;
}

.footer-cta:hover {
    background: #0099c7;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #1e2636;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

/* Footer mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand,
    .footer-brand strong,
    .footer-brand p,
    .footer-contact,
    .footer-contact p {
        text-align: center !important;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }

    .footer-cta {
        display: inline-block;
    }
}
/* ========== MOBILE ALIGNMENT FIXES ========== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 768px) {
    /* Hero – remove the extra side padding that shifts it right */
    .hero-content {
        padding: 0;
        align-items: center;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .hero-button,
    .hero-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Center the "View All Services" button */
    .services-cta {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .services-cta .hero-button {
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    /* Center the "More About Me" button */
    .home-about .hero-secondary {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Also fix the glowing lines (stops horizontal scroll) */
#hero::after,
#services::after {
    width: 100%;
}
@media (max-width: 768px) {
    #hero {
        padding: 50px 16px 60px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0;                 /* kills the desktop 8% padding */
        box-sizing: border-box;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-tagline {
        text-align: center;
    }

    .hero-text h2 {
        font-size: clamp(26px, 7.5vw, 36px);
        text-align: center;
    }

    .hero-description {
        font-size: 15px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .hero-button,
    .hero-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-visual {
        max-width: 100%;
        width: 100%;
    }

    .hero-visual img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
}