/* 
 * Galactic Journeys - 2026 Complete Renovation
 * Replaces style.css entirely.
 */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-deep: #050510;
    --bg-card: rgba(20, 20, 35, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --accent-primary: #ff6600;
    --accent-glow: rgba(255, 102, 0, 0.5);
    --accent-secondary: #00f2ff;
    --accent-secondary-glow: rgba(0, 242, 255, 0.5);

    --text-main: #e0e0e0;
    --text-muted: #a0a0b0;
    --text-highlight: #ffffff;

    /* Fonts */
    --font-heading: 'Orbitron', 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', 'Inter', sans-serif;

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --section-padding: 50px 0;

    /* Effects */
    --glass-blur: blur(8px);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 102, 0, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.08) 0%, transparent 25%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-highlight);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 8px var(--accent-secondary-glow);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-bg {
    background: rgba(255, 255, 255, 0.02);
}

.section-title {
    text-align: center;
    padding-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

.section-title p {
    margin-top: 15px;
    color: var(--text-muted);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
#header {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
    height: 80px;
    display: flex;
    /* Ensure alignment */
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s;
}

#header .logo img {
    max-height: 45px;
    filter: drop-shadow(0 0 5px rgba(255, 102, 0, 0.3));
}

#header .logo {
    margin: 0;
    line-height: 1;
}

.navbar {
    margin-left: auto;
    /* Push to right */
}

.navbar ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus {
    color: var(--text-highlight);
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Dropdown */
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--bg-deep);
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-sm);
    transition: 0.3s;
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 13px;
    text-transform: none;
    font-weight: 400;
}

/* Mobile Nav - Drawer Style */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    /* Start off-screen */
    bottom: 0;
    width: 300px;
    /* Partial width */
    background: var(--bg-deep);
    /* Solid background */
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    /* Standard padding */
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    /* Removed center alignment */
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.mobile-nav-close {
    color: var(--text-highlight);
    font-size: 28px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

/* Ensure scrolling to sections respects fixed header */
section {
    scroll-margin-top: 100px;
}

.mobile-nav-close:hover {
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 15px;
    color: var(--text-main);
    font-size: 16px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
    transition: 0.3s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--text-highlight);
    background: rgba(255, 102, 0, 0.1);
    padding-left: 20px;
}

/* Dropdowns in Mobile */
.mobile-nav-links .dropdown ul {
    position: static;
    display: none;
    margin: 10px 0 10px 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links .dropdown ul a {
    font-size: 14px;
    text-transform: none;
    padding: 8px 10px;
}

.mobile-nav-links .dropdown.active>ul {
    display: block;
}

.mobile-nav-links .dropdown>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-links .dropdown>a i {
    font-size: 12px;
    transition: 0.3s;
}

.mobile-nav-links .dropdown.active>a i {
    transform: rotate(180deg);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
#hero {
    width: 100%;
    height: 100vh;
    background-color: #000;
    position: relative;
    overflow: hidden;
    padding: 0;
}

#hero .carousel-item {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero .carousel-item::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#hero .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 80px;
    left: 0;
    right: 0;
}

#hero .carousel-content {
    text-align: center;
    padding: 0 20px;
}

/* Carousel Control Arrows */
#hero .carousel-control-prev,
#hero .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0 30px;
    /* Spacing from screen edge */
}

#hero .carousel-control-prev:hover,
#hero .carousel-control-next:hover {
    background: var(--accent-primary);
    opacity: 1;
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: var(--accent-primary);
}

#hero .carousel-control-prev span,
#hero .carousel-control-next span {
    font-size: 28px;
    color: #fff;
    display: block;
}

/* Adjust for mobile */
@media (max-width: 768px) {

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

    #hero .carousel-control-prev span,
    #hero .carousel-control-next span {
        font-size: 20px;
    }
}

#hero h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}

#hero p {
    width: 80%;
    margin: 0 auto 30px auto;
    color: var(--text-main);
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: var(--radius-md);
    border: var(--border-glass);
}

.btn-get-started {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    color: var(--accent-primary);
    background: transparent;
    border: 1px solid var(--accent-primary);
    text-transform: uppercase;
    cursor: pointer;
}

.btn-get-started:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

@media (max-width: 768px) {
    #hero h2 {
        font-size: 2.5rem;
    }

    #hero p {
        width: 95%;
        font-size: 1rem;
    }
}

/* =========================================
   5. COMPONENTS (Cards, Boxes, Forms)
   ========================================= */
