/* Font imports - add these to your CSS */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@300;400;700&display=swap');

/* Section Headings with Comic Sans */
h2 {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding: 0 15px;
    line-height: 1.3;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

/* Add a fun wavy underline */
h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 6px;
    /* Create a wavy effect */
    clip-path: polygon(
      0% 0%, 10% 50%, 20% 0%, 30% 50%, 
      40% 0%, 50% 50%, 60% 0%, 70% 50%, 
      80% 0%, 90% 50%, 100% 0%, 100% 100%, 
      0% 100%
    );
    transition: transform 0.4s ease, background-color 0.4s ease;
}
/* Zoom effect on hover */
h1:hover {
    transform: scale(1.08) translateY(-3px); /* Zoom text */
}
h2:hover {
    transform: scale(1.08); /* Zoom text */
}
/* Zoom wave along with text */
/* h2:hover::after {
    transform: scale(1.08);
} */

.plain-heading {
    font-size: 36px;
    text-align: left;
    margin: 0;
    padding: 0;
    font-weight: normal;
    color: inherit;
    font-family: inherit;

    /* Disable all animations and transformations */
    transition: none !important;
    transform: none !important;
    animation: none !important;

    /* Remove any decorative ::after */
    position: static !important;
}

.plain-heading::after {
    content: none !important;
}

.plain-heading:hover {
    transform: none !important;
    transition: none !important;
}



/* Remove decorative ::after if inherited */
/* .plain-heading::after {
    content: none !important;
} */


/* Dark theme version */
.dark-theme h2 {
    color: var(--dark-text);
}


/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Theme Variables */
:root {
    --primary-color: #6a1b9a;
    --secondary-color: #ff6b6b;
    --light-bg: #ffffff;
    --dark-bg: #1a237e;
    --light-text: #333333;
    --dark-text: #ff9800;
    --light-card-bg: #f8f9fa;
    --dark-card-bg: #283593;
    --light-footer: #222222;
    --dark-footer: #0d1442;
    --light-hero-overlay: rgba(0,0,0,0.7);
    --dark-hero-overlay: rgba(26, 35, 126, 0.8);
}

.businnesshighlight {
    font-family: 'Poppins', sans-serif; /* Stylish font */
    font-weight: bold;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4); /* Highlight background */
    padding: 5px 10px;
    border-radius: 5px;
  }

  .smart-branding {
    align-items: flex-start;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: bolder;
    padding: clamp(5px, 1vw, 15px) clamp(10px, 2vw, 20px);
    border-radius: 5px;
    font-size: clamp(2rem, 8vw, 5rem); /* Much larger font size */
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    line-height: 0.9; /* Reduced line spacing */
}

/* Style for each word */
.smart-branding span {
    display: block;
    text-align: left;
    margin-bottom: -0.2em; /* Further reduce space between lines */
}

/* Medium screens */
@media screen and (max-width: 768px) {
    .smart-branding {
        font-size: clamp(1.8rem, 10vw, 4rem);
    }
}

/* Small screens */
@media screen and (max-width: 480px) {
    .smart-branding {
        font-size: clamp(1.5rem, 12vw, 3rem);
    }
}
/* Theme Classes */
.light-theme {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* Theme Toggle Button */
/* Theme Toggle Button */
.theme-toggle {
    position: static; /* Change from fixed to static */
    display: inline-block;
    margin-left: 15px; /* Add some spacing from Contact Us */
}

#themeToggle {
    padding: 8px; /* Make button smaller to fit just the icon */
    border-radius: 50%; /* Make button circular */
    width: 36px; /* Fixed width */
    height: 36px; /* Fixed height */
    display: flex; /* Center the icon */
    align-items: center;
    justify-content: center;
}

.toggle-text {
    display: none; /* Hide the text */
}

.toggle-icon {
    margin-right: 0; /* Remove margin since there's no text */
    font-size: 16px; /* Slightly larger icon */
}
.dark-theme #themeToggle {
    background-color: var(--dark-text);
    color: var(--dark-bg);
}

#themeToggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

.toggle-icon {
    margin-right: 0;
}

