:root {
    --primary-blue: #083169;
    --accent-green: #4CAF50;
    --accent-green-dark: #3d8b40;
    --accent-orange: #DD8615;
    --accent-yellow: #EBB036;
    --teal-bg: #03485E;
    --text-dark: #2B2B2B;
    --text-muted: #666666;
    --border-radius-lg: 16px;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6,
p, a, span, li, label,
button, input, select, textarea,
.btn, .nav-link {
    font-family: 'Lato', Arial, sans-serif;
}

/* Let content use more of the available screen width */
.container {
    width: 100%;
    max-width: 1320px;
    padding-left: 50px;
    padding-right: 50px;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}
@media (max-width: 575.98px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header-custom {
    background: #ffffff;
    border-bottom: 1px solid #EAEAEA;
    padding: 12px 0;
}
.nav-item {
    font-family: 'Lato';
    font-weight: bold;
    color: var(--primary-blue) !important;
    padding: 0px 12px 0px 12px !important;
}
.header-custom .nav-link {
    color: var(--primary-blue);
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
}


.menu-button-cta {
    background-color: var(--accent-green) !important;
    color: #ffffff !important;
    border-radius: 6px;
    padding: 8px 22px !important;
    font-weight: 600;
}
.menu-button-cta i {
    font-size: 0.8rem;
    margin-left: 4px;
}

.navbar{
    
    padding: 0 !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: url('../images/cphi-milan-hero-bg.png') no-repeat center center/cover;
    padding: 20px;
    position: relative;
}
.hero-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1.3;
    margin-bottom: 14px;
    max-width: 600px;
    position: relative;
    padding-bottom: 18px;
}
.hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
}
.hero-subtext {
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}
.cphi-hero-logo img {
    max-height: 100px;
}

/* Stand Badge */
.stand-badge {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-top: 12px;

}


/* Header */
.stand-badge-header {
    position: relative;
    width: 300px;
    max-width: 85%;
    margin-top: -1px;
    margin-left: -1px;

    padding: 9px 18px;

    background: linear-gradient(
        90deg,
        #519d3d 0%,
        #7ba52d 45%,
        #dd8615 100%
    ) !important;

    color: #fff;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;

    border-radius: 8px 8px 0 0;
    white-space: nowrap;
}

/* Body */
.stand-badge-body {
    padding: 13px 17px 12px;
    background: #fffdf0;
    color: #586477;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #f4d98b;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stand-badge-body p {
    display: flex;
    align-items: center;
    margin-bottom: 10px !important;
}

.stand-badge-body p:last-child {
    margin-bottom: 0 !important;
}

.stand-badge-body i {
    width: 20px;
    margin-right: 10px;
    font-size: 17px;
    color: #519d3d;
}

/* Location icon */
.stand-badge-body p:last-child i {
    color: #f0a01b;
}

/* Contact Us Card */
.contactus-wrapper {
    background: rgba(242, 242, 242, 0.75);
    border-radius: var(--border-radius-lg);
    padding: 24px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.form-title {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}
.form-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-yellow));
}
.form-label-sm {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
}
.contactus-wrapper .form-control {
    border-radius: 6px;
    border: 1px solid #CBD5E0;
    font-size: 0.85rem;
    padding: 9px 12px;
    height: auto;
    background-color: #ffffff;
}
.contactus-wrapper .form-control::placeholder {
    color: #A0AEC0;
}
.contactus-wrapper .form-group {
    margin-bottom: 12px;
}
.contactus-wrapper .form-check-input {
    accent-color: var(--accent-orange);
}
.contactus-wrapper .form-check-label {
    font-size: 0.85rem;
    line-height: 1.4;
}
.contactus-wrapper .form-check-label a {
    color: var(--accent-green-dark);
    font-weight: 600;
    text-decoration: none;
}

.contactus-wrapper .custom-error,
.contactus-wrapper .custom-success {
    display: none;
}
.contactus-wrapper .custom-error.show,
.contactus-wrapper .custom-success.show {
    display: block;
    margin-bottom: 12px;
}
.error
{
color:red;
}
.btn-schedule {
    background-color: var(--accent-green) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
    margin-top: 6px;
    border: none;
}
.btn-schedule i {
    font-size: 0.8rem;
    margin-left: 4px;
}
/* ==========================================================================
   ABOUT SECTIONS
   ========================================================================== */
