/* ------ Reset and Base Styles ------ */
:root {
    --cp-blue: #1a96d4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------ Typography ------ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

.no-underline {
    text-decoration: none;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #2a2a2a;
}

/* ------ Navigation ------ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    /*padding: 1rem 0; */
}

/* new code */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* or space-between if you show logo */
}

/*
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.nav-logo {
    width: 80px;
    height: 60px;
    background-size: 80px;
    background-repeat: no-repeat;
    margin: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    background-color: var(--cp-blue);
    padding: 0.75rem;
    border-radius: 6px;
    border-color: 3px solid var(--cp-blue);
    color: white;
}

.cta-button {
    background-color: var(--cp-blue);
    color: white !important;
    padding: 0.75rem 1.1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--cp-blue);
    color: white !important;
}

.hamburger {
    /* 
    display: none;
    flex-direction: column;
    cursor: pointer; */
    display: none;
    /* visible only on mobile */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 22px;
    margin-left: 1rem;
    cursor: pointer;
}

.hamburger span {
    /* 
    width: 25px;
    height: 3px;
    background: #4a4a4a;
    margin: 3px 0;
    transition: 0.3s; */

    display: block;
    width: 100%;
    height: 3px;
    background: #111;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ------ Hero Section ------ */

.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    margin: 0 auto;
}

.videobackground {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-success {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    height: 25vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.title-success {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: rgb(255, 255, 255);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    margin: 15% auto;
    text-align: center;
}

.hero-logo {
    position: relative;
    width: 200px;
    height: 180px;
    background-image: url("/images/cpcorp.png");
    background-size: 200px;
    background-repeat: no-repeat;
    margin: 15% auto 0;

}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 8px #000;
}

.accent-text {
    color: var(--cp-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: white;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: transparent;
    color: var(--cp-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid #1a96d4;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--cp-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--cp-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid var(--cp-blue);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #1a96d4;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--cp-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
}

/* ------ Featured Services ------ */
.featured-services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: linear-gradient(135deg, var(--cp-blue) 0%, var(--cp-blue) 75%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.6rem;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-type {
    background: #f1f5f9;
    color: #1a96d4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.card-link {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: var(--cp-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.service-card.featured .card-link {
    color: var(--cp-blue);
}


.card-text:hover {
    color: white;
}


/* ------ About Section ------ */
.about-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.about-visual {
    background: linear-gradient(135deg, var(--cp-blue) 0%, #1a96d4 100%);
    padding: 3rem;
    border-radius: 16px;
    color: white;
    text-align: center;
}

.value-proposition h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-proposition p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: var(--cp-blue);
}

/* ------ Services Section ------ */
.services-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
}

.service-category h3 {
    color: var(--cp-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.service-list {
    display: grid;
    gap: 1.5rem;
}

.service-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #1a96d4;
}

.service-item h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ------ Recognition Section ------ */
.recognition-section {
    padding: 1rem 0;
    background: #1a1a1a;
    color: white;
}

.recognition-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

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

.recognition-item {
    text-align: center;
    padding: 2rem;
}

.recognition-item h3 {
    color: var(--cp-blue);
    margin-bottom: 0.5rem;
}

.recognition-item p {
    color: #94a3b8;
}

.recognition-section .btn-meet-team {
    border-color: white;
    color: white;
}

.recognition-section .btn-meet-team:hover {
    background: #f1f5f9;
    color: var(--cp-blue);
}


/* ------------ Marquee Section ------------ */

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    position: relative;
    height: 150px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0));
}

@keyframes scrollleft {
    to {
        left: -150px;
    }
}

.item {
    width: 150px;
    height: 150px;
    border-radius: 6px;
    position: absolute;
    left: max(calc(150px * 4), 100%);
    animation-name: scrollleft;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.item1 {
    background: url("images/fortinetbadge.png");
    background-size: cover;
    background-position: center;
    animation-delay: calc(15s / 4 * (4 - 1) * -1);
}

.item2 {
    background: url("images/nutanixbadge.png");
    background-size: cover;
    background-position: center;
    animation-delay: calc(15s / 4 * (4 - 2) * -1);
}

.item3 {
    background: url("images/vmware.png");
    background-size: cover;
    background-position: center;
    animation-delay: calc(15s / 4 * (4 - 3) * -1);
}


.item4 {
    background: url("images/amazon.jpg");
    background-size: cover;
    background-position: center;
    animation-delay: calc(15s / 4 * (4 - 4) * -1);
}



/* ------------ CTA Meet Team ------------ */

.cta-meet-team {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-meet-team {
    background: var(--cp-blue);
    color: white;
    /* !important; */
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cta-meet-team .btn-meet-team {
    border-color: white;
    color: white;
}

.cta-meet-team .btn-meet-team:hover {
    background: #f1f5f9;
    color: var(--cp-blue);
}

/* ------ CTA Section ------ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--cp-blue) 0%, #1a96d4 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    border-color: white;
    color: white;
}

.cta-section .btn-primary:hover {
    background: #f1f5f9;
    color: var(--cp-blue);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: #f1f5f9;
    color: var(--cp-blue);
}

/* ------ Footer ------ */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #1a96d4;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--cp-blue);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* ------Our Team Page ------ */
/* ------ Team Section ------ */
.head-team-section {
    padding: 9rem 0;
    background: #f8fafc;
}

.team-content {
    display: grid;
    gap: 5rem;
    align-items: center;
}

.team-text h2 {
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

/*-- Team Members -- */
.team-section {
    padding: 40px 20px;
    text-align: center;
}

.team-section h2 {
    margin-bottom: 35px;
    font-size: 3rem;
}

.team-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 250px;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 16px 20px 16px;
    box-sizing: border-box;
}

.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 4px solid #eee;
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 10px 0 6px 0;
}

.team-member p {
    color: #555;
    margin: 0;
    font-size: 1rem;
}

/* ------ About Us Page ------ */
.about-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(11, 11, 11, 0.6) 10%, rgba(11, 11, 11, 0.8) 50%),
        url("/images/cpoffice.jpeg") center center / cover no-repeat;
    min-height: 60vh;
    /* o el alto que prefieras 
    min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutus-text {
    font-size: large;
    color: white;
}

/* Location Section */
.location-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: white;
    color: black;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;

}

.location-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: black;
}

