/* ===================================
   Muna Energy - Main Stylesheet
   Brand Colors:
   Primary: #233dff
   Secondary: #bc1823
   Accent: #ffd700
   White: #e7e8ee
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #233dff;
    --secondary-color: #bc1823;
    --accent-color: #ffd700;
    --white-color: #e7e8ee;
    --dark-color: #1a1a2e;
    --gray-color: #6c757d;
    --light-gray: #f8f9fa;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--gray-color);
}

/* ===================================
   UTILITIES
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section.bg-primary-light {
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.03) 0%, rgba(35, 61, 255, 0.08) 100%);
    position: relative;
}

.section.bg-accent-light {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.12) 100%);
}

.section.bg-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white-color);
}

.section.bg-dark h2,
.section.bg-dark h3,
.section.bg-dark h4 {
    color: #ffffff;
}

.section.bg-dark p {
    color: rgba(231, 232, 238, 0.9);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #d41f2a);
    color: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(188, 24, 35, 0.3);
}

.btn-primary:hover {
    background: #ffffff;
    color: var(--secondary-color);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    color: var(--dark-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    color: var(--dark-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-accent:hover {
    background: var(--dark-color);
    color: var(--accent-color);
    border-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 26, 46, 0.4);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header.scrolled .nav-link {
    color: var(--dark-color);
}

.header.scrolled .mobile-toggle span {
    background: var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    max-width: 140px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.header.scrolled .nav-link::after {
    background: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.75), rgba(35, 61, 255, 0.7), rgba(188, 24, 35, 0.65)),
                url('../assets/images/Image 1 — Main Hero Background.png') center/cover no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
    padding-top: 100px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease;
    padding: 0 20px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    margin-bottom: 1.8rem;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    font-style: italic;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero p {
    color: var(--white-color);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    margin-bottom: 2.8rem;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* ===================================
   ABOUT PREVIEW SECTION
   =================================== */
.about-preview {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    z-index: -1;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(35, 61, 255, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/Image 22 — Pattern Background.png') center/cover;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(35, 61, 255, 0.15);
}

.team-image {
    height: 350px;
    overflow: hidden;
    background: var(--light-gray);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.team-contact {
    margin-top: 1rem;
}

.team-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.team-contact a {
    color: var(--primary-color);
}

.team-contact a:hover {
    text-decoration: underline;
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-section {
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2d9e 50%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(35, 61, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(35, 61, 255, 0.4);
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-size: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.info-item:hover .info-icon {
    transform: scale(1.2) rotate(5deg);
}

.info-text p {
    color: var(--white-color);
    margin: 0;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(35, 61, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(35, 61, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(35, 61, 255, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-success.show {
    display: block;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(231, 232, 238, 0.1);
}

.footer-bottom p {
    color: var(--white-color);
    font-size: 0.9rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.95), rgba(188, 24, 35, 0.9)),
                url('../assets/images/Image 3 — Energy Wave Abstract.png') center/cover;
    color: #ffffff;
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 2rem;
}

.cta-section p {
    color: var(--white-color);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .logo {
        max-width: 140px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   IMAGE SLIDER
   =================================== */
.image-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
    text-align: center;
}

.slide-caption h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    color: var(--white-color);
    font-size: 1rem;
    margin: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* ===================================
   SECTION DIVIDERS & DECORATIVE ELEMENTS
   =================================== */
.section-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.section-divider.wave {
    height: 60px;
}

.section-divider.wave::before {
    background: var(--light-gray);
    clip-path: ellipse(130% 60% at 50% 40%);
}

.section-divider.angle {
    height: 60px;
}

.section-divider.angle::before {
    background: var(--light-gray);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-divider.diagonal {
    height: 50px;
}

.section-divider.diagonal::before {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
}

/* Geometric Decorative Elements */
.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.05;
    z-index: 0;
}

.geometric-shape {
    position: absolute;
    border: 2px solid currentColor;
}

.circle-accent {
    width: 200px;
    height: 200px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    position: absolute;
    opacity: 0.15;
}

.square-accent {
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    position: absolute;
    opacity: 0.1;
    transform: rotate(45deg);
}

.triangle-accent {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid var(--secondary-color);
    position: absolute;
    opacity: 0.08;
}

/* Pattern Overlays */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    pointer-events: none;
    z-index: 1;
}

.dots-pattern {
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===================================
   PAGE SPECIFIC STYLES
   =================================== */

/* About Page */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(35, 61, 255, 0.25);
}

.value-item > * {
    position: relative;
    z-index: 1;
}

.value-item:hover h4,
.value-item:hover p,
.value-item:hover .value-icon {
    color: #ffffff;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.2);
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

/* Why Choose List Styles */
.why-choose-list {
    list-style: none;
    padding: 0;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.why-choose-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(35, 61, 255, 0.15);
    background: linear-gradient(135deg, #ffffff, rgba(35, 61, 255, 0.05));
}

.why-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.why-choose-item:hover .why-icon {
    transform: scale(1.2) rotate(5deg);
}

.why-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Stations Page */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.station-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.station-card:hover {
    box-shadow: 0 20px 50px rgba(35, 61, 255, 0.15);
    transform: translateY(-5px);
}

.station-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Map Section */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Header (for inner pages) */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.9), rgba(188, 24, 35, 0.8));
    color: #ffffff;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.88), rgba(188, 24, 35, 0.85));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.4);
}

.page-header p {
    color: var(--white-color);
    font-size: 1.25rem;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Specific Page Headers */
.page-header.about-header {
    background-image: url('../assets/images/Image 4 — Corporate Team Working.png');
}

.page-header.services-header {
    background-image: url('../assets/images/Image 7 — Filling Stations.png');
}

.page-header.team-header {
    background-image: url('../assets/images/Image 15 — Team Group Photo.png');
}

.page-header.stations-header {
    background-image: url('../assets/images/Image 17 — Multiple Station Shots.png');
}

.page-header.contact-header {
    background-image: url('../assets/images/Image 19 — Head Office Exterior.png');
}
