:root {
    --primary-blue: #003366;
    --accent-blue: #0066cc;
    --light-blue: #4d94ff;
    --background-blue: #f0f7ff;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 51, 102, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Professional Transparent Navigation Bar */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(0, 51, 102, 0.85); /* Semi-transparent blue */
    backdrop-filter: blur(10px); /* Glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Solid header when scrolled */
header.scrolled {
    background: rgba(0, 51, 102, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: 45px;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
}

.logo-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text span {
    color: var(--light-blue);
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px; /* Reduced from 35px */
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.nav-links a:hover {
    color: var(--light-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active navigation link */
.nav-links a.active {
    color: var(--light-blue);
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Carousel - Seamless with transparent nav */
.hero-carousel {
    height: 110vh; /* Changed from 120vh to 100vh */
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px; /* Space for navbar */
    /* Subtle gradient overlay for better text readability */
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.15) 20%,
        rgba(0, 0, 0, 0) 50%);
}

.carousel-title {
    font-size: 3.5rem; /* Slightly reduced from 3.8rem */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
    font-weight: 800;
}

.carousel-subtitle {
    font-size: 1.5rem; /* Slightly reduced from 1.6rem */
    max-width: 800px;
    margin: 0 auto 35px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s both;
    font-weight: 400;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.25);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

/* Features Section - WHITE SPACE REMOVED */
.features {
    padding: 60px 0; /* Reduced from 100px */
    background-color: var(--background-blue);
    margin-top: 0; /* Removed negative margin */
}

.section-title {
    text-align: center;
    margin-bottom: 50px; /* Reduced from 60px */
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--accent-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--background-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-blue);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--accent-blue);
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 80px 0; /* Reduced from 100px */
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-img img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Products Section - FIXED PRODUCT IMAGES */
.products {
    background-color: var(--background-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from contain to cover */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 5px 0;
    color: var(--text-light);
}

.product-features li i {
    color: var(--accent-blue);
    margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background-blue);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.testimonial-content p {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: var(--accent-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-details li i {
    background-color: var(--background-blue);
    color: var(--accent-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    background-color: var(--background-blue);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer */
footer {
    background: rgba(0, 51, 102, 0.9); /* More transparent */
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 2;
}

.footer-links, .footer-social {
    flex: 1;
}

.footer-links h3, .footer-social h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--light-blue);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-carousel {
        height: 90vh;
    }
    
    .carousel-title {
        font-size: 2.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .nav-links li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        background: rgba(0, 51, 102, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-carousel {
        height: 85vh;
    }
    
    .carousel-title {
        font-size: 2.2rem;
    }
    
    .carousel-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .features {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 35px;
        width: 35px;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 80vh;
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .features {
        padding: 40px 0;
    }
}