.location-container {
    width: 100%;
    height: auto;
}

.why-us {
    position: relative;
    border-radius: 5px;

}

.why-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 10px;
    max-width: 1200px;
    min-height: 250px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    align-items: center;
    justify-items: center;
}

.why-heading {
    margin: auto;
    align-items: center;
}

.why-paragraph {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.why-content-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 10px;
    max-width: 1200px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}


.why-title {
    color: var(--cp-blue);
    text-align: center;
}

.why-title-color {
    min-height: 200px;
    max-width: 1200px;
    background-color: var(--cp-blue);
    color: white;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-content: center;
    border-radius: 5px;
    box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.17);
}

.why-card {
    padding: 15px;
    /*  min-height: 550px; */
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.17);
}


.why-text {
    font-size: medium;
}

.map-container {
    width: 100%;
    height: auto;
    max-width: 80%;
    aspect-ratio: 4 / 3;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.map-container iframe {
    border: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cp-address {
    margin: 1rem;
    text-align: center;
    padding-top: 3rem;
    font-size: 1.2rem;
    font-weight: bold;
}

/* ------------ Success Stories Page ------------ */

.hero-success {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.4) 0%, rgba(26, 150, 212, 0.2) 100%);
    height: 25vh;
    /* o el alto que prefieras */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}


.success-photo {
    height: auto;
    width: 100%;
    object-fit: cover;
    border-radius: 10%;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    /* border: 4px solid #eee; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;


}

.spacer {
    content: " ";
    margin: 20px;
}

.cs-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.cs-featured-services {
    padding: 6rem 0;
    background: white;
}

.cs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cs-service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cs-service-card:hover {
    background: linear-gradient(135deg, var(--cp-blue) 0%, var(--cp-blue) 75%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}



/* ------------ Success Story Page Detail ------------ */

.hero-cs1 {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.6) 25%, rgba(26, 150, 212, 0.8) 100%),
        url("/images/triples.jpg") center center / cover no-repeat;
    height: 30vh;
    /* o el alto que prefieras */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-cs2 {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.6) 25%, rgba(26, 150, 212, 0.8) 100%),
        url("/images/anagmendezbayamon.png") center center / cover no-repeat;
    height: 30vh;
    /* o el alto que prefieras */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-cs3 {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.6) 25%, rgba(26, 150, 212, 0.8) 100%),
        url("/images/indulac.jpg") center center / cover no-repeat;
    height: 30vh;
    /* o el alto que prefieras */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-cs4 {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.6) 25%, rgba(26, 150, 212, 0.8) 100%),
        url("/images/doctorsmanati.png") center center / cover no-repeat;
    height: 30vh;
    /* o el alto que prefieras */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cs-main {
    padding: 2rem;
}

