/* Base Styles */
:root {
    --primary-color: #2563eb;    /* Vibrant blue */
    --secondary-color: #f59e0b;  /* Warm orange */
    --dark-color: #1e293b;      /* Deep navy */
    --light-color: #f8fafc;     /* Soft white */
    --success-color: #10b981;   /* Fresh green */
    --danger-color: #ef4444;    /* Bright red */
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.btn {
    display: inline-block;
    background: var(--secondary-color); /* Changed from primary to secondary color */
    color: var(--dark-color); /* Changed from white to dark color */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.btn:hover {
    background: #e69500; /* Darker shade of secondary color */
    color: var(--dark-color);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: calc(100% - 40px);
    height: 2px;
    background: var(--dark-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: scaleX(1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Current */
    .header {
        padding: 20px 0;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }
    
    /* Suggested Improvement */
    .header {
        position: sticky;
        top: 0;
        padding: 1.25rem 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    color: #1e293b; /* Use dark text for better contrast */
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: var(--light-color); /* Soft white background */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/jinggo-cell-back-background.jpg');
    background-size: cover;           /* Ensures the image covers the area */
    background-position: center;      /* Centers the image */
    background-repeat: no-repeat;
    background-attachment: scroll;    /* Prevents fixed background on mobile */
    opacity: 0.5;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(245, 158, 11, 0.15), rgba(37, 99, 235, 0.10)); /* Soft orange/blue overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff; /* Pure white for clarity */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff; /* Pure white for clarity */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 30px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* WhatsApp Button */
.whatsapp-button {
    display: block;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 30px auto;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.whatsapp-button i {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 9999; /* Ensure menu is above other content */
    }

    .nav-menu.active {
        left: 0 !important; /* Ensure this overrides previous left */
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Map Container */
.map-container {
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    display: flex;
    justify-content: center;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Service Highlights Section */
.service-highlights {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.highlight-card p {
    margin-bottom: 20px;
    color: #666;
}

.highlight-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.highlight-link:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.highlight-link:hover:after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Logo Animation */
.logo.animated {
    transition: transform 0.3s ease;
}

.logo.animated:hover {
    transform: scale(1.05);
}

/* Navigation Link Animations */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Service Card Animations - Enhanced */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* BNI Agent Service Highlight */
.service-card.bni-agent {
    border-left: 4px solid #F05A28;
}

.service-card.bni-agent i {
    color: #F05A28;
}

.service-card.bni-agent:hover {
    background-color: #FFF9F5;
}

/* WhatsApp Button Animation - Enhanced */
.whatsapp-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-button::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.7s ease;
}

.whatsapp-button:hover::before {
    left: 100%;
}

/* Image enhancement for store front image */
.about-image img[src*="jinggo-cell-store-front.jpg"] {
  filter: saturate(1.2) contrast(1.1) brightness(0.95);
  transition: all 0.3s ease;
}

.about-image img[src*="jinggo-cell-store-front.jpg"]:hover {
  filter: saturate(1.3) contrast(1.15) brightness(1);
}

/* Responsive Image */
.img-responsive {
    max-width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.img-responsive:hover {
    opacity: 0.9;
}

/* Hero Section Enhanced */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    background: var(--primary-color); /* Added solid color background */
}

.hero-background {
    display: none; /* Hide the background element completely */
}

.hero-content {
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Card Colors */
.service-card:nth-child(1) {
    border-top: 4px solid #4CAF50; /* Green for Pulsa & Paket Data */
}

.service-card:nth-child(2) {
    border-top: 4px solid #2196F3; /* Blue for Transfer Uang */
}

.service-card:nth-child(3) {
    border-top: 4px solid #FF5722; /* Deep Orange for Tarik Tunai */
}

.service-card:nth-child(4) {
    border-top: 4px solid #9C27B0; /* Purple for Topup E-Wallet */
}

.service-card:nth-child(5) {
    border-top: 4px solid #FFC107; /* Amber for Pembayaran Tagihan */
}

.service-card:nth-child(6) {
    border-top: 4px solid #795548; /* Brown for Warung Kelontong */
}

.service-card:nth-child(1) i { color: #4CAF50; }
.service-card:nth-child(2) i { color: #2196F3; }
.service-card:nth-child(3) i { color: #FF5722; }
.service-card:nth-child(4) i { color: #9C27B0; }
.service-card:nth-child(5) i { color: #FFC107; }
.service-card:nth-child(6) i { color: #795548; }

/* BNI Agent styling - already has left border */
.service-card.bni-agent {
    border-top: none;
    border-left: 4px solid #F05A28;
    position: relative;
    overflow: hidden;
}

.service-card.bni-agent i {
    color: #F05A28;
}

.service-card.bni-agent:hover {
    background-color: #FFF9F5;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card:nth-child(1):hover { background-color: rgba(76, 175, 80, 0.05); }
.service-card:nth-child(2):hover { background-color: rgba(33, 150, 243, 0.05); }
.service-card:nth-child(3):hover { background-color: rgba(255, 87, 34, 0.05); }
.service-card:nth-child(4):hover { background-color: rgba(156, 39, 176, 0.05); }
.service-card:nth-child(5):hover { background-color: rgba(255, 193, 7, 0.05); }
.service-card:nth-child(6):hover { background-color: rgba(121, 85, 72, 0.05); }

/* BRI Link Agent styling */
.service-card.bri-link {
    border-top: none;
    border-left: 4px solid #00529C;
    position: relative;
    overflow: hidden;
}

.service-card.bri-link i {
    color: #00529C;
}

.service-card.bri-link:hover {
    background-color: #F0F7FF;
}

.service-card.bri-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.service-card.bri-link:hover::after {
    opacity: 0.4;
}

/* Optional: For extra mobile responsiveness */
@media (max-width: 768px) {
    .hero::before {
        background-attachment: scroll;
        background-position: center center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Map Container */
.map-container {
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    display: flex;
    justify-content: center;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Service Highlights Section */
.service-highlights {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.highlight-card p {
    margin-bottom: 20px;
    color: #666;
}

.highlight-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.highlight-link:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.highlight-link:hover:after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Logo Animation */
.logo.animated {
    transition: transform 0.3s ease;
}

.logo.animated:hover {
    transform: scale(1.05);
}

/* Navigation Link Animations */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Service Card Animations - Enhanced */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* BNI Agent Service Highlight */
.service-card.bni-agent {
    border-left: 4px solid #F05A28;
}

.service-card.bni-agent i {
    color: #F05A28;
}

.service-card.bni-agent:hover {
    background-color: #FFF9F5;
}

/* WhatsApp Button Animation - Enhanced */
.whatsapp-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-button::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.7s ease;
}

.whatsapp-button:hover::before {
    left: 100%;
}

/* Image enhancement for store front image */
.about-image img[src*="jinggo-cell-store-front.jpg"] {
  filter: saturate(1.2) contrast(1.1) brightness(0.95);
  transition: all 0.3s ease;
}

.about-image img[src*="jinggo-cell-store-front.jpg"]:hover {
  filter: saturate(1.3) contrast(1.15) brightness(1);
}

/* Responsive Image */
.img-responsive {
    max-width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.img-responsive:hover {
    opacity: 0.9;
}

/* Hero Section Enhanced */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    background: var(--primary-color); /* Added solid color background */
}

.hero-background {
    display: none; /* Hide the background element completely */
}

.hero-content {
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Card Colors */
.service-card:nth-child(1) {
    border-top: 4px solid #4CAF50; /* Green for Pulsa & Paket Data */
}

.service-card:nth-child(2) {
    border-top: 4px solid #2196F3; /* Blue for Transfer Uang */
}

.service-card:nth-child(3) {
    border-top: 4px solid #FF5722; /* Deep Orange for Tarik Tunai */
}

.service-card:nth-child(4) {
    border-top: 4px solid #9C27B0; /* Purple for Topup E-Wallet */
}

.service-card:nth-child(5) {
    border-top: 4px solid #FFC107; /* Amber for Pembayaran Tagihan */
}

.service-card:nth-child(6) {
    border-top: 4px solid #795548; /* Brown for Warung Kelontong */
}

.service-card:nth-child(1) i { color: #4CAF50; }
.service-card:nth-child(2) i { color: #2196F3; }
.service-card:nth-child(3) i { color: #FF5722; }
.service-card:nth-child(4) i { color: #9C27B0; }
.service-card:nth-child(5) i { color: #FFC107; }
.service-card:nth-child(6) i { color: #795548; }

/* BNI Agent styling - already has left border */
.service-card.bni-agent {
    border-top: none;
    border-left: 4px solid #F05A28;
    position: relative;
    overflow: hidden;
}

.service-card.bni-agent i {
    color: #F05A28;
}

.service-card.bni-agent:hover {
    background-color: #FFF9F5;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card:nth-child(1):hover { background-color: rgba(76, 175, 80, 0.05); }
.service-card:nth-child(2):hover { background-color: rgba(33, 150, 243, 0.05); }
.service-card:nth-child(3):hover { background-color: rgba(255, 87, 34, 0.05); }
.service-card:nth-child(4):hover { background-color: rgba(156, 39, 176, 0.05); }
.service-card:nth-child(5):hover { background-color: rgba(255, 193, 7, 0.05); }
.service-card:nth-child(6):hover { background-color: rgba(121, 85, 72, 0.05); }

/* BRI Link Agent styling */
.service-card.bri-link {
    border-top: none;
    border-left: 4px solid #00529C;
    position: relative;
    overflow: hidden;
}

.service-card.bri-link i {
    color: #00529C;
}

.service-card.bri-link:hover {
    background-color: #F0F7FF;
}

.service-card.bri-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.service-card.bri-link:hover::after {
    opacity: 0.4;
}

/* Error 404 Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    padding: 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-message {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.error-description {
    color: #666;
    margin-bottom: 40px;
}

.back-home {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-home:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 576px) {
    .error-title {
        font-size: 6rem;
    }
    
    .error-message {
        font-size: 1.2rem;
    }
}
#home, #services, #about, #contact {
  scroll-margin-top: 80px; /* Adjust as needed */
}
