:root {
    --primary: #0f62fe; /* IBM Blue 60 */
    --secondary: #0043ce; /* IBM Blue 80 */
    --dark: #f4f4f4; /* IBM Gray 10 */
    --darker: #e0e0e0; /* IBM Gray 20 */
    --light: #161616; /* IBM Gray 100 */
    --accent: #525252; /* IBM Red 60 */
    --text-secondary: #525252; /* IBM Gray 70 */
    --transition: all 0.3s ease;
    font-size: 15px; /* Base font size reduced from 16px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: white;
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--darker);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    color: var(--accent);
}

.burger {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light);
    transition: var(--transition);
    display: none; /* Hidden by default, shown on mobile */
    z-index: 1002; /* Ensure it's above other elements */
}

.burger:hover {
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.header-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 98, 254, 0.2);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-menu ul li a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-menu .header-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--light);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(15, 98, 254, 0.05), transparent 50%),
                radial-gradient(circle at bottom left, rgba(250, 77, 86, 0.05), transparent 50%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3.1rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-img-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/0.7;
    background: linear-gradient(45deg, var(--secondary), var(--darker));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--darker);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--darker);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(15, 98, 254, 0.05), rgba(0, 67, 206, 0.03));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--accent);
}

.features {
    list-style: none;
    margin: 20px 0;
}

.features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.features li i {
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: radial-gradient(circle at bottom right, rgba(15, 98, 254, 0.05), transparent 60%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--darker);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--text-secondary);
}

.rating {
    color: #ffb400;
    margin: 10px 0;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.6;
    color: var(--light);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary), #002d9c);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* Footer */
footer {
    background-color: white;
    padding: 70px 0 20px;
    border-top: 1px solid var(--darker);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--darker);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Service Pages */
.service-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(45deg, rgba(15, 98, 254, 0.05), rgba(255,255,255, 0.8));
}

.service-hero h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.service-details {
    padding: 80px 0;
}

.service-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.service-content {
    flex: 2;
}

.service-sidebar {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--darker);
    position: sticky;
    top: 120px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.service-content h3 {
    font-size: 1.35rem;
    margin: 30px 0 15px;
    color: var(--accent);
    font-weight: 600;
}

.service-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.spec-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--darker);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.spec-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.spec-card ul {
    list-style: none;
}

.spec-card ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.spec-card ul li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--darker);
}

.pricing-table th {
    background: rgba(15, 98, 254, 0.05);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid var(--darker);
    color: var(--text-secondary);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.price-tag {
    font-weight: 700;
    color: var(--accent);
}

/* Quotation Page */
.quotation {
    padding: 150px 0 80px;
}

.quotation-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--darker);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quotation-form h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.quotation-form p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--darker);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'IBM Plex Sans', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'IBM Plex Sans', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 98, 254, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .hero-img-container {
        max-width: 100%;
        aspect-ratio: 2/1;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .service-container {
        flex-direction: column;
    }
    
    .service-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block !important; /* Force display on mobile */
        z-index: 1000; /* Above other elements */
    }
    
    nav {
        display: none;
    }
    
    .header-btns {
        display: none;
    }
    
    .header-container {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: space-between;
        align-items: center;
        min-height: 60px; /* Ensure enough space for burger */
    }
    
    .mobile-menu.active nav {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .services-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        padding: 25px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .quotation-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .header-container {
        gap: 15px;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .service-hero {
        padding: 140px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-table {
        display: block;
        overflow-x: auto;
    }
    
    .quotation {
        padding: 130px 0 60px;
    }
    
    .form-control {
        padding: 12px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }

    .hero-img-container {
        aspect-ratio: 1.5/1;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .mobile-menu ul li a {
        font-size: 1rem;
    }
    
    .service-card h3,
    .service-content h2 {
        font-size: 1.25rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonial-info {
        margin-top: 15px;
    }
    
    .quotation-form h1 {
        font-size: 1.8rem;
    }
}