/* ============================
   Global Reset & Brand Colors
   ============================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root{
    --primary-color:#0054A6;     /* Deep Blue */
    --secondary-color:#FFD200;   /* Accent Yellow */
    --dark-color:#002A5C;        /* Navy */
    --light-bg:#F5F7FA;          /* Soft Gray */
    --text-color:#333333;
    --muted:#777777;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 5px rgb(233, 232, 232);
}
.btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

/* ============================
   Section Titles
   ============================ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #222;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

/* ============================
   Header / Nav
   ============================ */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: -30px;
}
.logo span { color: var(--dark-color); }
nav{ margin-right: -30px; }
nav ul { display: flex; }
nav ul li { margin-left: 30px; }
nav ul li a { font-weight: 600; transition: color 0.3s ease; }
nav ul li a:hover { color: var(--secondary-color); }

/* ============================
   Hero
   ============================ */
.hero {
    background: linear-gradient(to bottom right, rgba(0,42,92,0.85), rgba(0,84,166,0.85)), url('Background image of front page.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: .5px; text-transform: uppercase; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

/* Tracking form */
.tracking-form {
    background-color: white;
    padding: 28px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.form-group { display: flex; }
.form-group input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}
.form-group button { border-radius: 0 4px 4px 0; padding: 15px 25px; }

/* ============================
   Services
   ============================ */
.services { padding: 100px 0; background-color: white; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-wrapper { perspective: 1000px; width: 300px; }

.service-card {
    width: 100%;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgb(223, 222, 222);
    background-color: var(--light-bg);
}
.service-icon{ margin-top: 30px; }
.card-front h3{ margin-top: 30px; }

.service-card:hover {
    transform: rotateY(180deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-card:hover .service-icon{ margin-top: -5px; }
.service-card:hover .card-front h3{ margin-top: -5px; }

/* Front & back of flip card */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
}

/* Icon styling */
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.card-front { z-index: 2; }
.card-back { transform: rotateY(180deg); }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ============================
   About
   ============================ */
.about { padding: 100px 0; background-color: #f5f5f5; }
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.about-text h2 { font-size: 2.6rem; margin-bottom: 20px; color: #222; }
.about-text p { margin-bottom: 20px; font-size: 1.1rem; }

/* Floating framed image */
.about-image {
    width: 500px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    display: inline-block;
    animation: float 2s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-left: 60px;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* ============================
   Pricing
   ============================ */
.pricing { padding: 100px 0; background-color: white; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.pricing-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.pricing-card:hover{ border: 2px solid var(--secondary-color); }
.pricing-card.popular { position: relative; }
.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}
.pricing-card h3 { font-size: 1.8rem; margin-bottom: 20px; }
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.price span { font-size: 1rem; color: var(--muted); }
.pricing-features { margin-bottom: 30px; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid #eee; }

/* ============================
   Contact
   ============================ */
.contact { padding: 100px 0; background-color: #f5f5f5; }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info h3 { font-size: 1.8rem; margin-bottom: 20px; }
.contact-details { margin-bottom: 30px; }
.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-form textarea { height: 150px; resize: vertical; }

/* ============================
   Footer
   ============================ */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary-color); }

.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* ============================
   FAQ
   ============================ */
.faq-section {
    padding: 60px 20px;
    background-color: #fefefe;
}
.faq-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}
.faq-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background: #fff;
}
.faq-question {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    background-color: #f7f7f7;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    transition: background 0.3s ease;
}
.faq-question:hover { background-color: #eaeaea; }
.arrow-icon { transition: transform 0.3s ease; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #fff;
    transition: max-height 0.5s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 20px;
}
.faq-answer { display: none; padding: 0.5rem 1rem; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .arrow-icon { transform: rotate(180deg); }

/* ============================
   Testimonials
   ============================ */
.testimonials {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}
.testimonials .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.testimonial-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 15px; }
.testimonial-card h4 { font-weight: 600; color: #222; }
.team-links li a i { margin-right: 8px; color: #fff; transition: color 0.3s ease; }
.team-links li a:hover i { color: var(--secondary-color); }

/* ============================
   Booking
   ============================ */
.booking { padding: 5rem 0; background-color: var(--light-bg); }
.booking .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
}
.booking-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#booking-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-section {
    padding: 1.5rem;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 1rem;
}
.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-section h3 i { color: var(--primary-color); }
.form-row { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.form-group { flex: 1; margin-bottom: 1rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,84,166,0.2);
}
.form-group textarea { min-height: 80px; resize: vertical; }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: center;
    margin-top: 1rem;
}
.btn-large:hover { background-color: var(--dark-color); }

@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .booking-form-container { padding: 1.5rem; }
    .booking { padding: 3rem 0; }
}
@media (max-width: 480px) {
    .booking-form-container { padding: 1rem; }
    .form-section { padding: 1rem; }
}

.booking-intro { text-align: center; margin-bottom: 30px; }
.booking-intro p { margin-bottom: 20px; font-size: 1.1rem; }
#show-booking-form { margin: 0 auto; display: block; max-width: 200px; }

/* ============================
   Typewriter Cursor
   ============================ */
.hero .typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 2px;
    animation: blink 0.7s steps(1) infinite;
    vertical-align: bottom;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .header-container { flex-direction: column; }
    nav ul { margin-top: 20px; }
    nav ul li { margin: 0 10px; }
    .hero h1 { font-size: 2.5rem; }
    .about-content, .contact-container { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

@media (max-width: 480px) {
    .form-group { flex-direction: column; }
    .form-group input { border-radius: 4px; margin-bottom: 10px; }
    .form-group button { border-radius: 4px; width: 100%; }
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
}
