/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #212121; /* Dark grey for general text */
    background-color: #f5f5f5; /* Off-white background */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #00796B; /* Deep Teal for headings */
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: #00796B;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFB300; /* Warm Gold accent */
    border-radius: 2px;
}

a {
    color: #00897B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFB300;
}

.btn-primary {
    background-color: #00796B;
    border-color: #00796B;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #00897B;
    border-color: #00897B;
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary {
    background-color: #E65100;
    border-color: #E65100;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #F4511E;
    border-color: #F4511E;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.text-muted-custom {
    color: #6c757d; /* Standard muted text color */
}

/* Navbar */
.navbar {
    background-color: #00796B;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    z-index: 1030;
}

.navbar-brand {
    color: #FFB300;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    margin-right: 10px;
}

.navbar-toggler {
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
}

.navbar-toggler-icon i {
    color: #ffffff;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #FFB300;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #FFB300;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('graphics/content/Smiley-Playing-Games-Friends.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding-top: 80px; /* Adjust for fixed navbar */
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #FFB300;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.3rem;
    color: #e0e0e0;
}

.hero-image {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    background-color: #f5f5f5;
}

.map-container {
    background-color: #e0f2f1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.styled-map {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

.story-pin {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #E65100;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.story-pin:hover {
    transform: scale(1.1);
    color: #FFB300;
}

.story-pin i {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.story-pin .pin-label {
    font-size: 0.9rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 5px;
    margin-top: 5px;
    color: #212121;
    white-space: nowrap;
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #00796B;
    color: #ffffff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Services Section */
.services-section {
    background-color: #e0f2f1; /* Light teal background */
}

.service-step {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-step .step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFB300;
    margin-bottom: 15px;
    display: block;
}

.service-step .service-icon {
    font-size: 3.5rem;
    color: #00796B;
    margin-bottom: 20px;
}

.service-step h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #00796B;
}

.service-step p {
    font-size: 1rem;
    color: #424242;
}

.arrow-icon {
    font-size: 2.5rem;
    color: #E65100;
}

/* Features Section */
.features-section {
    background-color: #ffffff;
}

.feature-list {
    padding-left: 0;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #424242;
}

.feature-list .feature-icon {
    color: #00796B;
    font-size: 1.5rem;
    margin-right: 15px;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background-color: #f5f5f5;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 40px;
    background-color: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
}

.toggle-switch input[type="radio"] {
    display: none;
}

.toggle-switch label {
    float: left;
    width: 50%;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #424242;
    transition: color 0.3s ease;
    z-index: 1;
    position: relative;
}

.toggle-switch input[type="radio"]:checked + label {
    color: #ffffff;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #00796B;
    border-radius: 20px;
    transition: transform 0.3s ease;
    z-index: 0;
}

.toggle-switch input[type="radio"]:checked + label + input[type="radio"] + label + .toggle-slider {
    transform: translateX(100%);
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #00796B;
}

.pricing-card .price-display {
    margin-bottom: 20px;
}

.pricing-card .price-value {
    font-size: 3rem;
    font-weight: 700;
    color: #E65100;
    display: inline-block;
}

.pricing-card .price-period {
    font-size: 1.1rem;
    color: #616161;
    margin-left: 5px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: #424242;
    font-size: 1.05rem;
}

.pricing-card ul li i {
    margin-right: 10px;
}

.featured-card {
    border: 3px solid #FFB300;
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.25);
}

.featured-card .btn-primary {
    background-color: #FFB300;
    border-color: #FFB300;
}

.featured-card .btn-primary:hover {
    background-color: #FFC107;
    border-color: #FFC107;
}

/* Team Section */
.team-section {
    background-color: #e0f2f1;
}

.team-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #00796B;
}

.team-card h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #00796B;
}

.team-card p {
    color: #616161;
    font-size: 0.95rem;
}

.fun-fact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 121, 107, 0.9);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.team-card:hover .fun-fact-overlay {
    opacity: 1;
    transform: translateY(0);
}

.fun-fact-overlay .fact-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FFB300;
}

.fun-fact-overlay p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio-section {
    background-color: #ffffff;
}

.portfolio-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 220px; /* Fixed height for images */
    object-fit: cover;
    border-bottom: 1px solid #eeeeee;
}

.portfolio-card h4 {
    font-size: 1.6rem;
    color: #00796B;
}

.portfolio-card .text-muted-custom {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.tech-stack-badges .badge {
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #e0e0e0 !important;
    color: #424242 !important;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 10px;
}

.portfolio-icon {
    font-size: 2rem;
    color: #E65100;
    margin-top: 15px;
    display: block;
    text-align: right;
}

/* Industries Section */
.industries-section {
    background-color: #f5f5f5;
}

.industry-tile {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Ensure a minimum height */
}

.industry-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.industry-tile .industry-icon {
    font-size: 4rem;
    color: #00796B;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.industry-tile h4 {
    color: #00796B;
    margin-bottom: 0;
    font-size: 1.7rem;
}

.description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 121, 107, 0.9);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.industry-tile:hover .description-overlay {
    opacity: 1;
}

.industry-tile:hover .industry-icon,
.industry-tile:hover h4 {
    opacity: 0;
}

.description-overlay p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #ffffff;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('graphics/content/Sitting-To-People-A-Talking-Table-At-And-Smiling-Each-Three-Are-Other.jpg') no-repeat center center/cover;
    color: #ffffff;
}

.contact-section .section-title {
    color: #FFB300;
}

.contact-section .section-title::after {
    background-color: #00796B;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form label {
    color: #212121;
    font-weight: 600;
}

