/* Phone Styles - Modern Mobile-First Design */
/* Applied for screens up to 480px */

/* Background and overall styling */
body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Header styling */
header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(160, 118, 177, 0.3);
}

.container {
    padding: 0 20px;
}

/* Header - Mobile optimized */
.hamburger {
    display: flex;
}

.hamburger span {
    background: #A076B1;
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(160, 118, 177, 0.3);
    z-index: 999;
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    font-size: 1.4rem;
    padding: 1.5rem 0;
    color: #e2e8f0;
}

.nav-links a:hover {
    color: #A076B1;
}

.nav-links a.active {
    color: #A076B1;
}

.nav-links a::after {
    background: linear-gradient(90deg, #A076B1, #C89BD8);
}

/* Logo - Mobile optimized */
.logo-img {
    height: 40px;
    z-index: 1002;
    filter: drop-shadow(0 0 15px rgba(160, 118, 177, 0.6));
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(160, 118, 177, 1));
}

/* Hero section - Mobile with video support */
.hero {
    height: 35vh !important;
    min-height: 250px !important;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Video background - Mobile optimized */
.video-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -2 !important;
}

.video-background video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    min-height: 35vh !important;
}

.video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(10, 15, 35, 0.9) 50%, rgba(0, 0, 0, 0.88) 100%) !important;
    z-index: -1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.hero p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.5;
    padding: 0 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
}

.cta-button {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.85rem !important;
    width: auto;
    display: inline-block;
    background: linear-gradient(135deg, #A076B1 0%, #8A65A0 100%);
    box-shadow: 0 10px 30px rgba(160, 118, 177, 0.4), 0 0 20px rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    text-shadow: none !important;
}

.cta-button:hover {
    background: linear-gradient(135deg, #8A65A0 0%, #7A5B8E 100%);
    box-shadow: 0 15px 40px rgba(160, 118, 177, 0.6), 0 0 25px rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Services - Mobile stack layout */
.services {
    padding: 2.5rem 0;
    margin: 1rem 0;
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid rgba(160, 118, 177, 0.2);
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.service-grid {
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(160, 118, 177, 0.2);
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(160, 118, 177, 0.3);
    border-color: rgba(160, 118, 177, 0.5);
    background: rgba(22, 33, 62, 0.8);
}

.service-card:hover .service-content {
    transform: translateY(-5px);
}

.service-content {
    order: 2;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.service-features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-features li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: #cbd5e1;
}

.service-features li:before {
    color: #A076B1;
}

/* Images - Mobile optimized */
.service-image-container {
    flex: none;
    order: 1;
    width: 100%;
    max-width: 300px;
    height: 450px;
    margin: 0 auto;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learn-more-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    background: rgba(160, 118, 177, 0.15);
    color: #A076B1;
    border: 1px solid rgba(160, 118, 177, 0.4);
}

.learn-more-btn:hover {
    transform: translateY(-1px);
    background: rgba(160, 118, 177, 0.25);
    box-shadow: 0 8px 20px rgba(160, 118, 177, 0.3);
    color: #C89BD8;
}

/* About section - Mobile */
.about {
    padding: 2.5rem 0;
    margin: 1rem 0;
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid rgba(160, 118, 177, 0.2);
}

.about h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    max-width: 100%;
}

/* Footer - Mobile */
footer {
    padding: 1.5rem 0;
    margin-top: 1rem;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(160, 118, 177, 0.3);
}

footer p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Touch-friendly improvements */
* {
    -webkit-tap-highlight-color: rgba(160, 118, 177, 0.3);
}

/* Ensure clickable elements are large enough */
button, .learn-more-btn, .cta-button {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Improve text readability on small screens */
.service-card, .about {
    line-height: 1.6;
}

/* Optimize spacing for mobile */
section {
    scroll-margin-top: 100px;
}