/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-blue: #3A7BFF;
    --cyan: #39E6E1;
    --dark-bg: #0a0a0f;
    --dark-card: #111118;
    --dark-card-hover: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b8;
    --glass-bg: rgba(17, 17, 24, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.05rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--neon-blue);
    font-size: 1.8rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--neon-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ============================= */
/* Hero Section – New Clean Design */
/* ============================= */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:

     /* Slash 1 – strongest (cross) */
      linear-gradient(
      11deg,
      transparent 52%,
      rgba(0, 162, 255, 0.25) 52%,
      rgba(59,130,246,0.25) 60%,
      transparent 60%
    ),

    /* Slash 1 – strongest (middle) */
      linear-gradient(
      100deg,
      transparent 52%,
      rgba(0, 162, 255, 0.25) 52%,
      rgba(59,130,246,0.25) 60%,
      transparent 60%
    ),

    /* Slash 2 – medium opacity */
     linear-gradient(
      115deg,
      transparent 40%,
      rgba(59,130,246,0.45) 40%,
      rgba(59,130,246,0.45) 48%,
      transparent 48%
    ),

    /* Slash 3 – lightest */
    linear-gradient(
      115deg,
      transparent 64%,
      rgba(59,130,246,0.12) 64%,
      rgba(59,130,246,0.12) 72%,
      transparent 72%
    ),

    /* Base background */
    #05112b;
}

/* Diagonal light accents */
.hero-background::before,
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
}

.hero-background::before {
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(58, 123, 255, 0.12) 50%,
        transparent 60%
    );
}

.hero-background::after {
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(57, 230, 225, 0.06) 65%,
        transparent 75%
    );
}


.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(58, 123, 255, 0.3);
}

.btn-primary:hover {
    background: #2d6aff;
    box-shadow: 0 6px 30px rgba(58, 123, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(58, 123, 255, 0.3);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0d0d14 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(58, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(58, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(58, 123, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    color: var(--neon-blue);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    color: var(--cyan);
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(57, 230, 225, 0.6));
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================= */
/* Portfolio Section              */
/* ============================= */

.portfolio {
    background: var(--dark-bg);
}

/* ============================= */
/* Portfolio Grid Layout          */
/* ============================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* ============================= */
/* Portfolio Card Base            */
/* ============================= */

.portfolio-card {
    background-color: var(--glass-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    min-height: 300px;
    position: relative;
}

/* ============================= */
/* Portfolio Card Overlay         */
/* ============================= */

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* ============================= */
/* Portfolio Card Link            */
/* ============================= */

.portfolio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.portfolio-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ============================= */
/* Portfolio Card Hover Effects   */
/* ============================= */

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(58, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(58, 123, 255, 0.2);
}

/* ============================= */
/* Portfolio Card Backgrounds    */
/* ============================= */

.portfolio-card.stonebridge {
    background-image: url("images/portfolio/stonebridge.png");
}

.portfolio-card.nexatech {
    background-image: url("images/portfolio/nexatech.png");
}

.portfolio-card.modern-tech {
    background-image: url("images/portfolio/modern-tech.png");
}


/* ============================= */
/* Portfolio Content Info         */
/* ============================= */

.portfolio-info {
    padding: 1.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.portfolio-info h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================= */
/* Portfolio Link Accent Text     */
/* ============================= */

.portfolio-link-text {
    color: var(--neon-blue);
    font-weight: 600;
    transition: color 0.3s ease;
}

.portfolio-card-link:hover .portfolio-link-text {
    color: var(--cyan);
}

/* ============================= */
/* Logo Placeholder (Fallback)    */
/* ============================= */

.logo-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(58, 123, 255, 0.1) 0%,
        rgba(57, 230, 225, 0.1) 100%
    );
}

.placeholder-logo-icon {
    color: var(--neon-blue);
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    opacity: 0.6;
}

/* ============================= */
/* Image Loading Fallback         */
/* ============================= */

.portfolio-thumbnail[src=""],
.portfolio-thumbnail:not([src]) {
    display: none;
}

/* ============================= */
/* Animations                     */
/* ============================= */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


/* Why Us Section */
.why-us {
    background: linear-gradient(180deg, #0d0d14 0%, var(--dark-bg) 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.why-us-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
    border-color: rgba(58, 123, 255, 0.3);
    box-shadow: 0 15px 35px rgba(58, 123, 255, 0.15);
}

.why-us-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 1.25rem;
    color: var(--cyan);
    transition: all 0.4s ease;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(57, 230, 225, 0.5));
}

.why-us-icon svg {
    width: 100%;
    height: 100%;
}

.why-us-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.why-us-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================= */
/* Contact Section               */
/* ============================= */

.contact {
    background: var(--dark-bg);
}

/* ============================= */
/* Contact Subtext               */
/* ============================= */

.contact-subtext {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    text-align: center;
}

/* ============================= */
/* Contact Form Container        */
/* ============================= */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
}

/* ============================= */
/* Form Groups                   */
/* ============================= */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

/* ============================= */
/* Form Inputs & Textarea        */
/* ============================= */

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(17, 17, 24, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(58, 123, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ============================= */
/* Submit Button                 */
/* ============================= */

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    box-shadow: 0 8px 35px rgba(58, 123, 255, 0.4);
}

/* ============================= */
/* Contact Steps (After Form)    */
/* ============================= */

.contact-steps {
    margin-top: 2.5rem;
    text-align: center;
}

.contact-steps h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-steps li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =======================
   Footer
======================= */

.footer {
  background: #0b0e14;
  color: var(--text-secondary);
  padding: 4rem 1.5rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-column p {
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--neon-blue);
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 500;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2.5rem 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        margin-bottom: 1.5rem;
    }

    .nav-menu li:last-child {
        margin-bottom: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a::after {
        display: none;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 1.4rem;
    }

    .hero {
        padding: 5rem 0 2.5rem;
        min-height: 85vh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
        font-weight: 800;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.7;
        margin-bottom: 2.5rem;
        color: var(--text-secondary);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1.15rem 2rem;
        font-size: 1rem;
        font-weight: 600;
    }

    .btn-primary {
        box-shadow: 0 4px 20px rgba(58, 123, 255, 0.4);
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.75rem);
        margin-bottom: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-card {
        min-height: 250px;
        width: 100%;
    }

    .service-card,
    .why-us-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .nav-menu {
        top: 60px;
        padding: 2rem 1.5rem;
    }

    .nav-menu li {
        margin-bottom: 1.25rem;
    }

    .nav-menu li:last-child {
        margin-bottom: 0;
    }

    .nav-menu a {
        padding: 0.875rem 0;
    }

    .portfolio-card {
        min-height: 220px;
    }

    .nav-menu {
        top: 60px;
        padding: 1.5rem;
    }

    .hero {
        padding: 4rem 0 2rem;
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 4.5vw, 1.15rem);
        margin-bottom: 2rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .service-card,
    .why-us-card {
        padding: 1.75rem 1.25rem;
    }

    .portfolio-card {
        min-height: 220px;
    }

    .portfolio-info {
        padding: 1.25rem;
    }

    .contact-form {
        padding: 1.75rem 1.25rem;
    }
}