.contact-form .form-control,
.contact-form .form-control:focus {
    border-radius: 10px;
    border-color: #ced4da;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #00796B;
    box-shadow: 0 0 0 0.25rem rgba(0, 121, 107, 0.25);
}

.contact-form .btn-primary {
    padding: 15px 30px;
    font-size: 1.2rem;
}

/* Footer Section */
.footer-section {
    background-color: #212121;
    color: #e0e0e0;
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer-tile {
    background-color: #333333;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-tile:hover {
    transform: translateY(-5px);
    background-color: #424242;
}

.footer-tile h5 {
    color: #FFB300;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-tile .footer-icon {
    font-size: 1.8rem;
    margin-right: 10px;
    color: #00796B;
}

.footer-tile p {
    font-size: 0.95rem;
    color: #bdbdbd;
}

.footer-tile ul {
    padding-left: 0;
    list-style: none;
}

.footer-tile ul li a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-tile ul li a:hover {
    color: #FFB300;
    text-decoration: underline;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    color: #FFB300;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 15px;
}

.footer-logo-small {
    height: 30px;
    margin-right: 8px;
}

.footer-section .col-12 p {
    color: #9e9e9e;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #212121; /* Dark background */
    color: #ffffff;
    z-index: 1040;
    border-top: 1px solid #424242;
}

.cookie-banner a {
    color: #FFB300;
}

.cookie-banner .btn-success {
    background-color: #00796B;
    border-color: #00796B;
}

.cookie-banner .btn-success:hover {
    background-color: #00897B;
    border-color: #00897B;
}

.cookie-banner .btn-info {
    background-color: #E65100;
    border-color: #E65100;
    color: #ffffff;
}

.cookie-banner .btn-info:hover {
    background-color: #F4511E;
    border-color: #F4511E;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #00796B;
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
    .navbar-nav .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .hero-image {
        margin-top: 30px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .service-step {
        margin-bottom: 20px;
    }
    .arrow-icon {
        display: none !important;
    }
    .pricing-card {
        margin-bottom: 20px;
    }
    .team-card, .portfolio-card, .industry-tile, .footer-tile {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-section .btn {
        width: 100%;
    }
    .map-container {
        min-height: 300px;
    }
    .story-pin {
        font-size: 0.9rem;
    }
    .story-pin i {
        font-size: 2rem;
    }
    .story-pin .pin-label {
        font-size: 0.8rem;
    }
    .contact-form {
        padding: 20px;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        flex-grow: 1;
    }
}
/* Legal Fold Box Container Styles */
.legalFoldBox {
    padding: 40px 30px; /* Top/bottom and left/right padding for the container */
    margin-bottom: 40px; /* Space below the legal content box */
    background-color: #ffffff; /* White background for readability */
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
}

/* Heading Styles within Legal Fold Box */
.legalFoldBox h1 {
    font-size: 2.2rem; /* Reduced font size for legal document headings */
    margin-top: 30px; /* Top margin for H1 */
    margin-bottom: 20px; /* Bottom margin for H1 */
    color: #333333; /* Dark grey for formal headings */
    line-height: 1.2; /* Line height for better readability */
}

.legalFoldBox h2 {
    font-size: 1.8rem; /* Reduced font size for legal document headings */
    margin-top: 25px; /* Top margin for H2 */
    margin-bottom: 18px; /* Bottom margin for H2 */
    color: #333333; /* Dark grey for formal headings */
    line-height: 1.3; /* Line height for better readability */
}

.legalFoldBox h3 {
    font-size: 1.5rem; /* Reduced font size for legal document headings */
    margin-top: 20px; /* Top margin for H3 */
    margin-bottom: 15px; /* Bottom margin for H3 */
    color: #333333; /* Dark grey for formal headings */
    line-height: 1.4; /* Line height for better readability */
}

.legalFoldBox h4 {
    font-size: 1.3rem; /* Reduced font size for legal document headings */
    margin-top: 18px; /* Top margin for H4 */
    margin-bottom: 12px; /* Bottom margin for H4 */
    color: #333333; /* Dark grey for formal headings */
    line-height: 1.5; /* Line height for better readability */
}

.legalFoldBox h5 {
    font-size: 1.1rem; /* Reduced font size for legal document headings */
    margin-top: 15px; /* Top margin for H5 */
    margin-bottom: 10px; /* Bottom margin for H5 */
    color: #333333; /* Dark grey for formal headings */
    line-height: 1.6; /* Line height for better readability */
}

/* Paragraph Styles within Legal Fold Box */
.legalFoldBox p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 15px; /* Space between paragraphs */
    line-height: 1.7; /* Generous line height for readability */
    color: #424242; /* Slightly lighter dark grey for body text */
}

/* Unordered List Styles within Legal Fold Box */
.legalFoldBox ul {
    margin-top: 15px; /* Top margin for lists */
    margin-bottom: 15px; /* Bottom margin for lists */
    padding-left: 25px; /* Indentation for list items */
    list-style-type: disc; /* Default disc style for unordered lists */
    color: #424242; /* Text color for list items */
}

/* Ordered List Styles within Legal Fold Box (added for completeness) */
.legalFoldBox ol {
    margin-top: 15px; /* Top margin for lists */
    margin-bottom: 15px; /* Bottom margin for lists */
    padding-left: 25px; /* Indentation for list items */
    list-style-type: decimal; /* Default decimal style for ordered lists */
    color: #424242; /* Text color for list items */
}

/* List Item Styles within Legal Fold Box */
.legalFoldBox li {
    font-size: 1rem; /* Standard list item text size */
    margin-bottom: 8px; /* Space between list items */
    line-height: 1.6; /* Line height for list items */
    color: #424242; /* Text color for list items */
}
