/* --- 1. VARIABLES (Easy Color Changing) --- */
:root {
    --primary: #2563eb;       /* Tech Blue */
    --secondary: #1e293b;     /* Dark Slate */
    --accent: #3b82f6;        /* Light Blue */
    --dark-bg: #0f172a;       /* Very Dark Blue */
    --light-text: #f8fafc;    /* Off White */
    --gray-text: #94a3b8;     /* Muted Gray */
    --white: #ffffff;
}

/* --- 2. GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
    background-color: #f1f5f9;
}

h1, h2, h3, .logo {
    font-family: 'Poppins', sans-serif;
}

a { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 3. NAVBAR --- */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--secondary);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
}

.btn-nav:hover { background: var(--dark-bg); }

/* --- 4. HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary) 100%);
    color: var(--white);
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tagline {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

/* --- 5. BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    margin: 0 10px;
    transition: transform 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
}

/* --- 6. SERVICES GRID --- */
.section-padding { padding: 5rem 0; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* --- 7. STATS SECTION --- */
.stats-section {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent);
}

/* --- 8. FOOTER --- */
footer {
    background: var(--secondary);
    color: var(--gray-text);
    padding: 2rem 0;
    text-align: center;
}

/* --- Footer Styling --- */
footer {
    background: var(--secondary); /* Uses your dark slate color */
    color: var(--gray-text);
    padding: 4rem 0 2rem;
    border-top: 5px solid var(--primary);
    margin-top: auto; /* Pushes footer to bottom if page content is short */
}

.footer-grid {
    display: grid;
    /* This creates 3 equal columns that stack on mobile */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    /* Optional: Add a small underline to the heading */
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

/* Opening Hours List */
.footer-list li {
    list-style: none;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between; /* Pushes time to the right */
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle separator line */
    padding-bottom: 5px;
}

.footer-list span {
    color: var(--white);
    font-weight: 600;
}

/* Support Email Link */
.footer-email {
    display: block;
    color: var(--accent); /* Uses your light blue color */
    font-weight: bold;
    font-size: 1.1rem;
    margin: 1rem 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--white);
    text-decoration: underline;
}

.phone {
    font-size: 0.95rem;
    color: var(--gray-text);
}

/* --- VACANCIES PAGE --- */

.empty-state-card {
    background: var(--white);
    max-width: 600px;
    margin: 2rem auto; /* Centers the box */
    padding: 3rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Soft shadow */
    border: 1px solid #e2e8f0;
}

.empty-icon {
    font-size: 4rem;
    color: var(--gray-text); /* Muted gray color */
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state-card h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.empty-state-card p {
    color: var(--gray-text);
    font-size: 1.1rem;
}

.small-text {
    font-size: 0.95rem !important;
    font-style: italic;
}
/* --- TOP SALE BANNER --- */
.sale-banner {
    background: #ea580c; /* Vivid Orange */
    color: white;
    font-size: 0.95rem;
    padding: 10px 0;
    position: relative;
    /* Optional: Make it sticky so it follows you */
    /* position: sticky; top: 0; z-index: 1000; */
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.banner-content a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.banner-content button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.banner-content button:hover {
    opacity: 1;
}

/* Adjust Navbar so it doesn't overlap if banner is sticky */
.navbar {
    top: 0; /* Reset top if needed */
}

/* --- CALENDLY WIDGET --- */
.calendly-inline-widget {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: white;
    overflow: hidden; /* Keeps the corners rounded */
    border: 1px solid #e2e8f0;
    margin: 0 auto; /* Centers the calendar */
}


/* --- ACCESSIBILITY PAGE UI --- */

/* 1. Status Card (The "Official" Box) */
.a11y-status-card {
    background-color: #f0fdf4; /* Very light green */
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a; /* Dark Green Stripe */
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.status-icon {
    font-size: 1.5rem;
    color: #16a34a;
    margin-top: 3px;
}

.a11y-status-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #14532d;
    border: none; /* Removes default legal-content border */
}

/* 2. Features Grid */
.a11y-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.feature-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin: 0;
}

/* 3. Feedback Box (Call to Action) */
.feedback-box {
    background: var(--dark-bg);
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.feedback-box h3 {
    color: white !important; /* Override default header color */
    border: none !important;
    margin-bottom: 1rem;
}

.feedback-box p {
    color: #cbd5e1 !important; /* Light gray for dark background */
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phone-number {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.nav-logo {
    height: 32px; /* Adjust this value to match your font size */
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    color: inherit;
}

/* Full Screen Dark Mode for this page */
/* Absolute Black Background */
.f1-dark-mode {
    background-color: #000000 !important;
    color: #ffffff;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.f1-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* High-Production Gantry Styling */
.light-container {
    display: flex;
    gap: 15px;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    padding: 30px 50px;
    border-radius: 15px;
    border: 2px solid #222;
    box-shadow: 0 20px 50px rgba(0,0,0,1), inset 0 0 10px rgba(255,255,255,0.05);
}

.light {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #200 0%, #000 80%);
    border-radius: 50%;
    border: 4px solid #111;
    position: relative;
    transition: all 0.1s ease-in-out;
}

/* The "Active" Red LED Look */
.light.active {
    background: radial-gradient(circle, #ff0000 0%, #900 60%, #300 100%);
    box-shadow: 
        0 0 20px #f00, 
        0 0 60px #f00, 
        0 0 100px rgba(255, 0, 0, 0.4);
    border-color: #f66;
}

/* F1 TV Style Countdown Text */
.countdown-text {
    font-size: 15rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -5px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    margin: 0;
}

.highlight-red {
    color: #e10600; /* Official F1 Red */
}

.portal-description h2 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e10600;
    margin-bottom: 5px;
}

.portal-description p {
    color: #aaa;
    font-size: 1.1rem;
    font-weight: 400;
}


.countdown-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.time-block {
    text-align: center;
}

.time-block span {
    font-size: 8rem; /* Slightly smaller to fit all 4 units */
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    color: #e10600; /* F1 Red */
    line-height: 1;
    display: block;
}

.time-block p {
    font-size: 1rem;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 2px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .time-block span { font-size: 4rem; }
    .countdown-container { gap: 15px; }
}
.about-hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary, #e10600);
    display: block;
}

.rounded-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.values-section {
    background: #111;
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.value-card i {
    font-size: 2.5rem;
    color: #e10600;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}
/* Full screen blur overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7); /* Match your slate color */
    backdrop-filter: blur(8px); /* The blur effect */
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
}

/* Centered Modal */
.sale-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    z-index: 10001;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.f1-indicator {
    display: inline-block;
    background: #e10600;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    display: block;
}

.sale-modal h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.highlight-red {
    color: #e10600;
    font-weight: bold;
}

.modal-btn {
    display: block;
    background: #e10600;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 25px;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: #ff0000;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-note {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 15px;
}