/* Suppress missing theme image — file not present in this build */
[style*="service_overlay"] { background-image: none !important; }

/* Custom responsive fixes for the Indiadits site */
html, body {
    min-width: 0;
    overflow-x: hidden;
}

img, iframe, video, svg {
    max-width: 100%;
    height: auto;
}

.container, .container-fluid {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.main-wrapper {
    overflow-x: hidden;
}

/* Global section spacing */
.ptb-120 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Headline sizes */
.display-1, .display-2, .display-3, .display-4, .display-5 {
    line-height: 1.1;
}

@media (max-width: 1200px) {
    .display-1 { font-size: 5rem; }
    .display-2 { font-size: 4.2rem; }
    .display-3 { font-size: 3.4rem; }
    .display-4 { font-size: 2.8rem; }
    .display-5 { font-size: 2.2rem; }
    .fs-72 { font-size: 4.5rem !important; }
}

@media (max-width: 992px) {
    .ptb-120 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .ai-wt-hero-area,
    .about-hero,
    .building-section,
    .commitment-section,
    .values-section,
    .why-choose-us,
    .ct-split,
    .about-modern-section,
    .hero-content,
    .story-card,
    .building-card,
    .value-card,
    .why-card,
    .stats-wrapper,
    .roots-section,
    .main-image-card,
    .ct-form-card {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .project-card__title,
    .project-meta,
    .ai-wt-hero-area .text-center,
    .display-3,
    .display-4,
    .display-5,
    .fs-72 {
        font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
    }
    .btn-lg {
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .hero-visual {
        padding-top: 2rem;
    }
    .hero-visual .main-image-wrapper,
    .main-image-card {
        height: auto !important;
        min-height: 260px;
    }
    .floating-card,
    .hero-visual .floating-card,
    .about-hero .floating-card {
        position: static !important;
        width: auto !important;
        margin: 1rem auto 0 !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .ptb-120 {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .container, .container-fluid {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .display-1 { font-size: 3.6rem !important; }
    .display-2 { font-size: 3rem !important; }
    .display-3 { font-size: 2.4rem !important; }
    .display-4 { font-size: 2rem !important; }
    .display-5 { font-size: 1.75rem !important; }
    .fs-72 { font-size: 3rem !important; }
    .lead { font-size: 1rem !important; }
    .navbar .main-menu .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0 !important;
    }
    .navbar-toggler {
        right: 1rem;
    }
    .hero-content,
    .ct-left-content,
    .about-hero .hero-content,
    .building-card,
    .story-card,
    .value-card,
    .why-card,
    .ct-form-card,
    .roots-section,
    .stats-card,
    .milestone-card,
    .review-card,
    .footer-single-col {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }
    .hero-visual .main-image-wrapper,
    .main-image-card,
    .cards-row,
    .project-card,
    .ct-form-card {
        width: 100% !important;
    }
    .ct-split {
        flex-direction: column !important;
    }
    .ct-split-left,
    .ct-split-right {
        width: 100% !important;
        padding: 50px 20px 40px !important;
    }
    .ct-form-card {
        padding: 28px 20px !important;
    }
    .ct-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .ct-chip {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .ct-social-strip {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .ct-s-btn {
        width: 36px;
        height: 36px;
    }
    .ct-left-heading,
    .ct-left-para,
    .ct-form-heading,
    .ct-form-sub {
        text-align: left;
    }
    .about-hero .position-absolute,
    .building-section .position-absolute,
    .about-modern-section .position-absolute,
    .hero-visual .position-absolute,
    .position-absolute[class*='blob'],
    .position-absolute[class*='shape'],
    .shape-1,
    .shape-2,
    .gradient-blob-1,
    .gradient-blob-2,
    .line {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .ptb-120 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .container, .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .nav-link,
    .btn,
    .badge,
    .ct-chip,
    .ct-input-wrap input,
    .ct-field-full textarea {
        font-size: 0.95rem !important;
    }
    .display-1 { font-size: 3rem !important; }
    .display-2 { font-size: 2.4rem !important; }
    .display-3 { font-size: 2rem !important; }
    .display-4 { font-size: 1.8rem !important; }
    .display-5 { font-size: 1.55rem !important; }
    .hero-content .btn,
    .btn-lg {
        width: 100% !important;
    }
    .hero-content .btn + .btn {
        margin-top: 0.75rem;
    }
    .text-center {
        text-align: center !important;
    }
}

/* Ensure homepage banner content is centered in hero area */
.ai-wt-hero-area,
.ai-wt-hero-area .container-fluid,
.ai-wt-hero {
    width: 100% !important;
    max-width: 100% !important;
}
.ai-wt-hero .row {
    justify-content: center !important;
}
.ai-wt-hero .text-center {
    margin: 0 auto !important;
    max-width: 100% !important;
}
.ai-wt-hero .shape-1 {
    max-width: 100%;
    height: auto;
    left: 50% !important;
    transform: translateX(-50%) !important;
}
@media (min-width: 992px) {
    .ai-wt-hero .shape-1 {
        left: 0 !important;
        transform: none !important;
    }
}

@media (max-width: 992px) {
    .ai-wt-hero-area,
    .ai-wt-hero-area .container-fluid,
    .ai-wt-hero {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ai-wt-hero .row {
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .ai-wt-hero .col-xxl-8,
    .ai-wt-hero .col-lg-10 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .ai-wt-hero .text-center {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ai-wt-hero .text-center h1,
    .ai-wt-hero .text-center p,
    .ai-wt-hero .text-center .scroll-indicator {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Site logo sizing for header/offcanvas - ensure clear, larger logo */
.site-logo {
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
    display: block;
}

@media (max-width: 576px) {
    .site-logo { max-height: 56px !important; }
}

/* Preloader: make preloader logo larger and more visible */
#preloader .preloader-icon {
    width: 250px !important;
    height: auto !important;
    max-width: 250px !important;
    max-height: none !important;
}
#preloader .loading-bar {
    width: 260px !important;
    margin-top: 18px !important;
}

@media (max-width: 576px) {
    #preloader .preloader-icon { width: 160px !important; max-width: 160px !important; }
    #preloader .loading-bar { width: 180px !important; }
}
