* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(135deg, #36347e 0%, #5854a3 100%);
            opacity: 0.1;
        }

        .bg-animation::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%2336347e;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%231f1d1a;stop-opacity:0.1"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"><animateTransform attributeName="transform" type="translate" values="0 0;100 100;0 0" dur="10s" repeatCount="indefinite"/></circle><circle cx="800" cy="300" r="150" fill="url(%23a)"><animateTransform attributeName="transform" type="translate" values="0 0;-100 50;0 0" dur="15s" repeatCount="indefinite"/></circle><circle cx="400" cy="800" r="120" fill="url(%23a)"><animateTransform attributeName="transform" type="translate" values="0 0;150 -100;0 0" dur="12s" repeatCount="indefinite"/></circle></svg>');
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        /* Top Header */
        .top-header {
            background: linear-gradient(135deg, #1f1d1a, #36347e);
            color: #fff;
            padding: 12px 0;
            font-size: 14px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .top-header .container {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .top-header .contact-info {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
            align-items: center;
        }

        .top-header .contact-info span {
            display: flex;
            align-items: center;
        }
        
        .top-header .contact-info i {
            margin-right: 8px;
            transition: transform 0.3s ease;
        }

        .top-header .contact-info a {
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
        }

        .top-header .contact-info a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(243,228,11,0.2), transparent);
            transition: left 0.5s;
        }

        .top-header .contact-info a:hover::before {
            left: 100%;
        }

        .top-header .contact-info a:hover {
            background-color: rgba(243,228,11,0.1);
            transform: translateY(-2px);
        }

        .top-header .contact-info a:hover i {
            transform: scale(1.2);
        }

        .gov-jamaica {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            font-weight: 500;
            padding: 8px 15px;
            background: rgba(243,228,11,0.1);
            border-radius: 25px;
            backdrop-filter: blur(10px);
        }

        .jamaica-flag {
            height: 20px;
            width: auto;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Main Navigation */
        .main-nav {
            background: linear-gradient(135deg, #347e3b, #6a7763);
            padding: 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(5px);
        }

        .main-nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            position: relative;
            z-index: 2;
        }

        .main-nav .logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .main-nav .logo:hover {
            transform: scale(1.05);
        }

        .main-nav .logo img {
            height: 80px;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
        }

        .logo-tagline {
            color: #f3e40b;
            font-size: 12px;
            font-style: italic;
            margin-top: 5px;
            text-align: center;
            font-weight: 400;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .main-nav .nav-links {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 0;
        }

        .main-nav .nav-links li {
            position: relative;
        }

        .main-nav .nav-links a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            padding: 15px 20px;
            display: block;
            transition: all 0.3s ease;
            font-size: 14px;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .main-nav .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(243,228,11,0.8), rgba(243,228,11,0.6));
            transition: left 0.3s ease;
            z-index: -1;
        }

        .main-nav .nav-links a:hover::before {
            left: 0;
        }

        .main-nav .nav-links a:hover {
            color: #1f1d1a;
            transform: translateY(-2px);
        }
        
        .main-nav .nav-icons {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .main-nav .nav-icons i {
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            padding: 12px;
            transition: all 0.3s ease;
            border-radius: 50%;
            background: rgba(243,228,11,0.1);
            backdrop-filter: blur(10px);
        }

        .main-nav .nav-icons i:hover {
            color: #f3e40b;
            background: rgba(243,228,11,0.2);
            transform: scale(1.1) rotate(10deg);
        }

        .hamburger-icon {
            display: none;
        }
        
        /* Dropdown menu */
        .dropdown {
            position: relative;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background: linear-gradient(135deg, #1f1d1a, #36347e);
            min-width: 220px;
            box-shadow: 0px 8px 25px rgba(0,0,0,0.3);
            z-index: 1001;
            top: 100%;
            left: 0;
            border-radius: 8px;
            backdrop-filter: blur(15px);
        }
        
        .dropdown-content a {
            color: white !important;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            font-size: 13px;
            border-right: none !important;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }

        .dropdown-content a:last-child {
            border-bottom: none;
        }
        
        .dropdown-content a:hover {
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            color: #1f1d1a !important;
            transform: translateX(5px);
        }

        .dropdown:hover .dropdown-content {
            display: block;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            0% {
                opacity: 0;
                transform: translateY(-10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Menu */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1999;
            backdrop-filter: blur(5px);
        }

        .mobile-menu-overlay.show {
            display: block;
        }

        #mobile-menu {
            position: fixed;
            top: 0;
            left: -350px;
            width: 320px;
            height: 100%;
            background: linear-gradient(135deg, #36347e, #1f1d1a);
            z-index: 2000;
            overflow-y: auto;
            transition: left 0.3s ease;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        }

        #mobile-menu.show {
            left: 0;
        }

        .mobile-menu-header {
            background: linear-gradient(135deg, #1f1d1a, #36347e);
            padding: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(243,228,11,0.2);
        }

        .mobile-menu-header h3 {
            color: #fff;
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }
        
        #mobile-menu .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #mobile-menu .mobile-nav-links li {
            border-bottom: 1px solid rgba(243,228,11,0.1);
        }

        #mobile-menu .mobile-nav-links a {
            display: block;
            color: #fff;
            padding: 18px 25px;
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        #mobile-menu .mobile-nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(243,228,11,0.3), rgba(243,228,11,0.1));
            transition: left 0.3s ease;
        }

        #mobile-menu .mobile-nav-links a:hover::before {
            left: 0;
        }

        #mobile-menu .mobile-nav-links a:hover {
            color: #f3e40b;
            padding-left: 35px;
        }

        #mobile-menu .mobile-nav-links .sub-menu {
            display: none;
            background: linear-gradient(135deg, #1f1d1a, #36347e);
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #mobile-menu .mobile-nav-links .sub-menu a {
            padding-left: 50px;
            font-size: 14px;
            color: #f3e40b;
            font-weight: 400;
        }

        #mobile-menu .mobile-nav-links .sub-menu a:hover {
            color: #fff;
            padding-left: 60px;
        }

        #mobile-menu .mobile-nav-links .sub-menu.show {
            display: block;
            animation: slideDown 0.3s ease-out;
        }
        
        .close-btn {
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-btn:hover {
            background: rgba(243,228,11,0.1);
            transform: rotate(90deg);
        }

        /* Hero Section - Ultra Dynamic with Video Background */
        .hero {
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                135deg,
                rgba(54, 52, 126, 0.8),
                rgba(31, 29, 26, 0.7),
                rgba(54, 52, 126, 0.6)
            );
            z-index: 1;
        }

        .hero-overlay::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(31,29,26,0.2) 100%);
            animation: pulse-bg 4s ease-in-out infinite alternate;
        }

        @keyframes pulse-bg {
            0% { opacity: 0.2; }
            100% { opacity: 0.5; }
        }
        
        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 800px;
            padding: 40px;
            animation: slideUp 1s ease-out;
        }

        @keyframes slideUp {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-title {
            font-size: 3.5em;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(135deg, #fff, #f3e40b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: glow 3s ease-in-out infinite alternate;
        }

        @keyframes glow {
            0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
            100% { text-shadow: 2px 2px 20px rgba(243,228,11,0.5); }
        }

        .hero-subtitle {
            font-size: 1.3em;
            margin-bottom: 40px;
            font-weight: 300;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
            line-height: 1.6;
            animation: fadeIn 1.5s ease-out 0.5s both;
        }

        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            animation: slideUp 1.5s ease-out 1s both;
        }

        .hero-btn {
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .hero-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .hero-btn:hover::before {
            left: 100%;
        }

        .hero-btn.primary {
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            color: #1f1d1a;
            box-shadow: 0 8px 25px rgba(243,228,11,0.3);
        }

        .hero-btn.secondary {
            background: transparent;
            color: white;
            border: 2px solid #f3e40b;
            backdrop-filter: blur(10px);
        }

        .hero-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.2);
        }

        .hero-btn.primary:hover {
            box-shadow: 0 12px 35px rgba(243,228,11,0.4);
        }

        /* Content Sections - Modern and Dynamic */
        .content-section {
            padding: 80px 0;
            position: relative;
        }

        .content-section:nth-child(even) {
            background: linear-gradient(135deg, #f8f9fa, #f3f1f1);
        }

        .content-section:nth-child(odd) {
            background: #fff;
        }

        .section-title {
            font-size: 2.8em;
            color: #36347e;
            margin-bottom: 30px;
            font-weight: 700;
            text-align: center;
            position: relative;
            padding-bottom: 20px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            border-radius: 2px;
        }

        .section-description {
            font-size: 18px;
            max-width: 900px;
            margin: 0 auto 50px;
            color: #555;
            line-height: 1.8;
            text-align: center;
        }

        /* Core Functions Grid */
        .core-functions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .function-card {
            background: #fff;
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .function-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #36347e, #f3e40b);
        }

        .function-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }

        .function-card .icon {
            font-size: 3em;
            color: #36347e;
            margin-bottom: 20px;
            transition: transform 0.3s ease;
        }

        .function-card:hover .icon {
            transform: scale(1.1) rotate(5deg);
            color: #f3e40b;
        }

        .function-card h3 {
            font-size: 1.4em;
            color: #1f1d1a;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .function-card p {
            color: #666;
            line-height: 1.6;
        }

        /* App Links Section */
        .app-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .app-link {
            background: linear-gradient(135deg, #36347e, #5854a3);
            border-radius: 15px;
            padding: 30px 25px 25px 25px;
            text-align: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 200px;
        }

        .app-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(243,228,11,0.3), rgba(243,228,11,0.2));
            transition: left 0.3s ease;
        }

        .app-link:hover::before {
            left: 0;
        }

        .app-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }

        .app-link .icon {
            font-size: 2.5em;
            margin-bottom: 15px;
            display: block;
        }

        .app-link h3 {
            font-size: 1.3em;
            margin-bottom: 12px;
            font-weight: 600;
        }

        .app-link p {
            font-size: 13px;
            line-height: 1.4;
            margin-bottom: 20px;
            opacity: 0.9;
            flex-grow: 1;
            text-align: center;
        }

        .click-btn {
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            color: #1f1d1a;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-block;
            transition: all 0.3s ease;
            margin-top: auto;
            box-shadow: 0 4px 15px rgba(243,228,11,0.3);
        }

        .app-link:hover .click-btn {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(243,228,11,0.4);
        }

        /* News Grid - Enhanced */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .news-card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }

        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }
        
        .news-card .image-container {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        
        .news-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .news-card:hover img {
            transform: scale(1.05);
        }

        .news-card .date-box {
            position: absolute;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            color: #1f1d1a;
            padding: 12px 16px;
            border-radius: 12px;
            font-weight: bold;
            font-size: 12px;
            text-align: center;
            line-height: 1.2;
            box-shadow: 0 4px 15px rgba(243,228,11,0.3);
        }

        .news-card .category-tag {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(54,52,126,0.9);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .news-card .content {
            padding: 30px 25px;
        }
        
        .news-card h3 {
            margin: 0 0 15px 0;
            font-size: 1.3em;
            color: #1f1d1a;
            line-height: 1.4;
            font-weight: 600;
        }
        
        .news-card p {
            font-size: 15px;
            color: #666;
            margin: 0 0 20px 0;
            line-height: 1.6;
            text-align: left;
        }

        .news-card .read-more-btn {
            background: linear-gradient(135deg, #36347e, #5854a3);
            color: white;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .news-card .read-more-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            transition: left 0.3s ease;
        }

        .news-card .read-more-btn:hover::before {
            left: 0;
        }

        .news-card .read-more-btn:hover {
            color: #1f1d1a;
            transform: translateX(5px);
        }

        /* View More Button */
        .view-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #f3e40b, #e6d00a);
            color: #1f1d1a;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            margin-top: 40px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(243,228,11,0.3);
            position: relative;
            overflow: hidden;
        }

        .view-more-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .view-more-btn:hover::before {
            left: 100%;
        }

        .view-more-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(243,228,11,0.4);
        }

        .view-more-container {
            text-align: center;
            margin-top: 30px;
        }

        /* Partners Section - Carousel with Clickable Links */
        .partners-scroll-container {
            overflow: hidden;
            margin-top: 40px;
            position: relative;
            background: linear-gradient(135deg, #36347e, #1f1d1a);
            border-radius: 20px;
            padding: 40px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .partners-scroll-container::before,
        .partners-scroll-container::after {
            content: '';
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .partners-scroll-container::before {
            left: 0;
            background: linear-gradient(90deg, rgba(54,52,126,1), rgba(54,52,126,0));
        }

        .partners-scroll-container::after {
            right: 0;
            background: linear-gradient(90deg, rgba(54,52,126,0), rgba(54,52,126,1));
        }

        .partners-scroll {
            display: flex;
            animation: scroll 25s linear infinite;
            gap: 40px;
            align-items: center;
        }

        .partners-scroll:hover {
            animation-play-state: paused;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        .partner-logo {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 25px 35px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            height: 120px;
            min-width: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            border: 2px solid rgba(243,228,11,0.3);
            position: relative;
            overflow: hidden;
        }

        .partner-logo::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(243,228,11,0.1), rgba(243,228,11,0.05));
            transition: left 0.3s ease;
        }

        .partner-logo:hover::before {
            left: 0;
        }

        .partner-logo:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            border-color: #f3e40b;
            background: rgba(255,255,255,1);
        }

        .partner-logo a {
            display: block;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .partner-logo img {
            max-width: 160px;
            max-height: 60px;
            object-fit: contain;
            transition: all 0.3s ease;
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
        }

        .partner-logo:hover img {
            transform: scale(1.05);
            filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
        }

   /* Updated Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: #fff;
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.footer::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 100"><circle cx="20" cy="20" r="2" fill="%2347b649" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="%2347b649" opacity="0.1"><animate attributeName="opacity" values="0.1;0.4;0.1" dur="4s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="1" fill="%2347b649" opacity="0.1"><animate attributeName="opacity" values="0.1;0.2;0.1" dur="2s" repeatCount="indefinite"/></circle></svg>') repeat;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.footer-section h3.footer-title {
    color: #47b649;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #47b649;
    position: relative;
}

.footer-section h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #f3e40b;
}

.contact-details .org-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: #f3e40b;
}

.contact-details p {
    margin: 5px 0;
    line-height: 1.5;
    font-size: 14px;
}

.contact-numbers {
    margin-top: 15px;
}

.contact-numbers p {
    margin: 8px 0;
    font-size: 14px;
}

.contact-numbers strong {
    color: #47b649;
    margin-right: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #47b649;
    font-size: 10px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f3e40b;
    padding-left: 20px;
}

.footer-links a:hover::before {
    color: #f3e40b;
    transform: translateX(2px);
}

.business-hours .get-in-touch {
    font-weight: 600;
    color: #f3e40b;
    margin-bottom: 15px;
    font-size: 16px;
}

.business-hours p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.business-hours strong {
    color: #47b649;
}

.footer-social {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(71, 182, 73, 0.3);
    border-bottom: 1px solid rgba(71, 182, 73, 0.3);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(71, 182, 73, 0.1);
    border: 2px solid #47b649;
    border-radius: 50%;
    color: #47b649;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #47b649, #f3e40b);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a:hover {
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(71, 182, 73, 0.3);
}

.footer-bottom {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom-links {
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.footer-bottom-links a:hover {
    color: #47b649;
}

.footer-bottom-links .divider {
    color: #47b649;
    margin: 0 5px;
}

.copyright {
    font-size: 13px;
    color: #b0b0b0;
    margin: 0;
}

        /* Mobile Responsive - Updated with Header Fix */
        @media (max-width: 991px) {
            .main-nav .nav-links {
                display: none;
            }

            .hamburger-icon {
                display: block !important;
            }
            
            .main-nav .logo img {
                height: 60px;
            }

            .hero-title {
                font-size: 2.5em;
            }

            .hero-subtitle {
                font-size: 1.1em;
            }

            .section-title {
                font-size: 2.2em;
            }

            .core-functions-grid,
            .app-links-grid,
            .news-grid {
                grid-template-columns: 1fr;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 768px) {
            /* Mobile Header Fix */
            .top-header {
                padding: 8px 0;
            }
            
            .top-header .container {
                justify-content: center;
                flex-wrap: nowrap;
                gap: 8px;
                padding: 0 10px;
                overflow-x: auto;
            }
            
            .top-header .contact-info {
                gap: 6px;
                flex-wrap: nowrap;
            }
            
            .top-header .contact-info a {
                padding: 4px 6px;
                font-size: 12px;
                border-radius: 15px;
            }
            
            .top-header .contact-info i {
                margin-right: 0;
            }
            
            .gov-jamaica {
                padding: 5px 10px;
                font-size: 11px;
                border-radius: 20px;
                flex-shrink: 0;
                margin-left: 8px;
            }
            
            .jamaica-flag {
                height: 16px;
            }

            .hero {
                height: 70vh;
            }

            .hero-video {
                object-position: center center;
            }

            .hero-title {
                font-size: 2em;
            }

            .container {
                padding: 0 15px;
            }

            .content-section {
                padding: 60px 0;
            }

            .partners-scroll {
                animation-duration: 20s;
            }
            
            .partner-logo {
                min-width: 160px;
                height: 100px;
                padding: 20px 25px;
            }
            
            .partner-logo img {
                max-height: 50px;
                max-width: 120px;
            }

            /* Footer Mobile Styles */
            .footer {
                padding: 40px 0 20px 0;
            }
            
            .footer-main {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }

        /* Extra small screens */
        @media (max-width: 480px) {
            .top-header .contact-info {
                gap: 4px;
            }
            
            .top-header .contact-info a {
                padding: 3px 5px;
                font-size: 11px;
            }
            
            .gov-jamaica span {
                display: none; /* Hide text on very small screens */
            }
            
            .gov-jamaica {
                padding: 4px 8px;
            }

            .footer-main {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }
            
            .footer-links a {
                padding-left: 0;
            }
            
            .footer-links a::before {
                display: none;
            }
            
            .footer-links a:hover {
                padding-left: 0;
            }
            
            .social-icons {
                gap: 15px;
            }
            
            .footer-bottom-links a {
                display: block;
                margin: 5px 0;
            }
            
            .footer-bottom-links .divider {
                display: none;
            }
            
            .footer-section h3.footer-title {
                font-size: 16px;
            }
            
            .social-icons a {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
        }