/* General Styles */
:root {
    --primary-bg-color: #172A3A; /* Dark Teal / Deep Green-Blue */
    --secondary-bg-color: #1E3A4B; /* Slightly lighter shade for cards */
    --accent-color: #6DD5ED; /* Vibrant Cyan-Green */
    --text-color-light: #E0E0E0; /* Light Gray */
    --text-color-white: #F8F8F8; /* Off-white for headings */
    --border-color: #3A5F6F; /* Darker border for separation */
    --error-color: #FF6B6B; /* Red for error messages */
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color-light);
    background-color: var(--primary-bg-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color-white);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.8rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: var(--text-color-white);
}

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

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-bg-color);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn.secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(23, 42, 58, 0.7), rgba(23, 42, 58, 0.9)), url(static/content/match3-hero-bg.png) no-repeat center center/cover;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-section .logo img {
    max-width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero-section .logo a {
    display: block;
}

.hero-section .tagline {
    font-size: 1.8rem;
    color: var(--text-color-white);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 2rem;
}

/* Section Padding */
section {
    padding: 6rem 0;
}

/* About Section */
.about-section {
    background-color: var(--secondary-bg-color);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.team-member-card {
    background-color: var(--primary-bg-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
}

.team-member-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.team-member-card .role {
    font-style: italic;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.team-member-card .quote {
    font-size: 1.1rem;
    color: var(--text-color-light);
}

/* Services Section */
.services-section {
    background-color: var(--primary-bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* small screens: 1 column */
  }
}



.service-card {
    background-color: var(--secondary-bg-color);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-color-white);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color-light);
}

/* Pricing Section */
.pricing-section {
    background-color: var(--secondary-bg-color);
}

.pricing-plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background-color: var(--primary-bg-color);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(109, 213, 237, 0.3);
}

.pricing-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color-white);
    margin-bottom: 1.5rem;
    display: block;
}

.pricing-card .features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card .features-list li {
    margin-bottom: 0.8rem;
    color: var(--text-color-light);
    font-size: 1.05rem;
}

.pricing-card .features-list li i {
    color: var(--accent-color);
    margin-right: 0.8rem;
}

.pricing-card .select-plan-btn {
    margin-top: auto; /* Push button to the bottom */
    width: 100%;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--primary-bg-color);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-container .form-title {
    text-align: center;
    color: var(--text-color-white);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color-light);
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color-white);
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(224, 224, 224, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(109, 213, 237, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    background-color: var(--primary-bg-color);
}

.founders-focus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.founder-card {
    background-color: var(--secondary-bg-color);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.founder-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--accent-color);
}

.founder-card h3 {
    color: var(--text-color-white);
    margin-bottom: 0.5rem;
}

.founder-card .role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-card .bio {
    color: var(--text-color-light);
    font-size: 1rem;
}

