

.screen-reader-response {
    display: none;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #01cc3f;
}
span.wpcf7-not-valid-tip {
    color: red;
}
.wpcf7-response-output.wpcf7-validation-errors {
    color: red;
}



/* --- CTA Section Styling --- */
        .cta-section {
            max-width: 1200px;
            margin: 40px auto;
        }

        .cta-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .cta-card {
            background-size: cover;
            background-position: center;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            border: 1px solid var(--border-color);
            display: flex;
        }
        
        .consultation-card { background-image: url('img/dp.jpeg'); }
        .calculator-card { background-image: url('img/bk.jpg'); }

        .cta-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, rgba(4, 13, 33, 0.4) 0%, rgba(4, 13, 33, 0.98) 100%);
            z-index: 1;
        }

        .card-content {
            position: relative; z-index: 2; padding: 40px;
            display: flex; flex-direction: column; width: 100%;
        }
        
        .card-content h2 {font-size: 2.2rem;margin: 0 0 10px 0;line-height: 1.2;color: #fff;}
        .card-content .subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 25px; }
        .card-content ul { list-style-type: '✓ '; padding-left: 20px; margin: 20px 0; color: var(--text-secondary); }
        .card-content ul li { padding-left: 10px; margin-bottom: 10px; font-size: 1rem; }
        .card-footer { margin-top: auto; }

        .cta-button {
            display: block;
            width: 100%;
            background:none;
            color: #ff923b;
            text-align: center;
            padding: 18px 20px;
            border: 1px solid #ff923b;
            font-size: 1.1rem;
            font-weight: bold;
            text-decoration: none;
            
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .cta-button:hover { background-color: #00a1e0; }
        
        /* --- Shared Modal Overlay Styling --- */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.85); display: flex;
            justify-content: center; align-items: center; z-index: 1000;
            opacity: 0; visibility: hidden;
            transition: opacity 0.3s ease, visibility 0s 0.3s linear;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; transition-delay: 0s; }

        /* --- Download Modal Styling --- */
        #download-modal .modal-content {
            background-color: var(--card-background); background-image: url('https://i.imgur.com/yFj0m8P.jpg');
            background-size: cover; background-position: center top; padding: 40px; border-radius: 20px;
            border: 1px solid var(--border-color); width: 90%; max-width: 550px; position: relative;
            transform: scale(0.95); transition: transform 0.3s ease; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
        }
        #download-modal.active .modal-content { transform: scale(1); }
        #download-modal .modal-header { position: relative; z-index: 2; }
        #download-modal .modal-content::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, rgba(4, 13, 33, 0.6) 0%, rgba(4, 13, 33, 0.99) 100%);
            z-index: 1; border-radius: 20px;
        }
        #download-modal .close-modal {
            position: absolute; top: 15px; left: 15px; background-color: rgba(0,0,0,0.3);
            border: 1px solid var(--border-color); border-radius: 50%; width: 40px; height: 40px;
            font-size: 28px; cursor: pointer; color: white; display: flex; align-items: center;
            justify-content: center; line-height: 1; z-index: 3;
        }
        #download-modal .close-modal:before { content: '←'; }
        #download-modal .modal-form { position: relative; z-index: 2; margin-top: 25px; }
        .form-group { margin-bottom: 15px; }
        .phone-group { display: flex; }
        .phone-group .country-code {
            background-color: transparent; border: 1px solid var(--input-border);
            border-right: none; border-radius: 12px 0 0 12px; padding: 0 15px;
            color: var(--text-secondary); display: flex; align-items: center;
        }
        .modal-form input, .modal-form textarea {
            width: 100%; padding: 16px; background-color: transparent;
            border: 1px solid var(--input-border); border-radius: 12px;
            color: white; font-size: 1rem; box-sizing: border-box;
        }
        .phone-group input { border-radius: 0 12px 12px 0; }
        .radio-group { margin-top: 25px; }
        .radio-option {
            display: block; border: 1px solid var(--input-border); padding: 15px;
            border-radius: 12px; margin-bottom: 10px; cursor: pointer;
        }
        .radio-option input { display: none; }
        .radio-option label { position: relative; padding-left: 30px; cursor: pointer; }
        .radio-option label::before, .radio-option label::after {
            content: ''; position: absolute; top: 50%; transform: translateY(-50%);
            border-radius: 50%; left: 0;
        }
        .radio-option label::before { width: 18px; height: 18px; border: 2px solid var(--input-border); }
        .radio-option input:checked + label::after {
            width: 10px; height: 10px; background-color: var(--primary-blue); left: 6px;
        }

        /* --- NEW: Booking Modal Specific Styling --- */
        #booking-modal .modal-content {
            background-color: var(--card-background); background-image: url('https://i.imgur.com/K3aYq03.jpg');
            background-size: cover; background-position: center top; padding: 40px; border-radius: 20px;
            border: 1px solid var(--border-color); width: 90%; max-width: 580px; position: relative;
            transform: scale(0.95); transition: transform 0.3s ease; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            max-height: 90vh; overflow-y: auto;
        }
        #booking-modal.active .modal-content { transform: scale(1); }
        #booking-modal .modal-content::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, rgba(4, 13, 33, 0.7) 0%, rgba(4, 13, 33, 1) 50%);
            z-index: 1; border-radius: 20px;
        }
        .modal-back-btn {
            position: absolute; top: 15px; left: 15px; background-color: rgba(0,0,0,0.3);
            border: 1px solid var(--border-color); border-radius: 50%; width: 40px; height: 40px;
            font-size: 28px; cursor: pointer; color: white; display: flex; align-items: center;
            justify-content: center; line-height: 1; z-index: 3;
        }
        .modal-back-btn:before { content: '←'; }
        .modal-page { position: relative; z-index: 2; }
        #page-time { display: none; }
        #booking-modal .modal-header { text-align: center; }
        #booking-modal .modal-header h2 { font-size: 1.8rem; margin-bottom: 5px; }
        #booking-modal .modal-header p { color: var(--text-secondary); max-width: 400px; margin: 0 auto 20px auto;}
        #booking-modal .modal-header ul { list-style-type: '✓ '; padding-left: 20px; text-align: left; max-width: 400px; margin: 20px auto; color: var(--text-secondary); }
        #booking-modal .modal-header ul li { padding-left: 10px; margin-bottom: 10px; }
        .calendar-container { margin-top: 30px; }
        .calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .calendar-nav button { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
        .calendar-month { font-size: 1.2rem; font-weight: bold; }
        .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; text-align: center; }
        .calendar-day, .calendar-weekday { padding: 10px; }
        .calendar-weekday { color: var(--text-secondary); font-size: 0.9rem; }
        .calendar-day { cursor: pointer; border-radius: 50%; border: 2px solid transparent; transition: all 0.2s ease; }
        .calendar-day.not-current-month { color: #555; }
        .calendar-day.available:hover { background-color: rgba(0, 186, 255, 0.2); }
        .calendar-day.available { border: 2px solid var(--border-color); }
        .calendar-day.today { font-weight: bold; border-color: var(--primary-blue); }
        .time-slots-container { margin-top: 30px; }
        .selected-date-header { text-align: center; margin-bottom: 20px; }
        .time-slots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
        .time-slot { padding: 15px; border: 1px solid var(--input-border); border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.2s ease; }
        .time-slot:hover:not(.disabled) { background-color: rgba(0, 186, 255, 0.2); border-color: var(--primary-blue); }
        .time-slot.active { background-color: var(--primary-blue); color: var(--dark-background); font-weight: bold; }
        .time-slot.disabled { background-color: rgba(0,0,0,0.2); color: var(--text-secondary); cursor: not-allowed; text-decoration: line-through; }
        #booking-modal .booking-form { margin-top: 30px; }
        #booking-modal .booking-form input, #booking-modal .booking-form textarea {
            width: 100%; padding: 16px; background-color: transparent; border: 1px solid var(--input-border);
            border-radius: 12px; color: white; font-size: 1rem; box-sizing: border-box;
        }
        #booking-modal .booking-form textarea { min-height: 100px; resize: vertical; }
        #booking-modal .booking-form button {
            width: 100%; background-color: var(--primary-blue); color: #ffffff; text-align: center; padding: 18px 20px;
            border-radius: 12px; font-size: 1.1rem; font-weight: bold; border: none; cursor: pointer;
            transition: background-color 0.3s ease; margin-top: 15px;
        }

        /* --- Mobile Responsiveness --- */
        @media (max-width: 900px) {
            .cta-container { grid-template-columns: 1fr; }
            .card-content h2 { font-size: 1.8rem; }
            .modal-content { padding: 40px 20px; }
        }
 
 
