/* 
  Subhan Packers and Movers - Modern Design System
  Colors: Purple (#6C63FF, #4834D4) and Yellow (#F9CA24, #F0932B)
*/

:root {
    --primary-purple: #6C63FF;
    --dark-purple: #4834D4;
    --accent-yellow: #F9CA24;
    --dark-yellow: #F0932B;
    --bg-light: #F8F9FA;
    --text-dark: #2D3436;
    --text-muted: #636E72;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 85px; /* Compesate for fixed header */
}

@media (max-width: 991px) {
    body {
        padding-top: 75px; /* Mobile header height */
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a:hover {
    color: var(--primary-purple);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 12px;
    top: 90%; 
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(108, 99, 255, 0.1);
    margin-top: 15px;
}

/* Bridge element to maintain hover state across the gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(108, 99, 255, 0.05);
    color: var(--primary-purple);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cta-btn {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.cta-btn:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
}

/* Sticky Buttons */
.sticky-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
}

 .call-btn { background: var(--primary-purple); }

.sticky-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Hero Section - Updated with Background Slider */
.hero {
    height: calc(100vh - 85px); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 6s infinite;
}

.hero-slide:nth-child(2) { animation-delay: 2s; }
.hero-slide:nth-child(3) { animation-delay: 4s; }

@keyframes slideAnimation {
    0% { opacity: 0; transform: scale(1.1); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; transform: scale(1.0); }
    100% { opacity: 0; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(72, 52, 212, 0.4));
    z-index: 2;
}

.hero-content {
    flex: 1;
    z-index: 10;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--accent-yellow);
}

.hero-content p {
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 2.5rem;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Services Section */
.section-padding {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-purple);
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 30px;
    border: 1px solid rgba(108, 99, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: 0; /* Remove padding for edge-to-edge image */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.1);
}

.card-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

.card-icon {
    position: absolute;
    top: -35px;
    left: 40px;
    width: 70px;
    height: 70px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-purple);
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(249, 202, 36, 0.3);
    border: 5px solid white;
    z-index: 5;
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--dark-purple);
    font-size: 1.6rem;
    text-align: left;
    padding-left: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify;
    padding: 0 10px;
    line-height: 1.7;
}

.desc-container {
    padding: 0 10px;
    text-align: justify;
}

.preview-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.full-text {
    transition: var(--transition);
    text-align: justify;
}

.more-trigger, .less-trigger {
    color: var(--primary-purple);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 5px;
    display: inline-block;
    transition: var(--transition);
}

.more-trigger:hover, .less-trigger:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

.read-more-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 0 10px;
}

.read-more {
    font-weight: 800;
    color: var(--dark-purple);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.read-more i {
    width: 35px;
    height: 35px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--dark-purple);
}

/* Footer */
footer {
    background: #0f0d2b;
    color: var(--white);
    padding: 100px 10% 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-yellow), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    margin-bottom: 30px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-yellow);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
    transform: translateX(10px);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-col p i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--accent-yellow);
    color: var(--dark-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-yellow);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(108, 99, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--dark-purple);
}

.faq-header i {
    transition: var(--transition);
}

.faq-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow);
}

.faq-item.active .faq-header {
    background: rgba(108, 99, 255, 0.05);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    padding: 20px 30px;
    max-height: 200px;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
}

/* Detailed About Section Styles */
#about-detailed {
    background-image: url('about-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
}

#about-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(72, 52, 212, 0.92), rgba(108, 99, 255, 0.88));
    z-index: 1;
}

.about-detailed-content {
    position: relative;
    z-index: 5;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 80px 0;
    border-radius: 0;
    border: none;
    margin: 0;
    max-width: none;
    width: 100%;
    box-shadow: none;
}

.about-detailed-content h2 {
    color: var(--accent-yellow) !important;
    font-size: 3.5rem !important;
    margin-bottom: 30px !important;
    text-shadow: none;
}

.about-detailed-content h4 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem !important;
    letter-spacing: 4px !important;
}

.text-block p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

#about-detailed .text-block p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 300;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(108, 99, 255, 0.05); /* Very subtle number in background */
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px dashed var(--primary-purple);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-purple);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--primary-purple);
    color: var(--white);
    border-style: solid;
    transform: scale(1.1);
}

.process-step h3 {
    color: var(--dark-purple);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    color: var(--dark-purple);
    cursor: pointer;
    z-index: 1001;
}

/* Responsive */
@media (max-width: 991px) {
    header {
        padding: 0 5%;
        height: 75px;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 100px 40px;
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul li a {
        font-size: 1.2rem;
        font-weight: 600;
        display: block;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(108, 99, 255, 0.05);
        margin-top: 10px;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        height: auto;
        min-height: 80vh;
    }

    .hero-content h1 { font-size: 3rem; }
    
    .cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .logo img {
        height: 60px;
    }

    .section-padding {
        padding: 60px 5%;
    }

    header .cta-btn {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .about-detailed-content h2 {
        font-size: 2rem !important;
    }
    
    .about-detailed-content {
        padding: 40px 5%;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: var(--white);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Banner Section - Peace of Mind */
.cta-banner {
    margin-top: 60px;
    background: var(--primary-purple);
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    padding: 60px;
    border-radius: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner-content {
    flex: 2;
    min-width: 300px;
}

.cta-banner-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-banner-content p {
    opacity: 0.95;
    font-size: 1.2rem;
    line-height: 1.6;
}

.cta-banner-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 250px;
}

.cta-banner-btn {
    background: var(--accent-yellow);
    color: var(--dark-purple);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(249, 202, 36, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-banner-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 202, 36, 0.4);
    background: var(--white);
    color: var(--primary-purple);
}

/* Responsive Media Queries for CTA Banner */
@media (max-width: 991px) {
    .cta-banner {
        padding: 50px 40px;
        text-align: center;
        justify-content: center;
        border-radius: 30px;
    }
    
    .cta-banner-content, .cta-banner-action {
        min-width: 100%;
        justify-content: center;
    }
    
    .cta-banner-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .cta-banner {
        padding: 40px 25px;
        margin-top: 40px;
        border-radius: 25px;
        gap: 30px;
    }
    
    .cta-banner-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .cta-banner-content p {
        font-size: 1.05rem;
    }
    
    .cta-banner-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}

