    /* Base Styles & Variables */
    :root {
        --black: #0a0a0a;
        --dark-gray: #1a1a1a;
        --yellow: #FFD700;
        --gold: #D4AF37;
        --gold-light: #F5E6A3;
        --gold-dark: #B8860B;
        --white: #ffffff;
        --light-gray: #f5f5f5;
        --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        background-color: var(--black);
        color: var(--white);
        line-height: 1.6;
        overflow-x: hidden;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    section {
        padding: 100px 0;
        position: relative;
    }

    h1, h2, h3, h4 {
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    h2:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, var(--gold), var(--gold-light));
        border-radius: 2px;
    }

    p {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        background: linear-gradient(to right, var(--gold), var(--gold-light));
        color: var(--black);
        border: none;
        border-radius: 5px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        position: relative;
        overflow: hidden;
    }

    .btn:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: 0.5s;
    }

    .btn:hover:before {
        left: 100%;
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    }

    .section-light {
        background-color: var(--light-gray);
        color: var(--black);
    }

    /* Unique Background Effects */
    .matrix-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
        opacity: 0.1;
    }

    .matrix-code {
        position: absolute;
        color: var(--gold);
        font-family: monospace;
        font-size: 14px;
        animation: matrix-fall linear infinite;
    }

    @keyframes matrix-fall {
        0% {
            transform: translateY(-100px);
            opacity: 1;
        }
        100% {
            transform: translateY(100vh);
            opacity: 0;
        }
    }

    .circuit-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
            radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 20%);
        z-index: -1;
    }

    /* Header & Navigation */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(10px);
        transition: var(--transition);
    }

    .header-scrolled {
        padding: 10px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
        display: flex;
        align-items: center;
        position: relative;
    }

    .logo img {
        width: 40px;
        height: auto;
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    }

    .logo span {
        color: var(--gold);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    .logo:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: var(--transition);
    }

    .logo:hover:after {
        width: 100%;
    }

    .nav-links {
        display: flex;
        list-style: none;
    }

    .nav-links li {
        margin-left: 30px;
        position: relative;
    }

    .nav-links a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        position: relative;
        padding: 5px 0;
    }

    /* FIXED: Navigation links uppercase and bold (except login) */
    .nav-links a:not(.login-btn) {
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-links a:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: var(--transition);
    }

    .nav-links a:hover {
        color: var(--gold);
    }

    .nav-links a:hover:after {
        width: 100%;
    }

    /* Login Button */
    .login-btn {
        background: linear-gradient(to right, var(--gold), var(--gold-light));
        color: var(--black) !important;
        padding: 10px 25px;
        border-radius: 6px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-left: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent
        );
        transition: left 0.6s ease;
        z-index: 2;
    }

    .login-btn:hover::before {
        left: 100%;
    }

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
        color: var(--black) !important;
    }

    .nav-links a.login-btn {
        text-transform: none;
        font-weight: 600;
        color: var(--black) !important;
    }

    @media (max-width: 768px) {
        .login-btn {
            display: block;
            margin: 10px auto;
            text-align: center;
            padding: 10px 20px;
        }
    }

    .menu-toggle {
        display: none;
        cursor: pointer;
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        max-width: 700px;
        z-index: 2;
    }

    .hero h1 {
        font-size: 4rem;
        margin-bottom: 20px;
        line-height: 1.1;
        position: relative;
    }

    .hero h1 span {
        font-size: 3.8rem;
        color: var(--gold);
        position: relative;
        display: inline-block;
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }

    .hero h1 span:after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 10px;
        background-color: rgba(212, 175, 55, 0.2);
        z-index: -1;
        transform: skewX(-15deg);
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: white;
        clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
        z-index: 1;
    }

    .hero-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 5%;
        width: 100%;
        height: 100%;
        background-image: url('terra.png');
        background-size: 400px;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.5;
        z-index: 2;
    }

    .floating-elements {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 0;
    }

    .floating-element {
        position: absolute;
        background: var(--gold);
        border-radius: 50%;
        animation: float 15s infinite linear;
        opacity: 0.1;
    }

    @keyframes float {
        0% {
            transform: translateY(0) rotate(0deg);
        }
        100% {
            transform: translateY(-1000px) rotate(720deg);
        }
    }

    /* Services Section */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .service-card {
        color: white;
        background-color: var(--dark-gray);
        border-radius: 10px;
        padding: 40px 30px;
        text-align: center;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(212, 175, 55, 0.1);
    }

    .service-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--gold), var(--gold-light));
    }

    .service-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
        border-color: rgba(212, 175, 55, 0.3);
    }

    .service-icon {
        font-size: 3rem;
        color: var(--gold);
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }

    .service-icon:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--gold-light);
        transition: var(--transition);
    }

    .service-card:hover .service-icon:after {
        width: 50px;
    }

    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start; /* allow independent height between text and image/stat column */
}

/* Group image + stats as one column */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Photo hover - independent */
.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}
.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}
.about-image:hover img {
  transform: scale(1.05);
}

