/* Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body{
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #333;
}

.text-muted-custom {
    color: #6c757d !important;
}

/* Adaptive Typography for Headings */
.site-title, .site-title-footer {
    font-size: 1.5rem;
}
.display-3 {
    font-size: 2.5rem;
}
.display-5 {
    font-size: 2rem;
}

@media (min-width: 768px) {
    .site-title, .site-title-footer {
        font-size: 1.8rem;
    }
    .display-3 {
        font-size: 3.5rem;
    }
    .display-5 {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .site-title, .site-title-footer {
        font-size: 2.2rem;
    }
    .display-3 {
        font-size: 4.5rem;
    }
    .display-5 {
        font-size: 2.5rem;
    }
}

/* Section Titles */
.section-title {
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    border-radius: 2px;
}

/* Custom Colors & Backgrounds */
.bg-light-pink {
    background-color: #fcf4f6;
}

.btn-primary {
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    border: none;
    transition: all 0.3s ease;
    color: #fff;
    padding: 12px 25px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(to right, #fad0c4, #ff9a9e);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.contact-link {
    color: #333;
}

.contact-link:hover {
    color: #ff9a9e;
}

.email-break {
    word-break: break-all;
}

/* Navbar */
.navbar-brand img {
    max-height: 40px;
}

.navbar-brand .site-title {
    color: #333;
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff9a9e !important;
}

.offcanvas-header {
    border-bottom: 1px solid #eee;
}

.offcanvas-title {
    font-family: 'Playfair Display', serif;
    color: #333;
}

.navbar-toggler {
    border: none;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    padding-top: 100px; /* Adjust for fixed header */
    padding-bottom: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#hero h1{
    color: #fff;
}

#portfolio h5{
    color: #fff;
}

footer h2{
    color: #fff;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-input {
    max-width: 400px;
    border-radius: 0.5rem;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.hero-input::placeholder {
    color: #666;
}

.hero-btn {
    border-radius: 0.5rem;
}

/* About Section */
.about-image-wrapper {
    position: relative;
    height: 400px;
}

.about-image-wrapper img {
    height: 100%;
    width: 100%;
}

.about-badge {
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    padding: 1rem;
    animation: pulse 2s infinite ease-in-out;
    left: 0;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0% { transform: scale(1) translateY(-50%); }
    50% { transform: scale(1.03) translateY(-50%); }
    100% { transform: scale(1) translateY(-50%); }
}

/* Services Section */
.service-step {
    flex: 1;
    max-width: 300px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: bold;
    color: #ff9a9e;
}

.service-arrow {
    color: #fad0c4;
}

/* Features Section */
.feature-item {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: #ff9a9e;
}

/* Portfolio Section */
.portfolio-card {
    height: 300px;
    cursor: pointer;
    position: relative;
}

.portfolio-img {
    height: 100%;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Team Section */
.team-member {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    width: 150px;
    height: 150px;
    border: 4px solid #fad0c4;
    box-shadow: 0 0 0 5px rgba(255, 154, 158, 0.2);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
}

/* Testimonials Section */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #fad0c4;
}

/* Industries Section (Accordion) */
.accordion-item {
    border: none;
    border-radius: 0.75rem !important;
}

.accordion-button {
    background-color: #fff;
    color: #333;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem !important;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #fcf4f6;
    color: #ff9a9e;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-icon {
    color: #ff9a9e;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(90deg);
}

.accordion-body {
    background-color: #fff;
    padding: 1.5rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

/* FAQ Section */
.faq-bubble {
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    margin: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-bubble:hover {
    background-color: #fcf4f6;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Block */
.cta-block {
    background-color: #f8f8f8;
}

.cta-button {
    border-radius: 0.5rem;
    text-decoration: none;
}

.trust-badges i {
    color: #ff9a9e;
}

/* Contact Section */
.contact-form {
    background-color: #fff;
    border-radius: 0.75rem;
}

.form-control, .form-select {
    border-radius: 0.5rem;
    border-color: #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: #ff9a9e;
    box-shadow: 0 0 0 0.25rem rgba(255, 154, 158, 0.25);
}

.contact-submit-btn {
    border-radius: 0.5rem;
}

/* Footer Section */
.footer-section {
    background-color: #333;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.footer-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.footer-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

.site-title-footer {
    color: #fff;
}

.footer-cta {
    border-radius: 0.5rem;
    text-decoration: none;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1080; /* Higher than Bootstrap modals (1050) */
    background-color: #212529 !important;
    color: #fff !important;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner a {
    color: #17a2b8 !important;
    text-decoration: underline;
}

.cookie-banner .btn {
    min-width: 100px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .navbar-nav {
        white-space: nowrap;
        overflow-x: auto;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
    .offcanvas-body {
        padding-top: 1rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .service-arrow {
        display: none !important;
    }
    .service-step {
        margin-bottom: 2rem;
    }
    .service-step:last-child {
        margin-bottom: 0;
    }
    .about-image-wrapper {
        height: 300px;
    }
    .about-badge {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    .about-badge .display-6 {
        font-size: 2.5rem;
    }
    .portfolio-card {
        height: 250px;
    }
    .team-img-wrapper {
        width: 120px;
        height: 120px;
    }
    .faq-bubble {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    .hero-input, .hero-btn {
        width: 100%;
    }
    .hero-section {
        padding-top: 80px;
        min-height: 70vh;
    }
    .section-title::after {
        width: 60px;
    }
    .about-image-wrapper {
        height: 250px;
    }
    .about-badge .display-6 {
        font-size: 2rem;
    }
    .about-badge .small {
        font-size: 0.7rem;
    }
    .portfolio-card {
        height: 200px;
    }
    .faq-bubble {
        margin: 5px;
        padding: 0.8rem 1rem;
    }
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 1.8rem;
    }
    .display-5 {
        font-size: 1.5rem;
    }
    .site-title, .site-title-footer {
        font-size: 1.25rem;
    }
    .navbar-brand img {
        height: 30px;
    }
    .hero-section {
        min-height: 60vh;
    }
    .about-image-wrapper {
        height: 200px;
    }
    .about-badge {
        padding: 0.6rem;
    }
    .about-badge .display-6 {
        font-size: 1.8rem;
    }
    .portfolio-card {
        height: 180px;
    }
    .team-img-wrapper {
        width: 100px;
        height: 100px;
    }
    .avatar-img {
        width: 50px;
        height: 50px;
    }
    .faq-bubble {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    .footer-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
/* Styles for the main container of user clause content */
.userClauseNet {
    padding-top: 5rem;
    margin-top: 2.5rem;    /* Top margin for the entire content block */
    margin-left: 1.5rem;   /* Left margin for content spacing */
    margin-right: 1.5rem;  /* Right margin for content spacing */
    max-width: 800px;      /* Optional: Limit content width for readability on large screens */
    /* If you want to center the block when max-width is applied, uncomment the next two lines: */
    margin-left: auto; 
    margin-right: auto; 
}

/* Base paragraph styling */
.userClauseNet p {
    font-size: 1rem;       /* Standard font size for paragraphs (e.g., 16px) */
    line-height: 1.6;      /* Improved line spacing for readability */
    margin-bottom: 1rem;   /* Space below each paragraph */
}

/* Heading 1 styling */
.userClauseNet h1 {
    font-size: 2.2rem;     /* Moderate size for the main heading */
    line-height: 1.2;      /* Tighter line spacing for headings */
    margin-top: 2.5rem;    /* Space above the heading */
    margin-bottom: 1.2rem; /* Space below the heading */
    font-weight: 700;      /* Bold font weight */
    color: #333;           /* Default heading color */
}

/* Heading 2 styling */
.userClauseNet h2 {
    font-size: 1.8rem;     /* Slightly smaller sub-heading */
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

/* Heading 3 styling */
.userClauseNet h3 {
    font-size: 1.5rem;     /* Sub-heading size */
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: #333;
}

/* Heading 4 styling */
.userClauseNet h4 {
    font-size: 1.25rem;    /* Smaller sub-heading */
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: #333;
}

/* Heading 5 styling */
.userClauseNet h5 {
    font-size: 1.1rem;     /* Smallest heading, often used for minor sections */
    line-height: 1.5;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #333;
}

/* Unordered list styling */
.userClauseNet ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem;      /* Space above the list */
    margin-bottom: 1rem;   /* Space below the list */
    padding-left: 1.5rem;  /* Indentation for bullets */
}

/* List item styling */
.userClauseNet li {
    font-size: 1rem;       /* Font size for list items */
    line-height: 1.6;      /* Line spacing for list items */
    margin-bottom: 0.5rem; /* Space between list items */
}
