/* Global Styles */
:root {
    --primary-color: #1a2a4a; /* Deep space blue */
    --secondary-color: #f0ad5e; /* Brighter cosmic gold/orange */
    --accent-color: #a979c3; /* Brighter cosmic purple */
    --light-color: #ffffff; /* Bright starlight */
    --dark-color: #0a0e17; /* Space black */
    --text-color: #f8f9fb; /* Brighter light text */
    --text-dark: #333; /* Dark text for light backgrounds */
    --text-light: #f8f9fa;
    --transition: all 0.3s ease;
    --glow-effect: 0 0 15px rgba(240, 173, 94, 0.7); /* Enhanced orange glow */
    --blue-glow: 0 0 15px rgba(83, 143, 255, 0.7); /* Enhanced blue glow */
    --purple-glow: 0 0 15px rgba(169, 121, 195, 0.7); /* Enhanced purple glow */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    background-color: #f1f1f5;
    background-image: linear-gradient(to bottom, #0a0e17, #1a2a4a 80%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-color);
}

h2 {
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(229, 165, 93, 0.5);
}

h3, h4 {
    color: var(--light-color);
}

p {
    color: #c5c5d0;
}

p.lead {
    color: #444a60;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    font-weight: 400;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

.dropdown-menu {
    background-color: var(--primary-color);
    border: none;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 42, 74, 0.7), rgba(10, 14, 23, 0.8)), url('https://i.postimg.cc/JhGBPsbn/image-2025-06-27-T193126-695.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(10, 14, 23, 0.8) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 15px rgba(240, 173, 94, 0.9);
    animation: text-glow 5s infinite alternate;
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    width: 100%;
    /* Use aspect ratio based on hero image dimensions (1568x512 ≈ 3.06:1) */
    aspect-ratio: 3.06 / 1;
    min-height: 400px; /* Minimum height for smaller screens */
    max-height: 80vh; /* Maximum height to prevent oversized on large screens */
    overflow: hidden;
    padding: 0;
    margin-bottom: 3rem;
    
    /* Fallback for browsers that don't support aspect-ratio */
    height: auto;
}

/* Fallback using padding-bottom technique for older browsers */
@supports not (aspect-ratio: 1) {
    .hero-section {
        height: 0;
        padding-bottom: 32.7%; /* 1/3.06 * 100% */
        min-height: 400px;
        max-height: 80vh;
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 10s ease;
    /* Ensure image maintains quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Add backdrop filter for better text contrast */
    filter: brightness(0.9) contrast(1.1);
}

.hero-section:hover .hero-image {
    transform: scale(1.05);
    filter: brightness(0.95) contrast(1.15);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(10, 14, 23, 0.7), rgba(26, 42, 74, 0.5));
    animation: cosmic-pulse 8s infinite alternate;
    padding: 2rem;
    z-index: 2;
    min-height: 300px;
}

/* Additional text overflow protection for hero content */
.hero-content h1,
.hero-content .display-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines max */
    line-clamp: 3; /* Standard property */
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-content p.lead {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines max */
    line-clamp: 4; /* Standard property */
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Ensure buttons don't overflow */
.hero-content .cosmic-btn {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Enhanced mobile text handling */
@media (max-width: 320px) {
    .hero-content h1,
    .hero-content .display-4 {
        -webkit-line-clamp: 2; /* Even more compact on tiny screens */
        line-clamp: 2; /* Standard property */
        font-size: 1.1rem !important;
    }
    
    .hero-content p.lead {
        -webkit-line-clamp: 3;
        line-clamp: 3; /* Standard property */
        font-size: 0.7rem !important;
    }
    
    .hero-section {
        min-height: 220px;
        aspect-ratio: 4 / 3;
    }
    
    .hero-content {
        padding: 0.6rem 0.2rem !important;
    }
}

@keyframes cosmic-pulse {
    0% {
        background: linear-gradient(45deg, rgba(10, 14, 23, 0.7), rgba(26, 42, 74, 0.5));
    }
    50% {
        background: linear-gradient(45deg, rgba(26, 42, 74, 0.6), rgba(138, 92, 152, 0.4));
    }
    100% {
        background: linear-gradient(45deg, rgba(138, 92, 152, 0.6), rgba(229, 165, 93, 0.5));
    }
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 15px rgba(229, 165, 93, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(83, 143, 255, 0.8);
    }
    100% {
        text-shadow: 0 0 15px rgba(138, 92, 152, 0.8);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    position: relative;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    background: linear-gradient(145deg, #1e2f50, #0c1529);
    color: var(--text-light);
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(229, 165, 93, 0.1);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 173, 94, 0.3), transparent 60%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(240, 173, 94, 0.4);
    border-color: rgba(240, 173, 94, 0.4);
}

.feature-box:hover::before {
    opacity: 1;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% { opacity: 0.2; }
    50% { opacity: 0.4; }
    100% { opacity: 0.2; }
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(240, 173, 94, 0.5);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(229, 165, 93, 0.3), transparent);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background-color: rgba(10, 14, 23, 0.7);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.postimg.cc/JhGBPsbn/image-2025-06-27-T193126-695.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

/* Enhanced Gallery Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 3/5;
    height: auto;
    min-height: 450px;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 11;
    pointer-events: none;
}

.gallery-item:hover::before,
.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 92, 152, 0.4);
    border-color: rgba(229, 165, 93, 0.5);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.9), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info h5 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Comparison Gallery Styling */
.comparison-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.comparison-pair {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px;
}

.comparison-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    height: 500px;
}

.comparison-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.comparison-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 11;
    pointer-events: none;
}

.comparison-item:hover::before,
.comparison-item:hover::after {
    opacity: 1;
}

.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.comparison-item:hover img {
    transform: scale(1.05);
}

.comparison-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 8px 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 30px;
    color: white;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.comparison-divider span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: var(--glow-effect);
}

/* Lightbox gallery */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 23, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 30px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--glow-effect);
    z-index: 10;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--glow-effect);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--glow-effect);
}

