:root {
    --primary: #2D7784;
    --primary-dark: #1f545e;
    --accent: #BBFE00;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* --- Bootstrap Override --- */
/* Forces "text-primary" to use your Teal color instead of Blue */
.text-primary {
    color: var(--primary) !important;
}

/* Optional: Ensures outline buttons are also Teal */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* --- Bootstrap Background Overrides --- */

/* Forces "bg-primary" to use your Teal color */
.bg-primary {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Forces "bg-success" to use your Lime accent color */
.bg-success {
    background-color: var(--accent) !important;
    color: var(--dark) !important; /* Dark text makes it readable on lime */
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* --- Components --- */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 24px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh; /* Full height */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(45, 119, 132, 0.85); /* Primary color with opacity */
    padding: 3rem;
    border-radius: 16px;
    color: white;
    text-align: center;
    max-width: 700px;
    backdrop-filter: blur(5px);
}

.hero-overlay h1 { color: var(--accent); }
.hero-overlay p { color: white; font-size: 1.2rem; }

/* --- Bulletproof Partner Slider --- */
.slider-container {
    height: 150px;  /* Tall container */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    height: 100%;
    width: calc(250px * 44);
    animation: scroll 60s linear infinite;
}

.slide {
    width: 250px;
    height: 100%;
    /* No padding here, we handle spacing in the 'a' tag */
}

/* --- THE FIX: Style the Link Tag --- */
.slide a {
    display: flex;            /* Turn the link into a box */
    height: 100%;             /* Fill the slide height */
    width: 100%;              /* Fill the slide width */
    align-items: center;      /* Center Vertically */
    justify-content: center;  /* Center Horizontally */
    padding: 20px;            /* Add padding INSIDE the link so image never touches edges */
}

.slide img {
    /* Use a fixed pixel max-height relative to container (150px - 40px padding = 110px max) */
    max-height: 90px !important; 
    max-width: 100% !important;
    
    width: auto !important;
    height: auto !important;
    
    object-fit: contain !important;
    
    filter: none;
    opacity: 1;
    display: block;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.1);
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Fade in animation for new photos */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Load More Button Styling */
#loadMoreBtn {
    transition: all 0.3s ease;
}

/* --- Contact Page Styles --- */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    border: none;
    background: white;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(45, 119, 132, 0.15) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(45, 119, 132, 0.1); /* Light Teal */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
}