/*
Theme Name: APL India Packers and Movers
Theme URI: https://www.aplindiapackers.com/
Description: A professional, conversion-oriented WordPress theme for APL India Packers and Movers.
Author: Antigravity
Author URI: https://example.com/
Version: 1.0.0
Text Domain: apl-movers
*/

:root {
    --primary-yellow: #FFC107;
    --primary-yellow-hover: #FBC02D;
    --secondary-black: #2B2B2B;
    --secondary-darker: #1A1A1A;
    --bg-white: #FFFFFF;
    --bg-grey: #F4F7F6;
    --text-charcoal: #333333;
    --text-light: #666666;
    --action-red: #D32F2F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-charcoal); background-color: var(--bg-grey); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Roboto', sans-serif; color: var(--secondary-black); }
a { text-decoration: none; color: inherit; }

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

/* Top Bar */
.top-bar { background-color: var(--secondary-black); color: var(--bg-white); font-size: 0.9rem; padding: 10px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.quick-contact { display: flex; gap: 20px; align-items: center; }
.btn-call { color: var(--primary-yellow); font-weight: 700; transition: color 0.3s; }
.btn-call:hover { color: var(--bg-white); }

/* Header */
.main-header { background-color: var(--bg-white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 60px; width: auto; font-size: 14px; font-weight: bold; color: var(--text-light); } /* Fallback text if no logo.png exists */

/* Nav Links */
.nav-links { display: flex; gap: 25px; align-items: center; font-weight: 500; }
.nav-links a:not(.btn-primary) { position: relative; padding-bottom: 5px; transition: color 0.3s; }
.nav-links a:not(.btn-primary)::after {
    content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0;
    background-color: var(--primary-yellow); transition: width 0.3s;
}
.nav-links a:not(.btn-primary):hover::after { width: 100%; }

/* Buttons */
.btn-primary { 
    background-color: var(--primary-yellow); color: var(--secondary-black); padding: 10px 24px; 
    border-radius: 4px; font-weight: 700; text-transform: uppercase;
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3); border: none; cursor: pointer;
}
.btn-primary:hover { background-color: var(--primary-yellow-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4); }

.btn-submit { width: 100%; background-color: var(--secondary-black); color: var(--primary-yellow); padding: 15px; border-radius: 4px; border: none; font-size: 1.1rem; font-weight: 900; cursor: pointer; transition: all 0.3s; text-transform: uppercase; margin-top: 10px; }
.btn-submit:hover { background-color: var(--primary-yellow); color: var(--secondary-black); }

/* Hero Section */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.7) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 50px; flex-wrap: wrap; width: 100%; }

.hero-text { flex: 1; min-width: 300px; color: var(--bg-white); }
.hero-text h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.highlight { color: var(--primary-yellow); }
.hero-text p { font-size: 1.25rem; margin-bottom: 30px; opacity: 0.9; max-width: 500px; }

.trust-badges { display: flex; gap: 15px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 50px; font-weight: 600; border: 1px solid rgba(255,193,7,0.3); backdrop-filter: blur(5px); }

/* Form Card */
.hero-form-card { flex: 0 1 400px; background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); border-top: 5px solid var(--primary-yellow); animation: slideUp 0.8s ease forwards; }
.hero-form-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.hero-form-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 20px; }
.hero-form-card input { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 1rem; transition: border-color 0.3s; }
.hero-form-card input:focus { outline: none; border-color: var(--primary-yellow); }

/* WhatsApp Float */
.float-btn { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; padding: 15px 25px; border-radius: 50px; font-weight: 700; box-shadow: 0 10px 20px rgba(37,211,102,0.3); z-index: 9999; display: flex; align-items: center; gap: 10px; transition: transform 0.3s; }
.float-btn:hover { transform: translateY(-5px); }
.wa-icon { font-size: 1.5rem; }

/* Mobile Menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-menu-btn span { width: 30px; height: 3px; background: var(--secondary-black); transition: 0.3s; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h2 { font-size: 2.8rem; }
    .hero-text p { margin: 0 auto 30px; }
    .trust-badges { justify-content: center; }
    .hero-form-card { width: 100%; }
    .top-bar-inner { justify-content: center; gap: 10px; }
}

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Utility Classes */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-white); }
.bg-dark { background-color: var(--secondary-darker); }
.text-white { color: var(--bg-white) !important; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; font-weight: 900; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Grid Systems */
.grid-gap { gap: 30px; }

/* Services Section */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-grey); padding: 40px 30px; border-radius: 8px; transition: transform 0.3s, box-shadow 0.3s, border-bottom 0.3s; border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-bottom: 3px solid var(--primary-yellow); background: var(--bg-white); }
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { width: 100%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-text p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-light); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.stat-box { background: var(--bg-white); padding: 20px; border-left: 4px solid var(--primary-yellow); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.stat-box h4 { font-size: 2rem; color: var(--secondary-black); margin-bottom: 5px; font-weight: 900; }

/* Features / Why Choose Us */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.feature { padding: 30px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; }
.feature:hover { background: rgba(255,255,255,0.1); }
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; }
.feature h4 { font-size: 1.25rem; margin-bottom: 10px; color: var(--bg-white); }
.feature p { opacity: 0.8; font-size: 0.95rem; }