.cs-title {
    padding-top: 1rem;
    text-align: center;
}

.cs-content {
    background: #f8fafc;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 8px 8px rgba(0, 0, 0, 0.02);
}

.cs-image {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.cs-text {
    font-size: 18 px;
    padding: 5px;
}

.cs-button {
    display: grid;
    padding: 1rem;
    width: 300px;
    margin: auto;
    place-items: center;
}


/* ------------------ Managed Services Page ------------------------ */

.hero-services {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    min-height: 90vh;
    /* o el alto que prefieras 
    min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.managed-hero-content {
    /* margin: 15% auto; */
    text-align: center;
}

.services-subtitle {
    font-size: 1.85rem;
    max-width: auto;
    /*  margin: 0 auto 2.5rem; */
    color: white;
    text-shadow: 2px 2px 8px #000;
}

.services-information {
    font-size: 1.15rem;
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

.managed-serv-services {
    padding: 6rem 0;
    background: #f8fafc;
    border-radius: 12px;
}

.managed-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    /* repeat(auto-fit, minmax(350px, 1fr)); */
    gap: 2rem;
}

.managed-service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* box-shadow: 8px 8px rgba(0, 0, 0, 0.02); */
}

.managed-card-title {
    color: var(--cp-blue);
    font-size: 1.6rem;
}

.managed-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    /*  margin-top: 2rem; */
    margin-bottom: 3rem;
}

.managed-stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.managed-stat-item h3 {
    font-size: 2.5rem;
    color: var(--cp-blue);
    margin-bottom: 0.5rem;
}

.managed-stat-item p {
    color: #64748b;
    font-weight: 500;
}

/* ------------------ Security Services Page ------------------------ */

.hero-security {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.01) 00%, rgba(0, 0, 0, 0.01) 100%);
    min-height: 80vh;
    /* min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.managed-hero-content {
    /* margin: 15% auto; */
    text-align: center;
}


.services-subtitle {
    font-size: 1.85rem;
    max-width: auto;
    /*  margin: 0 auto 2.5rem; */
    color: white;
}

.services-information {
    font-size: 1.15rem;
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

.security-serv-services {
    padding: 6rem 0;
    background: #f8fafc;
    border-radius: 12px;
}

.security-services-grid {
    display: grid;
    grid-template-columns: repeat(minmax(350px, 1fr));
    /* repeat(auto-fit, minmax(350px, 1fr)); */
    gap: 2rem;
}

.security-service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* box-shadow: 8px 8px rgba(0, 0, 0, 0.02); */
}

.security-card-title {
    color: var(--cp-blue);
    font-size: 1.6rem;
}


.managed-stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}




/* ------------------ Contact Us ------------------ */

.contact-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.4) 0%, rgba(26, 150, 212, 0.2) 100%),
        url("/images/office.jpg") center center / cover no-repeat;
    min-height: 50vh;
    /* o el alto que prefieras */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form {
    background: #f8fafc;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 5rem;
    border-radius: 10px;
    box-shadow: 8px 8px rgba(0, 0, 0, 0.02);
}

.contact-grid {
    width: 100%;
    max-width: 1000px;
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 2rem;
}

.contact-heading {
    color: var(--cp-blue);
}

.form {
    width: 100%;
    height: auto;
    max-width: 500px;
    background-color: white;
    gap: 2rem;
}

.form-text {
    display: inline-block;
    font-weight: 200;
    font-size: large;
}

.form-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin: 2rem;
}

.text-label {
    font-weight: bold;
}

textarea {
    resize: none;
}



/* ------------ HealthCare Services Page ------------ */
.healthcare-hero {
    display: flex;
    background:
        linear-gradient(135deg, rgba(26, 150, 212, 0.9) 0%, rgba(26, 150, 212, 0.8) 100%);
    width: 100%;
    height: auto;
    min-height: 50vh;
    align-content: center;
    justify-content: center;
    margin: auto;
    border: 2px yellow solid;
}

