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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 15px 0;
   
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
}

.phone i {
    margin-right: 8px;
}

.signin-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.signin-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Hero Section */
.hero {
    margin-top: 0px;
    height: calc(100vh - 80px);
    min-height: 600px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('cruisehero.jpg') center/cover;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 500px;
    padding: 0 0px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ff4757;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.hero-subtitle p {
    margin: 8px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-cta {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Flash Deals */
.flash-deals {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
}

.flash-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
    background: linear-gradient(45deg, #ff3742, #ff4757);
}

.btn-secondary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.btn-warning {
    background: #ffd700;
    color: #333;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1e3c72;
    color: #1e3c72;
}

.btn-outline:hover {
    background: #1e3c72;
    color: white;
}

/* Cruise Search Section */
.cruise-search {
    background: white;
    padding: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-field select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.search-field i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-btn {
    padding: 15px 30px;
    white-space: nowrap;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1e3c72;
}

/* Favorites Section */
.favorites {
    padding: 80px 0;
    background: #f8f9fa;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.favorite-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.favorite-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.favorite-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e3c72;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 15px;
}

/* Ships Showcase */
.ships-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.ship-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.ship-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ship-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
}

.ship-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Recommended Section */
.recommended {
    padding: 80px 0;
    background: white;
}

.recommended-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.recommended-scroll::-webkit-scrollbar {
    display: none;
}

.recommended-card {
    min-width: 360px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.recommended-card:hover {
    transform: translateY(-5px);
}

.recommended-card .card-image {
    height: 180px;
}

.recommended-card .card-content {
    padding: 20px;
}

.recommended-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e3c72;
}

.recommended-card .price {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.recommended-card .location,
.recommended-card .ship {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.details-link {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.details-link:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter .section-title {
    color: white;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    flex: 1;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    background: white;
}

.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.disclaimer a {
    color: #ffd700;
    text-decoration: none;
}

/* Newest Ships Section */
.newest-ships {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.ships-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ships-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.ships-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.ships-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ship-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.ship-item:hover {
    transform: translateY(-5px);
}

.ship-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.ship-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.ship-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Adventure Section */
.adventure {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

.adventure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.adventure-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.adventure-item:hover {
    transform: translateY(-5px);
}

.adventure-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.adventure-item h4 {
    padding: 20px;
    text-align: center;
    color: #1e3c72;
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}



.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

/* Footer */
.footer {
    background: #1e3c72;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffd700;
}

.footer-awards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.award {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
}

.award h5 {
    color: #ffd700;
    margin-bottom: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #ffd700;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-field {
        min-width: auto;
    }
    
    .ships-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ships-text h2 {
        font-size: 2rem;
    }
    
    .ships-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animation for countdown */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-btn {
    animation: pulse 2s infinite;
}

/* Hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.quick-quote-form {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Quick Quote Form */
.quick-quote-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #333;
    width: 100%;
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.quick-quote-form h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.quick-quote-form p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
}

.quick-quote-form .row {
    margin: 0 -8px;
}

.quick-quote-form .col-lg-6,
.quick-quote-form .col-lg-12,
.quick-quote-form .col-sm-6,
.quick-quote-form .col-sm-12 {
    padding: 0 8px;
    margin-bottom: 20px;
}

/* Add visual separation between rows */
.quick-quote-form .input-box:nth-child(even) {
    margin-left: 0;
}

.quick-quote-form .input-box:nth-child(odd) {
    margin-right: 0;
}

/* Add subtle row indicators */
.quick-quote-form .row {
    position: relative;
}

.quick-quote-form .row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(30, 60, 114, 0.1), transparent);
}

/* Enhance form field appearance */
.quick-quote-form .input-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 2px;
    transition: all 0.3s ease;
}

.quick-quote-form .input-box:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--single {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 15px 0 35px;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
    transform: translateY(-1px);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    line-height: 28px;
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 15px;
}

.select2-container--default .select2-dropdown {
    border: 2px solid #1e3c72;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    margin: 10px;
    width: calc(100% - 20px);
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.select2-container--default .select2-results__option {
    padding: 10px 15px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1e3c72;
    color: white;
}

.select2-container--default .select2-results__group {
    padding: 8px 15px;
    font-weight: 600;
    color: #1e3c72;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e3f2fd;
    color: #1e3c72;
}



/* Additional fixes for dropdown positioning */
.select2-container--open {
    z-index: 99999 !important;
}

.select2-dropdown--below {
    margin-top: 2px !important;
}

.select2-dropdown--above {
    margin-bottom: 2px !important;
}

/* Ensure proper stacking context */
.hero-right {
    position: relative !important;
    z-index: 1 !important;
}

.quick-quote-form .input-box {
    position: relative !important;
    z-index: 1 !important;
}

/* When dropdown is open, increase z-index of the container */
.quick-quote-form .input-box:has(.select2-container--open) {
    z-index: 99999 !important;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    .select2-dropdown {
        position: fixed !important;
        top: auto !important;
        left: 10px !important;
        right: 10px !important;
        max-height: 200px !important;
    }
    
    .select2-results__options {
        max-height: 150px !important;
    }
}

/* ===== MODERN FORM DESIGN ===== */
.modern-quote-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.modern-quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #1e3c72);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.form-icon-wrapper i {
    font-size: 32px;
    color: white;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 10px;
    text-transform: none;
}

.form-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.form-section {
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title i {
    font-size: 18px;
    color: #1e3c72;
    margin-right: 12px;
    width: 20px;
}

.section-title span {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-field {
    position: relative;
}

.form-field:nth-child(odd) {
    grid-column: 1;
}

.form-field:nth-child(even) {
    grid-column: 2;
}

.form-field:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-wrapper:hover {
    border-color: #1e3c72;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.1);
}

.input-wrapper:focus-within {
    border-color: #1e3c72;
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.1);
    transform: translateY(-2px);
}

.input-wrapper i {
  
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #1e3c72;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
    height: 48px;
}

.input-wrapper input::placeholder {
    color: #999;
    font-style: italic;
}

/* Traveler Selector */
.traveler-selector {
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 4px 20px;
    transition: all 0.3s ease;
}

.traveler-selector:hover {
    border-color: #1e3c72;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.1);
}

.traveler-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.traveler-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.traveler-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.counter {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #1e3c72;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-btn:hover {
    background: #2a5298;
    transform: scale(1.05);
}

.counter-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.counter input {
    width: 60px;
    height: 40px;
    border: none;
    background: white;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 0;
}

/* Submit Section */
.submit-section {
    text-align: center;
    border-top: 2px solid #f0f0f0;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn i {
    font-size: 16px;
}

.form-note {
    margin-top: 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-quote-form {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-field:nth-child(odd),
    .form-field:nth-child(even) {
        grid-column: 1;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .section-title span {
        font-size: 16px;
    }
    
    .input-wrapper input,
    .input-wrapper select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

.quick-quote-form .input-box {
    position: relative;
    height: 100%;
}

.quick-quote-form .form-group {
    margin-bottom: 0;
    position: relative;
    height: 100%;
}

/* Ensure equal height for form fields in the same row */
.quick-quote-form .col-lg-6,
.quick-quote-form .col-sm-6 {
    display: flex;
    flex-direction: column;
}

.quick-quote-form .col-lg-6 .input-box,
.quick-quote-form .col-sm-6 .input-box {
    flex: 1;
}

.quick-quote-form .form-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
}

.quick-quote-form .form-control {
    width: 100%;
    padding: 12px 15px 12px 35px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    color: #333;
    height: 50px;
}

.quick-quote-form .form-control:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
    transform: translateY(-1px);
}

.quick-quote-form .form-control:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.quick-quote-form .form-control::placeholder {
    color: #999;
}

.quick-quote-form .select-contain {
    position: relative;
}

.quick-quote-form .select-contain-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.quick-quote-form .dropdown-contain {
    position: relative;
}

.quick-quote-form .dropdown-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: #333;
    text-decoration: none;
    text-align: left;
    transition: border-color 0.3s ease;
}

.quick-quote-form .dropdown-btn:hover {
    border-color: #1e3c72;
    text-decoration: none;
}

.quick-quote-form .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.quick-quote-form .dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.quick-quote-form .dropdown-item:last-child {
    border-bottom: none;
}

.quick-quote-form .qty-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.quick-quote-form .qty-box:last-child {
    margin-bottom: 0;
}

.quick-quote-form .qty-box label {
    font-weight: 500;
    color: #333;
    margin: 0;
}

.quick-quote-form .qtyBtn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-quote-form .qtyDec,
.quick-quote-form .qtyInc {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

.quick-quote-form .qtyDec:hover,
.quick-quote-form .qtyInc:hover {
    background: #e9ecef;
}

.quick-quote-form .qtyBtn input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.quick-quote-form .theme-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-quote-form .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 28, 65, 0.3);
}

.quick-quote-form .quote-submit {
    margin-top: 20px;
}

/* Responsive adjustments for hero section */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-left,
    .hero-right {
        flex: none;
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .quick-quote-form {
        max-width: 500px;
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-left,
    .hero-right {
        height: auto;
        min-height: 350px;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-quote-form {
        padding: 25px;
        margin: 0 15px;
        max-width: 100%;
    }
    
    .quick-quote-form .row {
        margin: 0 -3px;
    }
    
    .quick-quote-form .col-lg-6,
    .quick-quote-form .col-lg-12,
    .quick-quote-form .col-sm-6,
    .quick-quote-form .col-sm-12 {
        padding: 0 3px;
        margin-bottom: 12px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
