/* Enhanced High-Visibility Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-medium: #555555;
    --background-light: #ffffff;
    --background-dark: #2c3e50;
    --border-color: #e1e8ed;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    font-weight: 400;
}

/* Navigation Enhancements */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-menu>li>a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu>li>a:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--border-color);
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--secondary-color);
    padding-left: 2rem;
}

/* Hero Section - Premium Gradient */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    color: var(--text-light);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Section - Premium Soft Gradient */
.hero {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
    color: var(--text-dark);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.hero::after {
    display: none;
}

.hero h1 {
    color: #1a202c !important;
    /* Deep charcoal for sharp contrast */
    text-shadow: none;
    margin-bottom: 0.5rem;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    color: #4a5568 !important;
    /* Slate gray for elegance */
    text-shadow: none;
    opacity: 1;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Cards - Clean Modern Look */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-color: rgba(52, 152, 219, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Base Content Sections */
.content-section {
    padding: 8rem 2rem;
    /* Increased padding for airy feel */
    background: #ffffff;
    position: relative;
}

.content-section:nth-child(even) {
    background: #f8fafc;
    /* Very subtle blue-gray for depth */
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 5rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Contact Section Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-card a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    line-height: 1.8;
    text-decoration: none;
    font-size: 1rem;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: var(--text-dark);
        margin: 3px 0;
        transition: 0.3s;
    }
}

/* Product Showcase Slideshow */
.product-showcase {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header .btn {
    margin-top: 1rem;
}

.slideshow-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: #1a365d;
}

.slideshow {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-caption {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a4a 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.slide-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #90EE90;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.slide-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 1rem;
}

.slide-nav.next {
    right: 1rem;
}

.slide-dots {
    text-align: center;
    padding: 1rem;
    background: #1a365d;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #90EE90;
}

@media (max-width: 768px) {
    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h3 {
        font-size: 1.1rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .slide-nav {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

/* Premium Form Styles */
.contact-section {
    padding: 6rem 2rem;
    background: #f8fafc;
    min-height: 80vh;
    /* Ensure it takes up space */
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    /* Soft, deep shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-container h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-container p.subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding-left: 0.2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #fdfdfd;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    /* Soft focus ring */
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e1;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.3);
    background: linear-gradient(135deg, #34495e 0%, var(--primary-color) 100%);
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
    }
}