/* Sleek Corporate Redesign - Red & Orange Theme */
:root {
    /* Color Palette: Bright Corporate with Red & Orange Accents */
    --bg-main: #FAFAFA; /* Off-white for a cleaner look */
    --bg-secondary: #FFFFFF; /* Pure white for cards */
    --text-main: #4A1515; /* Deep dark red instead of black */
    --text-muted: #8C4040; /* Muted reddish tone */
    
    /* Vibrant Accents */
    --accent-primary: #880000; /* Corporate Dark Red */
    --accent-secondary: #F57C00; /* Vibrant Orange */
    
    /* Elements */
    --border-color: #E0E0E0;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(211, 47, 47, 0.1);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Utilities */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #800000; /* Rich dark red */
}

.text-center { text-align: center; }
.accent { color: var(--accent-primary); }
.mt-2 { margin-top: 1rem; }

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Container & Grid Layouts */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-secondary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto 4rem;
}

/* Navigation: Corporate White Header */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 35px;
    text-decoration: none;
}

.logo img {
    height: 35px;
    width: 35px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #880000;
    white-space: nowrap;
}

.logo-text .accent {
    color: #F57C00;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
    z-index: -2;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    margin-right: auto;
    margin-left: 10%;
    padding: 2rem;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Page Header (for subpages) */
.page-header {
    margin-top: 80px;
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Corporate Card */
.corporate-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
}

.corporate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(211, 47, 47, 0.3);
}

/* About Section */
.about-features {
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.icon-check::before {
    content: '✓';
    color: var(--accent-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Products Section */
.light-bg {
    background-color: var(--bg-secondary);
}

.products-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.rounded-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 450px;
    box-shadow: var(--shadow-soft);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
}

/* Services Section */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border-bottom: 4px solid var(--accent-secondary);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-align: center;
    width: calc(33.333% - 1.34rem);
    min-width: 280px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent-primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding-top: 2rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.1rem;
}

.footer-col p, .network-list li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.network-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inline-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-inline-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-inline-links a:hover {
    color: var(--accent-primary);
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .grid-2, .products-layout {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-content { margin-left: 5%; padding-top: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { right: 0; }
    .menu-toggle { display: flex; z-index: 1001; }
    
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .hero-title { font-size: 2.3rem; }
    .stats-grid, .products-grid { grid-template-columns: 1fr; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
    
    .logo { gap: 10px; }
    .logo-text { font-size: 1.8rem; }
    .logo img { height: 30px !important; width: 30px !important; }
    
    /* Footer & Layout Mobile Fixes */
    .footer-header-flex { flex-direction: row !important; gap: 10px !important; }
    .footer-header-flex img { height: 30px !important; width: 30px !important; }
    .tagline-text { white-space: normal !important; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .footer-inline-links { justify-content: center; flex-wrap: wrap; margin-top: 10px; }
    .service-card { width: 100%; min-width: unset; }
}
