/* General Styles */
:root {
    --primary-color: #0044cc; /* Blue */
    --secondary-color: #1a1a1a; /* Black/Dark Grey */
    --accent-color: #ffffff; /* White */
    --hover-color: #0055ee; /* Lighter Blue */
    --red-color: #e63946; /* Red for accents */
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6, .product-name, .hero-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: #0044cc;
    display: none;
    z-index: 1000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #00ccff;
}

body {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Navbar with Gradient and Opacity */
.navbar {
    /* background: linear-gradient(to top, rgba(0, 123, 255, 0), rgba(0, 123, 255, 0.5) 70%, rgba(0, 123, 255, 0.8) 100%);
    */
	background-color: #1a1a1a; /* Solid dark grey */
	padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Ensures navbar is above other content */
	border-bottom: 4px solid rgba(135, 206, 250, 0.3);
}


.navbar-brand img {
    height: 50px;
}

/* Fully Extended Dropdown Menu with Extra Padding at Bottom */
.navbar-nav .dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    background-color: #222; /* Dark background for dropdown */
    border-radius: 12px;
    padding: 20px 30px 40px; /* Added bottom padding for shadow visibility */
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.5); /* 3D shadow effect */
    margin-top: 15px;
    max-width: calc(100% - 60px); /* Equal padding on both sides */
    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
}

/* Product Card - Default Dark Shadow with White Glow on Hover */
.dropdown-menu .product-card {
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Subtle dark shadow by default */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
    margin: 0 10px;
}

/* White Glow on Hover */
.dropdown-menu .product-card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4); /* White glow on hover */
}

/* Product Image */
.dropdown-menu .product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.95);
}

/* Product Name - No Background */
.dropdown-menu .product-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-top: 10px;
}

/* Horizontal Product Scroll with More Space Between Cards */
.dropdown-menu .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px; /* Increased gap for clarity */
    overflow-x: auto;
    padding: 10px 0;
    justify-content: center;
}

.icon-same-width {
    width: 100%; /* Set icon width to match container's width */
    max-width: 250px; /* Adjust this to approximate the title width */
}

.icon-title {
    font-size: 1.5em; /* Adjust font size if needed */
}

.levitate {
    animation: float 3s ease-in-out infinite;
    transform: translateY(0px);
    transition: transform 0.3s;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border-radius: 50%; /* Optional, depending on your icon's style */
}

.levitate:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.25);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Hide scrollbar for aesthetics */
.dropdown-menu .row::-webkit-scrollbar {
    display: none;
}
.dropdown-menu .row {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


.navbar.scrolled {
    background: rgba(0, 123, 255, 0.9); /* Light blue when scrolled */
}
.navbar-nav .nav-link {
    font-size: 1.1rem;
    color: #f0f0f0; /* Soft light gray for a professional look */
    margin-left: 30px;
    font-weight: 500;
    letter-spacing: 0.5px; /* Adds a subtle spacing for elegance */
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #66b2ff; /* Light blue on hover for a touch of color */
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6); /* Light border for visibility */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); /* White icon */
}


/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: #f0f0f0;
    display: flex;
    align-items: flex-end; /* Align content to the bottom */
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 50px; /* Adjust padding as needed */
}


.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Adjust height as needed */
    /* Start dark and fade to a lighter grey */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(50, 50, 50, 1) 100%);
    z-index: 1;
}


#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Adjust opacity as needed */
    z-index: 1;
}

.hero-content {

    text-align: center;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.btn-group .btn {
    margin-bottom: 10px;
}

.hero-section .btn-primary {
    background-color: #0044cc;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #0055ee;
}

.hero-section .btn-outline-light {
    border-color: #fff;
    color: #fff;
    font-size: 1.2rem;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background-color: #fff;
    color: #0044cc;
}

/* About Section */
.about-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    transition: background-color 0.3s ease;
}

.about-section:hover {
    background-color: #1c1c1c;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.about-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ffcc00; /* Accent Color */
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
}

.about-section:hover h2,
.about-section:hover p {
    color: #ffffff;
    transform: translateY(-5px);
}


/* Services Section */
.services-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}


.services-section:hover {
    background-color: #303030;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ffcc00; /* Accent Color */
    margin: 10px auto 0;
    border-radius: 2px;
}

.services-section p.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services-section .service-icon {
    max-width: 150px;
    transition: transform 0.3s ease;
}

