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

:root {
    /* Brand Colors - Exact from design */
    --primary-color: #FFC107;
    --bg-dark: #111111;
    --card-bg: #212121;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    
    /* Typography - Inter Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes - Exact from design */
    --h1-size: 56px;
    --h2-size: 47.78px;
    --h3-size: 39.81px;
    --h4-size: 33.18px;
    --h5-size: 23.04px;
    --h6-size: 19.2px;
    --body-size: 16px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
    
    /* Border */
    --border-width: 1px;
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--body-size);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-dark);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

h5 {
    font-size: var(--h5-size);
}

h6 {
    font-size: var(--h6-size);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

/* ====================================
   Header Navigation
==================================== */
.header {
    background-color: transparent;
    padding: 32px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1002;
}

.logo img {
    height: 120px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: lowercase;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ====================================
   Hamburger Menu (Mobile)
==================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ====================================
   Responsive Design
==================================== */
@media (max-width: 768px) {
    /* Show Hamburger on Mobile */
    .hamburger {
        display: flex;
        gap: 4px;
        padding: 8px;
    }
    
    .hamburger .hamburger-line {
        width: 22px;
        height: 2.5px;
    }
    
    /* Header Mobile */
    .header {
        padding: 20px 0;
    }
    
    /* Hide Desktop Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 999;
        border-left: 2px solid var(--primary-color);
        overflow-y: auto;
    }
    
    /* Show Menu when Active */
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobile Menu Links */
    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 193, 7, 0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Logo Adjustments */
    .logo img {
        height: 90px;
    }
    
    .logo-text {
        display: none;
    }
    
    /* Adjust Container Padding */
    .container,
    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 40px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    /* Companies Grid Mobile */
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .company-logo {
        min-height: 80px;
        padding: 16px;
    }
    
    /* Team Grid Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        min-height: auto;
        padding: 40px 24px;
    }
    
    .team-icon img {
        width: 100px;
        height: 100px;
    }
    
    /* Contact Section Mobile */
    .contact-title {
        font-size: 28px;
    }
    
    .contact-subtitle {
        font-size: 15px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-copyright {
        margin-top: 40px;
        padding-top: 20px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .logo img {
        height: 55px;
    }
    
    .nav-menu {
        width: 85%;
    }
    
    .team-icon img {
        width: 90px;
        height: 90px;
    }
}

/* ====================================
   Hero Section
==================================== */
.hero {
    padding: 0;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    overflow: hidden;
    padding-top: 180px;
    padding-bottom: 200px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Assests/engr1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 80px 0;
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;    /* ← THIS IS THE CHANGE */
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 80px;    /* ← THIS IS THE CHANGE */
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}
/* ====================================
   Buttons
==================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

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

.btn-primary:hover {
    background-color: #FFD54F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* ====================================
   Subtitle Section
==================================== */
/* ====================================
.subtitle-section {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.subtitle-text {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.6;
}
    ==================================== */

/* ====================================
   Services Section
==================================== */
.services {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
}

.section-description {
    text-align: center;
    font-size: var(--body-size);
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 60px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--card-bg);
    border: var(--border-width) solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.05) 0%, transparent 100%);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.2);
    border-color: #FFD54F;
}

.service-card:hover::before {
    height: 100%;
}

.service-number {
    font-size: var(--h3-size);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.service-title {
    font-size: var(--h4-size);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 32px;
}

.service-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.service-link::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.service-link:hover::after {
    margin-left: 12px;
}

/* ====================================
   Companies Section
==================================== */
.companies {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-dark);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-bottom: 48px;
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--card-bg);
    border: var(--border-width) solid rgba(255, 193, 7, 0.2);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    min-height: 100px;
}

.company-logo img {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.company-logo:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.company-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.more-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.more-link:hover {
    color: #FFD54F;
}

/* ====================================
   Team Section
==================================== */
.team {
    padding: var(--spacing-xxl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.team-card {
    background-color: var(--card-bg);
    border: var(--border-width) solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 56px 40px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.2);
    border-color: #FFD54F;
}

.team-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.team-icon img {
    width: 124px;
    height: 124px;
    object-fit: contain;
}

.team-card-title {
    font-size: var(--h4-size);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    line-height: 1.3;
}

.team-card-description {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ====================================
   Contact Section
==================================== */
.contact {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.contact-title {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
}

.contact-subtitle {
    font-size: var(--body-size);
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: var(--body-size);
    font-family: var(--font-family);
    background-color: var(--card-bg);
    border: var(--border-width) solid rgba(255, 193, 7, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-white);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

.contact-email {
    margin-top: 40px;
}

.contact-email a {
    font-size: 20px;
    font-weight: 400;
    color: var(--primary-color);
}

.contact-email a:hover {
    color: #FFD54F;
}

/* ====================================
   Footer
==================================== */
.footer {
    background-color: var(--card-bg);
    border-top: var(--border-width) solid rgba(255, 193, 7, 0.2);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    max-width: 600px;
}

.footer-heading {
    font-size: var(--h5-size);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Copyright Section */
.footer-copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ====================================
   Animations
==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.4s;
}

/* ====================================
   Responsive Design
==================================== */
@media (max-width: 1440px) {
    .container,
    .nav-container,
    .hero-content {
        padding-left: 60px;
        padding-right: 60px;
    }
}

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

@media (max-width: 768px) {
    :root {
        --h1-size: 36px;
        --h2-size: 32px;
        --h3-size: 28px;
        --h4-size: 24px;
        --h5-size: 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
