:root {
    /* Color Palette */
    --primary: #004e92;
    --primary-light: #0066bf;
    --secondary: #00d2ff;
    --accent: #ff9d00;
    --accent-hover: #e68a00;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.1);

    /* Human-made Touches */
    --br-soft: 28px;
    --br-rugged: 18px 24px 20px 22px;
    --shadow-organic: 0 10px 40px -10px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Syncopate', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --container-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}

/* Typography Helpers */
h1,
h2,
h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

section {
    padding: var(--section-padding);
}

/* Components */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: var(--br-rugged);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 10px 20px rgba(0, 78, 146, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 78, 146, 0.4);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(255, 157, 0, 0.3);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--br-rugged);
    box-shadow: var(--shadow-organic);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Contact Info Section */
.info-section {
    background: var(--bg-dark);
    color: white;
}

.info-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-badge {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    padding: 60px 5%;
    background: #000;
    color: white;
    text-align: center;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 5%;
    }

    .nav-links {
        display: none;
    }
}

/* Animation Classes for JS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s all ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: var(--br-rugged);
    box-shadow: var(--shadow-organic);
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 78, 146, 0.1);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3);
}

.process-step h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: crosshair;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 78, 146, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
.testimonials {
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 45px;
    border-radius: var(--br-rugged);
    box-shadow: var(--shadow-organic);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.testimonial-card i.fa-quote-left {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2.5rem;
    opacity: 0.1;
    color: var(--primary);
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.user-img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
}

.user-details h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.user-details span {
    font-size: 0.85rem;
    color: #64748b;
}

/* Custom Contact Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--br-rugged);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.contact-form-premium {
    background: white;
    padding: 50px;
    border-radius: var(--br-rugged);
    box-shadow: var(--shadow-organic);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.input-box {
    margin-bottom: 25px;
}

.input-box label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: #f8fafc;
}