:root {
    /* Color Palette */
    --primary: #004aad;
    /* Deep Philadelphia Blue */
    --secondary: #ff8c00;
    /* Vibrant Orange accent */
    --dark: #0a0a0c;
    --light: #f8f9fa;
    --gray: #6c757d;
    --accent-glow: rgba(0, 74, 173, 0.3);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #004aad 0%, #002d6a 100%);
    --grad-vibrant: linear-gradient(45deg, #ff8c00 0%, #ffae42 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Animation */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Texture */
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 Fortify%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    background-image: var(--noise);
    background-size: 200px;
    overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&family=Reenie+Beanie&display=swap');

.handwritten {
    font-family: 'Reenie Beanie', cursive;
    font-size: 1.8rem;
    color: var(--secondary);
    transform: rotate(-3deg);
    display: inline-block;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.5);
}

.btn-secondary {
    background: var(--grad-vibrant);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.5);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateY(-10px);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Animations using Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Background Shapes */
.shape {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    opacity: 0.2;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    opacity: 0.1;
}

/* Layouts */
.hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-height: 80vh;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 4rem;
}

/* Specific Components */
.image-wrapper {
    position: relative;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--grad-vibrant);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    text-align: center;
    font-weight: 700;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

/* Animations Trigger */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-container {
        padding: 2rem;
    }

    .hero-image {
        order: -1;
    }
}