.healthcare-hero-content {
    border: 2px purple solid;
    width: 90%;
    height: 100%;
    margin: 15% 0;
    /* padding: 5px; */
    display: flex;
    /* grid-template-columns: 60% 40%;
    grid-template-columns: repeat(2, minmax(30%, 1fr)); */
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 5rem;
    justify-content: space-evenly;
}

.healthcare-hero-text {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    width: 100%;
    color: white;
    margin-left: auto;
    margin-right: auto;
    min-width: 300px;
}

.healthcare-hero-text p {
    color: white;
}

.healthcare-title {
    margin: auto;
    /* margin-top: auto; */
    font-size: 3rem;
    font-weight: bolder;
}

.healthcare-hero-graphic {
    width: 100%;
    height: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    /* max-height: 600px; */
    border-radius: 30px;
    object-fit: cover;
    object-position: center;
    margin: auto;
}

.healthcare-vertical {
    border: 2px red solid;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr); */
    align-content: center;
    justify-content: space-evenly;
    gap: 5px;
}

.healthcare-square {
    padding: 5px;
    width: 250px;
    height: auto;
    background: #316ea0;
    border: 1px solid white;
    border-radius: 10px;
    text-align: center;
}

.healthcare-square h3 {
    font-size: 1.2rem;
}

/* .healthcare-details {} */

.the-symbol {
    align-self: right;
}

.healthcare-summary {
    symbols: (▼);
    cursor: pointer;
}

.icon {
    width: 80px;
    height: 80px;
    color: white;
    margin: auto;
    background: url("images/protection.png");
    background-size: cover;
    background-repeat: no-repeat;
}


/* -------- contact-tsc Page --------- */

.tsc-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tsc-grid {
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 1rem;
}


.tsc-heading {
    padding-top: 10px;
    font-size: 2rem;
    color: var(--cp-blue);
    text-align: center;

}

.tsc-text {
    max-width: 800px;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;

}

.tsc-span {
    color: var(--cp-blue);
    font-weight: bolder;
}

.tsc-card {
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.10);
}

.tsc-info {
    max-width: 800px;
    min-height: 100px;
    background-color: var(--cp-blue);
    font-size: larger;
    text-align: center;
    align-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.tsc-info p {
    margin-bottom: 0;
    color: white;
}

.tsc-info a {
    color: white;
}

.tsc-image-div {
    display: grid;
    width: 100%;
    place-items: center;
}

.tsc-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    padding: 2rem;
}



/* ------ Responsive Design ------ */
@media (max-width: 900px) {
    .nav-container {
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 56px;
        /* match navbar height */
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease-out;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link,
    .nav-menu .cta-button {
        display: block;
        width: 100%;
        padding: 0.6rem 0;
    }

    /* OPEN STATE: JS adds .nav-open to <nav> */
    .navbar.nav-open .nav-menu {
        max-height: 300px;
        /* big enough for all items */
    }

    /* HAMBURGER ANIMATION: JS adds .active to .hamburger */
    .hamburger.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .nav-logo {
        width: 40px;
        height: 30px;
        background-size: 40px;
    }

    /*   .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    } 
    */

    .hero-title {
        font-size: 2.5rem;

    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }


    .hero-stats {
        grid-template-columns: 300px;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-subtitle {
        font-size: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .managed-services-grid {
        grid-template-columns: 400px;
        justify-content: center;
    }

    .healthcare-hero-content {
        flex-direction: column-reverse;
        align-items: center;

    }

    .healthcare-vertical {
        flex-direction: column;
        align-items: center;
    }

    .why-content {
        grid-template-columns: 1fr;
    }

    .why-content-card {
        grid-template-columns: 1fr;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .tsc-grid {
        grid-template-columns: 1fr;
    }


}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-hero {
        min-height: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .featured-services,
    .about-section,
    .services-section,
    .cta-section {
        padding: 4rem 0;
    }

    .healthcare-hero-content {

        flex-direction: column-reverse;
        align-items: center;
    }

    .healthcare-vertical {
        flex-direction: column;
    }

    .managed-hero-stats {
        grid-template-columns: 1fr;
    }

    .tsc-grid {
        grid-template-columns: 1fr;
    }

}

/* ------ Smooth Scrolling ------ */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--cp-blue);
    outline-offset: 2px;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}