/* --- WordPress tweaks --- */
.custom-logo-link img { height: 50px; width: auto; }
.footer .custom-logo-link img { height: 60px; width: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* --- Anchor offset (fixed header) --- */
:root { --header-offset: 120px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset) + 24px); }
/* Ensure any section with an id doesn't hide under the sticky header */
section[id], [id].anchor-target { scroll-margin-top: calc(var(--header-offset) + 24px); }

/* Prevent WP from adding weird spacing around images */
img { max-width: 100%; height: auto; }
html, body { overflow-x: hidden; }



:root {
            --primary: #2E8BC0;
            --primary-dark: #1C3A57;
            --secondary: #F4B223;
            --accent: #2E8BC0;
            --dark: #1a1a1a;
            --dark-gray: #2d2d2d;
            --mid-gray: #666;
            --light-gray: #e5e5e5;
            --white: #ffffff;
            --warning: #F4B223;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Work Sans', sans-serif;
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }
        
        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--white);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .header.scrolled {
            transform: translateY(-100%);
        }
        
        .top-bar {
            background: var(--primary-dark);
            color: var(--white);
            padding: 8px 0;
            font-size: 14px;
        }
        
        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .top-bar a {
            color: var(--white);
            text-decoration: none;
            margin-left: 20px;
            transition: color 0.3s;
        }
        
        .top-bar a:hover {
            color: var(--secondary);
        }
        
        .nav-container {
            padding: 0 60px;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 50px;
            width: auto;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 40px;
            align-items: center;
        }
        
        .nav-links a {
            font-family: 'Rajdhani', sans-serif;
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.3s;
            position: relative;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .nav-links a:hover {
            color: var(--secondary);
        }
        
        .cta-button {
            background: var(--secondary);
            color: var(--white);
            padding: 12px 30px;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s;
        }
        
        .cta-button:hover {
            background: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(244, 178, 35, 0.3);
        }
        
        .cta-button::after {
            display: none;
        }
        
        /* Hero Section */
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            overflow: hidden;
            /* Keep hero clear of fixed header (top-bar height can change on mobile) */
            margin-top: var(--header-offset, 108px);
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="100" fill="%23ffffff" opacity="0.05"/><rect width="100" height="2" fill="%23ffffff" opacity="0.05"/></svg>');
            background-size: 100px 100px;
            opacity: 0.3;
        }
        
        .hero::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(244,178,35,0.15) 0%, transparent 70%);
            animation: pulse 8s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.1); opacity: 0.5; }
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }
        
        .hero-text h1 {
            font-size: 72px;
            color: var(--white);
            margin-bottom: 24px;
            line-height: 1.1;
            animation: slideInLeft 0.8s ease-out;
        }
        
        .hero-text h1 span {
            color: var(--secondary);
            display: block;
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .hero-text p {
            font-size: 20px;
            color: rgba(255,255,255,0.9);
            margin-bottom: 40px;
            animation: slideInLeft 0.8s ease-out 0.2s backwards;
        }
        
        .hero-buttons {
            display: flex;
            gap: 20px;
            animation: slideInLeft 0.8s ease-out 0.4s backwards;
        }
        
        .btn {
            padding: 16px 40px;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-primary {
            background: var(--secondary);
            color: var(--white);
        }
        
        .btn-primary:hover {
            background: #ffcd4d;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(244, 178, 35, 0.4);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }
        
        .btn-secondary:hover {
            background: var(--white);
            color: var(--primary);
        }
        
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            animation: fadeInUp 0.8s ease-out 0.6s backwards;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .stat-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.2);
            transition: all 0.3s;
        }
        
        .stat-card:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-5px);
        }
        
        .stat-number {
            font-size: 48px;
            font-weight: 700;
            color: var(--secondary);
            font-family: 'Rajdhani', sans-serif;
            line-height: 1;
        }
        
        .stat-label {
            color: var(--white);
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 8px;
        }
        
        /* Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px;
        }
        
        /* Services Section */
        .services {
            padding: 120px 0;
            background: var(--white);
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }
        
        .section-tag {
            display: inline-block;
            color: var(--secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 16px;
            font-size: 14px;
        }
        
        .section-title {
            font-size: 48px;
            color: var(--dark);
            margin-bottom: 20px;
        }
        
        .section-description {
            font-size: 18px;
            color: var(--mid-gray);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }
        
        .service-card {
            background: var(--white);
            border: 2px solid var(--light-gray);
            border-radius: 8px;
            padding: 50px 40px;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--secondary);
            transform: scaleX(0);
            transition: transform 0.4s;
        }
        
        .service-card:hover::before {
            transform: scaleX(1);
        }
        
        .service-card:hover {
            border-color: var(--secondary);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 36px;
            color: var(--white);
        }
        
        .service-card h3 {
            font-size: 28px;
            margin-bottom: 16px;
            color: var(--dark);
        }
        
        .service-card p {
            color: var(--mid-gray);
            line-height: 1.8;
            margin-bottom: 24px;
        }
        
        .service-link {
            color: var(--secondary);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s;
        }
        
        .service-link:hover {
            gap: 12px;
        }
        
        /* Why Choose Us */
        .why-choose {
            padding: 120px 0;
            background: var(--dark-gray);
            position: relative;
            overflow: hidden;
        }
        
        .why-choose::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(135deg, transparent 0%, rgba(255,107,0,0.05) 100%);
        }
        
        .why-choose .section-tag,
        .why-choose .section-title,
        .why-choose .section-description {
            color: var(--white);
        }
        
        .why-choose .section-description {
            opacity: 0.8;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }
        
        .feature-item {
            text-align: center;
            padding: 40px 20px;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
            transition: all 0.3s;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .feature-item:hover {
            background: rgba(255,255,255,0.08);
            transform: translateY(-5px);
        }
        
        .feature-icon {
            width: 70px;
            height: 70px;
            background: var(--secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-size: 32px;
        }
        
        .feature-item h4 {
            font-size: 22px;
            color: var(--white);
            margin-bottom: 12px;
        }
        
        .feature-item p {
            color: rgba(255,255,255,0.7);
            line-height: 1.6;
        }
        
        /* CTA Section */
        .cta-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--secondary) 0%, #ffcd4d 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); }
            50% { transform: translateY(-20px) translateX(20px); }
        }
        
        .cta-section h2 {
            font-size: 56px;
            color: var(--primary-dark);
            margin-bottom: 24px;
            position: relative;
            z-index: 2;
        }
        
        .cta-section p {
            font-size: 20px;
            color: var(--dark-gray);
            margin-bottom: 40px;
            position: relative;
            z-index: 2;
        }
        
        .cta-section .btn {
            background: var(--primary-dark);
            color: var(--white);
            position: relative;
            z-index: 2;
        }
        
        .cta-section .btn:hover {
            background: var(--dark);
            color: var(--white);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        /* About Section */
        .about {
            padding: 120px 0;
            background: var(--white);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }
        
        .about-text h2 {
            font-size: 48px;
            margin-bottom: 24px;
            color: var(--dark);
        }
        
        .about-text p {
            font-size: 16px;
            line-height: 1.8;
            color: var(--mid-gray);
            margin-bottom: 20px;
        }
        
        .credentials {
            display: flex;
            gap: 30px;
            margin-top: 40px;
        }
        
        .credential-badge {
            padding: 20px 30px;
            background: var(--light-gray);
            border-radius: 6px;
            text-align: center;
            font-weight: 600;
            color: var(--primary);
            border: 2px solid var(--primary);
        }
        
        .about-image {
            position: relative;
            height: 500px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
        }
        
        .about-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
            opacity: 0.3;
            z-index: 1;
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Accreditations */
        .accreditations {
            padding: 110px 0;
            background: var(--light-gray);
        }

        .accreditations-grid {
            display: grid;
            /* Force a clean 3-column layout on desktop (per-line consistency) */
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 28px;
            margin-top: 60px;
        }

        .accreditation-card {
            background: var(--white);
            border-radius: 10px;
            padding: 28px 24px;
            border: 2px solid rgba(0,0,0,0.06);
            box-shadow: 0 10px 30px rgba(0,0,0,0.04);
            text-align: center;
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }

        .accreditation-card:hover {
            transform: translateY(-6px);
            border-color: rgba(244, 178, 35, 0.65);
            box-shadow: 0 18px 44px rgba(0,0,0,0.08);
        }

        .accreditation-logo {
            height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
        }

        .accreditation-logo img {
            max-height: 96px;
            width: auto;
            max-width: 220px;
            object-fit: contain;
            filter: none;
        }

        .accreditation-logo-fallback {
            width: 72px;
            height: 96px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            font-weight: 700;
        }

        .accreditation-title {
            font-size: 22px;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .accreditation-text {
            color: var(--mid-gray);
            line-height: 1.7;
            font-size: 15px;
        }

        .accreditations-empty {
            margin-top: 50px;
            background: rgba(255,255,255,0.75);
            border: 2px dashed rgba(0,0,0,0.15);
            border-radius: 12px;
            padding: 28px;
            color: var(--mid-gray);
        }

        /* Gallery */
        .gallery {
            padding: 120px 0;
            background: var(--white);
            border-top: 1px solid rgba(0,0,0,0.06);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
            margin-top: 60px;
        }

        .gallery-item {
            position: relative;
            display: block;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid rgba(0,0,0,0.06);
            box-shadow: 0 12px 30px rgba(0,0,0,0.06);
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }

        .gallery-item:hover {
            transform: translateY(-6px);
            border-color: rgba(46,139,192,0.55);
            box-shadow: 0 20px 50px rgba(0,0,0,0.10);
        }

        .gallery-item img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            display: block;
            transform: scale(1);
            transition: transform 0.45s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.04);
        }

        .gallery-fallback {
            height: 260px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--light-gray);
            color: var(--mid-gray);
            font-weight: 600;
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
            opacity: 0;
            transition: opacity 0.35s ease;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            padding: 18px;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-caption {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .gallery-title {
            color: var(--white);
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            font-size: 18px;
            line-height: 1.2;
        }

        .gallery-hint {
            color: rgba(255,255,255,0.85);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.6px;
            text-transform: uppercase;
        }

        .gallery-empty {
            margin-top: 50px;
            background: rgba(46,139,192,0.08);
            border: 2px dashed rgba(46,139,192,0.35);
            border-radius: 12px;
            padding: 28px;
            color: var(--mid-gray);
        }

        /* Lightbox (gallery) */
        .sssei-lightbox {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.85);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .sssei-lightbox.is-open { display: flex; }
        .sssei-lightbox.open { display: flex; }

        .sssei-lightbox-inner {
            max-width: 1100px;
            width: 100%;
            max-height: 90vh;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .sssei-lightbox-inner img {
            width: 100%;
            height: auto;
            max-height: 72vh;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.4);
        }

        .sssei-lightbox-close {
            position: absolute;
            top: -14px;
            right: -14px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            background: var(--secondary);
            color: var(--white);
            font-size: 22px;
            font-weight: 700;
            box-shadow: 0 10px 30px rgba(0,0,0,0.25);
        }

        .sssei-lightbox-close:hover { background: var(--primary); }
        
        .sssei-lightbox-media {
            outline: none;
            flex: 1 1 auto;
            min-height: 0;
        }

        .sssei-lightbox-prev,
        .sssei-lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            background: var(--primary-dark);
            color: var(--white);
            font-size: 30px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.25);
            user-select: none;
        }

        .sssei-lightbox-prev { left: 10px; }
        .sssei-lightbox-next { right: 10px; }

        .sssei-lightbox-prev:hover,
        .sssei-lightbox-next:hover { background: var(--primary); }

        .sssei-lightbox-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            margin-top: 14px;
            color: var(--white);
            font-size: 0.95rem;
        }

        .sssei-lightbox-title {
            font-weight: 600;
            opacity: 0.95;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .sssei-lightbox-count {
            opacity: 0.75;
            flex: 0 0 auto;
        }

        .sssei-lightbox-dots {
            margin-top: 12px;
            display: flex;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .sssei-lightbox-dots .sssei-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.35);
            padding: 0;
        }

        .sssei-lightbox-dots .sssei-dot.active {
            background: rgba(255, 255, 255, 0.95);
        }

        .sssei-lightbox-dots .sssei-dot:focus-visible,
        .sssei-lightbox-prev:focus-visible,
        .sssei-lightbox-next:focus-visible,
        .sssei-lightbox-close:focus-visible {
            outline: 3px solid var(--secondary);
            outline-offset: 3px;
        }

        @media (max-width: 640px) {

            /* Mobile overflow fixes */
            .hero-content { padding: 0 20px; }
            .hero-buttons { width: 100%; }
            .hero-buttons .btn { width: 100%; max-width: 100%; text-align: center; padding-left: 18px; padding-right: 18px; }
            .hero-stats { gap: 16px; }
            .stat-card { padding: 18px; }
            .stat-number { font-size: 40px; }
            .sssei-lightbox {
                padding: 16px;
            }
            .sssei-lightbox-prev,
            .sssei-lightbox-next {
                width: 40px;
                height: 40px;
                font-size: 28px;
            }
            .sssei-lightbox-title { font-size: 0.9rem; }
        }

        /* Testimonials */
        .testimonials {
            padding: 120px 0;
            background: var(--light-gray);
        }
        
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }
        
        .testimonial-card {
            background: var(--white);
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            position: relative;
        }
        
        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            left: 30px;
            font-size: 120px;
            color: var(--secondary);
            opacity: 0.1;
            font-family: Georgia, serif;
            line-height: 1;
        }
        
        .testimonial-text {
            font-size: 16px;
            line-height: 1.8;
            color: var(--mid-gray);
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 600;
            font-size: 18px;
        }
        
        .author-info h5 {
            font-size: 16px;
            color: var(--dark);
            margin-bottom: 4px;
        }
        
        .author-info p {
            font-size: 14px;
            color: var(--mid-gray);
        }
        
        /* Contact Section */
        .contact {
            padding: 120px 0;
            background: var(--white);
        }
        
        .contact-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
        }
        
        .contact-info h3 {
            font-size: 36px;
            margin-bottom: 24px;
            color: var(--dark);
        }
        
        .contact-info p {
            font-size: 16px;
            color: var(--mid-gray);
            margin-bottom: 40px;
            line-height: 1.8;
        }
        
        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .contact-item-icon {
            width: 50px;
            height: 50px;
            background: var(--secondary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 20px;
        }
        
        .contact-item-text h4 {
            font-size: 16px;
            color: var(--dark);
            margin-bottom: 4px;
        }
        
        .contact-item-text p {
            font-size: 14px;
            color: var(--mid-gray);
            margin: 0;
        }
        
        .contact-form {
            background: var(--light-gray);
            padding: 50px;
            border-radius: 12px;
        }
        
        .form-group {
            margin-bottom: 24px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-family: 'Work Sans', sans-serif;
            font-size: 15px;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--secondary);
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        
        .form-submit {
            width: 100%;
        }
        
        /* Footer */
        .footer {
            background: var(--dark);
            color: var(--white);
            padding: 80px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 60px;
            margin-bottom: 60px;
        }
        
        .footer-about h3 {
            font-size: 32px;
            margin-bottom: 20px;
        }
        
        .footer-about h3 span {
            color: var(--secondary);
        }
        
        .footer-about p {
            color: rgba(255,255,255,0.7);
            line-height: 1.8;
            margin-bottom: 20px;
        }
        
        .footer-section h4 {
            font-size: 20px;
            margin-bottom: 24px;
            color: var(--white);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--secondary);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 30px;
            text-align: center;
            color: rgba(255,255,255,0.5);
            font-size: 14px;
        }
        
        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: var(--dark);
        }
        
        /* Responsive */
        @media (max-width: 1200px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 60px;
            }
            
            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .hero-text h1 {
                font-size: 56px;
            }
        }
        
        @media (max-width: 968px) {
            .container, .nav-container {
                padding: 0 30px;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: var(--header-offset, 108px);
                left: -100%;
                width: 100%;
                height: calc(100vh - var(--header-offset, 108px));
                background: var(--white);
                flex-direction: column;
                padding: 40px;
                transition: left 0.3s;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .hero {
                margin-top: var(--header-offset, 108px);
                height: auto;
                padding: 80px 0;
            }
            
            .hero-text h1 {
                font-size: 42px;
            }
            
            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .about-content,
            .contact-wrapper {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .section-title {
                font-size: 36px;
            }
            
            .services-grid,
            .testimonial-grid {
                grid-template-columns: 1fr;
            }

            .accreditations-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        
        @media (max-width: 640px) {
            /* Make the top contact bar tidy on small screens */
            .top-bar {
                font-size: 12px;
                padding: 10px 0;
            }

            .top-bar .container {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 6px;
            }

            .top-bar .container > div:last-child {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 14px;
            }

            .top-bar a {
                margin-left: 0;
                white-space: nowrap;
            }

            /* Slightly tighten nav spacing to keep header compact */
            nav { padding: 14px 0; }
            .custom-logo-link img { height: 44px; }
            .logo img { height: 44px; }

            .hero-buttons {
                flex-direction: column;
            }
            
            .hero-text h1 {
                font-size: 36px;
            }
            
            .cta-section h2 {
                font-size: 36px;
            }
            
            .credentials {
                flex-direction: column;
            }
            
            .contact-form {
                padding: 30px 20px;
            }

            .accreditations-grid {
                grid-template-columns: 1fr;
            }
        }


/* Recent Projects (compact list that opens slider) */

/* Projects section spacing */
.projects{padding-bottom: 90px;}
@media (min-width: 900px){.projects{padding-bottom: 120px;}}
.projects .projects-list{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px){
  .projects .projects-list{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1100px){
  .projects .projects-list{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.project-card{ margin:0; }
.project-card-inner{
  width:100%;
  text-align:left;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  gap:14px;
  padding:14px;
  cursor:pointer;
}
.project-card-inner:focus-visible{ outline:3px solid rgba(244,178,35,0.65); outline-offset:2px; }
.project-thumb{
  flex:0 0 96px;
  height:96px;
  border-radius:14px;
  overflow:hidden;
  background: rgba(0,0,0,0.15);
}
.project-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.project-thumb-fallback{
  width:100%; height:100%;
  background: rgba(255,255,255,0.08);
}
.project-meta{ min-width:0; }
.project-title{ margin:0 0 6px; font-size: 1.05rem; }
.project-excerpt{ margin:0; opacity:0.9; font-size:0.95rem; }
.project-cta{
  display:inline-block;
  margin-top:10px;
  font-weight:700;
  color: var(--accent);
}
.projects-note .muted{ opacity:0.8; margin-top:14px; }

@media (max-width: 860px){
  .project-thumb{ flex-basis: 88px; height:88px; }
}



/* ================================
   Lightbox controls: bigger + easier to tap/click
   ================================ */
.sssei-lightbox button.sssei-lightbox-close,
.sssei-lightbox button.sssei-lightbox-prev,
.sssei-lightbox button.sssei-lightbox-next {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  font-size: 40px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35) !important;
  z-index: 5 !important;
}

.sssei-lightbox button.sssei-lightbox-close {
  border-radius: 18px !important;
  font-size: 34px !important;
}

@media (max-width: 640px) {
  .sssei-lightbox button.sssei-lightbox-close,
  .sssei-lightbox button.sssei-lightbox-prev,
  .sssei-lightbox button.sssei-lightbox-next {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 16px !important;
    font-size: 36px !important;
  }

  .sssei-lightbox button.sssei-lightbox-close {
    font-size: 32px !important;
  }
}

/* Give arrows a bit more breathing room from the edges */
.sssei-lightbox .sssei-lightbox-prev { left: 18px !important; }
.sssei-lightbox .sssei-lightbox-next { right: 18px !important; }


/* ================================
   Service details panel (Learn More)
   ================================ */
.service-details{
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  overflow: hidden;
}
.service-details__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.service-details__title{
  margin:0;
  font-size: 20px;
  font-weight: 800;
}
.service-details__close{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.service-details__body{
  padding: 18px 18px 22px;
}
.service-details__loading{
  opacity: 0.7;
  font-weight: 600;
}
.service-details__content :first-child{
  margin-top: 0;
}
.service-details__content img{
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.service-details__content a{
  text-decoration: underline;
}


/* Make service "Learn More" buttons look like links */
button.service-link{
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
button.service-link:hover{
  text-decoration: underline;
}


/* Services expand panel between rows */
#servicesGrid { 
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px) {
  #servicesGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #servicesGrid { grid-template-columns: 1fr; }
}

#serviceExpand { grid-column: 1 / -1; }

#serviceExpand .service-expand__inner {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  position: relative;
}

#serviceExpand .service-expand__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================
   Services grid compact mode (titles only)
   - 6 across on desktop
   ========================================= */
#servicesGrid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

@media (max-width: 1100px) {
  #servicesGrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  #servicesGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  #servicesGrid { grid-template-columns: 1fr !important; }
}

/* Compact card layout */
#servicesGrid .service-card,
#servicesGrid .service-item,
#servicesGrid article {
  position: relative;
  padding: 12px 12px 10px !important;
  min-height: 88px;
}

#servicesGrid .service-card h3,
#servicesGrid .service-item h3,
#servicesGrid article h3 {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

/* Hide descriptive text inside service cards (keep title) */
#servicesGrid .service-card p,
#servicesGrid .service-item p,
#servicesGrid article p,
#servicesGrid .service-card .service-desc,
#servicesGrid .service-item .service-desc,
#servicesGrid .service-card .service-description,
#servicesGrid .service-item .service-description,
#servicesGrid .service-card .service-text,
#servicesGrid .service-item .service-text,
#servicesGrid .service-card .service-meta,
#servicesGrid .service-item .service-meta {
  display: none !important;
}

/* Make entire card clickable by stretching the learn-more button/link over it (invisible) */
#servicesGrid .service-learnmore {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}

/* Subtle hover/focus feedback */
#servicesGrid .service-card:hover,
#servicesGrid .service-item:hover,
#servicesGrid article:hover {
  transform: translateY(-2px);
}

#servicesGrid .service-learnmore:focus-visible {
  opacity: 0 !important;
  outline: 3px solid rgba(42, 157, 143, 0.45);
  outline-offset: 3px;
  border-radius: 16px;
}


/* Center icons + titles in compact services cards */
#servicesGrid .service-card,
#servicesGrid .service-item,
#servicesGrid article {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px !important;
}

#servicesGrid .service-card .service-icon,
#servicesGrid .service-item .service-icon,
#servicesGrid article .service-icon,
#servicesGrid .service-card .icon,
#servicesGrid .service-item .icon,
#servicesGrid article .icon,
#servicesGrid .service-card svg,
#servicesGrid .service-item svg,
#servicesGrid article svg {
  margin: 0 auto !important;
  display: block !important;
}

#servicesGrid .service-card h3,
#servicesGrid .service-item h3,
#servicesGrid article h3 {
  max-width: 14ch;
}


/* Services compact tiles: keep titles on one line (e.g. Rack Safety Awareness) */
#servicesGrid .service-card h3,
#servicesGrid .service-item h3,
#servicesGrid article h3 {
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 18ch !important;
}

/* Slightly tighter tile padding so more room for title */
#servicesGrid .service-card,
#servicesGrid .service-item,
#servicesGrid article {
  padding: 10px 10px 10px !important;
  min-height: 82px !important;
}
