/* ============================================
   POWER FLOW SERVICES LTD - ENHANCED STYLESHEET WITH BOOTSTRAP
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s ease;
}

/* Bootstrap Custom Colors */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1f2937, #111827) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Backdrop Blur */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    animation: pulse 10s ease-in-out infinite;
}

/* Card Decoration */
.card-decoration::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

/* Animated Background */
.animated-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* CTA Background Animation */
.cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
}

/* Stat Badge */
.stat-badge {
    transition: transform 0.3s ease;
}

.stat-badge:hover {
    transform: scale(1.05);
}

/* Info Card */
.info-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.info-card:hover {
    border-left-color: var(--primary-color);
}

/* Icon Box */
.icon-box {
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: rotate(360deg);
}

/* Plan Decoration */
.plan-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

/* Feature Card */
.feature-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    border-top-color: var(--primary-color);
}

/* Service Card Enhanced */
.service-card .card-body {
    transition: all 0.3s ease;
}

.service-card:hover .card-body {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
}

/* Quick Contact Item */
.quick-contact-item {
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

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

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.logo-text {
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* LinkedIn / Social styling */
/* Target anchors we've labeled with aria for LinkedIn so styling applies without changing markup further */
.top-social-link[aria-label*="LinkedIn"],
.social-link[aria-label="LinkedIn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0077B5; /* LinkedIn brand color */
    color: #ffffff !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    text-decoration: none;
}

.top-social-link[aria-label*="LinkedIn"] i,
.social-link[aria-label="LinkedIn"] i {
    font-size: 0.95rem;
}

.top-social-link[aria-label*="LinkedIn"]:hover,
.social-link[aria-label="LinkedIn"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.25);
    opacity: 0.95;
}

.follow-text a {
    color: #0077B5;
    font-weight: 600;
}

.follow-text a:hover {
    color: #005983;
}

/* LinkedIn preview modal */
.linkedin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.linkedin-modal {
    background: var(--bg-white);
    color: var(--text-dark);
    width: 420px;
    max-width: calc(100% - 40px);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.4);
    padding: 22px;
    position: relative;
}

.linkedin-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

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

.linkedin-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px auto;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.linkedin-headline {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.linkedin-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.linkedin-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 480px) {
    .linkedin-modal { padding: 16px; }
    .linkedin-avatar { width: 72px; height: 72px; }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Plans Grid */
.plans-grid,
.plans-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.plan-card.featured {
    border: 3px solid var(--primary-color);
}

.plan-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.plan-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: white;
}

.plan-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-content {
    padding: 2rem;
}

.plan-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--success-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Service Detail Pages */
.service-detail {
    margin-bottom: 4rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-detail-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--success-color);
}

.service-detail-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Expertise Sections */
.expertise-section {
    margin-bottom: 4rem;
}

.expertise-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
}

.expertise-title i {
    font-size: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.expertise-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.expertise-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.expertise-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Products Page */
.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.products-section {
    margin-bottom: 4rem;
}

.products-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.products-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.products-title {
    font-size: 2rem;
    color: var(--text-dark);
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-description {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    min-height: 48px;
}

.product-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.product-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #374151;
}

.product-chip i {
    color: var(--primary-color);
}

.product-features {
    list-style: none;
    margin-top: 1rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-description {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-text p {
    margin: 0.25rem 0;
    color: var(--text-light);
}

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

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.mv-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mv-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.client-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.client-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.client-description {
    color: var(--text-light);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.team-name {
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.team-role {
    color: var(--text-light);
    padding: 0 1rem 1.5rem;
    margin: 0;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Image Gallery */
.image-gallery .gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.image-gallery .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-gallery .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.image-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Client Testimonials */
.testimonials .testimonial-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonials .testimonial-rating {
    text-align: center;
}

.testimonials .testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding: 0 20px;
}

.testimonials .testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.2;
}

.testimonials .testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonials .author-info {
    margin-left: 15px;
}

.testimonials .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonials .author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonials .testimonial-cta {
    border-radius: 15px;
}

/* Projects Page */
.project-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 15px;
    right: 15px;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-results h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.project-results ul li {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    line-height: 1;
}

.stat-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

/* Shopping Cart */
.nav-cart {
    margin-right: 1rem;
}

.cart-btn {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.cart-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Product Cards */
.product-price {
    margin: 0.75rem 0;
}

.product-price .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions .btn {
    flex: 1 1 30%;
    font-size: 0.85rem;
    padding: 0.375rem 0.5rem;
}

.product-details-modal-content {
    border: 0;
    border-radius: 14px;
}

.product-details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.product-main-image-wrap {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-main-image-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.product-thumb-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.detail-thumb {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: white;
    cursor: pointer;
}

.detail-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}

.product-details-header h2 {
    font-size: 1.65rem;
    margin-bottom: 0.25rem;
}

.product-details-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.product-meta-list {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.product-meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.product-meta-list li:last-child {
    border-bottom: 0;
}

.product-meta-list li span {
    color: var(--text-light);
}

.product-meta-list li strong {
    color: var(--text-dark);
    text-align: right;
}

.product-meta-list.compact {
    margin-top: 0.5rem;
}

.product-specs-block h6 {
    margin-bottom: 0.25rem;
}

.product-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.product-tag {
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.78rem;
}

/* Cart Modal */
.cart-item {
    background: var(--bg-light);
    transition: var(--transition);
}

.cart-item:hover {
    background: #e9ecef;
}

#invoice-section {
    padding: 30px;
    border: 2px solid #007bff;
    background-color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

#invoice-section h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #007bff;
    text-align: center;
}

#invoice-section p {
    margin: 8px 0;
    font-size: 16px;
    color: #333;
}

#invoice-section #invoice-number {
    font-weight: bold;
    font-size: 18px;
    color: #555;
}

#invoice-details {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#invoice-details p {
    margin: 5px 0;
    font-size: 15px;
}

#invoice-section button {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#invoice-section button:hover {
    background-color: #0056b3;
}

/* Cart page styles */
#cart-table input.cart-qty {
    padding: 4px 6px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    text-align: center;
}

#cart-table button.remove-item {
    padding: 4px 6px;
    font-size: 0.9rem;
}

#cart-items {
    overflow-x: auto;
}


/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

#checkout-form-container button {
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#checkout-form-container button:hover {
    background-color: #0056b3;
}

/* Responsive Layout for Cart and Checkout */
@media (max-width: 768px) {
    #cart-container > div:first-child {
        grid-template-columns: 1fr !important;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-details-layout {
        grid-template-columns: 1fr;
    }

    .product-main-image-wrap img {
        height: 250px;
    }
}
