/* Saaim one-pager overrides */

.header_section {
    background-image: none;
    background: linear-gradient(135deg, #1a3a4a 0%, #252f2d 55%, #1a5276 100%);
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #fefefd !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-name:hover {
    color: #f8ca29 !important;
}

.logo {
    width: auto;
    max-width: 45%;
}

.hero-row {
    padding-bottom: 40px;
}

.banner_taital_main.hero-copy {
    padding-left: 15px;
    padding-top: 70px;
}

.hero-lead {
    color: #fefefd;
    font-size: 16px;
    line-height: 1.7;
    margin: 18px 0 28px;
    max-width: 520px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-btn {
    display: inline-block;
    background: #f5c729;
    color: #252f2d !important;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 5px;
    font-size: 14px;
}

.cta-btn:hover {
    background: #ffffff;
    color: #252f2d !important;
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid #fefefd;
    color: #fefefd !important;
}

.cta-btn-outline:hover {
    background: #fefefd;
    color: #252f2d !important;
}

.hero-photo-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 10px 0;
}

.hero-photo {
    width: min(380px, 90%);
    height: auto;
    max-height: 520px;
    border-radius: 18px;
    border: 6px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    object-position: center top;
    background: #fff;
}

.banner_section {
    padding-bottom: 80px;
}

.section_intro {
    color: #666;
    font-size: 16px;
    max-width: 720px;
    margin: 10px 0 0;
}

.section_intro.dark {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.about_section {
    width: 100%;
    float: left;
    padding: 70px 0 40px;
}

.about_content {
    margin-top: 40px;
    align-items: flex-start;
}

.about_photo {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    border: 5px solid #f5c729;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto 30px;
}

.about_heading {
    font-size: 22px;
    font-weight: 700;
    color: #292929;
    margin: 10px 0 12px;
    padding-bottom: 0;
}

.family_grid {
    display: grid;
    gap: 16px;
    margin-top: 10px;
}

.family_card {
    background: #fff;
    border-left: 5px solid #f5c729;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 16px 18px;
    border-radius: 6px;
}

.family_card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #252f2d;
    padding-bottom: 4px;
}

.family_card p {
    margin: 0 0 8px;
    color: #555;
}

.family_card a {
    color: #1a5276;
    font-weight: 600;
    text-decoration: underline !important;
}

.events_section {
    width: 100%;
    float: left;
    background: #252f2d;
    padding: 80px 0;
}

.events_section .portfolio_taital_1 {
    color: #fefefd;
    border-bottom-color: #f5c729;
}

.events_section .section_intro {
    color: #d9d9d9;
}

.events_grid {
    margin-top: 30px;
}

.event_card {
    background: #ffffff;
    border-radius: 10px;
    padding: 28px 26px;
    height: 100%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.event_year {
    display: inline-block;
    background: #f5c729;
    color: #252f2d;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
}

.event_card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #252f2d;
    padding-bottom: 8px;
}

.event_card p {
    margin: 0 0 16px;
    color: #555;
}

.event_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event_tags li {
    background: #f4f4f4;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
}

.project_cards {
    margin-top: 20px;
}

.project_card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    height: 100%;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.project_visual {
    height: 160px;
    width: 100%;
}

.project_visual_solar {
    background:
        radial-gradient(circle at 50% 50%, #f5c729 0 18px, transparent 19px),
        radial-gradient(circle at 72% 42%, #e67e22 0 10px, transparent 11px),
        radial-gradient(circle at 30% 58%, #3498db 0 8px, transparent 9px),
        radial-gradient(circle at 58% 70%, #9b59b6 0 6px, transparent 7px),
        linear-gradient(135deg, #0b1b3a, #1a5276);
}

.project_visual_transport {
    background:
        linear-gradient(90deg, transparent 20%, rgba(255,255,255,0.15) 20% 22%, transparent 22%),
        linear-gradient(180deg, transparent 62%, #f5c729 62% 68%, transparent 68%),
        linear-gradient(135deg, #1f4037, #99f2c8);
}

.project_visual_physics {
    background:
        linear-gradient(45deg, transparent 48%, #fff 48% 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.5) 48% 52%, transparent 52%),
        linear-gradient(135deg, #232526, #414345);
}

.project_card h3 {
    font-size: 20px;
    font-weight: 700;
    padding: 18px 18px 6px;
    color: #252f2d;
}

.project_card p {
    margin: 0 18px 12px;
    color: #555;
}

.project_meta {
    display: inline-block;
    margin: 0 18px;
    font-size: 12px;
    font-weight: 700;
    color: #f5c729;
    background: #252f2d;
    padding: 5px 10px;
    border-radius: 4px;
}

.milestones_section {
    padding: 70px 0 90px;
}

.milestone_blocks {
    margin-top: 30px;
}

.milestone_block {
    margin-bottom: 20px;
}

.milestone_block > h3 {
    font-size: 22px;
    font-weight: 700;
    color: #252f2d;
    margin-bottom: 16px;
}

.milestone_item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    padding: 22px 20px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
    border-top: 4px solid #f5c729;
}

.milestone_item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #252f2d;
    padding-bottom: 4px;
}

.milestone_item span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #1a5276;
    margin-bottom: 8px;
}

.milestone_item p {
    margin: 0;
    color: #555;
}

.blog_section,
.interests_section {
    background-image: none !important;
    background: linear-gradient(160deg, #1a5276 0%, #252f2d 100%);
    height: auto;
    margin-bottom: 0;
    padding-bottom: 80px;
}

.blog_img,
.blog_img_2,
.blog_img_3 {
    background-image: none !important;
}

.interests_section .blog_section_2 {
    padding-top: 40px;
}

.interest_box {
    padding-top: 10px;
    min-height: 260px;
}

.interest_top {
    background: #252f2d;
    padding: 22px 18px 10px;
    margin-bottom: 10px;
}

.interest_top .prep_text {
    color: #f5c729 !important;
    font-size: 20px;
    font-weight: 700;
}

.interest_link {
    display: inline-block;
    margin: 0 20px;
    color: #1a5276 !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.copyright_text {
    text-align: center;
}

@media (max-width: 991px) {
    .banner_taital {
        font-size: 42px;
        line-height: 50px;
    }

    .brand-name {
        font-size: 18px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        color: #252f2d;
    }
}

@media (max-width: 767px) {
    .banner_taital_main.hero-copy {
        padding-top: 20px;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .banner_section {
        padding-bottom: 40px;
    }
}
