/* 
 * Andalan Komputer - Professional IT Services
 * Modern, Trust-Building, High-Conversion Design
 * Color Palette: Blue (#0047AB) & Green (#39FF14)
 */

:root {
    --primary-color: #0047AB; /* Cobalt Blue */
    --secondary-color: #006994; /* Sea Blue */
    --accent-color: #28a745; /* Green for CTA */
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-off-white: #f4f6f9;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 71, 171, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 71, 171, 0.3);
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Features / Trust Badges */
.features {
    padding: 50px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top: 4px solid var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-list {
    margin-top: 20px;
    margin-bottom: 25px;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.testimonials h2 {
    color: white;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    color: #ffd700;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-wrapper {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    padding: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-form {
    flex: 1.5;
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 70px 0 30px;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu implementation needed via JS */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .btn-cta {
        display: none; /* Hide CTA in header on mobile to save space */
    }
}
