/* Stravia Styles */
:root {
    /* Colors */
    --bg-color: #030303;
    --bg-card: #000000;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #ffffff;
    --border-light: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    /* Can swap to Playfair if user wants serif headings */

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 40px 0;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


.section {
    padding: var(--section-padding);
    position: relative;
}




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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(90deg, #ffffff, #888888, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 6s linear infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: 0% center;
    }
}

.subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    /* fallback */
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-color);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-primary-sm {
    background: var(--accent);
    color: var(--bg-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Nav */
#navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: 0.4s;
}

/* ... existing scrolled style can remain although it won't be triggered if we don't use sticky/fixed logic, 
   but user asked to scroll with site, so scrolled effect might be redundant or unwanted. 
   I will leave valid CSS but position: absolute makes it scroll away. */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 188px;
    width: 230px;
    object-fit: cover;
    /* ensure original colors are shown */
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

/* Specific override for the button in the nav to ensure readability */
.desktop-nav a.btn-primary-sm {
    color: var(--bg-color);
    /* Black text */
    opacity: 1;
}

.desktop-nav a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: white;
    transition: width 0.3s;
}

.desktop-nav a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: black;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    visibility: hidden;
    /* Hide completely when not active */
}

.mobile-nav-overlay.active {
    right: 0;
    visibility: visible;
}

.mobile-nav-overlay ul {
    text-align: center;
}

.mobile-nav-overlay a {
    display: block;
    font-size: 2rem;
    margin: 20px 0;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-page {
    height: 50vh;
    min-height: 350px;
}

.hero-page .hero-content {
    padding-top: 230px;
}

/* Refined Hero Layout (Two Columns) */
.hero-page-refined {
    padding: 180px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-side h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text-side p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}

.hero-image-side .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-side img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-side:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text-side p {
        margin: 0 auto;
    }

    .hero-text-side h1 {
        font-size: 2.8rem;
    }

    .hero-page-refined {
        padding: 140px 0 60px 0;
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 0;
}

/* Background Animations */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Optional: Slight darker overlay to ensure text readability if lines cross behind text */
    /* opacity: 0.8; */
}

/* Remove old orb animations */
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}



/* Cards & Glass */
.glass-card {
    background: var(--bg-card);
    /* backdrop-filter: blur(12px); - Removed for opaque background */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: #000000;
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* Services */
.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-icon {
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio */
.bg-darker {
    background-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
}

.project-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.project-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border: 1px solid var(--border-light);
    transition: 0.5s;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s;
}

.project-item:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

/* About / Testimonials */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.testimonial-card {
    padding: 40px;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

/* Contact */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: white;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
}

/* Input Animation */
.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.8rem;
    color: white;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--text-main);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: none;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #555;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 101;
    }

    .logo-img {
        height: 80px;
    }

    .nav-container {
        padding: 10px 20px;
    }

    .desktop-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }

    .mobile-menu-btn.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-height: 900px) {
    .logo-img {
        height: 100px;
        width: auto;
    }
}

/* Hero Text Animations */
.hero-title-animate {
    animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both,
        text-glow-pulse 3s ease-in-out infinite alternate 1.5s;
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@keyframes text-glow-pulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }

    100% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3);
    }
}

/* Team Section - Full Height */
.team-member-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
}

.team-member-section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.team-member-container {
    max-width: 1200px;
    width: 100%;
}

.team-member-content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.team-member-content-wrapper.image-left {
    flex-direction: row;
}

.team-member-content-wrapper.image-right {
    flex-direction: row-reverse;
}

.team-member-image {
    flex: 0 0 400px;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-content {
    flex: 1;
    text-align: left;
}

.team-member-header {
    margin-bottom: 40px;
}

.team-member-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
}

.team-member-role {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

.team-member-bio {
    margin-top: 20px;
}

.team-member-bio p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
}

