/* Variables */
:root {
    --primary-color: #0a2c5a; /* Royal Blue */
    --primary-light: #1a3c6a;
    --primary-dark: #051e42;
    --secondary-color: #d4af37; /* Golden Yellow */
    --secondary-light: #e4bf47;
    --secondary-dark: #c49f27;
    --grey-color: #707070;
    --grey-light: #f5f5f5;
    --grey-dark: #333333;
    --white-color: #ffffff;
    --off-white: #f8f9fa;
    --font-primary: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --vh: 1vh; /* Custom viewport height variable for mobile */
    --jg-primary: #0a2c5a;
    --jg-secondary: #e0b13f;
    --jg-bg: #fff;
    --jg-link: #1a3c6a;
    --jg-link-hover: #e0b13f;
    --jg-shadow: 0 4px 24px rgba(10,44,90,0.07);
    --jg-radius: 10px;
    --jg-font: 'Poppins', Arial, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey-dark);
    background-color: var(--white-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 44, 90, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    color: var(--white-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f2d272 50%, #d4af37 100%);
    color: rgba(0, 0, 0, 0.9);
    border: 1px solid #c49f27;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.25), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    transform: translateY(-100%);
    transition: transform 0.6s ease;
}

.btn-gold:hover {
    color: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.35), 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover::before {
    transform: translateY(100%);
}

.btn-gold:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 50%, #c0c0c0 100%);
    color: rgba(40, 40, 40, 0.95);
    border: 1px solid #a9a9a9;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 15px rgba(160, 160, 160, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn-silver::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    transform: translateY(-100%);
    transition: transform 0.6s ease;
}

.btn-silver:hover {
    color: rgba(40, 40, 40, 0.95);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(160, 160, 160, 0.35), 0 6px 8px rgba(0, 0, 0, 0.1);
}

.btn-silver:hover::before {
    transform: translateY(100%);
}

.btn-silver:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(160, 160, 160, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 600;
    min-width: 220px;
    letter-spacing: 0.5px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 35px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

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

.section-dark {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading span {
    color: var(--primary-color);
}

.section-dark .section-heading span {
    color: var(--secondary-color);
}

.separator {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

.section-heading p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--grey-color);
}

.section-dark .section-heading p {
    color: var(--off-white);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 5;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: loader-animation 2s linear infinite;
}

@keyframes loader-animation {
    0% {
        stroke-dashoffset: 283;
    }
    50% {
        stroke-dashoffset: 0;
        stroke: var(--secondary-color);
    }
    100% {
        stroke-dashoffset: -283;
        stroke: var(--primary-color);
    }
}

.company-name {
    font-weight: 700;
    font-size: 18px;
    margin-top: 15px;
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* Header - Responsive Design */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

#header.scrolled {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white-color);
    letter-spacing: 1px;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo span {
    color: var(--secondary-color);
}

#header.scrolled .logo {
    color: var(--primary-color);
}

.nav-toggle {
    position: relative;
    z-index: 1150 !important; /* Above everything */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
    transition: transform 0.2s ease;
}

.nav-toggle:hover {
    transform: scale(1.05);
}

.nav-toggle:hover span {
    background-color: white; /* Always white */
    box-shadow: 0 1px 2px rgba(0,0,0,0.2); /* Add shadow for visibility */
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: white; /* Always white */
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    position: absolute;
    left: 0;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 9px;
}

.nav-toggle span:nth-child(3) {
    top: 18px;
}

/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: white;
    box-shadow: none;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: white;
    box-shadow: none;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: var(--primary-color); /* Solid background color */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 80px 0 30px;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 1100 !important;
    transform: translateX(100%);
    right: 0;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-item {
    width: 100%;
    margin: 5px 0;
    text-align: left;
    opacity: 1;
    transition: background-color 0.3s ease;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-left: 3px solid var(--secondary-color);
}

.nav-link {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: white !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item.active .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Add subtle indicator for links */
.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-item.active .nav-link::before {
    opacity: 1;
    left: 10px;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
#hero {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 600px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    position: relative;
    overflow: hidden;   
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 30, 66, 0.92), rgba(10, 44, 90, 0.85));
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary-color);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.hero-title {
    margin: 0 0 30px;
    line-height: 1.1;
}