.services-section h3 {
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services-section:hover h2,
.services-section:hover p.lead,
.services-section:hover h3,
.services-section:hover p {
    color: #ffffff;
    transform: translateY(-5px);
}

.services-section .service-icon:hover {
    transform: scale(1.1);
}

/* Decorative Underline for Heading */
.services-section h2::after {
    background-color: #ffcc00; /* Accent Color */
}

/* Products Section */
.products-section {
    padding: 60px 0;
    /* Start with a lighter shade at the top and fade to the original dark color */
    background: linear-gradient(to bottom, rgba(50, 50, 50, 1), #1a1a1a); 
    color: #f0f0f0;
    position: relative;
    z-index: 2;
}


.products-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #e63946;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.products-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Consistent spacing between cards */
}

.product-card {
    position: relative;
	background-color: #1a1a1a;
    color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure all cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 255, 255, 0.2); /* Larger shadow on hover */
    z-index: 1; /* Bring hovered card above others */
}

.product-card .product-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    padding: 5px;
	padding-top: 10px;
    text-transform: uppercase;
    letter-spacing: 7px;
}


/* Product Image Container */
.product-image-container {
    position: relative;
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}

.product-details {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-description {
    font-size: 1rem;
    color: #ccc; /* Slightly lighter for readability */
    margin-bottom: 15px;
}

.product-image-container .image-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.product-buttons .btn-explore, .product-buttons .btn-build {
    background-color: #ffffff; /* White background */
    color: var(--secondary-color); /* Dark text for contrast */
    border: none;
    padding: 6px 30px;
    font-size: 0.95rem;
    font-family: 'Oswald', sans-serif; /* Professional and sporty font */
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.product-buttons .btn-explore:hover, .product-buttons .btn-build:hover {
    background-color: var(--hover-color); /* Light blue on hover for theme consistency */
    color: #ffffff; /* White text on hover */
    transform: scale(1.05);
}


/* Parallax Section */
.parallax-section {
    background-image: url('images/boat1.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end; /* Move content towards the bottom */
    justify-content: left; /* Align content to the left side */
    padding: 20px; /* Adds padding around the text */
    color: #ffffff;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Subtle dark overlay for readability */
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 400px; /* Limit width to preserve image view */
}

.parallax-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Stronger shadow for impact */
}

.parallax-text {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 300;
    margin-top: 5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Light shadow for readability */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #121212; /* Optional: Set body background to dark */
}

/* Features Section */
.features-section {
    position: relative; /* To position the pseudo-element */
    width: 100%;
    background: linear-gradient(
        to bottom,
        #1a1a1a 0%,         /* Top color matching the products section */
        #8e2de2 20%,
        #43cea2 37.5%,      /* Red gradient in the center */
        #f953c6 62.5%,
        #ff512f 80%,
        #1a1a1a 100%        /* Bottom color matching the products section */
    );
    color: #ffffff; /* Ensure text is readable against the gradient */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background 0.5s ease; /* Smooth transition effect */
}

/* Shadow Overlay: Fades in from top (0% to 10%) and fades out at bottom (90% to 100%) */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient Overlay:
       - 0% to 10%: No shadow to semi-transparent shadow
       - 10% to 90%: Semi-transparent shadow
       - 90% to 100%: Semi-transparent shadow to no shadow
    */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,       /* No shadow at the very top */
        rgba(0, 0, 0, 0.5) 10%,     /* Fade in to semi-transparent shadow by 10% */
        rgba(0, 0, 0, 0.5) 90%,     /* Maintain semi-transparent shadow until 90% */
        rgba(0, 0, 0, 0) 100%       /* Fade out to no shadow by 100% */
    );
    pointer-events: none; /* Allows interaction with child elements */
    z-index: 1; /* Below the features */
    transition: background 0.5s ease; /* Smooth transition effect */
}

/* Feature Container */
.feature {
    display: flex;
    width: 100%;
    height: 400px;
    overflow: hidden; /* Prevents child elements from overflowing */
    position: relative;
    transition: box-shadow 0.3s ease;
    cursor: pointer; /* Indicate interactivity */
    z-index: 2; /* Above the ::before overlay */
}

.feature:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

/* Reversed Feature for Alternate Layout */
.feature.reverse {
    flex-direction: row-reverse;
}

