/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f8ff;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    background-color: #0277BD;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo h2 {
    font-size: clamp(1.32rem, 2.64vw, 1.584rem);
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    font-family: 'Montserrat', sans-serif;
}

.nav-links a:hover {
    text-decoration: underline;
    color: #e6f0ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Main */
main {
    padding-top: 5rem;
    text-align: center;
}

h1 {
    font-size: clamp(1.76rem, 4.4vw, 2.64rem);
    margin-bottom: 1rem;
    color: white;
    font-family: 'Quicksand', sans-serif;
}

h2 {
    font-size: clamp(1.32rem, 3.52vw, 1.76rem);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 0.9rem;
    color: white;
}

.services h2, .why-choose-us h2, .testimonials h2, .contact-form-section h2 {
    color: #333;
}

h3 {
    font-size: clamp(1.056rem, 2.64vw, 1.32rem);
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

h4 {
    font-size: clamp(0.88rem, 1.76vw, 1.056rem);
    font-family: 'Montserrat', sans-serif;
    color: #0277BD;
    margin: 0.5rem 0;
}

h5 {
    font-size: clamp(1.32rem, 3.52vw, 1.76rem);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 0.9rem;
    color: #333;
}

p {
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    margin-bottom: 1rem;
    color: #333;
}

.hero-content p, .partner p, footer p, .description-bar p {
    color: white;
}

.gallery-item p {
    font-size: clamp(0.6336rem, 1.408vw, 0.704rem);
    text-align: center;
}

/* Hero Sections */
.hero, .tracking-hero, .quote-hero, .services-hero, .contact-hero, .about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: white;
    overflow: hidden;
}

.hero {
    /* Video background takes precedence */
}

.contact-hero {
     position: relative;
            min-height: 40vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
    background-image: url('images/ship1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about-hero {
    background-image: url('images/ship3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tracking-hero, .quote-hero, .services-hero {
    background-image: url('images/track.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
}

.tracking-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

#tracking-input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem;
    border: 2px solid #0277BD;
    border-radius: 5px;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
}

button {
    padding: 0.8rem 1.5rem;
    background-color: #0277BD;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Services Section */
.services {
    background-color: white;
    padding: 3rem 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.service-card {
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: clamp(50px, 10vw, 60px);
    height: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #e7f3ff;
    padding: 3rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.feature {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.testimonial-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-style: italic;
    color: #666;
}

.testimonial-card .star-rating {
    font-size: clamp(1.704rem, 1.408vw, 0.792rem);
    color: #0277BD;
    margin: 0.5rem 0;
}

/* Partner Section */
.partner {
    background-color: #0277BD;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.partner-map {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 1rem auto;
    display: block;
}

/* Contact Form and Info */
.contact-form-section {
    background-color: white;
    padding: 3rem 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #0277BD;
    border-radius: 5px;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.3);
    outline: none;
}

.message-group {
    grid-column: 1 / -1; /* Span full width */
}

.message-input {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    background-color: #0277BD;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-form button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;

}

.contact-info {
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.contact-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-item img {
    width: clamp(40px, 10vw, 50px);
    height: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Footer */
.footer1 {
    background-color: #f8f8f8;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    color: #333;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li a {
    color: #0277BD;
    text-decoration: none;
    font-size: clamp(0.704rem, 1.76vw, 0.792rem);
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

footer {
    background-color: #0277BD;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: clamp(1.32rem, 1.76vw, 1.65rem);
    cursor: pointer;
    color: #0277BD;
    transition: color 0.3s;
}

.close:hover {
    color: #0056b3;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.modal-content h2 {
    color: #0277BD;
    text-align: center;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #0277BD;
    border-radius: 5px;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
}

.input-group input:focus {
    border-color: #0056b3;
    outline: none;
}

.modal-content button {
    width: 100%;
    padding: 0.8rem;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
}

.switch {
    text-align: center;
    margin-top: 1rem;
}

.switch a {
    color: #0277BD;
    text-decoration: none;
    font-size: clamp(0.704rem, 1.76vw, 0.792rem);
}

.switch a:hover {
    text-decoration: underline;
}

/* Titlebar */
.titlebar {
    background-color: white;
    padding: 1rem;
    margin: 1.5rem 0;
    width: 100%;
}

/* Team Gallery */
.team-gallery {
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-placeholder1, .image-placeholder2, .image-placeholder3, .image-placeholder4, .image-placeholder5 {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #ddd;
}

/* Shipment Progress Section */
.shipment-progress {
    padding: 3rem 0;
    background-color: white;
}

.shipment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.shipment-details p {
    margin: 0.5rem;
}

.progress-table-container {
    overflow-x: auto;
    max-width: 100%;
}

.progress-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.progress-table th, .progress-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.progress-table th {
    background-color: #0277BD;
    color: white;
    font-weight: bold;
}

.progress-table tr:last-child td {
    border-bottom: none;
}

.status-icon {
    width: clamp(16px, 4vw, 20px);
    height: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Quote Form Section */
.quote-form-section {
    padding: 3rem 0;
    background-color: white;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: #0277BD;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: clamp(1.056rem, 1.76vw, 1.1rem);
        padding: 0.5rem 0;
    }

    .hero, .tracking-hero, .quote-hero, .services-hero, .about-hero, .contact-hero {
        min-height: 40vh;
    }

    .tracking-container {
        flex-direction: column;
        align-items: center;
    }

    #tracking-input, button {
        width: 100%;
        max-width: 400px;
    }

    .service-cards, .features, .testimonial-cards, .gallery-container, .contact-container, .form-row, .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-form button {
        max-width: 100%;
    }

    .shipment-details {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .image-placeholder1, .image-placeholder2, .image-placeholder3, .image-placeholder4, .image-placeholder5 {
        height: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    h2 {
        font-size: clamp(0.96rem, 3.2vw, 1.2rem);
    }

    h3 {
        font-size: clamp(0.8rem, 2.4vw, 0.96rem);
    }

    .container, .contact-info, .services, .why-choose-us, .testimonials, .partner, .team-gallery, .shipment-progress, .quote-form-section, .contact-form-section {
        padding: 1rem;
    }

    .service-card img, .feature img, .contact-item img, .status-icon {
        width: clamp(24px, 8vw, 32px);
    }

    .image-placeholder1, .image-placeholder2, .image-placeholder3, .image-placeholder4, .image-placeholder5 {
        height: 120px;
    }

    .message-input {
        height: 100px;
    }

    .progress-table th, .progress-table td {
        padding: 0.5rem;
        font-size: clamp(0.704rem, 1.76vw, 0.792rem);
    }

    .contact-form {
        padding: 0.5rem;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 0.6rem;
    }

    .contact-form button {
        padding: 0.6rem 1rem;
    }
}
#price-preview {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: #e6f0ff;
    color: #0277BD;
    font-size: clamp(0.792rem, 1.76vw, 0.88rem);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    border-radius: 5px;
}