/* Header & Navigation */
header {
    background-color: var(--light-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.5s ease;
}

.dark-theme header {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.1s ease;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    transition: color 0.1s;
    padding: 5px 0;
}

.sign-nav-link {
    text-decoration: wavy;
    font-family: 'Poppins', sans-serif; /* Stylish font */
    font-weight: bold;
    background: linear-gradient(45deg, #484848, rgba(255, 255, 255, 0.859)); /* Highlight background */
    padding: 5px 10px;
    border-radius: 5px;    color: var(--primary-color);
    position: relative;
    transition: color 0.1s;
}

.dark-theme .nav-link {
    color: var(--dark-text);
}
.dark-theme .sign-nav-link {
    color:  var(--dark-text);
}

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

.nav-link:hover {
    color: var(--secondary-color);
}

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

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.1s;
}

.dark-theme .bar {
    background-color: var(--dark-text);
}

/* Hero Section */
.hero {
    position: relative;
    background: url('homewide2.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    transition: background 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark Overlay for Readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 80%;
}


/* Dark Theme - Hero Section */
.dark-theme .hero {
    background: url('homewide4.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    transition: background 0.5s ease;
}

/* Dark Theme Overlay */
.dark-theme .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darker overlay */
    z-index: 1;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-transform: uppercase;
}

/* Animation for Hero */
.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* AI Technology Section */
.ai-tech {
    padding: 50px 0;
    background-color: var(--light-card-bg);
    text-align: center;
    transition: background-color 0.5s ease;
}

.dark-theme .ai-tech {
    background-color: var(--dark-card-bg);
}

.ai-tech h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.counter {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,107,107,0.3);
}

/* Search Component Styles */
.search-container {
    margin: 20px auto;
    max-width: 600px;
}

.search-label {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.dark-theme .search-label {
    color: var(--dark-text);
}

.search-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#citySearchInput {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.1s ease;
}

.dark-theme #citySearchInput {
    border-color: var(--dark-text);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-bg);
}

#citySearchInput:focus {
    outline: none;
    box-shadow: 0 0 5px var(--secondary-color);
}

#citySearchInput.error {
    animation: shake 0.5s linear;
    border-color: red;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

#searchButton {
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.1s ease;
    text-transform: uppercase;
}

#searchButton:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.search-suggestions {
    position: absolute;
    width: calc(100% - 150px);
    max-width: 480px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dark-theme .search-suggestions {
    background-color: var(--dark-bg);
    border-color: var(--dark-text);
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.dark-theme .suggestion-item:hover {
    background-color: rgba(255, 152, 0, 0.2);
}

.counter-container {
    margin-top: 30px;
}

#customerCounter {
    font-size: clamp(2rem, 10vw, 80px);
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,107,107,0.3);
    transition: all 0.1s ease;
    line-height: 1.1;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 0 5px;
}

/* Additional responsive adjustments */
@media screen and (max-width: 768px) {
    #customerCounter {
        font-size: clamp(1.8rem, 8vw, 60px);
    }
}

@media screen and (max-width: 480px) {
    #customerCounter {
        font-size: clamp(1.5rem, 7vw, 40px);
    }
}

#customerCounter.updated {
    animation: highlight 1s ease;
}

@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #ff3d00; }
    100% { transform: scale(1); }
}