/* Feature Content and Image */
.feature-content,
.feature-image {
    width: 50%;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease; /* Smooth transitions */
    flex-shrink: 0; /* Prevents shrinking */
    box-sizing: border-box; /* Includes padding in width */
    margin: 0; /* Ensure no margins */
    border: none; /* Ensure no borders */
    z-index: 4; /* Ensure highest z-index to cover any gaps */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle internal shadow */
}

/* Feature Content Styling */
.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    color: #ffffff;
    z-index: 4; /* Above the overlay */
    text-align: left; /* Default alignment */
}

.feature.reverse .feature-content {
    text-align: right;
}

/* Unique Gradient Backgrounds for Each Feature Content */

/* Feature 1 - Enhanced Purple Gradient */
.feature-1 {
    background: linear-gradient(135deg, #8e2de2, #4a00e0); /* Deep Purple to Vibrant Purple */
}

/* Feature 2 - Teal to Deep Blue */
.feature-2 {
    background: linear-gradient(135deg, #43cea2, #185a9d);
}

/* Feature 3 - Pink to Deep Pink */
.feature-3 {
    background: linear-gradient(135deg, #f953c6, #b91d73);
}

/* Feature 4 - Coral to Pink */
.feature-4 {
    background: linear-gradient(135deg, #ff512f, #dd2476);
}

/* Feature Image Styling */
.feature-image {
    background-size: cover;
    background-position: center;
    z-index: 4; /* Above the overlay */
    box-sizing: border-box; /* Includes padding in width */
}

/* Diagonal Separation */
.slant-right {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.slant-right.feature-image {
    clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
}

.slant-left {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

.slant-left.feature-image {
    clip-path: polygon(0% 0, 80% 0%, 100% 100%, 0% 100%);
}

/* Headings in Feature Content */
.feature-content h2 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Paragraphs in Feature Content */
.feature-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
}

/* Hover Effect: Slide Only */

/* For Non-Reversed Features */
.feature:not(.reverse):hover .feature-content {
    transform: translateX(25px); /* Reduced from 30px to prevent leakage */
}

.feature:not(.reverse):hover .feature-image {
    transform: translateX(-25px); /* Reduced from 30px to prevent leakage */
}

/* For Reversed Features */
.feature.reverse:hover .feature-content {
    transform: translateX(-25px); /* Reduced from 30px to prevent leakage */
}

.feature.reverse:hover .feature-image {
    transform: translateX(25px); /* Reduced from 30px to prevent leakage */
}

/* Add Pseudo-Element for Slant Darkening */
.feature-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none; /* Allows hover events to pass through */
    transition: background 0.3s ease;
    z-index: 2; /* Above the background but below the text */
}

/* Darken Slant on Hover */

/* For Non-Reversed Features (Slant on Right) */
.feature:not(.reverse):hover .feature-content::after {
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.3) 0%, /* Dark overlay towards the slant */
        rgba(0, 0, 0, 0) 100%
    );
}

/* For Reversed Features (Slant on Left) */
.feature.reverse:hover .feature-content::after {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.3) 0%, /* Dark overlay towards the slant */
        rgba(0, 0, 0, 0) 100%
    );
}

/* Semi-Transparent Overlay for Enhanced Readability (Removed) */
/* Opacity set to 100%, overlay no longer needed */
.feature-content::before {
    /*
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 0;
    */
}

.feature-content h2,
.feature-content p {
    position: relative;
    z-index: 4; /* Ensure text is above the ::after pseudo-element */
}

/* Overlay for Darkening Other Features on Hover */
.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Initially transparent */
    transition: background 0.3s ease;
    z-index: 2; /* Above the feature content but below the text */
}

.features-section:hover .feature:not(:hover)::before {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay when another feature is hovered */
}

/* Ensure Text is Above the Overlay */
.feature-content,
.feature-image {
    z-index: 4;
}


/* CTA Section */
.cta-section {
    background-image: url('images/cta-bg.jpg'); /* Add a background image */
    background-size: cover;
    background-position: center;
    position: relative;
	padding-top: 30px; /* Reduce padding if needed */
    padding-bottom: 30px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.cta-section .btn {
    font-size: 1.2rem;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.cta-section .btn-primary:hover {
    background-color: var(--hover-color);
}

.cta-section .btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}

.cta-section .btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}


