:root {
  --navy: #0B2545;
  --black: #111111;
  --white: #ffffff;
  --accent: #1b5fff;  /* optional accent within navy family */
}

.hero-services {
  background: linear-gradient(135deg, var(--navy), #03101f);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.hero-services .hero-content h1 {
    color: white;
  font-size: 2.8rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-services .hero-content p {
  max-width: 640px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
  opacity: 0.9;
}



/* ===== Service Cards Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* ===== Individual Service Card ===== */
.category-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

/* ===== Image Wrapper ===== */
.category-card img {
    width: 100%;
    height: 240px;              /* 🔑 SAME HEIGHT FOR ALL */
    object-fit: cover;          /* 🔑 Crop nicely */
    border-radius: 14px;
    margin: 12px 0;
}

/* ===== Title ===== */
.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1f2937;
}

/* ===== Description ===== */
.category-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    min-height: 70px;           /* Keeps cards same height */
}

/* ===== Explore Button ===== */
.category-card .btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 20px;
    border-radius: 30px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.category-card .btn:hover {
    background: #2563eb;
}








/* Scroll animation base (matches your live-actions idea) */
.animated {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s ease-out;
}

.animated.visible {
  opacity: 1;
  transform: translateY(0);
}










/* Services Section */
.services-section {
    background: var(--white);
    padding: 5rem 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.services-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #0B2545;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}



/* Explore Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0B2545, #1a3a5e);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(11, 37, 69, 0.2);
    margin-top: auto;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1a3a5e, #0B2545);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 37, 69, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-secondary:hover::after {
    transform: translateX(4px);
}

/* CTA Band */
.cta-band {
    background: linear-gradient(135deg, #0B2545 0%, #1a3a5e 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><defs><pattern id="grain" width="100" height="10" patternUnits="userSpaceOnUse"><circle cx="25" cy="5" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="5" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="10" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.cta-band h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: #c0cce2;
}

.cta-band p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: white;
    padding: 16px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .services-section {
        padding: 3rem 0;
    }
    
    .cta-band {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .category-card h3 {
        font-size: 1.3rem;
    }
    
    .category-card img {
        height: 160px;
    }
}