.cosmic-btn {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
    box-shadow: var(--glow-effect);
}

.cosmic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(229, 165, 93, 0.4);
}

.cosmic-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cosmic-btn:hover:before {
    left: 100%;
}

.model-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    height: 600px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.model-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.5s ease;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.model-card::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 11;
    pointer-events: none;
}

.model-card:hover::before,
.model-card:hover::after {
    opacity: 1;
}

.model-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.model-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.95), rgba(10, 14, 23, 0.7), transparent);
    padding: 30px 20px;
    color: white;
    transform: translateY(80px);
    transition: all 0.4s ease;
}

.model-card:hover .model-card-overlay {
    transform: translateY(0);
}

.model-card-overlay h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.model-card-overlay p {
    margin-bottom: 15px;
    font-size: 1rem;
    opacity: 0.9;
}

.model-image-count {
    background: rgba(240, 173, 94, 0.3);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    position: relative;
    background-color: rgba(10, 14, 23, 0.5);
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.postimg.cc/JhGBPsbn/image-2025-06-27-T193126-695.png');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
}

.pricing-table {
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.8), rgba(10, 14, 23, 0.95));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 30px;
    height: 100%;
    color: var(--text-light);
    border: 1px solid rgba(138, 92, 152, 0.2);
    position: relative;
    z-index: 1;
}

.pricing-table::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 165, 93, 0.1), transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: all 0.8s ease;
}

.pricing-table:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(229, 165, 93, 0.3);
    border-color: rgba(229, 165, 93, 0.3);
}

.pricing-table:hover::after {
    opacity: 1;
    animation: cosmic-glow 5s infinite;
}

