@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* American Flag Palette */
    --primary-blue: #002868; /* Old Glory Blue */
    --secondary-red: #BF0A30; /* Old Glory Red */
    --accent-red: #E0162B;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    
    /* Neutral Palette */
    --text-dark: #1A1A1A;
    --text-muted: #6C757D;
    --border-color: #E9ECEF;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* global css start */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-logo{
    height: 130px;
    transition: var(--transition-smooth);
}

/* Premium Utilities */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--secondary-red) !important; }
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-secondary { background-color: var(--secondary-red) !important; }

.section-padding {
    padding: 100px 0;
}

.btn-premium {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary-aib {
    background: var(--primary-blue);
    color: white;
}

.btn-primary-aib:hover {
    background: var(--secondary-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(191, 10, 48, 0.3);
}

/* global css end */

/* Section Specific Styles */
.letter-spacing-1 { letter-spacing: 1px; }

.transform-hover {
    transition: var(--transition-smooth);
}

.transform-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 40, 104, 0.1) !important;
}

.transform-translate-20 {
    transform: translate(20px, 20px);
}

.z-index-0 { z-index: 0; }
.z-index-1 { z-index: 1; }

.text-justify {
    text-align: justify;
}

.mw-800 {
    max-width: 800px;
}

.divider {
    border-radius: 2px;
}

.hero-section h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.badge {
    font-weight: 600;
}

/* responsive adjustments */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }
}

.ivory-border {
    border: 1px solid rgba(0, 40, 104, 0.1);
}

/* Modal & Form Styles */
.modal-content {
    background: #ffffff;
    border: none;
}

.input-group-text {
    border: none;
    color: var(--secondary-red);
}

.form-control, .form-select {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: #ADB5BD;
    opacity: 0.7;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 40, 104, 0.05);
}

.form-check-input:checked {
    background-color: var(--secondary-red);
    border-color: var(--secondary-red);
}

.modal .btn-close {
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Custom Icons */
.icon-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-md {
    width: 60px;
    height: 60px;
}

.icon-lg {
    width: 80px;
    height: 80px;
}

/* Header & Nav Utilities */
.hover-secondary:hover {
    color: var(--secondary-red) !important;
}

.transition-smooth {
    transition: var(--transition-smooth);
}

.main-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.footer-logo{
    height: 100px;
}

.main-header .nav-logo{
    position: absolute;
    top: -5px;
}

.top-bar a:hover {
    opacity: 1 !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1.5rem;
        border-top: 1px solid var(--border-color);
        margin-top: 25px;
    }
}

/*service page css start*/

.services-intro {
    background: var(--off-white);
}

.text-primary-blue {
    color: var(--primary-blue);
}

/* Card */
.service-card {
    background: var(--pure-white);
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 40, 104, 0.12);
    border-color: var(--primary-blue);
}

/* Icon Box */

.service-card .icon-box{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    color: var(--primary-blue);
}

.service-card:hover .icon-box {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.services-full {
    background: var(--off-white);
}

/* Card */
.service-full-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-full-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 40, 104, 0.08);
}

/* Header */
.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.service-header h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

/* Icon */
.service-full-card .mb-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 40, 104, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary-blue);
}

/* List */
.service-full-card ul {
    padding-left: 20px;
    margin-top: 10px;
}

.service-full-card ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* Footer Highlight */
.service-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

.services-closing {
    background: linear-gradient(
        135deg,
        rgba(0, 40, 104, 0.05),
        rgba(191, 10, 48, 0.05)
    );
}

/* Box */
.closing-box {
    max-width: 800px;
    padding: 40px 30px;
    background: var(--pure-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 40, 104, 0.08);
}

/* Title */
.closing-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 28px;
}

/* Text */
.closing-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Button hover */
.services-closing .btn {
    transition: var(--transition-smooth);
}

.services-closing .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 40, 104, 0.2);
}

/*service page css end*/

/*about service section css start*/
.about-services {
    background: var(--off-white);
}

/* Card */
.about-service-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

/* Hover effect */
.about-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 40, 104, 0.1);
}

/* Icon */
.about-service-card .icon-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 40, 104, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

/* Title */
.about-service-card h5 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

/* Text */
.about-service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/*about service section css end*/

.contact-modal {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Inputs */
.contact-modal .form-control {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.contact-modal .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.15rem rgba(0, 40, 104, 0.15);
}

/* Labels */
.contact-modal .form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Button */
.contact-modal .btn-primary {
    background: var(--primary-blue);
    border: none;
    transition: all 0.3s ease;
}

.contact-modal .btn-primary:hover {
    background: #002050;
    transform: translateY(-2px);
}