/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    width: 100%;
    overflow: visible;
    position: relative;
    z-index: 1000;
}

.top-bar {
    background-color: #1f2937;
    padding: 8px 0;
    width: 100%;
}

.container-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language-flags {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .language-flags {
        gap: 16px;
    }
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 12px;
    color: white;
    transition: color 0.2s;
}

@media (min-width: 1024px) {
    .flag-item {
        font-size: 14px;
    }
}

.flag-item:hover {
    color: #d1d5db;
}

.flag-text {
    display: none;
}

@media (min-width: 1024px) {
    .flag-text {
        display: inline;
    }
}

.sail-button {
    background-color: #dc2626;
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

@media (min-width: 768px) {
    .sail-button {
        padding: 8px 24px;
        font-size: 14px;
    }
}

.sail-button:hover {
    background-color: #b91c1c;
}

.main-nav {
    background-color: #111827;
    padding: 12px 0;
    width: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .main-nav {
        padding: 16px 0;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        width: 64px;
        height: 64px;
        margin-right: 16px;
    }
}

.logo-text h1 {
    color: white;
    font-size: 20px;
    margin: 0;
    text-align: left;
}

@media (min-width: 768px) {
    .logo-text h1 {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .logo-text h1 {
        font-size: 30px;
    }
}

.logo-text p {
    color: #9ca3af;
    font-size: 10px;
    margin: 0;
}

@media (min-width: 768px) {
    .logo-text p {
        font-size: 12px;
    }
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
    position: relative;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #d1d5db;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    width: 200px;
    background-color: #1f2937;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 14px;
}

.dropdown-item:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.dropdown-item:hover {
    background-color: #374151;
}

.mobile-menu-button {
    display: block;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

@media (min-width: 1024px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background-color: #111827;
    border-top: 1px solid #374151;
    width: 100%;
}

.mobile-menu.open {
    display: block;
}

.mobile-nav {
    padding: 16px;
}

.mobile-nav-link {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #374151;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: #d1d5db;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: white;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #374151;
    cursor: pointer;
}

.mobile-dropdown-menu {
    padding-left: 16px;
    padding-bottom: 8px;
    display: none;
}

.mobile-dropdown-menu.open {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 8px 0;
    font-size: 16px;
    transition: color 0.2s;
}

.mobile-dropdown-item:hover {
    color: white;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        height: 90vh;
    }
}

@media (min-width: 1280px) {
    .hero-section {
        height: 100vh;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.2),
        transparent
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.hero-text {
    max-width: 32rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-second {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-title-second {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
    .hero-title-second {
        font-size: 3.75rem;
    }
    .hero-subtitle {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-title-second {
        font-size: 4.5rem;
    }
    .hero-subtitle {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 6rem;
    }
    .hero-title-second {
        font-size: 6rem;
    }
    .hero-subtitle {
        font-size: 3.75rem;
    }
}

/* How We Do It Section Styles */
.how-we-do-it-section {
    /* padding: 48px 0; */
    background-color: white;
    width: 100%;
}

.how-we-do-it-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.how-we-do-it-heading {
    font-size: 30px;
    font-weight: bold;
    color: #111827;
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .how-we-do-it-heading {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .how-we-do-it-heading {
        font-size: 48px;
    }
}

.how-we-do-it-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .how-we-do-it-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .how-we-do-it-grid {
        gap: 48px;
    }
}

.how-we-do-it-card {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 24px;
}

@media (min-width: 1024px) {
    .how-we-do-it-card {
        padding: 32px;
    }
}

.how-we-do-it-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.how-we-do-it-point-number {
    width: 32px;
    height: 32px;
    background-color: #dc2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 16px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .how-we-do-it-point-number {
        width: 40px;
        height: 40px;
    }
}

.how-we-do-it-card-title {
    font-size: 20px;
    font-weight: bold;
    color: #111827;
}

@media (min-width: 768px) {
    .how-we-do-it-card-title {
        font-size: 24px;
    }
}

.how-we-do-it-card-content {
    color: #374151;
    line-height: 1.7;
}

/* Footer Styles */
/* Footer Styles */
.footer {
    background-color: #111827;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #f3f4f6;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.footer-logo-text h3 {
    font-size: 24px;
    margin: 0 0 5px 0;
}

.footer-logo-text p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #dc2626;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 10px;
    color: #dc2626;
    width: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background-color: #374151;
    color: white;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-button {
    padding: 12px 15px;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-button:hover {
    background-color: #b91c1c;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Content Section Styles */
.content-section {
    padding: 40px 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #111827;
}

.content-section p {
    text-align: center;
    color: #374151;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    background-color: #f9fafb;
    padding: 20px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-header {
    margin-bottom: 40px;
    text-align: center;
}

.contact-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.contact-header p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-card-header {
    padding: 20px 20px 0;
}

.contact-card-content {
    padding: 16px 20px 20px;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: #111827;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #dc2626;
    margin-right: 0.5rem;
}

.contact-text {
    color: #4b5563;
    line-height: 1.6;
}

.contact-form-container {
    width: 100%;
}

.contact-form-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-form-header {
    padding: 24px 24px 0;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.contact-form-header p {
    color: #6b7280;
    margin-bottom: 0;
}

.contact-form-content {
    padding: 24px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-group {
    margin-bottom: 16px;
}

.contact-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.contact-button:hover {
    background-color: #b91c1c;
}

/* Main content area */
.main-content {
    flex: 1;
}

/* Why Easy Cruz Section Styles */
.why-easy-cruz-section {
    padding: 48px 0;
    background-color: white;
    width: 100%;
}

.why-easy-cruz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.why-easy-cruz-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-easy-cruz-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-easy-cruz-content h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .why-easy-cruz-content h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .why-easy-cruz-content h2 {
        font-size: 3.75rem;
    }
}

.why-easy-cruz-text {
    color: #374151;
    line-height: 1.7;
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.why-easy-cruz-highlight {
    margin-top: 32px;
}

.why-easy-cruz-highlight h3 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .why-easy-cruz-highlight h3 {
        font-size: 2.25rem;
    }
}

.why-easy-cruz-image-container {
    position: relative;
}

.why-easy-cruz-image-wrapper {
    aspect-ratio: 4/5;
}

@media (min-width: 1024px) {
    .why-easy-cruz-image-wrapper {
        aspect-ratio: 1/1;
    }
}

.why-easy-cruz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Sail Types Section Styles */
/* Sail Types Section Styles */
.sail-types-section {
    padding: 48px 0;
    background-color: white;
    width: 100%;
}

.sail-types-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.sail-types-heading {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    text-align: center;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .sail-types-heading {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .sail-types-heading {
        font-size: 3.75rem;
    }
}

.sail-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .sail-types-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: stretch; /* Make both columns equal height */
    }
}

.sail-types-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    order: 2; /* Move images below content on mobile */
}

@media (min-width: 640px) {
    .sail-types-image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .sail-types-image-grid {
        order: 1; /* Images on left for desktop */
        height: 100%; /* Take full height of grid cell */
    }
}

.sail-types-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    background-color: #f3f4f6;
}

@media (min-width: 1024px) {
    .sail-types-image-container {
        height: 100%; /* Take full height of grid cell */
    }
}

.sail-types-image-container:hover {
    transform: scale(1.02);
}

/* Show full images without cropping */
.sail-types-image {
    width: 100%;
    height: auto;
    object-fit: contain; /* Show full image without cropping */
}

@media (min-width: 1024px) {
    .sail-types-image {
        max-height: 280px; /* Larger images on desktop */
    }
}

.sail-types-content {
    text-align: center;
    order: 1; /* Content above images on mobile */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

@media (min-width: 1024px) {
    .sail-types-content {
        text-align: left;
        order: 2; /* Content on right for desktop */
        height: 100%; /* Take full height of grid cell */
        padding-left: 20px; /* Add some spacing from images */
    }
}

.sail-types-title {
    font-size: 1.5rem; /* Reduced from 1.875rem */
    font-weight: bold;
    color: #111827;
    margin-bottom: 16px; /* Reduced from 24px */
}

@media (min-width: 768px) {
    .sail-types-title {
        font-size: 1.75rem; /* Reduced from 2.25rem */
    }
}

.sail-types-description {
    font-size: 1rem; /* Reduced from 1.125rem */
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px; /* Reduced from 32px */
}

.sail-types-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced from 16px */
}

.sail-types-button {
    display: block;
    padding: 14px 20px; /* Reduced from 16px 24px */
    background-color: #dc2626;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem; /* Reduced from 1.125rem */
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.sail-types-button:hover {
    background-color: #b91c1c;
}

/* Mobile-specific adjustments */
@media (max-width: 639px) {
    .sail-types-image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sail-types-image {
        max-height: 220px;
    }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
    .sail-types-image {
        max-height: 180px;
    }

    .sail-types-content {
        padding: 0 20px; /* Add some horizontal padding */
    }
}

/* mainsails */

.mainsails-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mainsails-page-header {
    background: linear-gradient(grey, grey, grey);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.mainsails-page-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.mainsails-page-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.mainsails-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0 50px;
}

@media (min-width: 768px) {
    .mainsails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mainsails-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mainsails-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.mainsails-card-wrapper {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .mainsails-card-wrapper {
        flex-direction: row;
    }
}

.mainsails-card-image-container {
    flex: 1;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.mainsails-card-image {
    width: 500px;
    height: 600px;
    /* max-height: 300px; */
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 576px) {
    .mainsails-card-image {
        max-height: 200px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .mainsails-card-image {
        max-height: 250px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .mainsails-card-image {
        max-height: 220px;
    }
}

@media (min-width: 993px) {
    .mainsails-card-image {
        max-height: 280px;
    }
}

.mainsails-card-image:hover {
    transform: scale(1.03);
}

.mainsails-card-details {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mainsails-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.mainsails-card-description {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
}

.mainsails-card-features {
    margin-bottom: 25px;
}

.mainsails-card-feature {
    color: #475569;
    margin-bottom: 8px;
    padding-left: 0;
    position: relative;
    list-style-type: none;
}

.mainsails-card-button {
    display: block;
    text-align: center;
    background-color: #d70808;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.mainsails-card-button:hover {
    background-color: #1a365d;
}

.mainsails-footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 40px 0;
    margin-top: 40px;
}

.mainsails-footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .mainsails-footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mainsails-footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.mainsails-footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #2d3748;
}

.mainsails-feature-icon {
    color: #2c5282;
    margin-right: 8px;
    font-size: 14px;
}

/* headsails */
.headsails-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.headsails-page-header {
    background: linear-gradient(grey, grey, grey);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.headsails-page-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.headsails-page-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.headsails-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0 50px;
}

@media (min-width: 768px) {
    .headsails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.headsails-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headsails-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.headsails-card-wrapper {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .headsails-card-wrapper {
        flex-direction: row;
    }
}

.headsails-card-image-container {
    flex: 1;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.headsails-card-image {
    width: 500px;
    height: 600px;
    /* max-height: 300px; */
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 576px) {
    .headsails-card-image {
        max-height: 200px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .headsails-card-image {
        max-height: 250px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .headsails-card-image {
        max-height: 220px;
    }
}

@media (min-width: 993px) {
    .headsails-card-image {
        max-height: 280px;
    }
}

.headsails-card-image:hover {
    transform: scale(1.03);
}

.headsails-card-details {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.headsails-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.headsails-card-subtitle {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
}

.headsails-card-description {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
}

.headsails-card-features {
    margin-bottom: 25px;
}

.headsails-card-feature {
    color: #475569;
    margin-bottom: 8px;
    padding-left: 0;
    position: relative;
    list-style-type: none;
}

.headsails-card-button {
    display: block;
    text-align: center;
    background-color: #e61c1c;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.headsails-card-button:hover {
    background-color: #1a365d;
}

.headsails-footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 40px 0;
    margin-top: 40px;
}

.headsails-footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .headsails-footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.headsails-feature-icon {
    color: #2c5282;
    margin-right: 8px;
    font-size: 14px;
}

/* accesoriess */
.accessories-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.accessories-coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.accessories-coming-icon {
    font-size: 4rem;
    color: #2c5282;
    margin-bottom: 20px;
}

.accessories-coming-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.accessories-coming-text {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.accessories-newsletter-button {
    background-color: #e1101a;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accessories-newsletter-button:hover {
    background-color: grey;
}

/* quote */
/* Quote Form Styles */
.quote-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.quote-header {
    background: white;
    color: red;
    text-align: center;
    padding: 80px 20px;
}

.quote-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.quote-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Form Section */
.quote-section {
    padding: 40px 0;
    background: white;
}

.quote-content {
    max-width: 1000px;
    margin: 0 auto;
}

.quote-intro {
    margin-bottom: 30px;
}

.quote-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.quote-intro p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 10px;
}

/* Progress Bar */
.quote-progress {
    margin-bottom: 30px;
}

.quote-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.quote-progress-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.quote-progress-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.quote-progress-bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.quote-progress-fill {
    height: 100%;
    background-color: #2c5282;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

/* Form Grid */
.quote-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .quote-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Form Sections */
.quote-form-section {
    margin-bottom: 30px;
}

.quote-form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 600;
}

.quote-form-group {
    margin-bottom: 20px;
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .quote-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Form Elements */
.quote-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.quote-label-required:after {
    content: " *";
    color: #e53e3e;
}

.quote-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.quote-input:focus {
    outline: none;
    border-color: #2c5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.quote-input-error {
    border-color: #e53e3e;
}

.quote-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23374151'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.quote-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
}

.quote-error {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.quote-error-icon {
    margin-right: 5px;
}

/* File Upload */
.quote-file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    background-color: #f9fafb;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.quote-file-upload:hover {
    border-color: #2c5282;
    background-color: #f3f4f6;
}

.quote-file-icon {
    font-size: 2rem;
    color: #6b7280;
    margin-bottom: 15px;
}

.quote-file-text {
    color: #6b7280;
    margin-bottom: 5px;
}

.quote-file-input {
    display: none;
}

.quote-file-list {
    margin-top: 20px;
}

.quote-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f3f4f6;
    border-radius: 6px;
    margin-bottom: 10px;
}

.quote-file-name {
    font-size: 0.9rem;
    color: #374151;
}

.quote-file-remove {
    color: #e53e3e;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Price Estimate */
.quote-price-estimate {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    display: none;
}

.quote-price-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.quote-price-icon {
    color: #166534;
    margin-right: 10px;
    font-size: 1.2rem;
}

.quote-price-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #166534;
}

.quote-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 5px;
}

.quote-price-note {
    font-size: 0.9rem;
    color: #166534;
}

/* Submit Button */
.quote-submit-button {
    width: 100%;
    padding: 15px;
    background-color: #e53e3e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-submit-button:hover {
    background-color: #c53030;
}

/* Diagram Section */
.quote-diagram {
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.quote-diagram-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.quote-diagram-caption {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 15px;
}

/* Info Box */
.quote-info-box {
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 25px;
}

.quote-info-title {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.quote-info-list {
    list-style-type: none;
}

.quote-info-item {
    color: #1e40af;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.quote-info-bullet {
    width: 8px;
    height: 8px;
    background-color: #3b82f6;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .quote-header {
        padding: 60px 20px;
    }

    .quote-title {
        font-size: 2.2rem;
    }

    .quote-subtitle {
        font-size: 1.2rem;
    }
}

/* spinnakers */

/* Container */
.spinnaker-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Page Header */
.spinnaker-header {
    background-color: grey;
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("/placeholder.svg?height=400&width=1400&text=Spinnaker");
    background-size: cover;
    background-position: center;
}

.spinnaker-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.spinnaker-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Product Grid */
.spinnaker-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .spinnaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Card */
.spinnaker-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.spinnaker-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.spinnaker-card-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .spinnaker-card-content {
        flex-direction: row;
    }
}

.spinnaker-card-image {
    flex: 1;
    background-color: #f3f4f6;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinnaker-card-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.spinnaker-card-details {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spinnaker-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.spinnaker-card-subtitle {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Buttons */
.spinnaker-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    color: white;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s ease;
}

.spinnaker-button-gray {
    background-color: #6b7280;
}

.spinnaker-button-gray:hover {
    background-color: #4b5563;
}

.spinnaker-button-yellow {
    background-color: #d97706;
}

.spinnaker-button-yellow:hover {
    background-color: #b45309;
}

.spinnaker-button-green {
    background-color: #059669;
}

.spinnaker-button-green:hover {
    background-color: #047857;
}

.spinnaker-button-blue {
    background-color: #2563eb;
}

.spinnaker-button-blue:hover {
    background-color: #1d4ed8;
}

.spinnaker-button-purple {
    background-color: #7c3aed;
}

.spinnaker-button-purple:hover {
    background-color: #6d28d9;
}

.spinnaker-button-red {
    background-color: #dc2626;
}

.spinnaker-button-red:hover {
    background-color: #b91c1c;
}

/* Accordion */
.spinnaker-accordion {
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.spinnaker-accordion h2 {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.spinnaker-accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.spinnaker-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.spinnaker-accordion-trigger::after {
    content: "+";
    font-size: 1.25rem;
}

.spinnaker-accordion-trigger.active::after {
    content: "-";
}

.spinnaker-accordion-content {
    padding: 0 0 1rem;
    display: none;
}

.spinnaker-accordion-content.active {
    display: block;
}

/* Measurement Guide */
.spinnaker-measurement {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .spinnaker-measurement {
        grid-template-columns: 1fr 1fr;
    }
}

.spinnaker-measurement-image {
    display: flex;
    justify-content: center;
}

.spinnaker-measurement-image img {
    max-width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Modal/Dialog */
.spinnaker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.spinnaker-modal.active {
    display: flex;
}

.spinnaker-modal-content {
    background: white;
    border-radius: 0.5rem;
    max-width: 56rem;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.spinnaker-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spinnaker-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.spinnaker-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

.spinnaker-modal-body {
    padding: 1.5rem;
}

/* Tables */
.spinnaker-table-container {
    overflow-x: auto;
}

.spinnaker-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: center;
}

.spinnaker-table th,
.spinnaker-table td {
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.75rem;
}

.spinnaker-table th {
    background-color: #e5e7eb;
    font-weight: 500;
}

.spinnaker-table tr:nth-child(even) {
    background-color: #f9fafb;
}

/*colors*/
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a365d;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #1a365d, #2c5282);
    border-radius: 2px;
}

.colors-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 8px;
    border-radius: 6px;
    background: #f8fafc;
    width: 90px;
}

.color-option:hover {
    transform: translateY(-3px);
    background: #edf2f7;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.color-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s ease;
}

.color-option:hover .color-circle {
    border-color: #cbd5e0;
}

.color-name {
    font-weight: 500;
    color: #2d3748;
    text-align: center;
    font-size: 0.85rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .colors-container {
        gap: 10px;
    }

    .color-option {
        width: 80px;
        padding: 6px;
    }

    .color-circle {
        width: 40px;
        height: 40px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .colors-container {
        gap: 8px;
    }

    .color-option {
        width: 70px;
    }

    .color-circle {
        width: 35px;
        height: 35px;
    }

    .color-name {
        font-size: 0.8rem;
    }
}
