/* Universal Styles */

:root {
    --primary-color: #007bff;
    /* Sky Blue */
    --secondary-color: #6c757d;
    /* Dark Gray */
    --accent-color: #28a745;
    /* Green for success/highlights */
    --light-bg: #f8f9fa;
    /* Light background for sections */
    --white-bg: #ffffff;
    --dark-text: #343a40;
    --light-text: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white-bg);
}

pre {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-spacing {
    padding: 80px 0;
    /* Standard section padding */
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.2em;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}


/* Buttons */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    /* Adjust based on actual darken */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
}


/* Header & Navigation */

.navbar {
    background-color: var(--white-bg);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.navbar .nav-links {
    display: flex;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    color: var(--dark-text);
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: all 0.3s ease-in-out;
}


/* Banner Section (Home Page)*/

.banner-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/marketing.webp') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 100px 20px;
    min-height: 60vh;
    /* Ensure it takes a good portion of the viewport */
}

.banner-section1 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/website1.webp') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 100px 20px;
    min-height: 60vh;
    /* Ensure it takes a good portion of the viewport */
}

.banner-section3 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/website3.webp') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 100px 20px;
    min-height: 60vh;
    /* Ensure it takes a good portion of the viewport */
}

.banner-section2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/website.webp') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 100px 20px;
    min-height: 60vh;
    /* Ensure it takes a good portion of the viewport */
}


/* Hero Section (Home Page) */

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/Hero1.webp') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    /* Ensure it takes a good portion of the viewport */
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 3.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}


/* Services Preview (Home Page) & Service List (Services Page) */

.service-cards,
.service-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card,
.service-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-card i,
.service-item i {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3,
.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p,
.service-item p {
    font-size: 1em;
    color: var(--dark-text);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.read-more:hover {
    color: var(--secondary-color);
}


/* About Us Short Intro (Home Page) & Company Intro (About Page) */

.content-left-img,
.content-right-img {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    /* Allow wrapping for responsiveness */
}

.content-left-img .content-image,
.content-right-img .content-image {
    flex: 1;
    min-width: 300px;
}

.content-left-img .content-text,
.content-right-img .content-text {
    flex: 2;
    min-width: 300px;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}


/* Portfolio Showcase (Home Page) */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.8);
    /* Primary color with transparency */
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h3 {
    color: var(--light-text);
    margin-bottom: 10px;
    font-size: 1.5em;
}

.item-overlay p {
    font-size: 1em;
    text-align: center;
    padding: 0 20px;
}


/* Testimonials Section */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-style: italic;
}

.testimonial-card .client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-card p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.testimonial-card h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.2em;
}

.testimonial-card span {
    font-size: 0.9em;
    color: var(--secondary-color);
}


/* WhatsApp Floating Button */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* WhatsApp green */
    color: var(--light-text);
    border-radius: 50px;
    text-align: center;
    font-size: 2.2em;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* Footer */

footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col p,
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
}

.footer-col ul {
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col .social-icons a {
    color: var(--light-text);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-col .social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}


/* About Page Specific Styles */

.founder-bio {
    padding-top: 40px;
    /* Less padding if following another section */
}

.tools-grid,
.choice-points,
.team-grid,
.workflow-steps,
.industries-grid,
.info-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tool-item,
.choice-item,
.industry-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-item:hover,
.choice-item:hover,
.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.tool-item i,
.choice-item i,
.industry-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tool-item span,
.industry-item span {
    display: block;
    font-weight: bold;
    color: var(--dark-text);
}

.choice-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.team-member-card {
    text-align: center;
    background-color: var(--white-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.team-member-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-member-card p {
    font-size: 0.95em;
    color: var(--secondary-color);
}


/* Timeline */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
    background-color: inherit;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
    text-align: left;
}

.timeline-dot {
    height: 15px;
    width: 15px;
    background-color: var(--accent-color);
    position: absolute;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7.5px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7.5px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white-bg);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}


/* Services Page Specific Styles */

.service-item-grid .service-item {
    text-align: left;
    /* Override center for services list */
}

.service-item-grid .service-item i {
    float: left;
    margin-right: 15px;
    font-size: 2.5em;
}

.service-item-grid .service-item h3 {
    margin-top: 0;
}

.service-benefits .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.4em;
    color: var(--primary-color);
}

.workflow-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
}

.workflow-step {
    padding: 25px;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-5px);
}

.workflow-step .step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.workflow-step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.workflow-steps .workflow-step:not(:last-child)::after {
    content: '\2192';
    /* Right arrow */
    position: absolute;
    right: -25px;
    /* Position between boxes */
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: var(--primary-color);
    z-index: 1;
    display: none;
    /* Hidden by default, shown on larger screens */
}


/* Contact Page Specific Styles */

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/demo_website.webp') no-repeat center center/cover;
    color: var(--light-text);
    padding: 100px 20px;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero h1 {
    color: var(--light-text);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--dark-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.info-item {
    text-align: center;
    padding: 25px;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-item p {
    font-size: 1.1em;
    color: var(--dark-text);
}

.info-item p a {
    word-break: break-all;
    /* For long emails/phone numbers */
}

.serving-clients {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
}

.google-map-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    border-radius: var(--border-radius);
}

.social-media-contact .large-icons a {
    font-size: 2.5em;
    margin: 0 15px;
}


/* Animations */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */

@media (max-width: 992px) {
    .navbar .nav-links {
        display: none;
        /* Hide nav links by default for smaller screens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        /* Below navbar */
        left: 0;
        background-color: var(--white-bg);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    .navbar .nav-links.active {
        display: flex;
        /* Show when active */
    }
    .navbar .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    h2 {
        font-size: 2em;
    }
    .content-left-img,
    .content-right-img {
        flex-direction: column;
        /* Stack image and text */
        text-align: center;
    }
    .content-left-img .content-image,
    .content-right-img .content-image {
        order: -1;
        /* Image first on mobile */
        margin-bottom: 30px;
    }
    .testimonial-grid,
    .service-cards,
    .portfolio-grid,
    .tools-grid,
    .choice-points,
    .team-grid,
    .industries-grid,
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .workflow-steps {
        grid-template-columns: 1fr;
        /* Stack workflow steps */
        padding: 0 20px;
    }
    .workflow-steps .workflow-step:not(:last-child)::after {
        display: none;
        /* Hide horizontal arrow */
    }
    .workflow-step {
        margin-bottom: 30px;
        /* Add space between stacked steps */
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 60px 0;
    }
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-section {
        padding: 100px 20px;
        min-height: 60vh;
    }
    .testimonial-grid,
    .service-cards,
    .portfolio-grid,
    .tools-grid,
    .choice-points,
    .team-grid,
    .industries-grid,
    .info-grid {
        grid-template-columns: 1fr;
        /* Single column layout */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 20px;
    }
    .footer-col ul {
        padding: 0;
    }
    .footer-col .social-icons {
        margin-top: 15px;
    }
    .timeline::before {
        left: 20px;
        /* Move timeline line to left */
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        /* Make space for dot */
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        /* Position dot on the line */
        right: auto;
    }
    .timeline-content {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        font-size: 1.5em;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    h2 {
        font-size: 1.6em;
    }
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        bottom: 20px;
        right: 20px;
    }
    .contact-form {
        padding: 25px;
    }
}