/* NuvaCore Technologies CMS - Main Stylesheet */

/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Color Variables */
:root {
    --primary-blue: #4169E1; /* Royal Blue */
    --dark-blue: #1E3A8A; /* Navy */
    --accent-blue: #3B82F6; /* Bright Blue */
    --dark-bg: #0F172A; /* Slate */
    --light-text: #FFFFFF;
    --gray: #64748B;
    --light-gray: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Improved section spacing */
section {
    padding: 5rem 0;
}

section:first-of-type {
    padding-top: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    color: var(--dark-blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #2a4dcc);
    color: var(--light-text);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a4dcc, var(--dark-blue));
    border-color: var(--dark-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(-2px);
}

/* Glowing effect for buttons */
.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.6s;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    left: 120%;
}

/* Header */
.main-header {
    background-color: rgba(15, 23, 42, 0.9);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    color: var(--light-text);
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0;
}

.logo:hover {
    transform: scale(1.03);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.main-nav {
    display: flex;
    gap: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 30px;
    font-weight: 500;
    position: relative;
    letter-spacing: 0.5px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin: 0 0.25rem;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.main-nav a.active {
    background-color: var(--primary-blue);
}

.main-nav a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover:before,
.main-nav a.active:before {
    width: 70%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-text);
    background-color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-toggle:hover {
    background-color: var(--dark-blue);
    transform: translateY(-50%) rotate(90deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
}

.hero-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeSlide 1s ease-in-out;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Tech-inspired background elements */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(65, 105, 225, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(30, 58, 138, 0.2) 0%, transparent 50%);
    z-index: 1;
}

/* Hero Navigation Arrows */
.hero-prev,
.hero-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.hero-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.hero-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}



/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-blue) 100%);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text h2 {
    color: var(--dark-blue);
    margin-top: 2rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.stats-section {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

/* Services Page */
.services-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.services-intro h2 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #333;
}

.service-pricing {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 3px solid var(--primary-blue);
}

.price-range {
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pricing-model {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--dark-blue);
}

.service-detail {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #E2E8F0;
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
}

.service-detail ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-detail ul li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
}

/* Portfolio Section */
.portfolio-section {
    background-color: #ffffff;
}

.portfolio-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-section .section-header h2 {
    position: relative;
    padding-bottom: 1rem;
}

.portfolio-section .section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
}

/* Portfolio Page */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--light-text);
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--light-text);
    border-color: var(--primary-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 58, 138, 0.9);
    /* Navy with opacity */
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.portfolio-overlay p {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-small {
    padding: 0.5rem 1rem;
    background-color: var(--primary-blue);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: var(--dark-blue);
}

.testimonials-section {
    background-color: #f1f5f9;
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-author h4 {
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

/* Shop Page */
.shop-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.product-category {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-description {
    margin-bottom: 1rem;
    color: #333;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-price span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-blue);
}

.stock {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.in-stock {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.out-of-stock {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Team Section */
.team-section {
    background-color: #f1f5f9;
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-section .section-header h2 {
    position: relative;
    padding-bottom: 1rem;
}

.team-section .section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
}

/* Pricing Section */
.pricing-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.pricing-table {
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.pricing-table th {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-weight: 600;
}

.pricing-table tr:hover {
    background-color: #f8f9fa;
}

.pricing-table td:first-child {
    font-weight: 600;
    color: var(--dark-blue);
}

/* Team Page */
.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-intro h2 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    margin-bottom: 1.5rem;
    color: #333;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: var(--light-text);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-content .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    color: var(--primary-blue);
    background-color: var(--light-text);
    border: 1px solid var(--light-text);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-content .btn:hover {
    background-color: transparent;
    color: var(--light-text);
    transform: translateY(-3px);
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item h3 {
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.social-links h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: var(--light-text);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.required {
    color: var(--danger);
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--light-text);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.contact-info li i {
    margin-right: 0.75rem;
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

.map-section {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.map-container {
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Portfolio Detail Page */
.portfolio-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    margin: auto;
    max-width: 100%;
}

/* Slides */
.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Placeholder image */
.placeholder-image {
    width: 100%;
    height: 400px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-image p {
    font-size: 1.2rem;
    margin: 0;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot-container {
    text-align: center;
    padding: 20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: var(--primary-blue);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Key Features */
.key-features {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.key-features h3 {
    color: var(--dark-blue);
    margin-top: 0;
}

.key-features ul {
    list-style-type: none;
    padding-left: 0;
}

.key-features ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 1.5rem;
}

.key-features ul li:before {
    content: "•";
    color: var(--primary-blue);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.3rem;
}

.key-features ul li:last-child {
    border-bottom: none;
}

.portfolio-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-details ul {
    list-style: none;
    padding-left: 0;
}

.project-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.project-details ul li:last-child {
    border-bottom: none;
}

.project-details strong {
    color: var(--dark-blue);
}

.technologies {
    margin-top: 2rem;
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.add-to-cart-form {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-selector label {
    font-weight: 500;
}

.quantity-selector input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    text-align: center;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background-color: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .header-actions {
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-slide {
        min-height: 70vh;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .add-to-cart-form {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .portfolio-filter,
    .shop-filter {
        justify-content: flex-start;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    /* Additional responsive fixes */
    .services-grid,
    .portfolio-grid,
    .team-grid,
    .products-grid,
    .testimonials-grid,
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-slide {
        min-height: 60vh;
    }
    
    .hero-prev,
    .hero-next {
        padding: 10px;
        font-size: 16px;
    }
    
    .hero-dots {
        bottom: 10px;
    }
}

/* Features Section */
.features-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #495057;
    margin-bottom: 0;
}