/* Glass Cards */
.icon-box,
.box,
.count-box,
.card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.icon-box:hover,
.box:hover,
.count-box:hover,
.card:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-card),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Ensure equal spacing by removing bottom margin of last element */
.icon-box>*:last-child,
.box>*:last-child,
.count-box>*:last-child,
.card>*:last-child,
.feature-card>*:last-child,
.my-website-icon>*:last-child,
.content-block>*:last-child {
    margin-bottom: 0 !important;
}

/* Icons */
.icon-box .icon,
.count-box i,
.my-website-icon i {
    color: var(--accent-secondary);
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
    text-shadow: 0 0 10px var(--accent-secondary-glow);
}

.icon-box h4 a {
    color: var(--text-highlight);
    transition: 0.3s;
}

.icon-box:hover h4 a {
    color: var(--accent-primary);
}

/* Counts Specific */
.count-box span {
    font-size: 3rem;
    display: block;
    font-weight: 700;
    color: var(--text-highlight);
    font-family: var(--font-heading);
}

/* Pricing Specific */
.pricing .box {
    text-align: center;
}

.pricing .recommended {
    border-color: var(--accent-primary);
}

.pricing h3 {
    color: var(--accent-secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing h4 {
    font-size: 3rem;
    color: var(--text-highlight);
}

.pricing h4 sup {
    font-size: 1.5rem;
    top: -1em;
}

.pricing h4 span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing ul {
    text-align: left;
    padding: 20px 0;
}

.pricing ul li {
    padding-bottom: 10px;
    color: var(--text-main);
}

.pricing .btn-buy {
    display: inline-block;
    padding: 10px 35px;
    border-radius: 50px;
    transition: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    font-family: var(--font-heading);
    margin-top: 20px;
}

.pricing .btn-buy:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* =========================================
   6. CUSTOM LAYOUTS (The "Broken" Parts)
   ========================================= */

/* The "My Website" / About Grid */
.my-website-about-section {
    padding: 60px 0;
}

.my-website-text-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.my-website-text-container h2 {
    color: var(--accent-primary);
}

.my-website-grid {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    gap: 40px;
}

/* The grid of 4 boxes */
.my-website-boxes-container {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.my-website-icon {
    text-align: center;
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    border: var(--border-glass);
}

/* The image side */
.my-website-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.my-website-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

@media (max-width: 991px) {
    .my-website-grid {
        flex-direction: column-reverse;
        /* Stack appropriately */
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    background: var(--bg-glass);
    min-height: 40px;
    margin-top: 80px;
    /* clear fixed header */
    border-bottom: var(--border-glass);
}

.breadcrumbs h2 {
    font-size: 28px;
    font-weight: 400;
    margin: 0;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs ol li+li {
    padding-left: 10px;
}

.breadcrumbs ol li+li::before {
    display: inline-block;
    padding-right: 10px;
    color: var(--text-muted);
    content: "/";
}

/* =========================================
   7. FOOTER
   ========================================= */
#footer {
    background: #000;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
    border-top: var(--border-glass);
}

#footer .footer-top {
    background: var(--bg-deep);
    padding: 60px 0 30px 0;
}

#footer h3 {
    color: var(--accent-primary);
}

#footer h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-highlight);
    position: relative;
    padding-bottom: 12px;
}

.social-links a {
    font-size: 18px;
    display: inline-block;
    background: var(--bg-glass);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    border: var(--border-glass);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #fff;
}

/* =========================================
   8. EXTRAS (Popup, Support Board)
   ========================================= */
#projectPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    z-index: 2000;
    max-width: 600px;
    width: 90%;
    border: 1px solid var(--accent-primary);
    text-align: center;
}

#projectPopup h2 {
    color: var(--accent-primary) !important;
    margin-bottom: 20px;
}

#projectPopup button {
    background: var(--accent-primary);
    border: none;
    padding: 10px 30px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
}

/* Support Board Overrides */
.sb-icon {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

a.sb-cloud-brand {
    display: none !important;
}

.sb-main,

/* =========================================
   9. MISSING COMPONENTS (FAQ, Contact)
   ========================================= */

/* FAQ Section */
.faq .faq-list {
    padding: 0;
}

.faq .faq-list ul {
    padding: 0;
    list-style: none;
}

.faq .faq-list li+li {
    margin-top: 15px;
}

.faq .faq-list li {
    padding: 20px 30px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    position: relative;
    border: var(--border-glass);
    transition: 0.3s;
}

.faq .faq-list li:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.1);
}

.faq .faq-list a {
    display: block;
    position: relative;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding-right: 30px;
    outline: none;
    cursor: pointer;
    color: var(--text-highlight);
}

