/* ========================================
   XYZ Solutions - GPS Tracking Website
   Modern, Animated, Tech-First Design
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Posters Section */
.posters-section {
    padding: 80px 5%;
    background: #0d0f1a; 
    text-align: center;
}

.posters-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Single Poster Styling */
.single-poster {
    width: 100%;
    height: 420px; 
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid rgba(0, 255, 170, 0.4);
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
}

.single-poster:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 255, 170, 0.6);
}



/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ========================================
   Header Styles
   ======================================== */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(0, 255, 170, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #00ffaa, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffaa, #00d4ff);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00ffaa, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #00ffaa, #00d4ff);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(0, 255, 170, 0.8);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.floating-card {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 170, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 5%;
    background: rgba(26, 26, 46, 0.5);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #00ffaa, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.05), rgba(0, 212, 255, 0.05));
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 170, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 170, 0.6);
    box-shadow: 0 10px 30px rgba(0, 255, 170, 0.3);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #00ffaa;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
    padding: 100px 5%;
    text-align: center;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(0, 255, 170, 0.3);
    box-shadow: 0 0 50px rgba(0, 255, 170, 0.3);
}

.video-container video {
    width: 100%;
    display: block;
}

/* ========================================
   Posters Section
   ======================================== */
/* ========================================
   Posters Section (Updated with Images)
   ======================================== */
.posters {
    padding: 100px 5%;
    background: rgba(26, 26, 46, 0.5);
}

.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.poster {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 170, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.poster:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 255, 170, 0.4);
}

/* ⭐ NEW — Poster Image Styling */
.poster-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-bottom: 2px solid rgba(0, 255, 170, 0.3);
}

.poster-content {
    padding: 40px 30px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background gradient optional */
.poster-1 {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.12), rgba(0, 100, 200, 0.12));
}

.poster-2 {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(138, 43, 226, 0.12));
}

.poster-3 {
    background: linear-gradient(135deg, rgba(255, 0, 170, 0.12), rgba(0, 212, 255, 0.12));
}

.poster h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #00ffaa;
}

.poster .feature-list {
    list-style: none;
    margin: 15px 0;
}

.poster .feature-list li {
    padding: 8px 0;
    color: #ffffff;
    font-size: 17px;
    position: relative;
    padding-left: 28px;
}

.poster .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffaa;
    font-weight: bold;
    font-size: 20px;
}

.poster .highlight {
    background: rgba(0, 255, 170, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #00ffaa;
}


/* ========================================
   ⭐⭐⭐ TESTIMONIALS SECTION ⭐⭐⭐
   ======================================== */

.testimonials {
    padding: 100px 5%;
    background: rgba(10, 10, 20, 0.6);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.08), rgba(0, 212, 255, 0.08));
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 170, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 170, 0.6);
    box-shadow: 0 15px 40px rgba(0, 255, 170, 0.25);
}

.testimonial-text {
    font-size: 18px;
    color: #d4d4d4;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.client-name {
    font-size: 20px;
    font-weight: bold;
    color: #00ffaa;
}

.client-role {
    font-size: 16px;
    color: #00d4ff;
}


/* ========================================
   Footer
   ======================================== */
footer {
    padding: 40px 5%;
    text-align: center;
    background: rgba(10, 10, 10, 0.9);
    border-top: 2px solid rgba(0, 255, 170, 0.2);
}

footer p {
    color: #b0b0b0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .floating-card {
        width: 300px;
        height: 300px;
        font-size: 80px;
    }

    nav a {
        margin-left: 15px;
        font-size: 14px;
    }

    .section-title {
        font-size: 32px;
    }

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

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .poster h3 {
        font-size: 24px;
    }
}