.hero-title .title-top {
    display: block;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.hero-title .title-main {
    display: block;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    gap: 60px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 18px;
}

.feature-text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    margin: 20px 10px;
    min-width: 200px;
}

.stat-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-counter {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white-color);
    position: relative;
}

.stat-counter::after {
    content: '';
    position: absolute;
}

.stat-label {
    font-size: 16px;
    color: var(--off-white);
    font-weight: 500;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all var(--transition-speed);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.services-cta {
    text-align: center;
    margin-top: 20px;
}

.services-cta .btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
    max-width: 100%;
    margin: 0 auto;
}

/* Projects Preview */
.projects-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background-color: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: rgba(0, 0, 0, 0.9);
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.project-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.project-client {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-category {
    color: var(--grey-color);
}

.project-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.4;
}

.project-description {
    color: var(--grey-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.project-footer {
    display: flex;
    justify-content: flex-start;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-status {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.project-status.completed {
    background-color: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.project-status.in-progress {
    background-color: rgba(255, 193, 7, 0.12);
    color: #ffc107;
}

.project-link-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link-arrow i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.project-link-arrow:hover {
    color: var(--secondary-color);
}

.project-link-arrow:hover i {
    transform: translateX(4px);
}

.projects-cta {
    text-align: center;
    margin-top: 30px;
}

.projects-cta .btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
    max-width: 100%;
    margin: 0 auto;
}

/* CTA Section */
#cta {
    background-image: linear-gradient(rgba(10, 44, 90, 0.9), rgba(10, 44, 90, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Footer */
#footer {
    background-color: var(--primary-dark);
    color: var(--white-color);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links a {
    color: var(--off-white);
    transition: all var(--transition-speed);
}

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

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.social-icons {
    margin-bottom: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-size: 16px;
    margin: 0 5px;
    transition: all var(--transition-speed);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-main h1.animate-fade-up {
    animation-delay: 0.2s;
}

.hero-main .hero-divider.animate-fade-up {
    animation-delay: 0.4s;
}

.hero-main p.animate-fade-up {
    animation-delay: 0.6s;
}

.hero-main .btn-group.animate-fade-up {
    animation-delay: 0.8s;
}

.hero-info.animate-fade-up {
    animation-delay: 1s;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .hero-wrapper {
        padding: 0 50px;
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .hero-title .title-main {
        font-size: 48px;
    }
    
    .hero-title .title-top {
        font-size: 20px;
    }
}

@media screen and (max-width: 992px) {
    .hero-content {
        max-width: 600px;
    }
    
    .hero-title .title-main {
        font-size: 42px;
    }
    
    .hero-title .title-top {
        font-size: 18px;
        letter-spacing: 4px;
    }
    
    .hero-tagline {
        font-size: 17px;
    }
    
    .hero-features {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    /* Navigation Mobile Styles */
    .container {
        padding: 0 20px;
    }
    
    #header {
        background-color: var(--primary-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .logo {
        color: white !important;
        position: relative;
        z-index: 990;
    }
    
    #header.scrolled .logo {
        color: var(--primary-color) !important;
    }
    
    /* Proper z-index hierarchy */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile menu styling */
    .mobile-menu-header, 
    .mobile-menu-footer {
        display: block;
    }
    
    /* Mobile nav list */
    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    /* Footer styling */
    .mobile-menu-footer {
        margin-top: 20px;
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
    }
    
    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .mobile-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .mobile-social-link:hover {
        background: var(--secondary-color);
        color: var(--primary-dark);
        transform: translateY(-5px);
    }
    
    /* Override any conflicting desktop styles */
    .nav-menu.active {
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    .nav-link {
        text-align: left;
        width: 100%;
    }

    .services-cta .btn-gold,
    .projects-cta .btn-gold {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 180px;
    }
}

@media screen and (max-width: 576px) {
    /* Navigation Extra Small Device Styles */
    .navbar {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-toggle {
        scale: 0.9;
    }
    
    .nav-menu {
        width: 85%;
        padding-top: 70px;
    }
    
    /* Hero Extra Small Device Styles */
    #hero {
        padding: 100px 0 50px;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero-title .title-main {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-title .title-top {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }
    
    .badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
    
    .hero-tagline {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .hero-feature {
        width: 100%;
        max-width: 250px;
        background-color: rgba(255, 255, 255, 0.05);
        padding: 12px;
        border-radius: 8px;
        justify-content: center;
    }
}

@media screen and (max-width: 380px) {
    .logo {
        font-size: 18px;
    }
    
    .hero-title .title-main {
        font-size: 24px;
    }
    
    .hero-title .title-top {
        font-size: 13px;
    }
    
    .hero-actions {
        max-width: 200px;
    }
    
    .hero-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Mobile Menu Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 1050 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.menu-overlay.active {
    opacity: 1;
}

.mobile-menu-header, 
.mobile-menu-footer {
    display: none; /* Hidden by default */
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: linear-gradient(135deg, rgba(11, 52, 110, 0.95) 0%, rgba(26, 86, 167, 0.95) 100%);
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 80px 20px 20px;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1100 !important;
}

.nav-menu.active {
    right: 0;
}

/* Fix for logo overlap */
@media (max-width: 991px) {
    /* Make sure header is properly styled on scroll */
    #header {
        background-color: transparent;
        transition: background-color 0.3s ease;
        z-index: 980; /* Lower than menu */
    }
    
    #header.scrolled {
        background-color: var(--white-color) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    #header.scrolled .logo {
        color: var(--primary-color);
    }
    
    #header.scrolled .nav-toggle span {
        background-color: var(--primary-color);
    }
    
    /* Logo positioning */
    .logo {
        position: relative;
        z-index: 980 !important; /* Lower than menu but visible */
    }
    
    /* Make all navbar elements properly positioned */
    .navbar {
        position: relative;
        z-index: 980;
    }
    
    /* Ensure menu is above everything */
    .nav-menu {
        z-index: 1100 !important;
    }
    
    /* Overlay below menu but above other content */
    .menu-overlay {
        z-index: 1050 !important;
    }
    
    /* Hamburger toggle styling */
    .nav-toggle {
        position: relative;
        z-index: 1150 !important; /* Above everything */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        outline: none;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0;
        margin-right: 10px;
        transition: transform 0.2s ease;
    }
    
    .nav-toggle:hover {
        transform: scale(1.05);
    }
    
    .nav-toggle:hover span {
        background-color: var(--secondary-color);
    }
    
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2.5px;
        background-color: var(--white-color);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        position: absolute;
        left: 0;
    }
    
    .nav-toggle span:nth-child(1) {
        top: 0;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 9px;
    }
    
    .nav-toggle span:nth-child(3) {
        top: 18px;
    }
    
    /* Hamburger to X animation */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--secondary-color);
        box-shadow: none;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--secondary-color);
        box-shadow: none;
    }
    
    /* Make better visual indication for active menu items */
    .nav-item.active {
        background: rgba(255, 255, 255, 0.1);
        border-left: 3px solid var(--secondary-color);
    }
    
    .nav-item.active .nav-link {
        color: var(--secondary-color);
        font-weight: 600;
        padding-left: 25px;
    }
    
    .nav-item.active .nav-link::before {
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 8px var(--secondary-color);
    }
    
    /* Add subtle indicator for links */
    .nav-link {
        position: relative;
        padding-left: 25px;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background-color: var(--secondary-color);
        border-radius: 50%;
        opacity: 0.5;
        transition: all 0.3s ease;
    }
    
    /* Menu transition effect */
    .nav-menu {
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        right: 0;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 992px) {
    .mobile-menu-header,
    .mobile-menu-footer,
    .menu-overlay {
        display: none !important;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        padding: 0;
        transition: none;
    }
    
    .nav-menu .nav-list {
        display: flex;
        flex-direction: row;
    }
    
    .nav-item {
        margin: 0 15px;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .nav-link {
        padding: 30px 0;
    }
    
    .nav-link::before {
        display: none;
    }
}

.jg-navbar {
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    background: var(--jg-bg);
    box-shadow: var(--jg-shadow);
    font-family: var(--jg-font);
    transition: background 0.3s, box-shadow 0.3s;
}

.jg-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    height: 80px;
    justify-content: space-between;
    position: relative;
}

.jg-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--jg-primary);
    letter-spacing: 1px;
    user-select: none;
    margin-right: 140px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.jg-logo span {
    color: var(--jg-secondary);
    font-weight: 900;
    white-space: nowrap;
}

.jg-nav-links {
    display: flex;
    align-items: center;
    gap: 45px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jg-nav-links li {
    white-space: nowrap;
}

.jg-nav-links li a {
    color: var(--jg-link);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    border-radius: var(--jg-radius);
    transition: color 0.18s, background 0.18s;
    position: relative;
    letter-spacing: 0.5px;
    opacity: 0.96;
    display: inline-block;
    white-space: nowrap;
}

.jg-nav-links li a::after {
    content: '';
    display: block;
    height: 2.5px;
    width: 0;
    background: var(--jg-secondary);
    border-radius: 2px;
    transition: width 0.25s cubic-bezier(.77,0,.18,1);
    position: absolute;
    left: 0; bottom: -3px;
}

.jg-nav-links li a:hover,
.jg-nav-links li a:focus {
    color: var(--jg-link-hover);
    background: rgba(224,177,63,0.07);
}

.jg-nav-links li a:hover::after,
.jg-nav-links li a:focus::after {
    width: 100%;
}

.jg-nav-links li .jg-nav-cta {
    background: var(--jg-secondary);
    color: var(--jg-primary) !important;
    padding: 8px 22px !important;
    border-radius: var(--jg-radius);
    font-weight: 700;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(224,177,63,0.10);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    position: relative;
    overflow: hidden;
}

.jg-nav-links li .jg-nav-cta:hover,
.jg-nav-links li .jg-nav-cta:focus {
    background: var(--jg-link-hover);
    color: var(--jg-primary) !important;
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(224,177,63,0.13);
}

.jg-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 1101;
}

.jg-hamburger span {
    display: block;
    height: 3.5px;
    width: 100%;
    background: var(--jg-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 1200px) {
    .jg-nav-container {
        max-width: 1140px;
        padding: 0 50px;
    }
    
    .jg-logo {
        margin-right: 100px;
    }
}

@media (max-width: 992px) {
    .jg-nav-container {
        max-width: 960px;
        padding: 0 40px;
    }
    
    .jg-logo {
        margin-right: 80px;
    }
}

/* Mobile Menu */
.jg-mobile-menu {
    position: fixed;
    top: 0; left: -320px;
    width: 270px;
    height: 100vh;
    background: var(--jg-primary);
    box-shadow: 2px 0 16px rgba(10,44,90,0.13);
    padding: 32px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: left 0.35s cubic-bezier(.77,0,.18,1);
    z-index: 1102;
    border-top-right-radius: var(--jg-radius);
    border-bottom-right-radius: var(--jg-radius);
}

.jg-mobile-menu.open {
    left: 0;
}

.jg-mobile-menu .jg-close {
    background: none;
    border: none;
    color: var(--jg-white);
    font-size: 2.2rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.jg-mobile-menu .jg-close:hover { color: var(--jg-secondary); }

.jg-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.jg-mobile-menu ul li a {
    color: var(--jg-white);
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    border-radius: var(--jg-radius);
    padding: 8px 0;
    transition: color 0.18s, background 0.18s;
}

.jg-mobile-menu ul li a:hover,
.jg-mobile-menu ul li a:focus {
    color: var(--jg-secondary);
    background: rgba(224,177,63,0.08);
}

.jg-mobile-menu .jg-nav-cta {
    background: var(--jg-secondary);
    color: var(--jg-primary) !important;
    padding: 8px 22px !important;
    border-radius: var(--jg-radius);
    font-weight: 700;
    margin-left: 0;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(224,177,63,0.10);
}

.jg-mobile-menu .jg-nav-cta:hover,
.jg-mobile-menu .jg-nav-cta:focus {
    background: var(--jg-white);
    color: var(--jg-secondary) !important;
}

.jg-mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10,44,90,0.18);
    z-index: 1100;
    transition: opacity 0.3s;
}

.jg-mobile-overlay.open {
    display: block;
    opacity: 1;
}

@media (max-width: 500px) {
    .jg-mobile-menu {
        width: 90vw;
        min-width: 0;
        padding: 24px 6vw 24px 6vw;
    }
} 