.faq .faq-list .icon-help {
    font-size: 24px;
    position: absolute;
    right: 0;
    left: 20px;
    color: var(--accent-primary);
    display: none;
    /* Hide original left icon if desired, or adjust padding */
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent-primary);
}

.faq .faq-list p {
    margin-bottom: 0;
    padding: 10px 0 0 0;
    color: var(--text-muted);
}

.faq .faq-list .icon-show {
    display: none;
}

.faq .faq-list a.collapsed {
    color: var(--text-main);
}

.faq .faq-list a.collapsed:hover {
    color: var(--accent-primary);
}

.faq .faq-list a.collapsed .icon-show {
    display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
    display: none;
}

/* Contact Section */
.contact .contact-info {
    margin-bottom: 30px;
    text-align: center;
}

.contact .contact-info i {
    font-size: 32px;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--accent-primary);
    background: rgba(255, 102, 0, 0.1);
    padding: 15px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
}

.contact .contact-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-highlight);
}

.contact .contact-info p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.contact .contact-info a {
    color: var(--text-muted);
}

.contact .contact-info a:hover {
    color: var(--accent-primary);
}

/* Contact Form */
.contact .php-email-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-md);
    border: var(--border-glass);
}

.contact .php-email-form .form-group {
    margin-bottom: 20px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: var(--radius-sm);
    box-shadow: none;
    font-size: 14px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 100%;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.2);
}

.contact .php-email-form button[type="submit"] {
    background: linear-gradient(90deg, var(--accent-primary), #ff9900);
    border: 0;
    padding: 12px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.contact .php-email-form button[type="submit"]:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Fix Box Layouts (Generic) */
.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-4,
.col-md-6,
.col-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Testimonials */
.testimonials .testimonial-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    border: var(--border-glass);
}

.testimonials .testimonial-img {
    width: 90px;
    border-radius: 50%;
    border: 4px solid var(--bg-deep);
    margin: 0 auto;
}

.testimonials h3 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
}

.testimonials h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}


/* =========================================
   10. FINAL POLISH & FIXES
   ========================================= */

/* Fix Contact Form Messages (Hide by default) */
.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
    display: none;
}

/* Fix Contact Icons (Perfect Circles) */
.contact .contact-info i {
    width: 64px;
    height: 64px;
    padding: 0;
    line-height: 64px;
    /* Center vertically */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* Keep existing colors */
}

/* Fix Blog Button & Generic Buttons */
.btn-primary,
.btn {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 50px;
    padding: 10px 30px;
    transition: 0.3s;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.btn-primary:hover,
.btn:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: var(--accent-primary);
}

/* Refine About Grid (4 Boxes) */
.my-website-boxes-container {
    gap: 15px;
    /* Tighter gap */
}

.my-website-icon {
    padding: 20px 15px;
    /* Slightly smaller padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    /* Uniform height */
}

.my-website-icon i {
    margin-bottom: 15px;
    font-size: 32px;
}

.my-website-icon h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text-highlight);
}

@media (min-width: 992px) {
    .my-website-grid {
        align-items: stretch;
        /* Make both sides equal height */
    }

    .my-website-image img {
        height: 100%;
        object-fit: cover;
        /* Ensure image covers the area nicely */
    }
}

/* =========================================
   11. LAYOUT REDESIGN (Modern Grid System)
   ========================================= */

/* --- ABOUT SECTION (The 4 Boxes) --- */
.my-website-about-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.my-website-text-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.my-website-text-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main Container Grid */
.my-website-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Side: The 2x2 Grid of Icons */
.my-website-boxes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.my-website-icon {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.my-website-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: 0.4s;
}

.my-website-icon:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.my-website-icon:hover::before {
    opacity: 1;
}

