/* FILE: assets/css/home.css */

/* ================================
   Hero Section
   ================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
    min-height: 700px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 700px;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 92, 0.92) 0%,
        rgba(15, 36, 56, 0.88) 100%
    );
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    padding: 5rem 0;
    min-height: 700px;
    display: flex;
    align-items: center;
}

/* ================================
   Hero Content
   ================================ */

.hero-text {
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.hero-title span {
    color: var(--accent-color);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.hero-feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.hero-btn i {
    font-size: 1.1rem;
}

.hero-btn-primary {
    background: var(--accent-color);
    color: #ffffff;
}

.hero-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    color: #ffffff;
}

.hero-btn-whatsapp {
    background: var(--success-color);
    color: #ffffff;
}

.hero-btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* ================================
   Hero Form Card
   ================================ */

.hero-form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.form-header-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.form-subtitle i {
    color: var(--success-color);
    margin-right: 0.25rem;
}

/* Form Styling */
.quote-form .form-group {
    margin-bottom: 1rem;
}

.quote-form .form-control,
.quote-form .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

.quote-form .form-control::placeholder {
    color: #adb5bd;
}

/* Mobile Date Label */
.form-label-mobile {
    display: none;
}

@media (max-width: 767px) {
    .form-label-mobile {
        display: block;
        font-size: 0.85rem;
        color: var(--text-gray);
        margin-bottom: 0.4rem;
        font-weight: 500;
    }
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Form Alerts */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.form-alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.form-alert strong {
    display: block;
    margin-bottom: 0.25rem;
}

.form-alert p {
    margin: 0;
    font-size: 0.9rem;
}

.form-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-alert-success i {
    color: #28a745;
}

.form-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-alert-error i {
    color: #dc3545;
}

/* ================================
   Services Section
   ================================ */

.services-section {
    background: #ffffff;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-body {
    padding: 1.5rem;
}

.service-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-body p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ================================
   Why Choose Us Section
   ================================ */

.why-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.why-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* ================================
   Locations Section
   ================================ */

.locations-section {
    background: #ffffff;
}

.location-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.location-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.location-card address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.location-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.location-contact i {
    color: var(--accent-color);
}

.location-contact a {
    color: var(--primary-color);
    text-decoration: none;
}

.location-contact a:hover {
    color: var(--accent-color);
}

.pan-india-note {
    margin-top: 2rem;
}

.pan-india-note p {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.pan-india-note i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 220px;
}

.cta-btn i {
    font-size: 1.2rem;
}

.cta-btn-primary {
    background: #ffffff;
    color: var(--primary-color);
}

.cta-btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.cta-btn-success {
    background: var(--success-color);
    color: #ffffff;
}

.cta-btn-success:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-note i {
    margin-right: 0.5rem;
}

/* ================================
   Responsive Design
   ================================ */

/* Desktop Large */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .hero-content-wrapper {
        padding: 3rem 0;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
}

/* Mobile & Small Tablet */
@media (max-width: 768px) {
    .carousel,
    .carousel-inner,
    .carousel-item {
        min-height: 550px;
    }
    
    .carousel-item img {
        min-height: 550px;
    }
    
    .hero-content-wrapper {
        min-height: auto;
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-form-card {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.35rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 320px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 320px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* Mobile Only */
@media (max-width: 576px) {
    .carousel,
    .carousel-inner,
    .carousel-item,
    .carousel-item img {
        min-height: 480px;
    }
    
    .hero-content-wrapper {
        padding: 2rem 0;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta-buttons {
        display: none;
    }
    
    .hero-form-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .form-header-icon {
        width: 48px;
        height: 48px;
    }
    
    .form-header-icon i {
        font-size: 1.5rem;
    }
    
    .form-title {
        font-size: 1.25rem;
    }
    
    .quote-form .form-control,
    .quote-form .form-select {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
    }
    
    .btn-submit {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
}

/* Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