@keyframes cosmic-glow {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

.pricing-header {
    background: linear-gradient(45deg, var(--primary-color), rgba(138, 92, 152, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .btn {
    display: block;
    width: 100%;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
}

.testimonial-item {
    text-align: center;
    padding: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-position {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
}

.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* Contact Form Enhancements */
.contact-form-container {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(240, 173, 94, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(240, 173, 94, 0.2) !important;
}

.contact-form-container h3 {
    color: var(--dark-color) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.contact-form label {
    color: var(--dark-color) !important;
    font-weight: 600;
}

.contact-form .form-control {
    border: 1px solid rgba(26, 42, 74, 0.2);
    box-shadow: none;
    transition: all 0.3s;
    color: var(--dark-color) !important;
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(240, 173, 94, 0.25);
}

.contact-form .form-check-label {
    color: var(--dark-color) !important;
}

.contact-form button[type="submit"] {
    background: linear-gradient(135deg, var(--secondary-color), #e09a47);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 15px rgba(240, 173, 94, 0.3);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Image comparison */
.comparison-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.comparison-title {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    font-weight: 500;
}

.comparison-images {
    display: flex;
    flex-wrap: wrap;
}

.comparison-image {
    flex: 1 1 48%;
    margin: 1%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.comparison-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    text-align: center;
}

/* Modal Gallery */
.modal-xl {
    max-width: 1140px;
}

.gallery-modal-img {
    width: 100%;
    height: auto;
}

/* Highlighted Menu Item */
.highlight-item {
    position: relative;
    font-weight: 600;
    color: var(--secondary-color) !important;
    background: linear-gradient(to right, rgba(10, 14, 23, 0.1), rgba(169, 121, 195, 0.1));
}

.highlight-item:hover {
    background: linear-gradient(to right, rgba(10, 14, 23, 0.2), rgba(169, 121, 195, 0.2));
}

.badge-special {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    font-size: 0.7rem;
    padding: 0.25em 0.6em;
    border-radius: 10px;
    margin-left: 5px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(240, 173, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(240, 173, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 173, 94, 0); }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    border-top: 2px solid var(--secondary-color);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    flex: 1;
    min-width: 300px;
}

.cookie-consent .btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-consent .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent .btn-accept {
    background: var(--secondary-color);
    color: white;
}

.cookie-consent .btn-accept:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 173, 94, 0.4);
}

.cookie-consent .btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent .btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-consent .btn-settings {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.cookie-consent .btn-settings:hover {
    background: var(--secondary-color);
    color: white;
}

/* Privacy Policy Modal */
.modal-content {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(240, 173, 94, 0.3);
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
}

.modal-title {
    color: var(--secondary-color);
    font-weight: 700;
}

.modal-body {
    color: rgba(255, 255, 255, 0.9);
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h5 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body h5:first-child {
    margin-top: 0;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid rgba(240, 173, 94, 0.3);
}

/* Cookie Settings Modal */
.cookie-settings .form-check {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(240, 173, 94, 0.2);
}

.cookie-settings .form-check-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cookie-settings .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cookie-settings small {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 0.5rem;
}

/* Mobile responsiveness for cookie consent */
@media (max-width: 768px) {
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent p {
        min-width: auto;
        margin-bottom: 1rem;
    }
    
    .cookie-consent .btn-group {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-consent .btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .cookie-consent .btn-group {
        flex-direction: column;
    }
    
    .cookie-consent .btn {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-section {
        /* Adjust aspect ratio for tablets */
        aspect-ratio: 2.5 / 1;
        min-height: 350px;
        max-height: 70vh;
    }
    
    /* Fallback for browsers that don't support aspect-ratio */
    @supports not (aspect-ratio: 1) {
        .hero-section {
            padding-bottom: 40%; /* 1/2.5 * 100% */
        }
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p.lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .comparison-image {
        flex: 1 1 100%;
        margin: 10px 0;
    }
    
    .hero-section {
        /* Mobile: more square aspect ratio for better text readability */
        aspect-ratio: 16 / 9; /* Better mobile ratio */
        min-height: 320px;
        max-height: 65vh;
        margin-bottom: 2rem;
    }
    
    /* Fallback for browsers that don't support aspect-ratio */
    @supports not (aspect-ratio: 1) {
        .hero-section {
            padding-bottom: 56.25%; /* 9/16 * 100% for 16:9 ratio */
        }
    }
    
    .hero-content {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1.2rem 1rem !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(26, 42, 74, 0.7)) !important;
        z-index: 10 !important;
        min-height: 280px !important;
        animation: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: blur(2px) !important;
        max-width: none !important;
        margin: 0 !important;
        transform: none !important;
        text-align: center !important;
    }
    
    .hero-content h1.display-4 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 1) !important;
        color: white !important;
        margin-bottom: 1rem !important;
        font-weight: 700 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
    }
    
    .hero-content p.lead {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 1) !important;
        color: rgba(255, 255, 255, 0.95) !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .hero-content .container,
    .hero-content .row,
    .hero-content .col-lg-8 {
        background: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        border: none !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-content .d-flex {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        flex-wrap: wrap !important;
    }
    
    .cosmic-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 0.25rem;
        min-width: 140px;
        white-space: nowrap;
    }
    
    /* Stack buttons vertically on smaller tablets */
    @media (max-width: 480px) {
        .hero-content .d-flex {
            flex-direction: column;
            align-items: center;
            gap: 0.6rem !important;
        }
        
        .cosmic-btn {
            width: 200px;
            max-width: 90%;
        }
    }
}

@media (max-width: 576px) {
    .hero-section {
        /* Very small screens: more compact and responsive */
        aspect-ratio: 16 / 9; /* Standard mobile ratio */
        min-height: 280px;
        max-height: 60vh;
        margin-bottom: 1.5rem;
    }
    
    /* Fallback for browsers that don't support aspect-ratio */
    @supports not (aspect-ratio: 1) {
        .hero-section {
            padding-bottom: 56.25%; /* 9/16 * 100% for 16:9 ratio */
        }
    }
    
    .hero-content {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem 0.5rem !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 42, 74, 0.8)) !important;
        z-index: 10 !important;
        min-height: 250px !important;
        text-align: center !important;
    }
    
    .hero-content .container {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-content .row {
        margin: 0 !important;
    }
    
    .hero-content .col-lg-8 {
        padding: 0 0.5rem !important;
        max-width: 100% !important;
    }
    
    .hero-content h1.display-4 {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.8rem !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 1) !important;
        color: white !important;
        font-weight: 700 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .hero-content p.lead {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.2rem !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 1) !important;
        color: rgba(255, 255, 255, 0.95) !important;
        background: none !important;
        padding: 0 !important;
        border: none !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .hero-content .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        width: 100% !important;
    }
    
    .hero-content .cosmic-btn {
        font-size: 0.85rem !important;
        padding: 10px 20px !important;
        min-width: 180px !important;
        max-width: 200px !important;
        white-space: nowrap !important;
        border-radius: 25px !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        /* Smaller phones: optimize space usage */
        aspect-ratio: 16 / 9;
        min-height: 260px;
        max-height: 55vh;
    }
    
    .hero-content .container {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-content h1.display-4 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.7rem !important;
    }
    
    .hero-content p.lead {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content .cosmic-btn {
        font-size: 0.8rem !important;
        padding: 9px 18px !important;
        min-width: 160px !important;
        max-width: 180px !important;
    }
}

/* Extra small screens (very small phones) */
@media (max-width: 360px) {
    .hero-section {
        aspect-ratio: 4 / 3; /* More square for tiny screens */
        min-height: 240px;
        max-height: 50vh;
    }
    
    .hero-content {
        padding: 0.8rem 0.3rem !important;
    }
    
    .hero-content h1.display-4 {
        font-size: 1.2rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.6rem !important;
    }
    
    .hero-content p.lead {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.9rem !important;
    }
    
    .hero-content .cosmic-btn {
        font-size: 0.75rem !important;
        padding: 8px 16px !important;
        min-width: 140px !important;
        max-width: 160px !important;
    }
}

/* Custom margin and padding utilities */
.section-padding {
    padding: 5rem 0;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

/* Content section padding to account for fixed navbar */
main {
    padding-top: 76px;
}

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease;
}

/* How to order steps */
.order-step {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

/* Gallery lightbox */
.lightbox-gallery {
    overflow: hidden;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.9), rgba(26, 42, 74, 0.5), transparent);
    color: white;
    padding: 25px 20px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(20px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Custom section titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    box-shadow: var(--glow-effect);
}

/* Animated background elements */
.cosmic-bg {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.cosmic-bg:before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 92, 152, 0.15), transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    animation: float 15s infinite alternate ease-in-out;
}

.cosmic-bg:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 165, 93, 0.1), transparent 70%);
    bottom: -50px;
    left: -50px;
    z-index: -1;
    animation: float 12s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
    100% { transform: translate(-20px, 20px); }
}

/* Card text specific styling */
.card-text {
    color: #444a60; 
    font-weight: 400;
}

/* Text on dark backgrounds */
.feature-box p, 
.model-card-overlay p,
.pricing-header p,
.hero p,
.hero-content p.lead {
    color: #e8e8f0;
    font-weight: 300;
}

/* Text on light backgrounds */
.bg-light p.lead,
.bg-white p.lead {
    color: #444a60; 
    font-weight: 400;
}

/* Responsive improvements for images */
@media (max-width: 768px) {
    .gallery-item {
        min-height: 350px;
        aspect-ratio: 3/4.5;
    }
    
    .model-card {
        height: 450px;
    }
    
    .comparison-item {
        height: 350px;
    }
    
    .comparison-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        min-height: 300px;
        aspect-ratio: 3/4;
    }
    
    .model-card {
        height: 400px;
    }
    
    .comparison-item {
        height: 300px;
    }
    
    .comparison-image img {
        height: 250px;
    }
}
