/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/*top header style*/
.top-red-bar
{
    background: #c00;
    width: 100%;
    padding: 10px;
}

/* Header Styles */
.main-header {
    background: white;
    /*background: #c00;*/
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.top-bar {
    background: transparent;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Text-based logo styles */
.logo-text {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo-royal {
    color: #ffffff;
    text-transform: uppercase;
}

.logo-mail {
    color: #e74c3c;
    text-transform: uppercase;
    padding: 2px 12px;
    background: #ffffff;
    border-radius: 4px;
}

.logo-text:hover {
    transform: translateY(-2px);
}

.logo-text:hover .logo-mail {
    background: #fef5e7;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #e8f4f8;
    transform: translateY(-1px);
}

.main-nav .dropdown i {
    font-size: 12px;
    margin-left: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header-actions a:hover {
    color: #e8f4f8;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
}

.btn-send-item {
    background: #d32f2f;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.btn-send-item:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn-send-item i {
    margin-left: 8px;
    font-size: 12px;
}

/* Secondary Navigation */
.secondary-nav {
    background: #ffffff;
    border-top: 3px solid #2c5f7f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.secondary-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 15px 0;
    overflow-x: auto;
}

.secondary-nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

.secondary-nav a:hover,
.secondary-nav a.active {
    color: #d32f2f;
    font-weight: 600;
    border-bottom: 3px solid #d32f2f;
    padding-bottom: 12px;
}

/* Hero Banner */
.hero-banner {
    background: url('../../uploads/post-banner.jpeg') center center/cover no-repeat;
    height: 400px;
    position: relative;
    background-color: #f0f0f0;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    align-items: center;
}
.container.banner-container {
  margin-left: 25%;
}

.banner-content {
    background: #fff;
    padding: 40px 50px;
    max-width: 500px;
}

.banner-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* Content Section */
.content-section {
    padding: 50px 0;
    text-align: center;
}

.pricing-info {
    margin-bottom: 40px;
}

.pricing-text {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-item i {
    color: #00A651;
    font-size: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #c00;
    color: #fff;
}

.btn-primary:hover {
    background: #cc0000;
}

.btn-secondary {
    background: #fff;
    color: #c00;
    border: 2px solid #c00;
}

.btn-secondary:hover {
    background: #c00;
    color: #fff;
}

.info-text {
    color: #666;
    font-size: 14px;
}

/* Info Section */
.info-section {
    background: #f7f7f7;
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.info-card i {
    font-size: 40px;
    color: #E60000;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.learn-more {
    color: #E60000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 18px;
    color: #333;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 15px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Footer Styles */
.main-footer {
    background: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #ccc;
    font-size: 24px;
    margin: 0 10px;
}

.footer-social a:hover {
    color: #E60000;
}

.copyright {
    color: #999;
    font-size: 12px;
}

/* Form Styles */
.form-section {
    padding: 10px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.form-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.form-container .subtitle {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E60000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.error-message {
    color: #E60000;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Validation Errors Box */
.validation-errors {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-left: 5px solid #E60000;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    animation: slideDown 0.3s ease;
}

.validation-errors h4 {
    color: #E60000;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.validation-errors h4 i {
    font-size: 18px;
}

.validation-errors ul {
    margin: 0;
    padding-left: 25px;
}

.validation-errors ul li {
    color: #856404;
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error state for inputs */
input.error,
select.error,
textarea.error {
    border-color: #E60000 !important;
    background-color: #fff5f5;
}

input.error:focus,
select.error:focus,
textarea.error:focus {
    border-color: #E60000 !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

/* Error state for radio groups */
.radio-group.error {
    border: 2px solid #E60000;
    background-color: #fff5f5;
    border-radius: 8px;
    padding: 15px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Application Form Styles */
.application-form {
    background: #e8e8e8;
    min-height: 100vh;
    padding: 20px 0;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: #1a3a52;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.progress-step.active .step-number {
    background: #1a3a52;
    color: #fff;
    border-color: #1a3a52;
}

.step-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.form-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 15px;
}

.back-link {
    color: #d32f2f;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #b71c1c;
    transform: translateX(-3px);
}

.back-link i {
    margin-right: 5px;
}

.step-header h2 {
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.step-info {
    margin-top: 15px;
}

.step-count {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.step-description {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 5px;
}

.link-text {
    color: #d32f2f;
    text-decoration: none;
}

.link-text:hover {
    text-decoration: underline;
}

/* Application Type Cards */
.application-types {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-type-card {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.app-type-card:hover {
    border-color: #1a3a52;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-type-card.selected {
    border-color: #1a3a52;
    background: #e8f4f8;
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.2);
}

.app-icon {
    font-size: 24px;
    color: #1a3a52;
    margin-bottom: 5px;
}

.app-type-card.selected .app-icon {
    color: #1a3a52;
}

.app-type-card h3 {
    font-size: 14px;
    color: #2c2c2c;
    margin-bottom: 0;
}

.app-type-card h4 {
    font-size: 14px;
    color: #2c2c2c;
    margin-bottom: 0;
}

.sub-text {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

/* Counter Section */
.counter-section {
    margin: 30px 0;
}

.counter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.counter-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fafafa;
}

.counter-label h3 {
    font-size: 16px;
    color: #2c2c2c;
    margin-bottom: 2px;
}

.counter-label p {
    font-size: 14px;
    color: #666;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2c2c2c;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: #2c2c2c;
    color: #fff;
}

.counter-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    min-width: 30px;
    text-align: center;
}

.info-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-message i {
    color: #4caf50;
}

/* Responsive adjustments for the family counter section */
@media (max-width: 768px) {
    .counter-wrapper {
        grid-template-columns: 1fr;
    }

    .counter-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
    }

    .counter-label h3,
    .counter-label h4 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .counter-label p {
        font-size: 13px;
    }

    .counter-controls {
        gap: 12px;
    }

    .counter-btn {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        font-size: 16px;
    }

    .counter-value {
        font-size: 20px;
        min-width: 34px;
    }

    .info-message {
        font-size: 13px;
        padding: 10px 12px;
    }
}

@media (max-width: 420px) {
    .form-card {
        padding: 20px;
    }

    .counter-group {
        padding: 10px;
        gap: 8px;
    }

    .counter-controls {
        gap: 8px;
        align-items: center;
    }

    .counter-btn {
        width: 52px;
        height: 52px;
    }

    .counter-value {
        font-size: 22px;
    }

    .counter-label h3,
    .counter-label h4 {
        font-size: 14px;
    }

    .info-message {
        font-size: 12px;
    }
}
/* Form Groups */
.form-group-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-group-card label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.form-group-card input,
.form-group-card select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group-card input:focus,
.form-group-card select:focus {
    border-color: #1a3a52;
    outline: none;
}

.date-input-wrapper {
    position: relative;
}

.calendar-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.help-text {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.age-info {
    display: block;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.age-info.adult {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.age-info.child {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.age-info i {
    margin-right: 5px;
}

.tooltip-icon {
    color: #666;
    cursor: help;
    font-size: 14px;
}

/* Person Section */
.person-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafafa;
}

.person-section h3 {
    font-size: 17px;
    color: #2c2c2c;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
    font-size: 13px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a3a52;
    outline: none;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d32f2f;
}

.error-message {
    color: #d32f2f;
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.dob-inputs {
    display: grid;
    grid-template-columns: 80px 80px 120px;
    gap: 10px;
}

.dob-input {
    width: 100%;
    text-align: center;
}

.dob-input.error {
    border-color: #E60000 !important;
    background-color: #fff5f5;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: #1a3a52;
}

.country-code {
    background: #f5f5f5;
    padding: 12px 15px;
    font-weight: 600;
    color: #2c2c2c;
    border-right: 1px solid #ddd;
}

.phone-input-wrapper input {
    border: none;
    flex: 1;
}

/* Household Question */
.household-question {
    margin: 20px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.household-question label {
    display: block;
    font-weight: 600;
    color: #2c2c2c;
    font-size: 13px;
    margin-bottom: 12px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Duration Cards */
.duration-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.duration-card {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.duration-card:hover {
    border-color: #1a3a52;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.duration-card.selected {
    border-color: #1a3a52;
    background: #e8f4f8;
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.2);
}

.duration-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.duration-card h3 {
    font-size: 17px;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.duration-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a52;
    margin: 8px 0;
}

.duration-card .per-person {
    font-size: 13px;
    color: #666;
}

.duration-card .recommended {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.duration-card .recommended i {
    color: #28a745;
}

/* Price Summary */
.price-summary {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0 0 0;
}

.review-summary-box .price-summary {
    margin: 15px 0 0 0;
    padding: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.review-summary-box .summary-row {
    font-size: 13px;
    padding: 6px 0;
}

.summary-row.price-breakdown-row {
    font-size: 13px;
    color: #666;
    border-top: 1px solid #e8e8e8;
    padding-top: 10px;
    margin-top: 5px;
}

.summary-row.price-breakdown-row span:last-child {
    text-align: right;
    line-height: 1.4;
}

.summary-row.total {
    border-top: 2px solid #ddd;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #d32f2f;
}

.review-summary-box .summary-row.total {
    font-size: 16px;
}

/* Continue Button */
.btn-continue {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 25px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
}

.btn-continue:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* Form Section Titles */
.form-section-title {
    margin: 25px 0 15px 0;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.form-section-title:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.form-section-title h3 {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.section-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}

/* Review Layout - Two Column */
.review-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.review-left {
    width: 100%;
}

.review-right {
    position: sticky;
    top: 20px;
}

.review-summary-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.review-summary-box h3 {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.summary-item {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-item h4 {
    font-size: 13px;
    color: #1a3a52;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.summary-item h4 i {
    color: #d32f2f;
    font-size: 12px;
}

.summary-item p {
    color: #2c2c2c;
    font-size: 13px;
    margin: 3px 0;
    line-height: 1.4;
}

.summary-item p strong {
    display: inline-block;
    min-width: 90px;
    color: #666;
    font-size: 12px;
}

.edit-details-btn-small {
    width: 100%;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #1a3a52;
    border: 1px solid #d32f2f;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.edit-details-btn-small:hover {
    background: #1a3a52;
    color: #fff;
}

.edit-details-btn-small i {
    margin-right: 6px;
}

/* Responsive for review layout */
@media (max-width: 992px) {
    .review-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-right {
        position: static;
    }
    
    .review-summary-box {
        margin-top: 20px;
    }
}

/* Review Section */
.review-section {
    margin-bottom: 30px;
}

.review-section h3 {
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.review-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.review-card h4 {
    font-size: 15px;
    color: #1a3a52;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card h4 i {
    color: #d32f2f;
}

.review-card p {
    color: #2c2c2c;
    font-size: 15px;
    margin: 5px 0;
}

.review-card p strong {
    display: inline-block;
    min-width: 120px;
    color: #666;
    font-weight: 600;
}

.edit-details-btn {
    background: #fff;
    border: 2px solid #1a3a52;
    color: #1a3a52;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.edit-details-btn:hover {
    background: #1a3a52;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(26, 58, 82, 0.3);
}

/* Terms Section */
.terms-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.checkbox-wrapper {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-wrapper label {
    cursor: pointer;
    font-size: 14px;
    color: #2c2c2c;
    line-height: 1.5;
}

.checkbox-wrapper:last-child {
    margin-bottom: 0;
}

/* Checkbox Options (Service Preferences) */
.checkbox-options {
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.checkbox-option:last-child,
.checkbox-option:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.checkbox-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #d32f2f;
}

.checkbox-option label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .features-list {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Custom Country Selector with Flags */
.custom-country-select {
    position: relative;
    width: 100%;
}

.country-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-selected:hover {
    border-color: #1a3a52;
}

.country-selected .fi {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.country-selected .country-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.country-selected .fa-chevron-down {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.country-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.country-dropdown.active {
    max-height: 350px;
    opacity: 1;
    overflow: visible;
}

.country-search {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    outline: none;
}

.country-search:focus {
    border-bottom-color: #1a3a52;
}

.country-list {
    max-height: 280px;
    overflow-y: auto;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.country-item:hover {
    background: #f8f9fa;
}

.country-item .fi {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.country-item .country-name {
    font-size: 14px;
    color: #333;
}

/* Scrollbar styling for country list */
.country-list::-webkit-scrollbar {
    width: 6px;
}

.country-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.country-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Billing Address Selection */
.billing-address-section {
    margin: 30px 0;
}

.billing-address-section .form-section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.billing-address-section .section-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.billing-address-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.billing-address-options .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.billing-address-options .checkbox-wrapper input[type="radio"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.billing-address-options .checkbox-wrapper label {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.billing-address-options .address-text {
    font-size: 14px;
    line-height: 1.6;
    color: #d32f2f;
    font-weight: 500;
}

.billing-address-section .error-message {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}

/* Flatpickr Custom Styling */
.flatpickr-calendar.royal-mail-calendar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.flatpickr-calendar.royal-mail-calendar .flatpickr-day.disabled {
    color: #e0e0e0;
    cursor: not-allowed;
}

.flatpickr-calendar.royal-mail-calendar .flatpickr-day.selected {
    background: #1a3a52;
    border-color: #1a3a52;
}

.flatpickr-calendar.royal-mail-calendar .flatpickr-day:hover:not(.disabled):not(.selected) {
    background: #e8f4f8;
    border-color: #1a3a52;
}

.flatpickr-calendar.royal-mail-calendar .flatpickr-current-month {
    color: #1a3a52;
}

.flatpickr-calendar.royal-mail-calendar .flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-calendar.royal-mail-calendar .flatpickr-months .flatpickr-next-month:hover svg {
    fill: #1a3a52;
}

/* ============================================
   MOBILE RESPONSIVE DESIGN - COMPREHENSIVE
   ============================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    /* Application Form */
    .form-card {
        padding: 25px 20px;
    }
    
    .application-types {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .app-type-card {
        padding: 20px 15px;
    }
    
    /* Counter Section */
    .counter-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .counter-group {
        width: 100%;
    }
    
    /* Duration Cards */
    .duration-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .duration-card {
        max-width: 100%;
    }
    
    /* Checkbox Options */
    .checkbox-options {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Header */
    .logo-text {
        font-size: 22px;
    }
    
    .logo-mail {
        padding: 2px 10px;
    }
    
    /* Hero Banner */
    .hero-banner {
        padding: 40px 0;
    }
    
    .banner-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    /* Features */
    .features-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-item {
        width: 100%;
        text-align: center;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Progress Bar */
    .progress-bar {
        flex-direction: row;
        justify-content: space-around;
        padding: 15px;
    }
    
    .progress-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-label {
        font-size: 11px;
        margin-top: 5px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        line-height: 35px;
    }
    
    /* Application Form */
    .form-card {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .step-header {
        margin-bottom: 25px;
    }
    
    .step-info h2 {
        font-size: 22px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    /* Application Types */
    .application-types {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .app-type-card {
        padding: 18px 15px;
    }
    
    .app-type-card h4 {
        font-size: 16px;
    }
    
    /* Counter Section */
    .counter-wrapper {
        flex-direction: column;
    }
    
    .counter-group {
        padding: 15px;
    }
    
    .counter-label h4 {
        font-size: 16px;
    }
    
    .counter-controls {
        gap: 15px;
    }
    
    .counter-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .counter-value {
        font-size: 22px;
        min-width: 40px;
    }
    
    /* Form Rows */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Form Groups */
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    /* Person Section */
    .person-section {
        padding: 20px 15px;
    }
    
    .person-section h4 {
        font-size: 18px;
    }
    
    .remove-person-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    /* Duration Cards */
    .duration-cards {
        grid-template-columns: 1fr;
    }
    
    .duration-card {
        padding: 15px;
    }
    
    .duration-card .duration {
        font-size: 18px;
    }
    
    .duration-card .price {
        font-size: 26px;
    }
    
    /* Duration Options (Review Page) */
    .duration-options {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
    }
    
    .duration-card h4 {
        font-size: 16px;
    }
    
    .duration-card .price {
        font-size: 24px;
    }
    
    .duration-card .per-adult {
        font-size: 12px;
    }
    
    .duration-card .recommended {
        font-size: 11px;
    }
    
    /* Review Layout */
    .review-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-right {
        position: static;
        order: -1;
    }
    
    .review-summary-box {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .review-summary-box h3 {
        font-size: 16px;
    }
    
    .summary-item {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .summary-item h4 {
        font-size: 13px;
    }
    
    .summary-item p {
        font-size: 13px;
    }
    
    .summary-breakdown {
        padding: 12px;
    }
    
    .breakdown-row {
        font-size: 13px;
    }
    
    .breakdown-total {
        font-size: 15px;
    }
    
    .breakdown-total .amount {
        font-size: 20px;
    }
    
    /* Billing Address Section */
    .billing-address-section {
        margin: 20px 0;
    }
    
    .billing-address-options .address-text {
        font-size: 13px;
    }
    
    /* Terms Section */
    .terms-section {
        padding: 15px;
    }
    
    .checkbox-wrapper label {
        font-size: 13px;
    }
    
    /* Review Card */
    .review-card {
        padding: 12px;
    }
    
    .review-card h4 {
        font-size: 14px;
    }
    
    .review-card p {
        font-size: 14px;
    }
    
    .review-card p strong {
        min-width: 100px;
        font-size: 13px;
    }
    
    /* Summary Box */
    .summary-box {
        padding: 15px;
    }
    
    .summary-row {
        font-size: 14px;
    }
    
    .summary-total {
        font-size: 16px;
    }
    
    .summary-total .amount {
        font-size: 22px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* Payment Page */
    .payment-section {
        padding: 40px 0;
    }
    
    .payment-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .payment-left,
    .payment-right {
        width: 100%;
    }
    
    .order-summary {
        padding: 15px;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .payment-form {
        padding: 20px 15px;
    }
    
    /* Thank You Page */
    .thankyou-section {
        padding: 20px 0;
    }
    
    .thankyou-container {
        padding: 0 15px;
    }
    
    .thankyou-container h1 {
        font-size: 26px;
    }
    
    .order-details-card {
        padding: 15px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-row .label {
        font-size: 13px;
    }
    
    .detail-row .value {
        font-size: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .action-buttons a,
    .action-buttons button {
        width: 100%;
    }
    
    /* Info Box */
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .info-box i {
        font-size: 28px;
    }
    
    /* Next Steps */
    .next-steps {
        padding: 15px;
    }
    
    .next-steps h3 {
        font-size: 18px;
    }
    
    .next-steps ol {
        padding-left: 20px;
    }
    
    .next-steps li {
        font-size: 14px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    /* Logo */
    .logo-text {
        font-size: 20px;
    }
    
    /* Banner */
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Form Card */
    .form-card {
        padding: 15px 10px;
    }
    
    /* Progress Bar */
    .progress-bar {
        padding: 10px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
        line-height: 30px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    /* Section Titles */
    .form-section-title h3 {
        font-size: 18px;
    }
    
    /* App Type Cards */
    .app-type-card {
        padding: 15px 12px;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .app-type-card h4 {
        font-size: 15px;
    }
    
    /* Counter */
    .counter-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .counter-value {
        font-size: 20px;
        min-width: 35px;
    }
    
    /* Form Inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 9px 10px;
    }
    
    /* Duration Cards */
    .duration-card .duration {
        font-size: 16px;
    }
    
    .duration-card .price {
        font-size: 24px;
    }
    
    .duration-card .per-month {
        font-size: 12px;
    }
    
    /* Duration Options (Review Page) */
    .duration-options {
        gap: 10px;
        margin: 15px 0;
    }
    
    .duration-card {
        padding: 12px 10px;
    }
    
    .duration-card h4 {
        font-size: 15px;
    }
    
    .duration-card .price {
        font-size: 22px;
    }
    
    .duration-card .per-adult {
        font-size: 11px;
    }
    
    .duration-card .recommended {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    /* Review Summary Box */
    .review-summary-box {
        padding: 12px;
    }
    
    .review-summary-box h3 {
        font-size: 15px;
    }
    
    .summary-item h4 {
        font-size: 12px;
    }
    
    .summary-item p {
        font-size: 12px;
    }
    
    /* Billing Address */
    .billing-address-section .form-section-title h3 {
        font-size: 16px;
    }
    
    .billing-address-options .address-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* Terms Section */
    .terms-section {
        padding: 12px;
    }
    
    .checkbox-wrapper input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-wrapper label {
        font-size: 12px;
    }
    
    /* Person Section */
    .person-section {
        padding: 15px 10px;
    }
    
    .person-section h4 {
        font-size: 16px;
    }
    
    /* Thank You Success Icon */
    .success-icon,
    .warning-icon {
        font-size: 60px;
    }
    
    /* Order Details Card */
    .order-details-card h2 {
        font-size: 18px;
    }
    
    .detail-row {
        padding: 10px 0;
    }
    
    /* Payment Form */
    .payment-form h2 {
        font-size: 20px;
    }
    
    .order-summary h3 {
        font-size: 18px;
    }
    
    /* Country Dropdown */
    .country-list {
        max-height: 250px;
    }
    
    .country-item {
        padding: 8px 12px;
    }
    
    .country-item .country-name {
        font-size: 13px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 18px;
        gap: 6px;
    }
    
    .banner-title {
        font-size: 22px;
    }
    
    .form-card {
        padding: 12px 8px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .counter-controls {
        gap: 12px;
    }
    
    .counter-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .counter-value {
        font-size: 18px;
        min-width: 30px;
    }
}

