/* Premium About Us Redesign Styles */
:root {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --primary-gradient: linear-gradient(135deg, var(--primary), #FF5252);
    --secondary-gradient: linear-gradient(135deg, var(--secondary), #60A5FA);
}

/* Page Header Enhancement */
.page-header-modern {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4)), url('../img/carousel-1.jpg') center center no-repeat;
    background-size: cover;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.page-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    /* background: linear-gradient(to top, var(--light), transparent); */
}

.breadcrumb-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: var(--shadow-md);
}

.breadcrumb-glass .breadcrumb-item+.breadcrumb-item::before {
    color: var(--dark-muted);
}

.breadcrumb-glass a {
    color: var(--dark-muted);
    font-weight: 500;
}

/* Section Titles */
.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title-modern {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
}

/* About Section */
.about-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    height: 100%;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-card.no-hover:hover {
    transform: none;
    box-shadow: none;
}

.about-card.about-card-quote {
    background: rgba(211, 47, 47, 0.05);
    border: none;
    border-left: 6px solid var(--primary);
    border-radius: 0 15px 15px 0;
    padding: 30px;
}

.about-card.about-card-quote:hover {
    transform: none;
    box-shadow: none;
}

.about-card.about-card-quote p {
    font-style: normal;
    font-size: 1.1rem;
    color: var(--dark-muted);
    margin-bottom: 0;
}

.about-card.bg-light:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.about-card.bg-light:hover p {
    color: #fff !important;
}


.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
    transition: transform 0.5s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--primary);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.experience-badge h2 {
    color: #fff;
    margin: 0;
    line-height: 1;
}

/* Why Choose Us Grid */
.feature-card {
    background: #fff;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-gradient);
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.feature-card h5 {
    transition: color 0.3s ease;
}

.feature-card:hover h5 {
    color: #fff;
}

/* Infrastructure Gallery */
.infra-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.infra-item img {
    transition: all 0.5s ease;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.infra-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.infra-item:hover .infra-overlay {
    opacity: 1;
}

.infra-item:hover img {
    transform: scale(1.1);
}

.infra-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.infra-item:hover .infra-btn {
    transform: scale(1);
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
    .section-title-modern {
        font-size: 2rem;
    }

    .about-card {
        padding: 25px;
    }

    .feature-text {
        padding-left: 0 !important;
    }
}

/* Certificate Card Grid */
.cert-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.cert-card img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

.cert-card:hover img {
    transform: scale(1.02);
}

.cert-label {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
}

.cert-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

/* Contact Page Styles */
.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-info-card .icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .icon-circle {
    background: var(--primary);
    color: #fff;
    transform: rotate(360deg);
}

.form-control-modern {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    height: auto !important;
}

.form-control-modern:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    line-height: 0;
}

.social-links-contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links-contact .btn-social {
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--dark-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links-contact .btn-social:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-link {
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary) !important;
}

/* Unified Contact List Modern */
.contact-list-modern {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-icon-box {
    min-width: 60px;
    height: 60px;
    background: #00A8C5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 168, 197, 0.2);
    transition: all 0.3s ease;
}

.contact-item-modern:hover .contact-icon-box {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 168, 197, 0.3);
}

.contact-content h5 {
    margin-bottom: 5px;
    font-weight: 700;
    color: #334155;
    font-size: 1.1rem;
}

.contact-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

@@media (max-width: 575.98px) {
    .contact-item-modern {
        flex-direction: row;
        gap: 15px;
    }

    .contact-icon-box {
        min-width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Unified Two-Tone Contact Card */
.contact-unified-wrapper {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    margin-top: 30px;
}

.contact-info-side {
    flex: 1 1 40%;
    background: linear-gradient(145deg, #8B0000, #B22222);
    /* Deep Red/Maroon Gradient */
    padding: 60px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-info-side h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.contact-info-side p.panel-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 40px;
    position: relative;
}

.contact-form-side {
    flex: 1 1 60%;
    padding: 60px 50px;
    background: #fff;
}

.contact-form-side h3 {
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
}

.unified-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
}

.unified-icon-box {
    min-width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
}

.unified-contact-item:hover .unified-icon-box {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.unified-text h6 {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.unified-text p,
.unified-text a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.unified-text a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Form Styling within Unified Card */
.contact-form-side .form-label {
    color: #64748b;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.contact-form-side .form-control-modern {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Responsiveness */
@media (max-width: 991.98px) {

    .contact-info-side,
    .contact-form-side {
        flex: 1 1 100%;
    }

    .contact-info-side {
        padding: 50px 30px;
    }

    .contact-form-side {
        padding: 50px 30px;
    }
}