/* Contact Section */
.contact-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-section form .form-control {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

.contact-section form .form-control:focus {
    border-color: #0044cc;
    box-shadow: none;
}

.contact-section button {
    background-color: #0044cc;
    color: white;
    font-size: 1.1rem;
    padding: 10px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-section button:hover {
    background-color: #0055ee;
}

/* Footer */
footer h5 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: var(--accent-color);
    transition: color 0.3s;
}

footer ul li a:hover {
    color: var(--primary-color);
}


.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00ccff;
}


.carousel-section .carousel-image {
    width: 100%;
    height: auto; /* Allows height to scale based on width */
    max-height: 70vh; /* Limits the height based on the viewport */
    object-fit: cover;
}

.carousel-section {
    padding: 50px 0;
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.carousel-caption {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    transition: background 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-caption h5 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.carousel-caption p {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Events & Instagram Section */
/* Events & Projects Section Styles */
.events-projects-section {
    background-color: #f9f9f9; /* Light background for contrast */
    color: #333333;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    transition: background-color 0.3s ease;
}

.events-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.02);
    z-index: 1;
    pointer-events: none;
}

.events-projects-section:hover::before {
    background: rgba(0, 0, 0, 0.04);
}

.events-projects-section h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.events-projects-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ffcc00; /* Accent Color */
    margin: 10px auto 0;
    border-radius: 2px;
}

.events-projects-section p.lead {
    font-size: 1.2rem;
    color: #555555;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
}

.events-projects-section:hover h2,
.events-projects-section:hover p.lead {
    color: #000000;
    transform: translateY(-5px);
}

/* Event Card Styles */
.event-card {
    border: 3px solid #FFD700; /* Yellow border */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    position: relative;
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.event-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-card .card-body {
    display: flex;
    flex-direction: column;
}

.event-card .card-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.event-card .card-text {
    font-size: 1rem;
    color: #777777;
    margin-bottom: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.event-card .btn-primary {
    align-self: flex-start;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    padding: 10px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card .btn-primary:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Carousel Styles */
#projectCarousel .carousel-image {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#projectCarousel .carousel-image:hover {
    transform: scale(1.05);
}

#projectCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 15px;
    max-width: 80%;
    transition: background 0.3s ease;
}

#projectCarousel .carousel-caption h5 {
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#projectCarousel .carousel-caption p {
    font-size: 1rem;
    color: #dddddd;
}

#projectCarousel .carousel-control-prev-icon,
#projectCarousel .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Separator Styles */
.separator {
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    box-shadow: 1px 0 5px rgba(0,0,0,0.3);
    transform: perspective(100px) rotateX(10deg);
    margin: 0 10px;
    border-radius: 2px;
    animation: pulse 3s infinite;
}

/* Keyframes for Separator Animation */
@keyframes pulse {
    0% {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    }
    50% {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    }
    100% {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    }
}

/* Page Styles */
.registration-page {
    background-color: #fff;
    color: #333;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Event Summary */
.event-summary img {
    max-width: 200px;
    margin-bottom: 20px;
}

/* Container Layouts */
.date-container, .boat-container, .time-slot-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Button and Card Styles */
.date-btn, .boat-card, .time-slot-btn {
    width: 200px; /* Set a fixed width based on the widest boat name */
    padding: 15px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.boat-card h4 {
    font-size: 1.2rem; /* Adjust to your preferred size */
    margin: 0;
    color: #0d6efd; /* Example color */
}

.boat-card p {
    font-size: 1rem;
    color: #555; /* Example color */
}

/* Hover and Active States */
.date-btn:hover:not(.disabled), .boat-card:hover, .time-slot-btn:hover:not(.disabled) {
    background-color: #e0f7fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.date-btn.selected, .boat-card.selected, .time-slot-btn.selected {
    background-color: #d1e7dd;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/* Disabled State */
.time-slot-btn.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: 1px solid #bbb;
    box-shadow: none;
    opacity: 0.6;
}

/* Form Styling */
#registration-form .form-group {
    margin-bottom: 15px;
}

#registration-form input[type="text"],
#registration-form input[type="email"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

#registration-form input[type="text"]:focus,
#registration-form input[type="email"]:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
}

/* Submit Button */
#registration-form button {
    background-color: #0d6efd;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#registration-form button:hover {
    background-color: #0a58ca;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Success Message Styling */
.success-message {
    background-color: #d1e7dd;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.success-message h4 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.success-message p {
    margin: 8px 0;
    font-size: 1rem;
}

