/* ==========================================================================
   PARTH ENERGY SOLUTIONS - PREMIUM CORE STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #f89202;
    --primary-hover: #d97d02;
    --dark: #121824;
    --dark-muted: #1e293b;
    --light: #f8f9fa;
    --text: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--light);
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(248, 146, 2, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

header.sticky {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.logo img {
    height: 65px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    padding: 8px 0;
}

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

/* Dropdown Menu styling */
.nav-links li.dropdown > a::after {
    content: ' ▾';
    font-size: 12px;
    transition: var(--transition);
    display: inline-block;
}

.nav-links li.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 12px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark-muted);
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: 28px;
}

/* Hamburger Menu Button */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Sidebar */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    right: 0;
}

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

.mobile-nav-close {
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-links a {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
    display: block;
}

.mobile-links li.dropdown-mobile .mobile-submenu {
    list-style: none;
    padding-left: 16px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 2px solid var(--border);
}

.mobile-links li.dropdown-mobile .mobile-submenu a {
    font-size: 15px;
    color: var(--text-muted);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Page Header (Subpage Banner) */
.page-banner {
    background-color: var(--dark);
    background-image: linear-gradient(135deg, rgba(18, 24, 36, 0.95) 0%, rgba(30, 41, 59, 0.8) 100%), url('http://parthenergy.com/wp-content/uploads/2023/03/cta-bg2.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 80px 0;
    color: var(--white);
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 12px;
}

.breadcrumbs {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--primary);
}

/* Hero Section (Carousel) */
.hero {
    position: relative;
    height: 680px;
    margin-top: 100px;
    overflow: hidden;
    background-color: var(--dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding-left: 24px;
}

.slide-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.slide-title {
    font-size: 54px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.hero-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.hero-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Feature/Service Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(248, 146, 2, 0.3);
}

.card-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 24px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
}

/* About Intro Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text);
    margin-bottom: 20px;
}

.about-images-collage {
    position: relative;
    height: 480px;
}

.about-img-main {
    width: 60%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 5;
    position: relative;
}

.about-img-sub {
    position: absolute;
    width: 45%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img-sub-1 {
    top: 15%;
    right: 0;
    z-index: 4;
}

.about-img-sub-2 {
    bottom: 0;
    left: 25%;
    z-index: 6;
}

/* Client Marquee Banner */
.clients-marquee {
    padding: 60px 0;
    background-color: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

.marquee-track img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.marquee-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Step Workflow */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-item {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    position: relative;
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    color: rgba(248, 146, 2, 0.15);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.step-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 16px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Testimonials / Review Slider */
.testimonials-section {
    background-color: var(--light);
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 280px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(20px);
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--dark-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
}

.testimonial-author span {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Contact Details & Page Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    font-size: 24px;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(248, 146, 2, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer Section */
footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-gallery img {
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.footer-gallery img:hover {
    transform: scale(1.08);
}

.footer-bottom {
    border-top: 1px solid var(--dark-muted);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--dark-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary);
}

/* Scroll Up Button */
.scrollup {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scrollup.show {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
}

/* Client Page Cards styling */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.client-logo-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.client-logo-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.client-logo-card img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Downloand Page Layout */
.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.download-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.download-details {
    display: flex;
    align-items: center;
    gap: 24px;
}

.download-icon {
    font-size: 42px;
    color: var(--primary);
}

.download-title h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.download-title p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .burger {
        display: flex;
    }
    .hero {
        height: 520px;
    }
    .slide-title {
        font-size: 38px;
    }
    .grid-2, .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-3, .steps-grid, .footer-grid, .clients-grid {
        grid-template-columns: 1fr;
    }
    .slide-title {
        font-size: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