.my-website-icon i {
    font-size: 42px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    background: rgba(255, 102, 0, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.my-website-icon h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.my-website-icon p {
    font-size: 15px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Right Side: The Image */
.my-website-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.my-website-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive for About */
@media (max-width: 991px) {
    .my-website-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 40px;
    }

    .my-website-image {
        order: -1;
        /* Image on top */
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .my-website-boxes-container {
        grid-template-columns: 1fr;
        /* Stack boxes on very small screens */
    }
}

/* --- SERVICES & WHY US (Standard Grid) --- */
#services .row,
#why-us .row,
#pricing .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Force 3 columns */
    gap: 30px;
    margin: 0;
    /* Reset bootstrap margins */
}

/* Mobile Responsive for Standard Grid */
@media (max-width: 991px) {

    #services .row,
    #why-us .row,
    #pricing .row {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {

    #services .row,
    #why-us .row,
    #pricing .row {
        grid-template-columns: 1fr !important;
        /* 1 column on mobile */
    }
}

/* Ensure Cards fill height */
.icon-box,
.box,
.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.icon-box p,
.box p {
    margin-top: auto;
    /* Push content to fill if needed, or just standard flow */
}

/* Remove Bootstrap Col Widths impacting Grid */
#services .col-lg-4,
#services .col-md-6,
#why-us .col-lg-4,
#why-us .col-md-6,
#pricing .col-lg-4,
#pricing .col-md-6 {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}

/* --- COUNTS SECTION --- */
.counts .row {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.counts .col-lg-3 {
    width: auto !important;
    flex: 1;
    min-width: 200px;
}

.count-box {
    padding: 30px;
    width: 100%;
    background: var(--bg-card);
    border: var(--border-glass);
}

/* =========================================
   12. BOOKING SECTION
   ========================================= */
.booking h3 {
    color: var(--accent-secondary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.booking ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.booking ul li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.booking ul li i {
    font-size: 24px;
    color: var(--accent-primary);
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

/* Booking Form (same as Contact) */
.booking .php-email-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-md);
    border: var(--border-glass);
}

.booking .php-email-form .form-group {
    margin-bottom: 20px;
}

/* Hide messages by default */
.booking .php-email-form .loading,
.booking .php-email-form .error-message,
.booking .php-email-form .sent-message {
    display: none;
}

.booking .php-email-form input,
.booking .php-email-form select,
.booking .php-email-form textarea {
    border-radius: var(--radius-sm);
    box-shadow: none;
    font-size: 14px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 100%;
}

.booking .php-email-form input::placeholder,
.booking .php-email-form select::placeholder,
.booking .php-email-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.booking .php-email-form input:focus,
.booking .php-email-form select:focus,
.booking .php-email-form textarea:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.2);
}

.booking .php-email-form button[type="submit"] {
    background: linear-gradient(90deg, var(--accent-primary), #ff9900);
    border: 0;
    padding: 12px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
}

.booking .php-email-form button[type="submit"]:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

/* =========================================
   13. INNER PAGES MODERN LAYOUT
   ========================================= */

/* Container */
.inner-page {
    padding: 60px 0;
    margin: 0 auto;
}

/* Fix for pages without breadcrumbs */
#main>.inner-page:first-child {
    margin-top: 80px;
}

.inner-page h1,
.inner-page h2 {
    text-align: center;
    margin-bottom: 40px;
}

.inner-page h1 {
    font-size: 3rem;
    background: -webkit-linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* Feature Cards (for services, vehicles) */
.blog-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Slightly stronger border */
    margin-bottom: 60px;
    /* Doubled margin for clear separation */
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    /* Added subtle shadow by default */
    overflow: hidden;
    /* Ensure flush image respects radius */
}

.blog-body {
    padding: 40px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    padding: 40px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

/* Desktop Zig-Zag Layout */
@media (min-width: 992px) {
    .feature-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
    }

    /* 
       If a feature card has NO image (text-only), we want to center the text 
       and limit width for readability.
       Note: The HTML structure for text-only cards is now <div class="feature-card"><div class="feature-content">...</div></div>
    */
    .feature-card:not(:has(.feature-img)) {
        display: block;
        /* Revert to block for text-only cards to avoid weird flex alignments */
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .feature-img,
    .feature-content {
        flex: 1;
        width: 100%;
        /* Ensure they take available space */
    }

    .feature-card img {
        margin-bottom: 0 !important;
        /* Remove bottom margin in flex view */
        height: 100%;
        max-height: 450px;
        /* Increased slightly */
        object-fit: cover;
    }
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    transform: translateY(-5px);
    /* Lift effect */
}

.feature-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 25px;
    font-size: 2rem;
    /* Larger headings */
    font-weight: 700;
}

/* Ensure images are responsive within container */
.feature-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.feature-card p {
    color: var(--text-main);
    line-height: 1.9;
    /* Better readability */
    margin-bottom: 20px;
    font-size: 1.05rem;
    /* Slightly larger text */
}

/* Step Cards (for planning, training) */
.step-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: var(--border-glass);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--accent-primary);
}

