/* --- BASIC RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    background: #0a0a0a;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #111;
}

.logo {
    font-size: 26px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a.active,
.nav-links a:hover {
    color: #fff;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slides {
    height: 100%;
    width: 100%;
    position: absolute;
}

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 22px;
}

/* --- PAGE SECTION --- */
.page-section {
    padding: 50px;
    max-width: 900px;
    margin: auto;
}

.page-section h1 {
    margin-bottom: 20px;
    font-size: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    padding: 40px;
    background: #222;
    text-align: center;
    border-radius: 10px;
}
.contact-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-section button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.contact-section button:hover {
    background-color: #0056b3;
}

#form-feedback {
    margin-top: 15px;
    font-weight: bold;
}

/* PRODUCTS SECTION */
.products {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2a2a3c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 3rem;
    color: #6c63ff;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2a2a3c;
}

.product-card p {
    color: #777;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: #6c63ff;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #5a52d5;
    transform: translateY(-2px);
}

/* ABOUT PREVIEW SECTION */
.about-preview {
    padding: 80px 0;
    background-color: #f9f9ff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2a2a3c;
}

.about-text p {
    color: #777;
    line-height: 1.7;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #6c63ff;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

.btn-outline {
    background: transparent;
    border: 2px solid #6c63ff;
    color: #6c63ff;
}

.btn-outline:hover {
    background: #6c63ff;
    color: white;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: #6c63ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 0 20px;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c63ff;
}

.client-info h4 {
    margin-bottom: 5px;
    color: #2a2a3c;
}

.client-info p {
    color: #777;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #6c63ff;
}

/* CTA SECTION */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #6c63ff, #4a44c6);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: #6c63ff;
}

/* FOOTER */
.footer {
    background: #2a2a3c;
    color: #fff;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6c63ff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Icon image styling */
.social-links a img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* makes all icons white */
    transition: 0.3s;
}

.social-links a:hover {
    background: #6c63ff;
    transform: translateY(-3px);
}

.social-links a:hover img {
    transform: scale(1.1);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #bbb;
}

.contact-info i {
    color: #6c63ff;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: space-around;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}