/* Process / How we Work */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; position: relative; }
.step { background: var(--bg-white); padding: 30px; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); position: relative; z-index: 2; transition: transform 0.3s; }
.step:hover { transform: translateY(-5px); }
.step-num { width: 50px; height: 50px; background: var(--primary-yellow); color: var(--secondary-black); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.5rem; font-weight: 900; margin: 0 auto 20px; }
.step h4 { font-size: 1.2rem; margin-bottom: 15px; }

/* Locations Tags */
.locations-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.location-tag { background: var(--bg-white); border: 1px solid #ddd; padding: 10px 25px; border-radius: 50px; font-weight: 600; color: var(--text-charcoal); transition: all 0.3s; }
.location-tag:hover { background: var(--primary-yellow); border-color: var(--primary-yellow); color: var(--secondary-black); box-shadow: 0 5px 15px rgba(255,193,7,0.3); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--bg-white); padding: 40px 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: left; }
.stars { color: var(--primary-yellow); font-size: 1.5rem; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: var(--text-light); }
.testimonial-card h5 { font-size: 1.1rem; font-weight: 700; color: var(--secondary-black); }

/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { margin-bottom: 15px; background: var(--bg-white); border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px 25px; font-size: 1.1rem; font-weight: 600; font-family: 'Inter', sans-serif; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--secondary-black); transition: color 0.3s; }
.faq-question:hover { color: var(--primary-yellow); }
.faq-icon { font-size: 1.5rem; font-weight: 400; transition: transform 0.3s; }
.faq-question.active .faq-icon { transform: rotate(45deg); color: var(--primary-yellow); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding-bottom: 20px; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 200px; }

/* Footer */
.main-footer { background: var(--secondary-darker); color: var(--bg-white); padding-top: 80px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-size: 2rem; font-weight: 900; color: var(--primary-yellow); margin-bottom: 20px; line-height: 1; font-family: 'Roboto', sans-serif; }
.about-col p { opacity: 0.8; margin-bottom: 20px; line-height: 1.8; }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.3s; }
.social-links a:hover { background: var(--primary-yellow); color: var(--secondary-black); }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 25px; font-weight: 700; color: var(--bg-white); position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary-yellow); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { opacity: 0.8; transition: color 0.3s, padding-left 0.3s; display: inline-block; }
.footer-col ul li a:hover { opacity: 1; color: var(--primary-yellow); padding-left: 5px; }
.contact-col p { display: flex; gap: 10px; margin-bottom: 15px; opacity: 0.8; }
.contact-col p a { transition: color 0.3s; }
.contact-col p a:hover { color: var(--primary-yellow); }

.footer-bottom { background: #111; padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; opacity: 0.7; font-size: 0.9rem; }
.bottom-links { display: flex; gap: 20px; }
.bottom-links a:hover { color: var(--primary-yellow); }

/* Blog & Pagination */
.blog-card:hover { transform: translateY(-5px) !important; box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }
.blog-image { display: block; overflow: hidden; }
.blog-image img { transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.pagination a, .pagination span { padding: 10px 15px; border-radius: 4px; background: var(--bg-white); border: 1px solid #ddd; font-weight: 600; transition: all 0.3s; }
.pagination a:hover { background: var(--primary-yellow); border-color: var(--primary-yellow); color: var(--secondary-black); }
.pagination .current { background: var(--secondary-black); color: var(--primary-yellow); border-color: var(--secondary-black); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .bottom-flex { flex-direction: column; text-align: center; justify-content: center; }
    .section-title { font-size: 2rem; }
    
    /* Sticky Mobile CTA Bar */
    .mobile-sticky-cta { display: block; }
    body { padding-bottom: 60px !important; }
}

/* Local SEO Features (City Pages) */
.interactive-tool-box { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-top: 5px solid var(--primary-yellow); max-width: 600px; margin: 0 auto; }
.interactive-tool-box input { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 1rem; }
#estimator-result { display: none; background: #e8f5e9; color: #2e7d32; padding: 15px; border-radius: 4px; border: 1px solid #c8e6c9; margin-top: 20px; font-size: 1.2rem; }

.city-matrix { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 30px; }
.city-matrix a { background: var(--bg-grey); border: 1px solid #ddd; padding: 10px 20px; border-radius: 4px; color: var(--text-charcoal); transition: all 0.3s; font-size: 0.95rem; font-weight: 600; }
.city-matrix a:hover { background: var(--primary-yellow); border-color: var(--primary-yellow); }

.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; box-shadow: 0 -4px 15px rgba(0,0,0,0.15); }
.cta-flex { display: flex; height: 60px; }
.mobile-sticky-cta a { flex: 1; display: flex; justify-content: center; align-items: center; text-decoration: none; font-weight: 700; font-size: 1.05rem; color: #ffffff; transition: background 0.3s ease; }
.cta-call { background-color: #2B2B2B; }
.cta-wa { background-color: #25D366; }