/* Make search container responsive */
@media (max-width: 768px) {
    .search-input-container {
        flex-direction: column;
    }
    
    #searchButton {
        width: 100%;
    }
    
    .search-suggestions {
        width: 100%;
    }
}
/* Font imports - add these to your CSS */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* MeGo Cards Section - Updated for dark theme compatibility */
.mego-cards {
    padding: 0px 0;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .mego-cards {
    background-color: var(--dark-bg);
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-text {
    width: 50%;
    text-align: left;
}

.card-images {
    width: 45%;
    text-align: center;
}

.mego-cards h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--primary-text-color, #14294b);
    letter-spacing: 1px;
}

.dark-theme .mego-cards h2 {
    color: var(--primary-text-color-dark, #e0e6f0);
}

.mego-cards h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--accent-color, #ff5a6e);
    line-height: 0.9;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.card-banner {
    background-color: #000;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.dark-theme .card-banner {
    background-color: #333;
}

.mego-cards h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    margin-bottom: 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tagline {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: var(--primary-text-color, #14294b);
    line-height: 1.2;
    letter-spacing: 0px;
}

.dark-theme .tagline {
    color: var(--primary-text-color-dark, #e0e6f0);
}

/* .card-image {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dark-theme .card-image {
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
} */

.scale-on-hover {
    transition: transform 0.1s ease;
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

.card-code {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--secondary-text-color, #333);
    margin-top: 5px;
}

.dark-theme .card-code {
    color: var(--secondary-text-color-dark, #cccccc);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-content {
        flex-direction: column;
    }
    
    .card-text, .card-images {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
}

/* 
/* MeGo Cards Section - Original Theme Maintained 
.mego-cards {
    padding: 0px 0;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .mego-cards {
    background-color: var(--dark-bg);
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-text {
    width: 50%;
    text-align: left;
}

.card-images {
    width: 45%;
    text-align: center;
}

.mego-cards h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #14294b;
}

.mego-cards h1 {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ff5a6e;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.card-banner {
    background-color: #000;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.mego-cards h3 {
    font-size: 24px;
    margin-bottom: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.tagline {
    font-size: 28px;
    color: #14294b;
    font-weight: bold;
    line-height: 1.2;
}

/* .card-image {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
} */
/* 
.scale-on-hover {
    transition: transform 0.1s ease;
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

.card-code {
    font-size: 12px;
    color: #333;
    margin-top: 5px;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-content {
        flex-direction: column;
    }
    
    .card-text, .card-images {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
} */

/* .card-image {
    max-width: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.dark-theme .card-image {
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
} */

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--light-card-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .products {
    background-color: var(--dark-card-bg);
}

.products h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.product-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 300px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.3s ease;
}

.dark-theme .product-card {
    background-color: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

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

.product-card h3 {
    padding: 20px;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    font-size: 20px;
}

.product-card .content {
    padding: 20px;
}

.product-card ul {
    list-style-position: inside;
    margin-bottom: 20px;
    text-align: left;
}

.product-card li {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.1s ease;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn:hover::before {
    left: 100%;
}

/* Benefits Section */
.benefits {
    padding: 50px 0;
    text-align: center;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .benefits {
    background-color: var(--dark-bg);
}

.benefits h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Create a separate container for second row */
.benefits-grid-row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px; /* Narrower than the first row to center it */
    margin: 20px auto 0; /* Top margin from first row, centered horizontally */
}

.benefit-item {
    background-color: var(--light-card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dark-theme .benefit-item {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.benefit-item img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    transition: transform 0.1s ease;
    margin-bottom: 10px;
}

.benefit-item h3 {
    margin: 10px 0;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

.benefit-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .benefits-grid, .benefits-grid-row-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .benefits-grid, .benefits-grid-row-2 {
        grid-template-columns: 1fr;
    }
}
/* 
/* Benefits Section 
.benefits {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}
.dark-theme .benefits {
    background-color: var(--dark-bg);
}
.benefits .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.benefits h2 {
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--primary-text-color, #14294b);
    text-align: center;
}
.dark-theme .benefits h2 {
    color: var(--primary-text-color-dark, #e0e6f0);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 180px);
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
    width: 100%;
}
/* Second row styling 
.benefits-grid .benefit-item:nth-child(5),
.benefits-grid .benefit-item:nth-child(6),
.benefits-grid .benefit-item:nth-child(7) {
    grid-row: 2;
}
/* Center the second row 
.benefits-grid .benefit-item:nth-child(5) {
    grid-column: 2;
}
.benefits-grid .benefit-item:nth-child(6) {
    grid-column: 3;
}
.benefits-grid .benefit-item:nth-child(7) {
    grid-column: 4;
}
.benefit-item {
    width: 180px;
    height: 180px;
    perspective: 1000px;
}
.benefit-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.benefit-item:hover .benefit-card {
    transform: rotateY(180deg);
}
.benefit-front, .benefit-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}
.benefit-front {
    background-color: var(--light-card-bg, #fff);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.dark-theme .benefit-front {
    background-color: var(--dark-card-bg, #333);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.benefit-back {
    background-color: var(--accent-color, #ff5a6e);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.benefit-front img {
    max-width: 80px;
    max-height: 80px;
    transition: transform 0.1s ease;
}
.benefit-back h3 {
    margin: 0 0 15px 0;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
}
.benefit-back p {
    margin: 0;
    font-size: 14px;
}
/* Responsive adjustments 
@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 180px);
    }
    
    /* Reset grid-column and grid-row for all items in responsive layout 
    .benefits-grid .benefit-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}
@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 180px;
    }
    
    .benefit-item {
        width: 180px;
        height: 180px;
    }
} 
*/
/*
/*Benefits Section
.benefits {
    padding: 50px 0;
    text-align: center;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .benefits {
    background-color: var(--dark-bg);
}

.benefits h2 {
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

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

.benefit-item {
    background-color: var(--light-card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.5s ease;
}

.dark-theme .benefit-item {
    background-color: var(--dark-card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.benefit-item img {
    align-content: center;
    transition: transform 0.1s ease;
}

.benefit-item h3 {
    margin: 15px 0;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 18px;
}
*/

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-card-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .testimonials {
    background-color: var(--dark-card-bg);
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 300px;
    padding: 20px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.5s ease;
}

.dark-theme .testimonial-card {
    background-color: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.testimonial-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-card p {
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.6;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .about-us {
    background-color: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.about-us h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.motto {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 20px;
    margin: 30px 0;
    text-transform: uppercase;
}

/* Why MEGO Section - Modern Layout */
.why-mego {
    padding: 80px 0;
    background-color: var(--light-card-bg);
    transition: background-color 0.5s ease;
}


.dark-theme .why-mego {
    background-color: var(--dark-card-bg);
}

.why-mego .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* .why-mego-title {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
} */

.why-mego-title span {
    color: #ff5a6e; 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 1100px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 0px;
}

.feature-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    height: auto;
    transition: transform 0.1s ease;
}

.feature-text {
    flex-grow: 1;
}

.feature-text h3 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-description {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

/* Feature hover effect */
.feature-item:hover .feature-icon img {
    transform: scale(1.1);
}


/* Responsive adjustments */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-mego-title {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .why-mego-title {
        font-size: 32px;
    }
}
/* 
/* Why Us Section 
.why-us {
    padding: 80px 0;
    background-color: var(--light-card-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .why-us {
    background-color: var(--dark-card-bg);
}

.why-us h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.features-list {
    max-width: 600px;
    margin: 0 auto;
    list-style-type: none;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    text-transform: uppercase;
    transition: transform 0.1s ease;
}

.features-list li:hover {
    transform: translateX(5px);
}

.features-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
} */
/* OUR IMPACT Section */
.our-impact {
    padding: 80px 0;
    background-color: var(--light-bg);
    transition: background-color 0.5s ease;
}

.dark-theme .our-impact {
    background-color: var(--dark-bg);
}
.our-impact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* .impact-title {
    text-align: center;
    font-family: 'Archivo Black', sans-serif;
    font-size: 50px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
} */

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.impact-item {
    padding: 20px;
}

.impact-icon {
    height: 180px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.impact-category {
    font-family: 'Archivo', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.impact-stat {
    font-family: 'Archivo', sans-serif;
    font-size: 24px;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-title {
        font-size: 40px;
    }
    
    .impact-category {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-title {
        font-size: 32px;
    }
    
    .impact-icon {
        height: 150px;
    }
}


/* Contact Section */
.contact {
    padding: 40px 0;
    background-color: #333;
    color: white;
    text-align: left;
    transition: background-color 0.5s ease;
}

.dark-theme .contact {
    background-color: var(--dark-footer);
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: left;
}

.contact-info p, .contact-info a {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.6;
    color: white;
    text-decoration: none;
    transition: transform 0.1s ease, color 0.1s ease;
    display: block;
}

.contact-phone, .contact-email {
    font-size: 24px;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.hashtag {
    margin: 25px 0;
    font-weight: bold;
    font-size: 22px;
    color: var(--secondary-color);
    transition: transform 0.1s ease;
}

.hashtag:hover {
    transform: scale(1.1);
}

.contact-address {
    max-width: 80%;
}

.contact-logo {
    flex: 0 0 auto;
    margin-left: 30px;
}

.contact-logo img {
    max-width: 150px;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-logo {
        margin-left: 0;
        margin-top: 30px;
        align-self: flex-end;
    }
    
    .contact-address {
        max-width: 100%;
    }
}
/* Footer */
footer {
    background-color: var(--light-footer);
    color: white;
    padding: 20px 0;
    text-align: center;
    transition: background-color 0.5s ease;
}

.dark-theme footer {
    background-color: var(--dark-footer);
}

/* Image Hover Effects */
.scale-on-hover:hover {
    transform: scale(1.05);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-bg);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
        padding: 20px 0;
    }
    
    .dark-theme .nav-links {
        background-color: var(--dark-bg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
