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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)),
        url('images/Background_Image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    line-height: 1.6;
}

header {
    padding: 20px 0;
    background-color: #000000;
    border-bottom: 1px solid #333;
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.logo {
    max-height: 480px;
    width: auto;
    max-width: 100%;
    height: auto;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: calc(3rem - 3pt);
    margin-bottom: 20px;
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.3rem;
    color: #aaaaaa;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #d4af37;
    color: #000000;
}

.btn-primary:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.service-card {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #222222;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

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

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

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

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.about-item {
    text-align: center;
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0066cc;
}

.about-item p {
    color: #aaaaaa;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    color: #aaaaaa;
    margin-bottom: 40px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333;
    color: #666666;
}

/* Responsive Design */

/* Mobile devices (up to 480px) */
@media (max-width: 480px) {
    .logo {
        max-height: 120px;
    }

    header {
        padding: 15px 0;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .services,
    .about,
    .contact {
        padding: 40px 15px;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-item h3 {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .contact p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    main {
        padding: 0 15px;
    }

    .about-item p,
    .service-card p {
        font-size: 0.95rem;
    }

    /* Fix inline styles for learn-more page */
    .about-item ul {
        padding-left: 20px;
        margin-left: 0;
    }

    .about-item ul li {
        margin-bottom: 10px;
    }
}

/* Small tablets and large phones (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .logo {
        max-height: 200px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 14px 35px;
    }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo {
        max-height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}
