/**
 * Homepage Specific Styles
 * Professional and modern homepage design
 */

/* Common Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.btn-white {
    background: #fff;
    color: #1e293b;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-white::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-white:hover::before {
    width: 300px;
    height: 300px;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-white i {
    position: relative;
    z-index: 1;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: 14px;
    letter-spacing: 0.5px;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.slider-container {
    max-width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.7) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Quick Contact Sidebar - HIDDEN */
.quick-contact-sidebar {
    display: none !important; /* Completely hidden for clean design */
}

/* Quick Contact & Offers Section */
.quick-contact-section {
    padding: 60px 20px;
    background: #fff;
}

.contact-offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-form-box {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-form-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-form-box h3 i {
    color: #3b82f6;
    margin-right: 12px;
}

.contact-form-box > p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.contact-form {
    margin-top: 20px;
}

/* Combined Offer Box - Fill Complete Space */
.combined-offer-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    border: none;
    outline: none;
}

/* Upper Section - Fills 50% */
.offer-section.offer-upper {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
    padding: 18px 20px;
    color: #fff;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Lower Section - Fills 50% */
.offer-section.offer-lower {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5a4894 100%);
    padding: 18px 20px;
    color: #fff;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Offer Layout - Fills Available Space */
.offer-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Top Row: Circle + Content Side by Side */
.offer-top-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 14px;
}

/* Circular Badge */
.offer-circle {
    flex-shrink: 0;
}

.circle-badge {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    padding: 10px;
    word-wrap: break-word;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Main Content Area */
.offer-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px 0;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.offer-subtitle {
    font-size: 12px;
    margin: 0 0 6px 0;
    opacity: 0.92;
    line-height: 1.2;
}

.offer-discount {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Highlights Box - Spans Full Width */
.offer-highlights-box {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 14px;
    backdrop-filter: blur(5px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.highlight-item {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.highlight-item i {
    color: #fef3c7;
    font-size: 12px;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

/* Desktop View - Larger Sizes */
@media (min-width: 769px) {
    .combined-offer-box {
        min-height: 500px;
    }
    
    .offer-section {
        padding: 25px 30px !important;
    }
    
    .circle-badge {
        width: 110px !important;
        height: 110px !important;
        font-size: 12px !important;
        padding: 12px !important;
    }
    
    .offer-title {
        font-size: 26px !important;
    }
    
    .offer-subtitle {
        font-size: 15px !important;
    }
    
    .offer-discount {
        font-size: 21px !important;
    }
    
    .offer-highlights-box {
        padding: 15px 18px !important;
        gap: 12px !important;
    }
    
    .highlight-item {
        font-size: 14px !important;
    }
    
    .highlight-item i {
        font-size: 14px !important;
    }
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-footer {
    margin-top: 16px;
    text-align: center;
}

.form-footer p {
    font-size: 12px;
    color: #10b981;
    margin: 0;
}

/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.offer-banner h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-banner p {
    font-size: 16px;
    margin-bottom: 12px;
}

.offer-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* Marquee Container */
.marquee-container {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    padding: 16px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.marquee-content i {
    color: #fbbf24;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Highlights Section */
.highlights-section {
    padding: 80px 20px;
    background: #f8fafc;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #fff;
}

.highlight-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 24px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* About Preview Section */
.about-preview-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.badge-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.badge-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.about-content {
    padding: 20px;
}

.about-content .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.about-content .section-header p {
    font-size: 18px;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-box h4 {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.about-features {
    margin-top: 30px;
}

.about-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #1e293b;
}

.about-features li i {
    color: #10b981;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-offers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .contact-offers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-box {
        padding: 30px;
    }
    
    .offer-section {
        padding: 15px 12px !important;
    }
    
    .circle-badge {
        width: 70px !important;
        height: 70px !important;
        font-size: 9px !important;
        margin-right: 12px !important;
    }
    
    .offer-title {
        font-size: 18px !important;
    }
    
    .offer-subtitle {
        font-size: 11px !important;
    }
    
    .offer-discount {
        font-size: 14px !important;
    }
    
    .offer-highlights-box {
        grid-template-columns: 1fr;
        padding: 8px 10px;
        gap: 6px;
    }
    
    .highlight-item {
        font-size: 10px !important;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-content .section-header h2 {
        font-size: 28px;
    }
}
