/* DESIGN SYSTEM */
:root {
    --primary: #ff8c00; /* Warm Orange/Heat */
    --primary-light: #ffac33;
    --secondary: #1a1a1a; /* Charcoal */
    --accent-gold: #c5a059; /* Metallic Gold */
    --bg-dark: #0f1113; /* Deep Dark */
    --bg-glass: rgba(26, 26, 26, 0.7);
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* REUSABLE COMPONENTS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* HEADER */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(15, 17, 19, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--primary-light);
    font-size: 0.95rem;
}

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

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* SERVICES SECTION */
.services {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 20px;
    padding: 3rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

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

.service-card p {
    color: var(--text-muted);
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    opacity: 0.4;
    transform: scale(1.1);
}

/* CONTACT SECTION */
.contact {
    padding: 120px 0;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0f1113 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-form {
    padding: 40px;
    border-radius: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-submit {
    width: 100%;
}

/* FOOTER */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

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

/* WHY US SECTION */
.why-us {
    padding: 120px 0;
    background-color: #141618;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-box {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.benefit-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* TOOLS SECTION */
.tools-section {
    padding: 120px 0;
}

.tools-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tools-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.tools-list {
    list-style: none;
    margin-top: 32px;
}

.tools-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
}

.tools-visual {
    border-radius: 32px;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.tools-visual img {
    width: 100%;
    border-radius: 24px;
    display: block;
    transition: var(--transition-smooth);
}

.tools-visual:hover img {
    transform: scale(1.02);
}

/* PORTFOLIO */
.portfolio {
    padding: 120px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

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

.portfolio-overlay span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: var(--text-muted);
}

/* MOBILE RESPONSIVE */
.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* TYPOGRAPHY */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    .hero p { font-size: 1rem; }
    
    /* LAYOUT */
    .container {
        padding: 0 20px;
    }
    
    nav {
        padding: 1rem 0;
        background: rgba(15, 17, 19, 0.95);
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-btn {
        display: block;
        z-index: 1001;
    }

    /* SECTIONS */
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .service-grid, 
    .stats-grid, 
    .benefits-detailed, 
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-layout {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .portfolio-item {
        aspect-ratio: 1 / 1;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .section-head {
        margin-bottom: 50px;
    }
    
    .section-head h2 {
        font-size: 1.8rem !important;
        word-break: break-all;
    }

    .tools-text h2 {
        font-size: 1.6rem !important;
        word-break: break-all;
    }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet and Smaller Desktop (992px) */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-layout {
        gap: 40px;
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
    /* Navigation Bar */
    nav {
        padding: 1rem 0;
        background: rgba(15, 17, 19, 0.95);
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        padding: 80px 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-btn {
        display: block;
        z-index: 1001;
    }

    /* Hero Section */
    .hero {
        text-align: center;
        padding-top: 100px;
        height: auto;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        word-break: break-all;
    }
    
    .hero p {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    /* General Layout Adjustments */
    .container {
        padding: 0 20px;
    }
    
    .section-head {
        margin-bottom: 40px;
    }
    
    .section-head h2 {
        font-size: 2rem !important;
    }
    
    /* Grid Resets to Single Column */
    .service-grid, 
    .stats-grid, 
    .benefits-detailed, 
    .portfolio-grid, 
    .tools-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Stats Styling */
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }

    /* Tools Styling */
    .tools-section {
        padding: 80px 0;
    }
    
    .tools-text h2 {
        font-size: 1.8rem !important;
    }
    
    /* Portfolio Scaling */
    .portfolio-item {
        aspect-ratio: 1 / 1;
    }
    
    /* Form Scaling */
    .contact-form {
        padding: 25px 15px;
    }
    
    .contact-info h2 {
        font-size: 2rem !important;
    }
}

/* Very Small Devices (480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem !important;
    }
}
