/* HERO SECTION */
.about-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 70vh;
    background-image: url('https://caricojm.com/wp-content/uploads/2026/01/5.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
}
section.about-vm
 {
    padding-top: 10px;
}
a.about-btn:hover {
    color: white;
    text-decoration: none;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.about-hero-content p {
    font-size: 1.2rem;
}

/* WHO WE ARE */
.about-who {
    padding: 80px 0;

}

.about-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-who-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform .4s;
}

.about-who-image img:hover {
    transform: translateY(-6px);
}

.about-who-text h2 {
    font-size: 2.3rem;
    color: var(--very-dark-gray);
}

.about-who-text p {
    margin-top: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.about-btn {
    margin-top: 25px;
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
	border: 1px solid var(--primary-color);
    color: #fff;
    border-radius: 6px;
    transition: .3s;
}

.about-btn:hover {
    background: transparent;
	color:var(--primary-color) !important;
	border: 1px solid var(--primary-color);
}

/* HISTORY SECTION */
.about-history {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
    width: 100%;
    max-width: 100%;
}
.history-grid:after {
    content: "";
    width: 1175px;
    height: 2px;
    position: absolute;
    display: block;
    background: white;
}
.about-history .section-title {
    font-size: 2.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.section-desc {
    color: var(--dark-gray);
    margin-bottom: 40px;
    color: var(--white);
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.history-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius:0px;
    transition: all .3s;
}

.history-card:hover {
    transform: translateY(-8px);
    background: var(--primary-light);
}

/* VISION & MISSION */
.about-vm {
    width: 100%;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.vm-wrapper {
    display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.vm-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0,0,0,0.04);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #0073AA20;
}

.vm-card:hover {
    transform: translateY(-10px);
   
}


/* Title */
.vm-card h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vm-card p {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* SVG area */
.vm-icon {
    margin-bottom: 25px;
    width: 80px;
}

/* SVG styles */
.vm-svg {
    width: 80px;
    height: 80px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Line-drawing animation */
.stroke-anim {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-line 2s ease forwards;
}

.vm-card:nth-child(2) .stroke-anim {
    animation-delay: .2s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

/**Bg image**/
.about-bg {
    width: 100%;
    max-width: 100%;
    height: 400px; /* default height */
    background-image: url('https://caricojm.com/wp-content/uploads/2026/01/1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* fixed background */
}

/* VALUES */
.about-values {
    width: 100%;
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.04);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #0073AA20;
}

.value-card:hover {
    transform: translateY(-10px);
   
}


.value-card h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* SVG styles */
.value-icon {
    margin-bottom: 25px;
    width: 80px;
}

.value-svg {
    width: 80px;
    height: 80px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Line animation */
.stroke-anim {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-line 2s ease forwards;
}

.value-card:nth-child(2) .stroke-anim {
    animation-delay: .2s;
}

.value-card:nth-child(3) .stroke-anim {
    animation-delay: .4s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}





/* RESPONSIVE */


@media(max-width: 900px) {
    .about-who-grid,
    .vm-grid,
    .history-grid,
    .values-grid
    {
        grid-template-columns: 1fr;
    }
    .about-hero-bg {
        height: 350px;
    }
    .about-hero-content h1 {
        font-size: 2.2rem;
    }
}
@media(max-width: 768px) {
    .about-hero-bg {
        height: 250px;
        background-attachment: fixed; 
    }
}
