/* Base Styles */
:root {
    --primary-color: #078dee;
    --secondary-color: #001233;
    --accent-color: #68cdf9;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #001233;
    --light-bg: #f8f9fa;
    --gray-bg: #f0f2f5;
    --border-color: #e1e4e8;
    --success-color: #00b894;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul, ol {
    list-style-position: inside;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-line {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--secondary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #001233;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 25px;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    font-size: 1.1rem;
}

.nav-links a:not(.btn-primary):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 0;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-text);
    text-align: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 18, 51, 0.8) 0%, rgba(7, 141, 238, 0.4) 100%);
    z-index: 1;
}

.hero-backdrop:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB4PSIwIiB5PSIwIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiNmZmZmZmYxMCIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.2;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Vision Section */
.vision {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.vision-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.vision-item {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.vision-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Business Model Section */
.model-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.model-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.model-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.model-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.model-card ul {
    padding-left: 20px;
}

.model-card li {
    margin-bottom: 10px;
}

/* Offerings Section */
.offerings {
    background-color: var(--light-bg);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.offering-card {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.offering-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.offering-card > p {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.read-more-btn {
    margin-top: auto;
    align-self: flex-start;
}

.offering-details {
    margin-top: 20px;
}

.offering-details p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.offering-details h4 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.offering-details ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.offering-details li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.offering-details strong {
    color: var(--secondary-color);
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
    background-color: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--secondary-color);
    z-index: 10;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 90vh;
}

.lightbox-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.lightbox-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.lightbox-header p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.no-scroll {
    overflow: hidden;
}

/* Media queries for offerings section */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .offerings-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .hero-video {
        width: auto;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--secondary-color);
        padding: 30px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: flex;
        margin-right: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Advantage Section */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

#advantage .section-header h2 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}

#advantage .section-line {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    height: 4px;
    width: 80px;
    margin: 0 auto;
    border-radius: 2px;
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 35px;
    background-color: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-height: 220px;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    background-color: #f9fbff;
}

.advantage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.advantage-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    line-height: 1.4;
    min-height: 3.6rem;
}

.advantage-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.check-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 5px;
}

.check-svg {
    width: 32px;
    height: 32px;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

.contact-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(7, 141, 238, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-top: 5px;
}

.footer-logo p {
    text-align: left;
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    max-width: 90%;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Responsive Styles */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Portfolio Tabs Styling */
.portfolio-tabs {
    display: flex;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: relative;
}

.tabs-container {
    width: 30%;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    position: relative;
    z-index: 10;
}

.tabs-list {
    display: flex;
    flex-direction: column;
}

.tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tab h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
}

.tab p {
    margin: 0.3rem 0 0;
    font-size: 0.8rem;
    color: #6c757d;
}

.tab.active {
    background-color: #0077cc;
    position: relative;
}

.tab.active::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #0077cc;
    z-index: 20;
    pointer-events: none;
}

.tab.active h3, .tab.active p {
    color: #fff;
}

.tab:hover:not(.active) {
    background-color: #e9ecef;
}

.tab-content-container {
    width: 70%;
    padding: 0;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: none;
    padding: 0;
    height: 100%;
    position: relative;
}

.tab-content.active {
    display: block;
}

.content-header {
    padding: 1.2rem 2rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 1;
    border-top-left-radius: 0;
}

.content-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #0077cc;
}

.content-header p {
    margin: 0.3rem 0 0;
    font-size: 1rem;
    color: #495057;
}

.content-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    max-height: 550px;
}

.content-body > p {
    margin-top: 0;
    line-height: 1.6;
}

.content-section {
    margin-top: 1.2rem;
}

.content-section h4 {
    margin-bottom: 0.8rem;
    color: #343a40;
    font-size: 1.1rem;
}

.content-section ul {
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Mobile tab read more button */
.tab-read-more {
    display: none;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 0;
    transition: all 0.3s ease;
    margin-left: auto;
    align-self: center;
    white-space: nowrap;
}

.tab-read-more:hover {
    background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .portfolio-tabs {
        flex-direction: column;
    }
    
    .tabs-container, .tab-content-container {
        width: 100%;
    }
    
    .tab.active::after {
        display: none;
    }
    
    /* Keep the same tab height on iPad */
    .tab {
        padding: 1.5rem;
    }
    
    .tab h3 {
        font-size: 1.2rem;
    }
    
    .tab p {
        margin: 0.5rem 0 0;
        font-size: 0.85rem;
    }
}

/* iPad Mini and iPhone specific styles */
@media (max-width: 768px) {
    .tab-content-container {
        display: none;
    }
    
    .tab-read-more {
        display: inline-block;
    }
    
    /* Adjust tab padding and layout for mobile */
    .tab {
        padding: 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: #f8f9fa;
        position: relative;
        border-bottom: 1px solid #e9ecef;
    }
    
    /* Remove blue highlight for active tab in mobile view */
    .tab.active {
        background-color: #f8f9fa;
    }
    
    .tab.active h3, .tab.active p {
        color: #333;
    }
    
    /* Add a flex container for tab content to allow right alignment of button */
    .tab-inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    
    .tab-text {
        flex: 1;
    }
    
    .tab-text h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #333;
    }
    
    .tab-text p {
        margin: 0.5rem 0 0;
        font-size: 0.85rem;
        color: #6c757d;
    }
    
    /* Mobile popup styles */
    .tab-mobile-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1100;
        display: none; /* Hidden by default */
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
        align-items: center;
        justify-content: center;
    }
    
    .tab-mobile-popup.active {
        display: flex; /* Show as flex when active */
        opacity: 1;
    }
    
    .tab-popup-content {
        background-color: #fff;
        width: 90%;
        max-width: 500px;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        height: 90vh; /* Increased to take up more vertical space */
        display: flex;
        flex-direction: column;
        margin: 0; /* Remove margin */
        transform: none; /* Remove transform */
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
    }
    
    .tab-mobile-popup.active .tab-popup-content {
        transform: none; /* Remove transform */
    }
    
    .tab-popup-header {
        padding: 1.2rem;
        background-color: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        position: relative;
        flex-shrink: 0; /* Prevent header from shrinking */
    }
    
    .tab-popup-header h3 {
        margin: 0;
        font-size: 1.3rem;
        color: #0077cc;
    }
    
    .tab-popup-header p {
        margin: 0.3rem 0 0;
        font-size: 0.9rem;
        color: #495057;
    }
    
    .tab-popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
        border: none;
        font-size: 1.5rem;
        color: #495057;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 10;
    }
    
    .tab-popup-close:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .tab-popup-body {
        padding: 1.5rem;
        overflow-y: auto;
        flex: 1; /* Allow body to take up remaining space */
    }
    
    .tab-popup-body > p {
        margin-top: 0;
        line-height: 1.6;
    }
    
    .tab-popup-section {
        margin-top: 1.2rem;
    }
    
    .tab-popup-section h4 {
        margin-bottom: 0.8rem;
        color: #343a40;
        font-size: 1.1rem;
    }
    
    .tab-popup-section ul {
        padding-left: 1.5rem;
    }
    
    .tab-popup-section li {
        margin-bottom: 0.6rem;
        line-height: 1.5;
    }
    
    body.no-scroll-tab-popup {
        overflow: hidden;
    }
}

/* Specific iPhone styles - keep this for any additional iPhone-only styles */
@media (max-width: 576px) {
    /* Any iPhone-specific styles can go here */
} 