/* Stats - same style, now independent */
/* Stats - independent, visible, same style */
.stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  text-align: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat {
  background-color: var(--dark-gray);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 25px 30px;
  width: 230px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Icon style */
.stat-icon {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.stat:hover .stat-icon {
  transform: scale(1.1);
  color: var(--gold);
}

/* Numbers and text */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.stat p {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 6px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .stats {
    gap: 25px;
  }
  .stat {
    width: 200px;
  }
}

@media (max-width: 576px) {
  .stats {
    flex-direction: column;
    align-items: center;
  }
  .stat {
    width: 90%;
  }
}

    /* Portfolio Section */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }

    .portfolio-item {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        height: 300px;
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .portfolio-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(18, 18, 18, 0.7), rgba(212, 175, 55, 0.8));
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        opacity: 0;
        transition: var(--transition);
        transform: translateZ(20px);
    }

    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    .portfolio-item:hover .portfolio-img {
        transform: scale(1.1);
    }

    .portfolio-overlay h3 {
        color: var(--white);
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .portfolio-overlay p {
        color: var(--white);
        text-align: center;
        margin-bottom: 20px;
    }

    /* Updates Section (Replaced Testimonials) */
    .updates {
        position: relative;
    }

    .updates-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }

    .update-card {
        background-color: var(--dark-gray);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: var(--transition);
        border: 1px solid rgba(212, 175, 55, 0.1);
    }

    .update-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
        border-color: rgba(212, 175, 55, 0.3);
    }

    .update-image {
        height: 200px;
        overflow: hidden;
    }

    .update-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .update-card:hover .update-image img {
        transform: scale(1.1);
    }

    .update-content {
        padding: 25px;
    }

    .update-date {
        color: var(--gold);
        font-size: 0.9rem;
        margin-bottom: 10px;
        display: block;
    }

    .update-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--white);
    }

    .update-content p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .read-more {
        color: var(--gold);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        transition: var(--transition);
    }

    .read-more:hover {
        color: var(--gold-light);
        transform: translateX(5px);
    }

    /* Contact Section */
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
    }

    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 30px;
        transition: var(--transition);
        padding: 15px;
        border-radius: 5px;
    }

    .contact-item:hover {
        background-color: rgba(212, 175, 55, 0.05);
    }

    .contact-icon {
        font-size: 1.5rem;
        color: var(--gold);
        margin-right: 15px;
        min-width: 30px;
    }

    .contact-details h3 {
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .contact-form {
        background-color: var(--dark-gray);
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(212, 175, 55, 0.1);
    }

    .form-group {
        margin-bottom: 20px;
        position: relative;
    }

    .form-control {
        width: 100%;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        color: var(--white);
        font-size: 1rem;
        transition: var(--transition);
    }

    .form-control:focus {
        outline: none;
        border-color: var(--gold);
        background-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    }

    textarea.form-control {
        min-height: 150px;
        resize: vertical;
    }

    /* Footer */
    footer {
        background-color: var(--dark-gray);
        padding: 70px 0 20px;
        position: relative;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 50px;
    }

    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-column h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--gold);
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: var(--transition);
        position: relative;
        padding-left: 0;
    }

    .footer-links a:before {
        content: '»';
        position: absolute;
        left: -15px;
        opacity: 0;
        transition: var(--transition);
        color: var(--gold);
    }

    .footer-links a:hover {
        color: var(--gold);
        padding-left: 15px;
    }

    .footer-links a:hover:before {
        opacity: 1;
    }

    .social-links {
        display: flex;
        margin-top: 20px;
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin-right: 10px;
        color: var(--white);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .social-links a:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, var(--gold), var(--gold-light));
        opacity: 0;
        transition: var(--transition);
    }

    .social-links a:hover:before {
        opacity: 1;
    }

    .social-links a i {
        position: relative;
        z-index: 1;
    }

    .social-links a:hover {
        transform: translateY(-5px);
        color: var(--black);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        h1 {
            font-size: 3rem;
        }
        
        h2 {
            font-size: 2.2rem;
        }
        
        .about-content,
        .contact-content {
            grid-template-columns: 1fr;
        }
        
        .about-text h2 {
            text-align: center;
        }
        
        .about-text h2:after {
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media (max-width: 768px) {
        .navbar {
            padding: 15px 0;
        }
        
        .nav-links {
            position: fixed;
            top: 70px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 70px);
            background-color: var(--dark-gray);
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 50px;
            transition: var(--transition);
            z-index: 999;
        }
        
        .nav-links.active {
            left: 0;
        }
        
        .nav-links li {
            margin: 15px 0;
        }
        
        .login-btn {
            margin: 10px 0;
            display: block;
            text-align: center;
        }
        
        .menu-toggle {
            display: block;
            z-index: 1000;
        }
        
        .hero h1 {
            font-size: 2.5rem;
        }
        
        .hero-bg {
            width: 100%;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
            opacity: 0.7;
        }
        
        .hero-content {
            text-align: center;
            margin: 0 auto;
        }
    }

    @media (max-width: 576px) {
        h1 {
            font-size: 2.2rem;
        }
        
        h2 {
            font-size: 1.8rem;
        }
        
        section {
            padding: 70px 0;
        }
        
        .stats {
            grid-template-columns: 1fr;
        }
        
        .portfolio-grid,
        .updates-grid {
            grid-template-columns: 1fr;
        }
    }