.booking-wrapper {
        max-width: 450px;
        margin: 0 auto;
        background-color: #0d122b;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        min-height: 100vh;
      }
      
      .booking-hero {
        position: relative;
        height: 200px;
        background-image: url('img/dp.jpeg');
        background-size: cover;
        background-position: center;
      }
      
      .back-button {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background-color: rgba(13, 18, 43, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        backdrop-filter: blur(5px);
      }
      
      .booking-content {
        padding: 30px 25px;
      }
      
      .booking-content h1, .booking-content .intro-p, .benefits-list, .section-title, .section-subtitle {
        margin-bottom: 24px;
      }
      .booking-content h1 { font-size: 28px; font-weight: 600; }
      .booking-content .intro-p { color: #d1d5db; line-height: 1.6; }
      .benefits-list { list-style: none; }
      .benefits-list li { color: #d1d5db; padding-left: 25px; position: relative; margin-bottom: 12px; line-height: 1.5; }
      .benefits-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #38bdf8; font-weight: bold; }
      .section-title { text-align: center; font-size: 20px; font-weight: 500; margin-bottom: 8px; }
      .section-subtitle { text-align: center; color: #9ca3af; }
      
      /* --- NEW STYLING FOR OUR CUSTOM POPUP BUTTON --- */
      .calendly-popup-btn {
        width: 100%;
        background:none;
        color: #ff923b;
        font-size: 18px;
        font-weight: bold;
        padding: 16px;
        border: 1px solid #ff923b;
        border-radius: 0px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 20px; /* Add some space above the button */
      }
      
      
      
      
      .calendly-popup-btn:hover {
        background-color: #7dd3fc;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
      }
      /* Same as previous CSS, unchanged for brevity */
      
      @keyframes popIn {
  from { transform: scale(0.8); opacity: 0;}
  to { transform: scale(1); opacity: 1;}
}

.close {
  color: #aaa;
  position: absolute;
  right: 1em;
  top: 1em;
  font-size: 2em;
  font-weight: bold;
  cursor: pointer;
}



.confirm-list {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.confirm-list li {
  margin-bottom: 0.5em;
}


#googleCalLink {
  display: inline-block;
  margin-top: 1em;
  padding: 0.6em 1.2em;
  background: #0b7bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 600px) {
  .modal-content {
    margin: 10% auto;
    padding: 1em;
  }
}