/* Responsive adjustments for team sections */
@media (max-width: 1024px) {
    .team-member-content-wrapper {
        gap: 40px;
    }

    .team-member-image {
        flex: 0 0 300px;
        height: 400px;
    }

    .team-member-name {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .team-member-section {
        min-height: auto;
        padding: 60px 0;
    }

    .team-member-content-wrapper.image-left,
    .team-member-content-wrapper.image-right {
        flex-direction: column;
        gap: 40px;
    }

    .team-member-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .team-member-content {
        text-align: center;
    }

    .team-member-name {
        font-size: 2.5rem;
    }

    .team-member-role {
        font-size: 1.2rem;
    }

    .team-member-bio p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* Contact Success Message */
.success-message {
    display: none;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    animation: fade-in-up 0.5s ease-out;
}

/* Project Detail Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.show {
    opacity: 1;
}

.project-modal-content {
    background: #000;
    max-width: 1100px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Override glass-card padding for layout control */
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.modal-image {
    flex: 1.2;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-text {
    flex: 0.8;
    padding: 20px 0 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.modal-text p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .project-modal-content {
        padding: 15px;
        max-height: 95vh;
    }

    .modal-body {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-image {
        height: auto;
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .modal-text {
        padding: 20px 5px 10px 5px;
        flex: none;
    }

    .modal-text h2 {
        font-size: 1.8rem;
    }

    .modal-text p {
        font-size: 0.95rem;
    }
}

/* Pricing Card Styles */
.pricing-card-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-amount {
    margin: 20px 0 30px;
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    display: block;
    margin-top: 10px;
}

.pricing-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.pricing-includes {
    text-align: left;
    margin-top: 40px;
}

.pricing-includes h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.pricing-includes li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
}

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

.pricing-includes li svg {
    flex-shrink: 0;
}

/* Comparison Table Styles */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.comparison-table tbody tr {
    transition: background 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table .highlight-row {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-left: 3px solid white;
}

.comparison-table .highlight-row:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.comparison-table .provider-name {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-table .badge {
    background: white;
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table .total-cost {
    text-align: right;
}

.comparison-table .total-cost strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.comparison-table .total-cost small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Detailed Service Cards */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-detailed-card {
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.8) 100%);
}

.service-detailed-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-detailed-card .service-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-details-list {
    list-style: none;
    padding: 0;
}

.service-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-details-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Showcase Image */
.showcase-image {
    margin: 40px 0;
}

/* Responsive adjustments for new components */
@media (max-width: 768px) {
    .pricing-card {
        padding: 40px 25px;
    }

    .pricing-amount .price {
        font-size: 3rem;
    }

    .comparison-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
        font-size: 0.85rem;
    }

    .comparison-table .provider-name {
        font-size: 1rem;
    }

    .services-detailed-grid {
        grid-template-columns: 1fr;
    }

    .split-layout {
        gap: 40px;
    }

    /* Review Carousel Responsive */
    .review-carousel-section {
        padding: 60px 0;
    }

    .review-carousel-wrapper {
        padding: 0 50px;
    }

    .review-slide {
        min-width: 100%;
        padding: 30px 10px;
    }

    .review-text {
        font-size: 1rem;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Review Carousel Styles */
.review-carousel-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.review-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

.review-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.review-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
    min-width: 100%;
    max-width: 100%;
    padding: 40px 30px;
    text-align: center;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 900px;
    width: 100%;
    hyphens: auto;
    display: block;
}

.review-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 0;
    display: block;
    margin-bottom: 10px;
}

.review-author {
    margin-top: 20px;
}

.review-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.review-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.star {
    color: white;
    font-size: 1.2rem;
}

.star.filled::before {
    content: '★';
}

.star.empty::before {
    content: '☆';
}

/* Carousel Navigation */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Custom Modal System */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

.custom-modal.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.custom-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1);
}

.custom-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
}

.custom-modal-message {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.custom-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.custom-modal-btn {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    outline: none;
}

.custom-modal-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.custom-modal-btn-primary {
    background: var(--accent);
    color: var(--bg-color);
    border: 1px solid var(--accent);
}

.custom-modal-btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.custom-modal-btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-modal-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .custom-modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .custom-modal-title {
        font-size: 1.3rem;
    }

    .custom-modal-message {
        font-size: 1rem;
    }

    .custom-modal-actions {
        flex-direction: column;
        width: 100%;
    }

    .custom-modal-btn {
        width: 100%;
        padding: 14px;
    }
}