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

:root {
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --primary-white: #ffffff;
    --secondary-white: #f5f5f5;
    --gray: #808080;
    --light-gray: #e0e0e0;
    --dark-gray: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--primary-white);
    overflow-x: hidden;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-black);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-black);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* SEO themed background image with dark overlay */
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(20, 20, 20, 0.9)),
        url('https://images.pexels.com/photos/6476584/pexels-photo-6476584.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-white);
    text-align: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-white);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

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

.btn-cta {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--primary-black);
}

.btn-submit {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
    width: 100%;
    padding: 15px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--primary-black);
}

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

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    border: 3px solid var(--primary-black);
    /* SEO / analytics themed background for About section */
    background-image: url('https://images.pexels.com/photos/6476589/pexels-photo-6476589.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.about-content {
    padding: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.signature {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-black);
}

.signature-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.signature-title {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
}

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

.services-carousel {
    position: relative;
    margin-top: 50px;
}

.service-card {
    background-color: var(--primary-white);
    padding: 25px;
    border: 2px solid var(--primary-black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 10px;
    min-height: 400px !important;
    display: flex;
    flex-direction: column;
}

.service-features {
    flex-grow: 1;
}

/* Ensure Owl Carousel items have equal height */
.owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-item {
    display: flex;
    align-items: stretch;
}

.owl-item .item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    font-size: 2rem;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-weight: bold;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--dark-gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-black);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Owl Carousel Custom Styles */
.owl-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.owl-nav button {
    background-color: var(--primary-black) !important;
    color: var(--primary-white) !important;
    border: none !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
    margin: 0 !important;
    line-height: 1 !important;
}

.owl-nav button:hover {
    background-color: var(--dark-gray) !important;
    transform: scale(1.1);
    color: var(--primary-white) !important;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    position: relative;
}

.owl-nav button {
    font-size: 0 !important;
}

.owl-nav button i {
    font-size: 1.2rem !important;
    display: block;
}

/* Owl Carousel Dots Styling */
.owl-dots,
.owl-carousel .owl-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    margin: 0 5px !important;
    padding: 0 !important;
    position: relative;
    pointer-events: auto !important;
    z-index: 10;
}

.owl-dot.active {
    background-color: var(--primary-black) !important;
    transform: scale(1.3);
}

.owl-dot span {
    display: none;
}

.owl-dot:focus {
    outline: 2px solid var(--primary-black);
    outline-offset: 2px;
}

.owl-dot:hover {
    background-color: var(--dark-gray) !important;
}

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

.testimonials-carousel {
    position: relative;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--secondary-white);
    padding: 36px;
    border: 2px solid var(--primary-black);
    margin: 10px;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-black);
}

.author-role {
    font-size: 0.9rem;
    color: var(--gray);
}


/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--secondary-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-map {
    height: 500px;
}

.map-container {
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-black);
    overflow: hidden;
}

.contact-form-wrapper {
    background-color: var(--primary-white);
    padding: 40px;
    border: 2px solid var(--primary-black);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-black);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--primary-black);
    background-color: var(--primary-white);
    color: var(--primary-black);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-gray);
    background-color: var(--secondary-white);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-text {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-white);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--gray);
    color: var(--primary-white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-gray);
    color: var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: 2;
    }

    .about-content {
        order: 1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

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

    .image-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .service-card,
    .testimonial-card {
        padding: 25px 15px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

