:root {
    --primary-color: #1fb7e8;
    --secondary-color: #2a3c50;
    --header-background-color: #f9f9f9;
    --text-color: #2a3c50;
    --light-text-color: #f9f9f9;
    --hover-color: #92c8e6;
    --box-shadow-color: rgba(0, 0, 0, 0.15);
    --border-color: #7a8a99;
    --background-color: #f9f9f9;
    --footer-bg-color: #131c25;

    --hero-color: #24c8f6;
    --about-color: #36485e;
    --services-color: #addfee;
    --portfolio-color: #8a94a1;
    --testimonials-color: #36485e;
    --contact-color: #addfee;

    --hero-color-light: #57d6f7;
    --about-color-light: #596873;
    --services-color-light: #c0e1f5;
    --portfolio-color-light: #a1a9ad;
    --testimonials-color-light: #596873;
    --contact-color-light: #c0e1f5;

    --about-link-color: #00a4cc;
    --about-link-hover-color: #20b4dd;

}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--header-background-color);
    color: var(--text-color);
    width: 100%;
    z-index: 1000;
    height: 75px;
    transition: all 0.3s;
    position: fixed;
    box-shadow: 0 5px 15px var(--box-shadow-color);
}

#logo {
    height: 100%;
    margin: 0 50px;
    display: flex;
    align-items: center;
}

#logo-image {
    height: 85%;
    width: auto;
}

#logo-text {
    margin: 0 0 0 10px;
    height: 30%;
    width: auto;
}

.menu-toggle {
    display: none;
}


.nav-ul {
    list-style-type: none;
    margin: 0 40px;
    padding: 0;
    display: flex;
    gap: 10px;
}

.nav-ul-vertical {
    list-style-type: none;
    margin: 0 10px;
    padding: 0;
    text-align: right;
}

.nav-a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-a:hover:after {
    left: 0;
    width: 100%;
}

.nav-a:hover {
    color: var(--hover-color);
    background-color: rgba(0, 0, 0, 0.05);
}

#main-header.sticky {
    height: 50px;
    box-shadow: 0 5px 20px var(--box-shadow-color);
    border-bottom: 1px solid var(--border-color);
}

#main-content {
    padding: 70px 2px;
    position: relative;
}

.hidden {
    display: none;
}

#dropdown-menu {
    background-color: var(--header-background-color);
    width: 100%;
    position: fixed;
    top: 75px;
    z-index: 999;
    box-shadow: 0 5px 15px var(--box-shadow-color);
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid rgba(10, 118, 188, 0.17);
    text-align: center;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0.5;
}

.hero-section h2::after {
    background: linear-gradient(to right, rgba(255,255,255,0), var(--hero-color), rgba(255,255,255,0));
}

.about-section h2::after {
    background: linear-gradient(to right, rgba(255,255,255,0), var(--about-color), rgba(255,255,255,0));
}

.services-section h2::after {
    background: linear-gradient(to right, rgba(255,255,255,0), var(--services-color), rgba(255,255,255,0));
}

.portfolio-section h2::after {
    background: linear-gradient(to right, rgba(255,255,255,0), var(--portfolio-color), rgba(255,255,255,0));
}

.testimonials-section h2::after {
    background: linear-gradient(to right, rgba(255,255,255,0), var(--testimonials-color), rgba(255,255,255,0));
}

.contact-section h2::after {
    background: linear-gradient(to right, rgba(255,255,255,0), var(--contact-color), rgba(255,255,255,0));
}

.hero-section h2 {
    color: var(--hero-color-light);
}

.about-section h2 {
    color: var(--about-color-light);
}

.services-section h2 {
    color: var(--services-color-light);
}

.portfolio-section h2 {
    color: var(--portfolio-color-light);
}

.testimonials-section h2 {
    color: var(--testimonials-color-light);
}

.contact-section h2 {
    color: var(--contact-color-light);
}

p {
    color: var(--secondary-color);
}

.hero-section {
    position: relative;
    padding: 80px 0;

}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('assets/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Adjust the size of the logos */
#hero-logo {
    max-width: 250px;
    max-height: 250px;
}

.social-proof img {
    max-width: 150px;
    max-height: 150px;
}


/* Styles for the CTA button in Hero Section */
.cta-button {
    background-color: var(--hero-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 10px 0 25px 0;
}

.cta-button:hover {
    background-color: var(--hero-color-light);
}


.about-section {
    text-align: center;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-subsection {
    width: 80%;
}

.about-title, .about-subtitle {
    margin-bottom: 20px;
}

.about-text {
    margin-bottom: 30px;
}

.about-link {
    color: var(--about-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: var(--about-link-hover-color);
}


/* Styles for images in Hero Section */
.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#hero-background-image {
    width: 50%;
    height: auto;
}

#hero-logo {
    width: 25%;
    height: auto;
}

/* Styles for social proof in Hero Section */
.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Services Section */
.services-section {

}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
}

