/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-blue: #1e3a8a;
    --silver: #e5e7eb;
    --chrome: #c0c0c0;
    --orange: #f97316;
    --dark-orange: #ea580c;
    --black: #000000;
    --dark-gray: #111827;
    --gray: #374151;
    --light-gray: #6b7280;
    --white: #ffffff;
    --off-white: #f9fafb;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Effects */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    font-weight: var(--font-weight-extrabold);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.lead {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    color: var(--light-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 80px;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--light-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--dark-orange) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%),
                url('../Assets/1.webp') center/cover no-repeat;
    background-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.8) 0%, 
        rgba(59, 130, 246, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 100px;
    max-width: 1000px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title {
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.15;
    word-spacing: 0.05em;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--chrome) 0%, var(--silver) 50%, var(--chrome) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 1rem !important;
    color: var(--silver);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    padding: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature i {
    color: var(--orange);
    font-size: 1.25rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--chrome) 0%, var(--silver) 100%);
    border-radius: 50%;
    z-index: -1;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose {
    padding: var(--section-padding);
    background: var(--white);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-text h2 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.benefits {
    margin: 2rem 0;
}

.benefit {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit i {
    color: var(--orange);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.benefit p {
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

.why-choose-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: var(--off-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.95) 0%, 
        rgba(59, 130, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.portfolio-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.portfolio-overlay p {
    color: var(--white);
    font-weight: var(--font-weight-medium);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 1;
    margin: 0;
}

.portfolio-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.portfolio-cta h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.portfolio-cta p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--dark-gray);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-info .lead {
    color: var(--silver);
    margin-bottom: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--orange);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-item p,
.contact-item a {
    color: var(--silver);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--light-blue);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--silver);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--silver);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--silver);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: var(--silver);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1.125rem;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .nav-link {
        font-size: 1.125rem;
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta .btn {
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 3.2rem);
        line-height: 1.12;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-content {
        padding-top: 120px;
        max-width: 95%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.8rem);
        line-height: 1.1;
    }
    
    .service-card,
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-cta {
        padding: 2rem 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    border: 3px solid var(--silver);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}