.about-section {
    padding: 70px 0;
}
.about-img {
    width: 80%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.section-title-blue {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.about-text {
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
}
.btn-green {
    background-color: var(--accent-green);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 22px;
    display: inline-block;
    text-decoration: none;
}
.btn-green:hover {
    background-color: var(--accent-green-dark);
}
.btn-green i {
    font-size: 0.8rem;
    margin-left: 4px;
}
.cphi-logo-circle {
    width: 350px;
    height: 350px;
    background-color: #f7fae5 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ==========================================================================
   WHO WE ARE SECTION
   ========================================================================== */
.who-we-are-section {
    background-image: url('../images/who-we-are-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 160px;
    color: #ffffff;
}
.who-we-are-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.who-we-are-section .section-subtext {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto 40px auto;
    color: #E2E8F0;
}
.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
}
.stat-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}
.stat-label {
    font-size: 20px;
    color: #CBD5E0;
}

/* Vision, Mission & Values (Overlapping Cards) */
.vmv-section {
    margin-top: -100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}
.vmv-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
}
.vmv-image-wrapper {
    width: 100%;
    height: 300px;
}
.vmv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vmv-card-body {
    padding: 40px;
}
.vmv-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.vmv-desc {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   OUR PORTFOLIO SECTION (static image slider — old markup)
   ========================================================================== */
#portfolio-slider-2 {
    padding-bottom: 40px;
}

/* Pill-style tabs to match reference design */
#portfolio-slider-2 .nav-tabs {
    border-bottom: none;
    display: inline-flex;
    background-color: #F1F5F9;
    border-radius: 30px;
    padding: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
#portfolio-slider-2 .nav-tabs .nav-link {
    border: none;
    background: transparent;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748B;
}
#portfolio-slider-2 .nav-tabs .nav-link.active {
    background-color: #ffffff;
    color: #529E3E !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Image-based slider: exactly 3 visible per view, swipeable via native scroll-snap (no JS/library needed) */
#portfolio-slider-2 .cphibox-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 6px 30px;
    scrollbar-width: none;      /* Firefox: no visible scrollbar */
    -ms-overflow-style: none;   /* IE/Edge: no visible scrollbar */
}
#portfolio-slider-2 .cphibox-slider::-webkit-scrollbar {
    display: none;              /* Chrome/Safari: no visible scrollbar */
}
#portfolio-slider-2 .portfolio-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
#portfolio-slider-2 .cphibox-slider {
    flex: 1;
}
#portfolio-slider-2 .portfolio-arrow {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
}
#portfolio-slider-2 .portfolio-arrow:hover {
    background: #F1F5F9;
}

#portfolio-slider-2 .portfolio-content {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    scroll-snap-align: start;
}
#portfolio-slider-2 .portfolio-content .card-img-top {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   MILESTONE SECTION
   ========================================================================== */
.milestone-section {
    background-image: url('../images/cphi-milan-milstone-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 60px;
    padding-bottom: 70px;
}
.milestone-title {
    font-size: 1.9rem;
}
.milestone-nav-controls {
    display: flex;
    gap: 10px;
}
.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
}
.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.timeline-navigation-wrapper {
    position: relative;
}
.timeline-years-list {
    display: flex;
    align-items: flex-end;
    gap: 100px;
    margin: 0;
    padding: 0 0 30px 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.timeline-years-list::-webkit-scrollbar {
    display: none;
    height: 0;
}
.timeline-year-item {
    font-size: 30px !important;
    position: relative;
    cursor: pointer;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    font-weight: 600;
    padding-top: 14px;
    flex: none;
}
.timeline-year-item .tick-mark {
    position: absolute;
    top: 0;
    left: 24%;
    transform: translateX(-50%);
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
}
.timeline-year-item.active {
    color: #ffffff;
}
.timeline-year-item.active .tick-mark {
    background: #ffffff;
    width: 2px;
}
.timeline-base-line {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: -16px;
}
.timeline-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: #EDB337;
    transition: width 0.35s ease;
}
.timeline-progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -5px;
    width: 15px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.milestone-content-wrapper {
    position: relative;
}
.milestone-item {
    display: none;
}
.milestone-item.active {
    display: block;
}
.milestone-img-container img {
    width: 90%;
    height: 350px;
    /*aspect-ratio: 4 / 3;*/
    object-fit: cover;
    border-radius: 10px;
}
.milestone-year-heading {
    font-size: 2.4rem;
}
.milestone-description {
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    font-size: 18px !important;
}
.market-presence-title {
    color: #ffffff;
    font-size: 1rem;
}