.step-number {
    background: linear-gradient(135deg, var(--accent-primary), #ff9900);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.step-content h3 {
    color: var(--text-highlight);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
}

/* Content Block (for simpler pages) */
.content-block {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    padding: 50px;
    margin-bottom: 40px;
}

.content-block h2 {
    color: var(--accent-primary);
    margin-bottom: 25px;
    text-align: left;
}

.content-block img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.content-block ul {
    list-style: none;
    padding: 0;
}

.content-block ul li {
    margin-bottom: 25px;
    padding-left: 40px;
    position: relative;
    color: var(--text-main);
    line-height: 1.8;
}

.content-block ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.content-block p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .inner-page {
        padding: 40px 20px;
    }

    .inner-page h1 {
        font-size: 2rem;
    }

    .feature-card,
    .content-block {
        padding: 30px 20px;
    }

    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ========================================= */

/* Tablet and below (991px) */
@media (max-width: 991px) {
    .my-website-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .my-website-boxes-container {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .hero-container h2 {
        font-size: 2.5rem !important;
    }

    /* Mobile Menu Z-Index Fix */
    #navbar.navbar-mobile {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        z-index: 9999 !important;
        background: rgba(6, 12, 34, 0.98) !important;
        overflow-y: auto !important;
        padding-top: 70px !important;
    }

    #navbar.navbar-mobile ul {
        display: block !important;
        padding: 20px !important;
        margin: 0 !important;
    }

    #navbar.navbar-mobile li {
        margin: 0 !important;
        padding: 0 !important;
    }

    #navbar.navbar-mobile a {
        display: block !important;
        padding: 15px 20px !important;
        color: #fff !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-nav-toggle {
        display: block !important;
        z-index: 10000;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Stack Grids */
    .my-website-boxes-container,
    .services-grid,
    .pricing-grid,
    .row {
        display: flex !important;
        flex-direction: column !important;
        /* gap: 30px !important;  <-- Removed to prevent double spacing with margin-bottom */
    }

    /* Full width containers */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }

    /* Box sizing and spacing */
    .my-website-icon,
    .feature-card,
    .step-card,
    .content-block,
    .pricing-item,
    .col-lg-4,
    .col-md-6,
    .col-md-4 {
        width: 100% !important;
        margin-bottom: 20px !important;
        margin-top: 0 !important;
        /* Override bootstrap mt-4 */
        padding: 25px 20px !important;
    }

    /* Strict override for any mt-4 utility on mobile to prevent gaps */
    .mt-4 {
        margin-top: 0 !important;
    }

    /* Typography */
    h1,
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }

    p {
        font-size: 1rem !important;
    }

    /* Fix vehicle spec grids */
    .feature-card>div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
    }

    /* Hero Padding - Removed to fix black gap at top */
    #hero {
        height: 100vh !important;
        min-height: 100vh;
        padding: 0 !important;
        background-attachment: scroll;
        /* Fix for mobile background jitter */
    }
}

/* Ensure global full width/height behavior */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hide Desktop Navbar on Mobile */
@media (max-width: 991px) {
    .navbar ul {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
    }
}

/* Hide Mobile Drawer on Desktop */
@media (min-width: 992px) {

    .mobile-nav-drawer,
    .mobile-nav-overlay,
    .mobile-nav-toggle {
        display: none !important;
    }
}

/* =========================================
   SUPPORT BOARD STYLES
   ========================================= */
.sb-icon {
    border-radius: 50%;
    /* This will make the image circular */
    width: 100px;
    /* Adjust the width and height as needed */
    height: 100px;
}

a.sb-cloud-brand {
    display: none !important;
}

.sb-main,
.sb-body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* PDF List Style for Chatdocs */
.pdf-list {
    list-style: none;
    padding: 0;
    padding-left: 0 !important;
    /* Force override content-block ul padding */
    margin: 0;
}

.pdf-list li {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.pdf-list li::before {
    content: none !important;
}

/* Grid Layout for Text-Heavy Pages (Launch, Safety, etc.) */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

.cards-grid .feature-card,
.cards-grid .step-card {
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Homepage Blog Section Corrections */
#blog .card {
    border: none;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    /* Stretch to fill column */
}

#blog .card-body {
    padding: 30px 0 15px 0;
    /* Flush horizontal, reduced bottom */
    display: flex;
    flex-direction: column;
}

#blog .card-text {
    flex-grow: 0;
    /* Do not stretch text, let it sit naturally */
    margin-bottom: 0;
    /* Remove default margin so padding controls the gap */
}

#blog .card-body> :last-child {
    margin-bottom: 0 !important;
}

/* Ensure content inside stretches nicely */
.cards-grid .feature-card .feature-content,
.cards-grid .step-card .step-content {
    flex: 1;
}

/* Legacy Sidebar Style (consistent across all blog pages) */
.sidebar {
    background-color: #1c1c1c;
    padding: 30px;
    margin-top: 0;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 12px;
}

.sidebar li a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
}

.sidebar li a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}