@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@700;800;900&display=swap');



/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    background: var(--bg-light);
    overflow: hidden;
}

.hero-container {
    width: 100%;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-bottom: 60px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .line span {
    display: inline-block;
    animation: revealText 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(100%);
}

.hero h1 .line:nth-child(1) span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.2s; color: var(--primary); }

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
    transform: translateY(20px);
}

/* --- Hero Visuals --- */
.hero-visual {
    position: relative;
    height: 600px;
    opacity: 0;
    animation: fadeScale 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.image-primary {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.15);
}

.image-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-secondary {
    position: absolute;
    left: 0;
    bottom: 10%;
    width: 50%;
    height: 40%;
    border-radius: 16px;
    overflow: hidden;
    border: 8px solid var(--bg-light);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.1);
    z-index: 2;
}

.image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Radar Animation Aesthetic */
.radar-scan {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px dashed rgba(229, 57, 53, 0.3);
    z-index: 0;
}

.radar-scan::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px dashed rgba(229, 57, 53, 0.2);
}

/* --- Infinite Scrolling Marquee Banner --- */
.scrolling-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    z-index: 10;
}

.marquee-content {
    display: flex;
    animation: scrollText 20s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    padding-right: 30px;
}

.marquee-item i {
    color: var(--primary);
    font-size: 0.8rem;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealText {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- About Section V3 (Classic Corporate) --- */
.about-section {
    padding: 100px 5%;
    background: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.1);
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    z-index: 1;
}

.about-experience {
    position: absolute;
    bottom: 60px;
    left: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(229, 57, 53, 0.3);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-years {
    font-size: 3.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 1px;
}

.about-content .tagline {
    margin-bottom: 15px;
    animation: none;
    opacity: 1;
    transform: none;
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
    animation: none;
    opacity: 1;
    transform: none;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 500;
}

.about-list li i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Stats Ribbon Section (Image Parallax) --- */
.stats-ribbon {
    position: relative;
    padding: 60px 5%;
    background: url('assets/security_tracking.jpg') center/cover no-repeat fixed;
}

.stats-ribbon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.88); /* Deep navy overlay */
    z-index: 1;
}

.stats-container-slim {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-item-slim {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.stat-item-slim i {
    font-size: 2.2rem;
    color: var(--primary);
}

.stat-info h3 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

.stat-info h3::after {
    content: '+';
    color: var(--primary);
}

.stat-info span {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Services Section (Asymmetric Modern) --- */
.services-section-asymmetric {
    padding: 120px 5%;
    background-color: #ffffff;
    position: relative;
}

.services-container-asym {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.services-intro {
    flex: 0 0 35%;
    position: sticky;
    top: 120px; /* Sticks as user scrolls */
}

.services-intro h2 {
    font-size: 3.5rem;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.services-intro p {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.8;
}

.services-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-row {
    display: flex;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid #eaeaea;
    transition: var(--transition);
}

.service-row:first-child {
    padding-top: 0;
}

.service-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-row:hover .service-row-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.service-row-icon {
    flex: 0 0 80px;
    height: 80px;
    background: #f4f6f9;
    border-radius: 20px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.service-row-content h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 800;
}

.service-row-content p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 600px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-link i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* --- Overlapping Brands Marquee --- */
.overlapping-brands-wrapper {
    position: relative;
    z-index: 10;
    margin-bottom: -50px; /* Overlaps exactly half of the 100px box into the dark section */
    width: 100%;
}

.brands-marquee-home {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    padding: 20px 0; /* Padding prevents shadow clipping */
}

.marquee-content-home {
    display: flex;
    gap: 30px;
    align-items: center;
    white-space: nowrap;
    animation: scroll-marquee-home 30s linear infinite;
}

.brand-box {
    background: var(--white);
    padding: 0 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Deep shadow for 3D effect on dark bg */
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100px;
    transition: transform 0.3s ease;
}

.brand-box i {
    color: var(--primary);
    font-size: 1.8rem;
}

.brand-box:hover {
    transform: translateY(-5px);
}

@keyframes scroll-marquee-home {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* --- Why Choose Us (Dark Bento Grid) --- */
.why-choose-us {
    padding: 120px 5%;
    background-color: #030a16;
    color: var(--white);
}

.section-header-dark {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header-dark h2 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1px;
}

.section-header-dark p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
}

.bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
}

.bento-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.bento-box:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(229, 57, 53, 0.3);
}

.bento-large {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(145deg, rgba(229, 57, 53, 0.1), rgba(255, 255, 255, 0.02));
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.bento-large .bento-icon {
    font-size: 4rem;
    margin-bottom: 30px;
}

.bento-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.bento-large h3 {
    font-size: 2.2rem;
}

.bento-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.bento-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.bento-flex p {
    margin-bottom: 0;
}

.bento-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
}

/* --- Testimonials Section (Scrolling Marquee) --- */
.testimonials-scrolling {
    padding: 100px 0;
    background-color: #f9fafc;
    overflow: hidden;
}

.scrolling-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Gradient fades on left and right edges */
.scrolling-wrapper::before,
.scrolling-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.scrolling-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f9fafc 0%, transparent 100%);
}
.scrolling-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f9fafc 0%, transparent 100%);
}

.scrolling-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollTestimonials 50s linear infinite;
}

.scrolling-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); } /* 10px is half of the 20px gap */
}

.scroll-card {
    width: 320px; /* Smaller width to fit ~5 at once */
    background: var(--white);
    padding: 30px 25px; /* Less padding to reduce height */
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Faint Watermark Quote */
.scroll-card::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 5rem;
    color: rgba(229, 57, 53, 0.03);
    z-index: -1;
    line-height: 1;
}

.scroll-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: rgba(229, 57, 53, 0.1);
}

.scroll-card p {
    font-size: 0.95rem; /* Smaller font to reduce height */
    line-height: 1.6;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 20px;
}

.scroll-card .stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.scroll-card .client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
}

.scroll-card .client-avatar {
    width: 40px; /* Smaller avatar */
    height: 40px;
    background: rgba(229, 57, 53, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.scroll-card .client-info h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 2px;
    font-weight: 700;
}

.scroll-card .client-info span {
    font-size: 0.85rem;
    color: var(--text-body);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-container { gap: 30px; }
    .image-primary { width: 90%; }
    .about-container { gap: 40px; }
    .about-content h2 { font-size: 2.4rem; }
    .about-experience { padding: 20px; left: -15px; }
    .stats-container-slim { grid-template-columns: repeat(2, 1fr); display: grid; }
    .services-container-asym { flex-direction: column; gap: 50px; }
    .services-intro { position: static; flex: none; }
    .services-intro h2 { font-size: 3rem; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-large, .bento-wide { grid-column: span 1; grid-row: span 1; }
    .section-header-dark h2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }
    .hero-visual {
        height: 400px;
        margin-bottom: 60px;
    }
    .image-primary { width: 100%; right: auto; }
    .about-container { grid-template-columns: 1fr; }
    .about-image-wrapper { padding-right: 0; padding-bottom: 0; margin-bottom: 40px; }
    .about-image-wrapper::before { display: none; }
    .about-experience { bottom: -20px; left: 20px; }
    .stats-container-slim { grid-template-columns: 1fr; }
    .service-row { flex-direction: column; gap: 20px; padding: 40px 0; }
    .services-intro h2 { font-size: 2.5rem; }
    .bento-flex { flex-direction: column; align-items: flex-start; gap: 25px; }
    .scroll-card { width: 280px; padding: 20px; }
}
