/* ============================================
   DETECTOR WEBSITE - MAIN STYLE FILE
   ============================================ */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ========== CONTAINER ========== */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ========== NAVIGATION BAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00A8FF, #0055FF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-icon i {
    color: white;
    font-size: 1.3rem;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0A2540, #00A8FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #00A8FF, #0055FF);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00A8FF;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0A2540;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #0A2540, #1a4a6f);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
    gap: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #0A2540;
    color: #0A2540;
}

.btn-outline:hover {
    background: #0A2540;
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 168, 255, 0.08) 0%, transparent 60%);
    z-index: -1;
}

.hero-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 168, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00A8FF;
    margin-bottom: 1.5rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #00A8FF;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.typing-text {
    color: #00A8FF;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ========== IMAGE STYLES FOR CARDS ========== */
.service-img,
.value-img,
.testimonial-img,
.location-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Circular images for testimonials */
.testimonial-img-circle {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #00A8FF;
}

/* Square images for services */
.service-img-square {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,168,255,0.1), rgba(0,85,255,0.1));
}

/* Location images */
.location-img-circle {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid #00A8FF;
}

/* Fallback icon when no image */
.icon-fallback {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0,168,255,0.1), rgba(0,85,255,0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-fallback i {
    font-size: 2rem;
    color: #00A8FF;
}

/* ========== STATISTICS SECTION ========== */
.stats {
    padding: 4rem 0;
    background: #0A2540;
    color: white;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon i {
    font-size: 2.2rem;
    color: #00A8FF;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* ========== SERVICES CAROUSEL ========== */
.services-carousel-section {
    padding: 5rem 0;
    background: #F8FAFE;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 168, 255, 0.1);
    color: #00A8FF;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.service-slide-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.service-slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,168,255,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0,168,255,0.1), rgba(0,85,255,0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #00A8FF;
}

.service-slide-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-slide-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.service-features-list span {
    background: #F0F9FF;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: #00A8FF;
}

.service-link {
    color: #0A2540;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 0.8rem;
    color: #00A8FF;
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: #00A8FF;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}
.swiper-pagination-bullet-active {
    background: #00A8FF;
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
    padding: 5rem 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-content h2 {
    font-size: 2rem;
    margin: 1rem 0;
}

.btn-link {
    color: #00A8FF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.btn-link:hover {
    gap: 0.8rem;
}

.placeholder-image {
    background: linear-gradient(135deg, #0A2540, #1a4a6f);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
}

.placeholder-image i {
    font-size: 4rem;
    color: #00A8FF;
    margin-bottom: 1rem;
}

.placeholder-image span {
    display: block;
    color: white;
    font-size: 1.2rem;
}

/* ========== VALUES STRIP ========== */
.values-strip {
    background: #0A2540;
    padding: 2rem 0;
    overflow: hidden;
}

.values-marquee {
    white-space: nowrap;
    overflow: hidden;
}

.values-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.values-track span {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 1rem;
}

.values-track span:nth-child(odd) {
    color: #00A8FF;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 5rem 0;
    background: #F8FAFE;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonial-quote i {
    font-size: 2rem;
    color: #00A8FF;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00A8FF, #0055FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-avatar i {
    color: white;
    font-size: 1.2rem;
}

/* ========== CTA PARALLAX ========== */
.cta-parallax {
    position: relative;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600') fixed;
    background-size: cover;
    padding: 5rem 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, 0.92);
}

.cta-content {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ========== CTA SIMPLE ========== */
.cta-simple {
    background: linear-gradient(135deg, #0A2540, #1a4a6f);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-content-simple h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
    min-height: 45vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0A2540 0%, #1a4a6f 100%);
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ========== ABOUT PAGE ========== */
.about-story {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2rem;
    margin: 1rem 0;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-stats-box {
    background: #F8FAFE;
    padding: 2rem;
    border-radius: 24px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: white;
    border-radius: 16px;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-box .stat-icon i {
    font-size: 2rem;
    color: #00A8FF;
}

.stat-box .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0A2540;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.8rem;
    color: #666;
}

/* Vision Mission */
.vision-mission-section {
    padding: 4rem 0;
    background: #F8FAFE;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vision-card, .mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,168,255,0.15);
}

.vision-card .card-icon, .mission-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00A8FF20, #0055FF20);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.vision-card .card-icon i, .mission-card .card-icon i {
    font-size: 1.8rem;
    color: #00A8FF;
}

/* Objectives */
.objectives-section {
    padding: 5rem 0;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.objective-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,168,255,0.1);
}

.objective-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: #00A8FF;
    opacity: 0.3;
    display: block;
    margin-bottom: 0.5rem;
}

.objective-card i {
    font-size: 2rem;
    color: #00A8FF;
    margin-bottom: 1rem;
}

.objective-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.objective-card p {
    color: #666;
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
footer {
    background: #0A2540;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.8rem;
    color: #00A8FF;
}

.footer-about p {
    color: #aaa;
    line-height: 1.7;
    margin: 1rem 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #00A8FF;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00A8FF;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    width: 25px;
    color: #00A8FF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero .container,
    .about-preview-grid,
    .about-grid,
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .hero-animation {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}