.service-card {
    flex: 1 1 300px;
    min-width: 300px;
    max-width: 500px;
    background: #ffffff;
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.service-card:nth-child(1) {
    background: #E6F7FF;
}

.service-card:nth-child(2) {
    background: #FFF3E6;
}

.service-card:nth-child(3) {
    background: #E6FFFA;
}

.service-card:nth-child(4) {
    background: #F3E6FF;
}

.service-card:nth-child(5) {
    background: #FFF9E6;
}

.service-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.service-card h3 {
    margin-top: 20px;
}

.service-cta {
    background-color: #6b97a8;
    color: var(--light-text-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-cta:hover {
    background-color: #7caac0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}



/* Portfolio Section */
.portfolio-section {
    padding: 40px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-button {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background-color: var(--hover-color);
    color: var(--text-color);
}

.filter-button.active {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
}

.portfolio-card {
    flex: 1 1 300px;
    min-width: 300px;
    max-width: 700px;
    background: #ffffff;
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.portfolio-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.portfolio-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer */
#main-footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: 20px 0;
    text-align: center;
}

.footer-logo img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.footer-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
    padding: 10px;
}

.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section a {
    color: var(--light-text-color);
    opacity: 0.9;
}

.footer-section a:hover {
    text-decoration: underline;
    opacity: 1;
}


@media only screen and (max-width: 768px) {
    #logo,
    #main-nav ul {
        margin: 0 20px;
    }

}

@media only screen and (max-width: 666px) {

    #main-header {
        height: 50px;
    }

    #main-content {
        padding: 45px 1px;
    }

    #main-nav ul {
        display: none;
    }

    #main-nav .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle i {
        margin: 10px 15px;
        font-size: 2em;
        position: relative;
        transition: all 0.3s ease;
        border: 1px solid var(--border-color);
        border-radius: 40px;
        padding: 0 10px;

    }

    .menu-toggle i:hover {
        color: var(--primary-color);
    }

}

/* Services Page Styles */

.services-section-expanded {
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 25px 0;
}


.service-detail-card {
    flex: 1;
    min-width: 400px;
    max-width: 880px;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-detail-card::after {
    content: "";
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-image: url('assets/images/logo_formats/hq_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.12);
}

.service-content ul {
    list-style-type: none;
    padding-left: 0;
}

.service-content li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.service-content li i {
    margin-right: 10px;
    color: #2ECC71;
}

/* Styling the service header */
.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 30px;
    margin-right: 20px;
}

.service-header img {
    width: 20%;
    border-radius: 10px;
}

.service-content p {
    margin-bottom: 20px;
}

blockquote {
    font-style: italic;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

blockquote footer {
    margin-top: 10px;
    display: block;
    font-style: normal;
    font-weight: bold;
}

.service-cta {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.service-cta:hover {
    background-color: var(--hover-color);
}

/* Colors for the service icons */
.bi-code-slash {
    color: #E74C3C;
}

.bi-building {
    color: #3498DB;
}

.bi-puzzle-fill {
    color: #F39C12;
}

.bi-server {
    color: #27AE60;
}


/* Contact Form Styles */
#contact-form {
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

#contact-form textarea {
    resize: vertical;
}

#contact-form button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: var(--hover-color);
}

#form-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#form-overlay.hidden {
    display: none;
}

.overlay-text {
    font-size: 1.5rem;
    color: #f9f9f9;
    text-align: center;
    font-weight: bold;
}

#loading-logo {
    width: 250px;
    margin-bottom: 20px;
    animation: blink 1.5s infinite;
}


@keyframes blink {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.toast {
    display: none;
    padding: 10px 20px;
    color: #fff;
    background-color: #4CAF50;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: opacity 0.5s, transform 0.5s;
    transform: translateY(-10px);
}

.toast.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}


.about-detailed-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: 50%;
    max-width: 100px;
    margin: 0 auto;
}

.about-detailed-content {
    flex: 2;
    padding: 0 40px;
}

.about-detailed-content h2 {
    margin-bottom: 20px;
}

.about-text {
    margin-bottom: 20px;
}

.timeline-section {
    position: relative;
    padding: 40px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Start Circle */
.timeline::after {
    content: 'Start';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: green;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    z-index: 3;
}

/* The Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #ddd;
}

/* Entry/Boxes */
.timeline-entry {
    position: relative;
    width: 50%;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 4px;
    margin: 20px 0;
}


.timeline-entry:nth-child(even) {
    margin-left: 45%;
}

.timeline-entry-content {
    padding: 5px;
}

.timeline-entry-content h4, .timeline-entry-content p {
    margin: 0;
    padding: 0;
}

.timeline-cta {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
}

.timeline-cta a {
    display: inline-block;
    padding: 12px 24px;
    background-color: green;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.timeline-cta a:hover {
    background-color: darkgreen;
}

.timeline-cta h4 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    margin-bottom: 10px;
}


.portfolio-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 0;
}

.portfolio-item {
    width: 48%;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    overflow: hidden;
    height: 200px;
}

.portfolio-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 20px;
    background: #f9f9f9;
}

.view-details-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.view-details-btn:hover {
    background: #0056b3;
}
