/* ==========================================================================
   Mnet Technologies Pvt. Ltd. - Master Stylesheet
   ========================================================================== */

/* Core Brand Color Scheme & Variables */
:root {
    --primary-color: #0d7a4b;      /* Mnet Emerald Green */
    --primary-dark: #095936;       /* Darker Emerald for hovers */
    --secondary-color: #1a252f;    /* Corporate Dark Slate */
    --whatsapp-green: #25D366;     /* Official WhatsApp Brand Color */
    --light-bg: #f8f9fa;           /* Off-white background */
    --card-bg: #ffffff;            /* White container background */
    --text-color: #333333;         /* Primary text color */
    --text-muted: #666666;        /* Secondary muted text */
    --border-color: #e2e8f0;       /* Light border tone */
    --transition: all 0.3s ease;   /* Smooth default transition */
}

/* Global Reset & Base Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { 
    text-align: center; 
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

/* Image Logo Styles */
.site-logo {
    height: 55px; 
    width: auto;  
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { 
    margin-left: 25px; 
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover { 
    color: var(--primary-color); 
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--card-bg) !important;
    padding: 10px 22px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary:hover { 
    background-color: var(--primary-dark); 
}

.btn-secondary {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, rgba(13, 122, 75, 0.9), rgba(26, 37, 47, 0.95)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--card-bg);
    padding: 140px 0;
    text-align: center;
}

.hero-content h1 { 
    font-size: 42px; 
    margin-bottom: 20px; 
    font-weight: 700; 
    line-height: 1.2;
}

.hero-content p { 
    font-size: 18px; 
    max-width: 750px; 
    margin: 0 auto 30px auto; 
    opacity: 0.95; 
}

/* ==========================================================================
   Section Headers & Common Elements
   ========================================================================== */
section { 
    padding: 80px 0; 
}

.section-title { 
    text-align: center; 
    margin-bottom: 50px; 
}

.section-title h2 { 
    font-size: 32px; 
    color: var(--secondary-color); 
    margin-bottom: 10px; 
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section { 
    background-color: var(--card-bg); 
}

.about-text p { 
    font-size: 16px; 
    margin-bottom: 20px; 
    color: #4a5568; 
    text-align: justify; 
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section { 
    background-color: var(--light-bg); 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-card .icon { 
    font-size: 35px; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}

.service-card h3 { 
    margin-bottom: 12px; 
    font-size: 19px; 
    color: var(--secondary-color); 
}

.service-card p { 
    font-size: 14.5px; 
    color: var(--text-muted); 
}

/* ==========================================================================
   Solutions & Offerings Section
   ========================================================================== */
.solutions-section { 
    background-color: var(--card-bg); 
}

.solutions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 40px;
}

.solution-block {
    background-color: var(--light-bg);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.solution-block h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.solution-block ul { 
    list-style: none; 
}

.solution-block ul li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 22px;
    font-size: 15px;
}

.solution-block ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================================================
   Clients & Brands Section
   ========================================================================== */
.clients-section {
    background-color: #f4f7f6;
    padding: 80px 0;
}

.brand-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.brand-card:hover {
    box-shadow: 0 15px 35px rgba(13, 122, 75, 0.08);
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.brand-icon {
    font-size: 28px;
    color: var(--primary-color);
    background: rgba(13, 122, 75, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.brand-header h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin: 0;
    font-weight: 700;
}

.sub-text {
    color: #888;
    font-size: 13.5px;
    margin-top: 2px;
}

/* Client Pills */
.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    user-select: none;
}

.client-tag {
    background-color: var(--light-bg);
    color: #2c3e50;
    border: 1px solid var(--border-color);
}

.client-tag i {
    font-size: 12px;
    color: var(--primary-color);
}

.client-tag:hover {
    background-color: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 122, 75, 0.3);
}

.client-tag:hover i {
    color: var(--card-bg);
}

/* Brand Grid Logo Cards */
.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    padding-top: 10px;
}

.brand-logo-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.brand-logo-item img {
    height: 32px;
    width: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
}

.brand-fallback-icon {
    font-size: 26px;
    color: #64748b;
    transition: all 0.3s ease;
}

.brand-logo-item span {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.brand-logo-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(13, 122, 75, 0.12);
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brand-logo-item:hover .brand-fallback-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.brand-logo-item:hover span {
    color: var(--primary-color);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section { 
    background-color: var(--secondary-color); 
    color: var(--card-bg); 
}

.contact-section .section-title h2 { 
    color: var(--card-bg); 
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.contact-info h3, 
.contact-directors h3 { 
    margin-bottom: 20px; 
    font-size: 22px; 
    color: var(--card-bg); 
}

.contact-info p { 
    margin-bottom: 15px; 
    font-size: 15px; 
    opacity: 0.9; 
}

.contact-info i { 
    margin-right: 10px; 
    color: var(--primary-color); 
    font-size: 16px; 
}

.contact-directors ul { 
    list-style: none; 
}

.contact-directors ul li {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 6px;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-directors i { 
    color: var(--primary-color); 
    margin-right: 6px; 
    margin-top: 5px; 
}

/* WhatsApp Icon Accent */
.fa-whatsapp {
    color: var(--whatsapp-green) !important;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer {
    background-color: #111a22;
    padding: 25px 0;
    color: #aaa;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Responsive Mobile Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .solutions-container { 
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 768px) {
    .navbar { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links { 
        margin-top: 10px; 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    
    .nav-links li { 
        margin: 8px 12px; 
    }
    
    .hero-content h1 { 
        font-size: 30px; 
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .brand-card {
        padding: 22px;
    }
    
    .tag-pill {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .brand-logo-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}