/* ============================================
   AMIRA NETWORK - COMPLETE STYLESHEET
   ============================================ */

/* FORCE BLUE NAVBAR - OVERRIDE EVERYTHING - MUST BE FIRST */
nav.navbar,
.navbar,
header.navbar,
[class*="navbar"],
nav[class*="nav"],
body > nav,
body > header,
header[class*="nav"] {
    background: #2563eb !important;
    background-color: #2563eb !important;
    background-image: none !important;
}

/* Homepage specific override - force blue */
body.homepage nav.navbar,
body.homepage .navbar,
body.homepage header.navbar,
.index-page nav.navbar,
.index-page .navbar,
#homepage-nav,
.homepage .navbar {
    background: #2563eb !important;
    background-color: #2563eb !important;
    background-image: none !important;
}

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    padding-top: 70px;
}

/* Navigation */
.navbar {
    background: #2563eb !important;
    background-color: #2563eb !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    padding: 0 20px;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding: 3px 2px;
    text-align: center;
}

.logo-icon .element-symbol {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
    display: block;
    height: 24px;
}

.logo-icon .element-symbol .letter-a {
    font-size: 24px;
    display: inline-block;
    vertical-align: baseline;
}

.logo-icon .element-symbol .letter-n {
    font-size: 11px;
    display: inline-block;
    vertical-align: baseline;
    margin-left: 2px;
}

.logo-icon .element-text {
    font-size: 5.5px;
    line-height: 1.3;
    margin-top: 0px;
    text-align: center;
    display: block;
    letter-spacing: 0;
    white-space: normal;
    word-break: break-word;
    padding: 0 1px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu li a:hover {
    opacity: 0.8;
}

/* Contact Us Button - FIXED */
.nav-menu .btn-contact,
.btn-contact,
a.btn-contact,
.nav-menu a[href*="contact"] {
    background: var(--bg-white) !important;
    background-color: var(--bg-white) !important;
    color: var(--primary-color) !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s !important;
    border: 2px solid var(--primary-color) !important;
}

.nav-menu .btn-contact:hover,
.btn-contact:hover,
a.btn-contact:hover {
    background: var(--primary-color) !important;
    color: var(--bg-white) !important;
    opacity: 1 !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - FIXED BUTTON POSITIONING */
.hero {
    position: relative;
    height: 500px;
    overflow: visible;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-bottom: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
    text-align: center;
    color: var(--bg-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #f0f0f0;
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

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

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer - FIXED */
footer {
    background: var(--text-color) !important;
    background-color: #1f2937 !important;
    color: var(--bg-white);
    padding: 40px 0;
    text-align: left;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.footer-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer p {
    text-align: left;
    margin-top: 20px;
    color: var(--bg-white);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-icon .element-symbol .letter-a {
        font-size: 18px;
    }

    .logo-icon .element-symbol .letter-n {
        font-size: 8px;
        margin-left: 2px;
    }

    .logo-icon .element-text {
        font-size: 5px;
    }
}