@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --primary: #8B0000;
    /* Dark Red */
    --primary-dark: #5a0000;
    --secondary: #FFD700;
    /* Gold Action Color */
    --secondary-hover: #e6c200;
    --dark: #1a1a1a;
    --slate: #333333;
    --grey: #666666;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --max-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--slate);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 100px 0;
}

/* Typography Helpers */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-primary {
    color: var(--primary);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.4);
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
    background: var(--secondary-hover);
}

/* 3D Cards */
.card-3d {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    transform-style: preserve-3d;
    border: 1px solid var(--light-grey);
    position: relative;
    z-index: 1;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), transparent);
    z-index: -1;
    pointer-events: none;
}

.card-3d:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(139, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(139, 0, 0, 0.5)), url('../images/technician.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3rem;
    max-width: 650px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

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

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }
}

/* Sticky CTA Mobile */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 20px;
    font-weight: 800;
    z-index: 9999;
    font-size: 1.2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: block;
    }
}

/* FAQ Accordion */
details {
    background: var(--light-grey);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    transition: var(--transition);
}

details[open] {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

details[open] summary::after {
    content: '-';
}