/* ==========================================================================
   MARKET PRESENCE SECTION
   ========================================================================== */
.market-presence-section {
    padding: 70px 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    position: fixed
}

/*.footer-list li a{*/
/*    color: #fff*/
/*}*/

/*.footer-list li a:hover {*/
/*    color: #fff !important*/
/*}*/

/*   footer .btn {*/
/*        margin-left: 0 !important;*/
/*        margin-top: 20px !important*/
/*    }*/
    
    
    
footer {
    background: #262b2d;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
    height: auto
}

.footer-logo {
    margin-left: 15px
}

footer p {
    text-align: justify;
    line-height: 22px
}

.border-left {
    border-left: 1px solid #fff
}

.footer-list {
    list-style: none;
    padding: 0 0 0 30px
}



.footer-list li a
{
    color: #fff
}

.footer-list li a:hover {
    color: #fff !important
}


.footer-list li,
footer p {
    color: #fff;
    font-size: 16px !important;
    margin-bottom: 7px
}

.hresponsive {
    margin-bottom: 7px;
    line-height: 2.2 !important
}

.custom-error,
.custom-success,
.enq-last-mail br {
    display: none
}

footer form input[type="text"] {
    background: #556161 !important;
    color: #fff !important;
    border: 0;
    border-radius: 11px
}

footer form input[type="text"]:focus {
    background: #556161 !important
}

footer .form-control {
    padding: 6px 80px 8px 10px;
    background: #556161 !important;
    color: #fff !important;
    border: 0;
    border-radius: 11px !important
}

.form-control::placeholder {
    color: #fff !important;
    opacity: 1;
    font-size: 17px
}

footer .btn {
    background: #95c158;
    color: #fff;
    padding: 8px 17px 7px 8px;
    margin-left: 20px;
    font-size: 16px;
    margin-top: -2px;
    border-radius: 11px
}

.social-icons {
    list-style: none;
    text-align: center
}

.social-icons li {
    display: inline-block;
    padding-right: 10px
}

.social-icons img {
    height: 33px;
    width: 33px
}

.dev-by {
    text-align: right
}

.dev-by span {
    font-size: 16px;
    position: relative;
    top: 2px
}

   footer {
        z-index: 0
    }
    
       #site-footer p.footer-pp-tc{
        text-align: left !important
    }

    .footer-pp-tc a {
        color: #fff
    }

    .footer-pp-tc a:hover {
        color: #95c158
    }


    .footer-list li,
    footer p {
        font-size: 16px !important
    }
    
    .footer-logo-wrapper {
    width: 270px;
    height: 86px;
    overflow: hidden;
}

.footer-logo {
    width: 270px;
    height: auto;
    display: block;
}
.social-icon {
    width: 35px;
    height: 33px;
    display: inline-block !important;
    margin-top: 10px;
}   
    


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 1.8rem;
        max-width: 100%;
    }
    .cphi-logo-circle {
        width: 220px;
        height: 220px;
    }
    .vmv-section {
        margin-top: -60px;
    }
    .stat-item {
        margin-bottom: 10px;
    }
    .milestone-year-heading {
        font-size: 2rem;
    }
    #portfolio-slider-2 .portfolio-content {
        flex-basis: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
    

}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 575.98px) {
    .about-section {
        padding: 45px 0;
    }
    .hero-section {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .section-title-blue,
    .who-we-are-section .section-title {
        font-size: 1.6rem;
    }
    .contactus-wrapper {
        padding: 18px;
    }
    .contactus-wrapper .form-group.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .cphi-logo-circle {
        width: 250px;
        height: 250px;
    }
    .vmv-section {
        margin-top: -40px;
    }
    .stat-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    #portfolio-slider-2 .cphibox-slider {
        gap: 16px;
    }
    #portfolio-slider-2 .portfolio-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

   

    /* Milestone: stack image above text, tighten heading */
    .milestone-title {
        font-size: 1.5rem;
    }
    .milestone-year-heading {
        font-size: 1.8rem;
    }
    .milestone-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
    
        .footer-list{
            padding-left: 0 !important;
            
        }
        
        .border-left{
            border: 0 !important;
        }
        
        .about-img {
            width: 100% !important;
        }
        
        .timeline-years-list{
            gap: 45px;
        }
    .milestone-img-container img {
        width: 100% !important;
    }
    
        #footer-sign-up-form {
        padding: 0 !important
    }

}