.other-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.team-member-small-card {
    background-color: var(--secondary-bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-small-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem;
    border: 2px solid var(--accent-color);
}

.team-member-small-card h4 {
    color: var(--text-color-white);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.team-member-small-card .role {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--secondary-bg-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background-color: var(--primary-bg-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.portfolio-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.portfolio-card h3 {
    color: var(--accent-color);
    margin: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.portfolio-card .project-role {
    color: var(--text-color-light);
    font-style: italic;
    margin: 0 1.5rem 1rem 1.5rem;
}

.tech-stack-badges {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.badge {
    background-color: rgba(109, 213, 237, 0.2);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* How It Works Section */
.howitworks-section {
    background-color: var(--primary-bg-color);
}

.process-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.process-step-card {
    background-color: var(--secondary-bg-color);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.process-step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2.55rem; /* Half of the gap */
    width: 2.5rem;
    height: 2px;
    background-color: var(--border-color);
    transform: translateY(-50%);
    z-index: 1;
}



@media (max-width: 987px) {
    .process-step-card:not(:last-child)::after {
        content: none; /* Remove horizontal line on smaller screens */
    }
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}

.process-step-card h3 {
    color: var(--text-color-white);
    margin-bottom: 1rem;
}

.process-step-card p {
    color: var(--text-color-light);
}

/* Footer */
.footer {
    background-color: var(--primary-bg-color);
    color: var(--text-color-light);
    padding-top: 0;
    font-size: 0.95rem;
}

.footer-cta-bar {
    background-color: var(--accent-color);
    color: var(--primary-bg-color);
    padding: 2.5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-cta-content p {
    font-size: 1.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-bg-color);
}

.footer-cta-btn {
    background-color: var(--primary-bg-color);
    color: var(--accent-color);
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
}

.footer-cta-btn:hover {
    background-color: var(--secondary-bg-color);
    color: var(--accent-color);
}

.footer-main {
    padding-bottom: 2rem;
}

.footer-upper-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-nav h4,
.footer-legal h4,
.footer-company-info h4 {
    color: var(--text-color-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-legal a {
    color: var(--text-color-light);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-company-info p {
    margin-bottom: 0.5rem;
    color: var(--text-color-light);
}

.footer-lower-row {
    text-align: center;
    padding-top: 1rem;
}

.footer-lower-row .copyright {
    color: var(--text-color-light);
    font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg-color);
    color: var(--text-color-light);
    padding: 1.5rem 0;
    z-index: 1000;
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden by default */
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-banner-content p {
    flex-grow: 1;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner-content p a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    display: none; /* Hidden by default */
}

.cookie-modal-content {
    background-color: var(--primary-bg-color);
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    color: var(--text-color-light);
    border: 1px solid var(--border-color);
}

.cookie-modal-content h3 {
    color: var(--text-color-white);
    margin-bottom: 1rem;
    text-align: center;
}

.cookie-modal-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: center;
}

.cookie-category {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
    accent-color: var(--accent-color);
}

.cookie-category label {
    font-weight: 600;
    color: var(--text-color-white);
    cursor: pointer;
}

.cookie-category label small {
    font-weight: 300;
    color: var(--text-color-light);
}

.cookie-category .category-desc {
    font-size: 0.85rem;
    color: var(--text-color-light);
    margin-top: 0.5rem;
    margin-left: 1.8rem;
    text-align: left;
}

.cookie-modal-content .btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section .logo img {
        max-width: 200px;
    }
    .hero-section .tagline {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    section {
        padding: 4rem 0;
    }
    .footer-cta-content p {
        font-size: 1.5rem;
    }
    .footer-upper-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-nav ul, .footer-legal ul {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero-section .tagline {
        font-size: 1.3rem;
    }
    .hero-cta {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .pricing-plans-container, .founders-focus, .other-team-grid, .portfolio-grid, .process-steps-container {
        grid-template-columns: 1fr;
    }
    .process-step-card:not(:last-child)::after {
        display: none;
    }
    .footer-cta-content p {
        font-size: 1.2rem;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: space-around;
    }
    .cookie-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    .hero-section .logo img {
        max-width: 180px;
    }
    .hero-section .tagline {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 1rem;
    }
    .pricing-card .price {
        font-size: 2.2rem;
    }
    .footer-cta-content p {
        font-size: 1rem;
    }
}/* New styles for .termsCaveBox and its children, intended for content like terms and conditions or detailed text */

.termsCaveBox {
    /* Container for structured text content like terms, privacy policy, etc. */
    padding: 3rem 2.5rem; /* Top/bottom and side padding for the content box */
    background-color: var(--secondary-bg-color); /* Background color for the content box */
    border-radius: 10px; /* Slightly rounded corners for the box */
    margin: 4rem auto; /* Center the box horizontally and add vertical margin */
    max-width: 900px; /* Limit the maximum width for readability */
    border: 1px solid var(--border-color); /* Subtle border for definition */
    color: var(--text-color-light); /* Default text color for the box */
    line-height: 1.7; /* Standard line height for improved readability */
}

.termsCaveBox h1 {
    /* Primary heading within the content box */
    font-size: 2.2rem; /* Moderately sized, not overly large */
    margin-bottom: 1.8rem; /* Spacing below the heading */
    color: var(--accent-color); /* Use accent color for main titles */
    font-family: 'Orbitron', sans-serif; /* Keep the distinct heading font */
    font-weight: 700; /* Bold weight for prominence */
}

.termsCaveBox h2 {
    /* Secondary heading within the content box */
    font-size: 1.8rem; /* Smaller than h1 */
    margin-bottom: 1.5rem; /* Spacing below the heading */
    color: var(--text-color-white); /* White for sub-headings */
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.termsCaveBox h3 {
    /* Tertiary heading within the content box */
    font-size: 1.4rem; /* Smaller than h2 */
    margin-bottom: 1.2rem; /* Spacing below the heading */
    color: var(--text-color-white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.termsCaveBox h4 {
    /* Quaternary heading within the content box */
    font-size: 1.2rem; /* Smaller than h3 */
    margin-bottom: 1rem; /* Spacing below the heading */
    color: var(--text-color-light); /* Lighter text color for smaller headings */
    font-family: 'Roboto', sans-serif; /* Switch to body font for less prominence */
    font-weight: 600; /* Keep it bold */
}

.termsCaveBox h5 {
    /* Quintary heading within the content box */
    font-size: 1.1rem; /* Smallest heading */
    margin-bottom: 0.8rem; /* Spacing below the heading */
    color: var(--text-color-light);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.termsCaveBox p {
    /* Paragraph text within the content box */
    font-size: 1rem; /* Standard body font size */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    line-height: 1.7; /* Consistent line height for readability */
    color: var(--text-color-light); /* Consistent text color */
}

.termsCaveBox ul {
    /* Unordered list styles */
    list-style: disc; /* Standard disc bullets */
    margin-left: 1.8rem; /* Indentation for the list */
    margin-bottom: 1.5rem; /* Spacing after the list */
    padding-left: 0; /* No extra padding for bullets, margin-left handles it */
}

.termsCaveBox ol {
    /* Ordered list styles */
    list-style: decimal; /* Standard decimal numbering */
    margin-left: 1.8rem; /* Indentation for the list */
    margin-bottom: 1.5rem; /* Spacing after the list */
    padding-left: 0; /* No extra padding for numbering, margin-left handles it */
}

.termsCaveBox li {
    /* List item styles for both ul and ol */
    font-size: 1rem; /* Standard body font size */
    margin-bottom: 0.6rem; /* Spacing between list items */
    line-height: 1.6; /* Improved readability for list items */
    color: var(--text-color-light); /* Consistent text color */
}

.termsCaveBox a {
    /* Link styles within the terms box content */
    color: var(--accent-color); /* Use the accent color for links */
    text-decoration: underline; /* Standard underline for text links */
}

.termsCaveBox a:hover {
    /* Hover effect for links within the terms box */
    color: var(--text-color-white); /* Lighter color on hover */
    text-decoration: none; /* Remove underline on hover */
}

/* Responsive adjustments for .termsCaveBox */
@media (max-width: 768px) {
    .termsCaveBox {
        padding: 2rem 1.5rem; /* Reduce padding on smaller screens */
        margin: 2rem auto; /* Adjust margin */
    }
    .termsCaveBox h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .termsCaveBox h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    .termsCaveBox h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .termsCaveBox h4, .termsCaveBox h5, .termsCaveBox p, .termsCaveBox li {
        font-size: 0.95rem; /* Slightly smaller text for better fit */
    }
    .termsCaveBox ul, .termsCaveBox ol {
        margin-left: 1.2rem; /* Reduce list indentation */
    }
}

@media (max-width: 480px) {
    .termsCaveBox {
        padding: 1.5rem 1rem; /* Further reduce padding on very small screens */
    }
    .termsCaveBox h1 {
        font-size: 1.6rem;
    }
    .termsCaveBox h2 {
        font-size: 1.3rem;
    }
}

.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
