/* CSS Variables & Theme - Red & Dark Blue Edition */
:root {
    /* Brand Colors */
    --primary-dark: #0f172a;
    /* Slate 900 - Deep Professional Blue */
    --primary-blue: #1e3a8a;
    /* Blue 900 - Trust & Authority */
    --primary-light: #e0f2fe;
    /* Light Blue Backgrounds */

    --accent-red: #e11d48;
    /* Rose 600 - Vitality, Urgency, Heart */
    --accent-red-hover: #be123c;
    /* Rose 700 */

    --text-main: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */
    --text-white: #ffffff;

    --bg-body: #ffffff;
    --bg-light: #f1f5f9;
    /* Slate 100 */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);

    /* Layout & Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --border-radius: 12px;

    /* Shadows - Sharp & Modern */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-red: 0 10px 15px -3px rgba(225, 29, 72, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3rem;
    }
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Buttons - Trendy Pill Shapes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-center {
    text-align: center;
}

.btn-sm {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.85rem !important;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--bg-light);
}

.btn-secondary:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: white;
}

/* Header - Glassmorphism Dark */
header {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}


.logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: white;
    /* Always white */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    /* Always white */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--accent-red);
}

header.scrolled .nav-links a:hover {
    color: var(--accent-red);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Cards & Modern Layouts */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--bg-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-red);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Utilities */
.text-red {
    color: var(--accent-red);
}

.text-blue {
    color: var(--primary-blue);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-dark);
    color: white;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    align-items: center;
}

/* Inner Page Hero - Creative & Modern */
.page-header {
    background: var(--gradient-hero);
    padding: 180px 0 100px;
    position: relative;
    text-align: center;
    color: white;
    clip-path: ellipse(150% 100% at 50% 0%);
    margin-bottom: 4rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.page-header p {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    background: rgba(225, 29, 72, 0.15);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

/* Service Highlights */
.service-icon.red {
    background: #ffe4e6;
    color: var(--accent-red);
}

.service-icon.blue {
    background: #dbeafe;
    color: var(--primary-blue);
}



/* Premium Service Cards - Modern Floating Layout */
.service-card-premium {
    position: relative;
    border-radius: 24px;
    transition: transform 0.4s ease;
    /* No visual container background needed, content box handles it */
}

.service-card-premium:hover {
    transform: translateY(-10px);
}

.service-card-premium .img-wrapper {
    height: 260px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.service-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-premium:hover img {
    transform: scale(1.1);
}

.service-card-premium .content {
    background: white;
    width: 88%;
    margin: -60px auto 0;
    /* Floating overlap */
    padding: 2rem 1.5rem;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.service-card-premium:hover .content {
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.15);
}

.service-card-premium h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.service-card-premium p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-link-arrow {
    background: rgba(225, 29, 72, 0.08);
    /* Light Red BG */
    color: var(--accent-red);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-link-arrow:hover {
    background: var(--accent-red);
    color: white;
    gap: 0.8rem;
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

/* Modern Service Cards - Clean Professional Design */
.service-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-card-modern img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-modern:hover img {
    transform: scale(1.05);
}

.service-card-modern .content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-modern .tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: white;
    background: var(--accent-red);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    width: fit-content;
}

.service-card-modern h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card-modern p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-hover-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent-red);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-hover-white:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

.btn-hover-white::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-hover-white:hover::after {
    transform: translateX(4px);
}


/* Creative Dropdown */
.custom-select-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.form-select-creative {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    color: var(--primary-dark);
    background-color: white;
    border: 2px solid transparent;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2rem center;
    background-size: 1.5rem;
    transition: all 0.3s ease;
}

.form-select-creative:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 5px rgba(225, 29, 72, 0.1);
}

.form-select-creative option {
    padding: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a:hover {
    color: var(--accent-red);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    header .logo {
        color: var(--primary-dark) !important;
    }

    header.scrolled .nav-links a {
        color: var(--primary-dark);
    }

    /* Mobile menu links dark on scroll too because bg is white */
}