.success-message ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.success-message ul li {
    margin: 4px 0;
    font-size: 0.95rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Services Section */
.detailed-services-section {
    background-color: #ffffff;
    padding: 20px 0; /* Reduced padding */
}

/* Service Box Styling */
.service-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.detailed-more-btn {
    background: linear-gradient(45deg, #0044cc, #0055ee);
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.detailed-more-btn:hover {
    background: linear-gradient(45deg, #0055ee, #0044cc);
    transform: scale(1.05);
}

/* Highlight Selected Box */
.service-item.selected .service-box {
    box-shadow: 0 0 20px rgba(0, 68, 204, 0.5);
    z-index: 2; /* Brings selected box to front */
}

/* Dim Unselected Boxes */
.service-item.dimmed .service-box {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

/* Detailed Information Section */
.service-detail-section {
    background-color: #f8f9fa;
    padding: 10px; /* Reduced padding */
    border-radius: 10px;
    margin-top: 10px; /* Reduced margin */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-detail-content h4 {
    color: #0044cc;
    font-weight: bold;
    margin-bottom: 15px;
}

    /* Popup Styling */
    #popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    .popup-message {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
        text-align: center;
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-collapse {
        width: 80%;
        background-color: rgba(26, 26, 26, 0.95); /* Darken slightly for focus */
        padding: 20px; /* Add padding for mobile */
    }

    /* Center-align and increase padding on nav links for easier tapping */
    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-nav .nav-item {
        margin: 15px 0;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
    }

    /* Product Dropdown in Mobile View */
    .dropdown-menu {
        background-color: #1a1a1a; /* Darken for readability */
        padding: 20px;
        width: 100%;
        max-height: 60vh; /* Limit height for mobile */
        overflow-y: auto; /* Make products scrollable */
    }

    /* Style individual product cards in mobile view */
    .dropdown-menu .product-card {
        background-color: #333; /* Dark background for contrast */
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        margin: 10px;
    }

    .dropdown-menu .product-image {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }

    /* Improve navbar toggler appearance */
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.6); /* Light border for visibility */
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); /* White icon */
    }

    /* Remove padding intended for close button */
    .navbar-collapse {
        padding: 0;
    }

/* Sidebar for Products Menu */
.products-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #333;
    color: white;
    padding-top: 20px;
    z-index: 1050;
    display: none;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* Sidebar for Products Menu */
    .products-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #333;
        color: white;
        z-index: 1050;
        display: none;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .products-sidebar.show {
        display: block;
        transform: translateX(0);
    }

    .products-sidebar .close-sidebar {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
    }

    /* Stack products vertically in the sidebar */
    .products-sidebar .container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
	
	.product-card-link {
		text-decoration: none; /* Removes the underline */
		color: inherit; /* Ensures the link inherits color from parent styles */
	}

	.product-card-link:hover {
		color: inherit; /* Keeps the color the same on hover */
	}
	
    .navbar-nav .dropdown-menu {
        display: none !important; /* Ensures the dropdown is never visible */
    }
	
     /* Features Section Adjustments */
    .features-section {
        padding: 40px 20px; /* Add padding for better spacing */
    }

    .feature {
        flex-direction: column;
        height: auto;
        margin-bottom: 40px; /* Space between features */
    }

    .feature.reverse {
        flex-direction: column;
    }

    /* Feature Content */
    .feature-content {
        text-align: center; /* Center align text for all features */
        padding: 20px; /* Consistent padding */
        width: 100%; /* Prevent text from stretching too wide */
        margin: 0 auto; /* Center the content container */
    }

    /* Feature Image */
    .feature-image {
        width: 100%;
        height: 200px; /* Set a fixed height for consistency */
        background-size: cover;
        background-position: center;
        margin-top: 0px; /* Reduce margin to eliminate gap */
        transition: transform 0.5s ease; /* Ensure transition is active */
    }

    /* Remove diagonal slants for cleaner layout */
    .slant-right,
    .slant-left,
    .slant-right.feature-image,
    .slant-left.feature-image {
        clip-path: none;
    }

    /* Ensure hover transforms are enabled for all features */
    .feature-content,
    .feature-image {
        transition: transform 0.5s ease; /* Maintain smooth transitions */
    }

		/* Restore hover animations */
	.feature:hover .feature-content {
		transform: translateX(30px);
	}

	.feature:hover .feature-image {
		transform: translateX(-30px);
	}

	.feature.reverse:hover .feature-content {
		transform: translateX(-30px);
	}

	.feature.reverse:hover .feature-image {
		transform: translateX(30px);
	}
	


    /* Remove slant darkening effect */
    .feature-content::after {
        background: transparent;
    }

    /* Ensure overlay does not apply on smaller screens */
    .features-section::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 10%,
            rgba(0, 0, 0, 0.5) 90%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    /* Adjust box-shadow for better visibility */
    .feature {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
	
    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }


    .hero-title { 
        font-size: 1.7rem; 
    }
    
	.hero-section {
		padding-top: 0rem; /* Adjust this value to create adequate space below the navbar */
		background-image: url('images/hero-bg.jpg');
		background-size: cover;
		background-position: center;
		height: 70vh;
		color: white;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	
    h2 {
        font-size: 2rem;
    }

    .services-section h3 {
        font-size: 1.5rem;
    }

    .products-section h2 {
        font-size: 2rem;
    }

    .product-image {
        height: 180px;
    }

    .product-name {
        font-size: 1.3rem;
        padding: 10px 8px;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .btn-explore, .btn-build {
        font-size: 0.85rem;
        padding: 8px 16px;
    }


    /* Features Section Adjustments */
    .features-section {
        padding: 30px 15px; /* Reduce padding for smaller screens */
    }

    .feature {
        flex-direction: column;
        height: auto;
        margin-bottom: 30px; /* Space between features */
    }

    .feature.reverse {
        flex-direction: column;
    }

    /* Feature Content */
    .feature-content {
        text-align: center; /* Center align text for all features */
        padding: 15px; /* Consistent padding */
        width: 100%; /* Allow full width on small screens */
        margin: 0 auto; /* Center the content container */
    }

	.feature.reverse .feature-content {
		text-align: center; /* Override any right alignment */
		align-items: center; /* Center align */
	}

    /* Feature Content Headings */
    .feature-content h2 {
        font-size: 1.8rem; /* Further adjust heading size */
    }

    /* Feature Content Paragraphs */
    .feature-content p {
        font-size: 0.95rem; /* Further adjust paragraph size */
        line-height: 1.5;
    }

    /* Feature Image */
    .feature-image {
        width: 100%;
        height: 180px; /* Adjust height for smaller screens */
        background-size: cover;
        background-position: center;
        margin-top: 0px; /* Remove margin to eliminate gap */
        transition: transform 0.5s ease; /* Ensure transition is active */
    }

    /* Remove diagonal slants for cleaner layout */
    .slant-right,
    .slant-left,
    .slant-right.feature-image,
    .slant-left.feature-image {
        clip-path: none;
    }

    /* Ensure hover transforms are enabled for all features */
    .feature-content,
    .feature-image {
        transition: transform 0.5s ease; /* Maintain smooth transitions */
    }

    /* Restore hover animations */
	.feature:hover .feature-content {
		transform: translateX(30px);
	}

	.feature:hover .feature-image {
		transform: translateX(-30px);
	}

	.feature.reverse:hover .feature-content {
		transform: translateX(-30px);
	}

	.feature.reverse:hover .feature-image {
		transform: translateX(30px);
	}

    /* Remove slant darkening effect */
    .feature-content::after {
        background: transparent;
    }

    /* Ensure overlay does not apply on smaller screens */
    .features-section::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 10%,
            rgba(0, 0, 0, 0.5) 90%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    /* Adjust box-shadow for better visibility */
    .feature {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /* Optional: Adjust hover effects for better touch compatibility */
    /* Since hover is not applicable on touch devices, consider using focus or active states */
    .feature:active .feature-content,
    .feature:active .feature-image {
        /* Example active state transforms */
        transform: translateY(-5px) scale(1.02);
    }
	
	    .events-projects-section h2 {
        font-size: 2rem;
    }
    
    .events-projects-section p.lead {
        font-size: 1rem;
    }
    
    .event-image {
        height: 200px;
    }
    
    #projectCarousel .carousel-image {
        height: 200px;
    }
    
    .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .separator {
        display: none;
    }
	
	
	    /* Ensure the service boxes are full-width on small screens */
    .service-box {
        padding: 15px;
    }

    /* Adjust detailed section for mobile */
    .service-detail-section {
        padding: 20px;
    }
}

@media (min-width: 993px) {
    .products-sidebar {
        display: none !important;
    }


}

