/* Global Styles */
:root {
    --primary-color: #003366; /* Dark Blue */
    --secondary-color: #FFC107; /* Yellow */
    --dark-background: #1a1a1a;
    --light-background: #f8f9fa;
    --text-color: #333;
    --text-light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease;
}

.navbar-brand .site-name {
    font-size: clamp(1.25rem, 2vw, 1.5rem); /* Desktop: 1.5rem, Tablet: 1.5rem, Mobile: 1.25rem */
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.offcanvas-header .btn-close {
    filter: invert(1);
}

/* Hero Section */
.hero-section {
    background-color: var(--dark-background);
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    z-index: 2;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.hero-section .container {
    z-index: 4;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Desktop: 3.5rem, Tablet: 2.8rem, Mobile: 2rem */
    color: var(--text-light);
}

.hero-section p.lead {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--primary-color);
}

.btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
    color: #fff;
}

/* About Section */
.about-section h2, .about-section h3 {
    color: var(--primary-color);
}

.about-section .list-unstyled li i {
    color: var(--secondary-color);
}

/* Advantages Section */
.advantage-item {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.advantage-item i {
    color: var(--secondary-color);
}

.advantage-item h3 {
    color: var(--text-light);
}

/* For Whom Section */
.card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card i {
    color: var(--primary-color);
}

/* Services Section */
.service-card {
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
}

.service-card i {
    color: var(--primary-color);
}

.service-card ul li i {
    color: var(--secondary-color);
}

/* Tariffs Section */
.tariff-card {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tariff-card:hover {
    border-color: var(--secondary-color);
}

.tariff-card .price-display {
    color: var(--primary-color);
}

.tariff-card .list-unstyled li i.text-success {
    color: #28a745 !important;
}

.tariff-card .list-unstyled li i.text-danger {
    color: #dc3545 !important;
}

/* Solutions Section */
.bg-secondary-dark {
    background-color: #2a2a2a;
    color: var(--text-light);
}

.bg-secondary-dark .card-title {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--light-background);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-background);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

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

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.contact-section h2, .contact-section h3, .contact-section h4 {
    color: var(--text-light);
}

.contact-section .form-label {
    color: var(--text-light);
}

.contact-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.contact-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.contact-section i {
    color: var(--secondary-color);
}

.map-container {
    border: 3px solid var(--secondary-color);
}

/* Footer */
.footer-section {
    background-color: var(--dark-background);
    color: var(--text-light);
}

.footer-section .site-name {
    color: var(--text-light);
}

.footer-section h5 {
    color: var(--text-light);
}

.footer-section .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.footer-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Cookie Consent Modal */
.cookie-consent-modal .modal-dialog {
    max-width: 500px;
}

.cookie-consent-modal .modal-content {
    border-radius: 0.5rem;
    overflow: hidden;
}

.cookie-consent-modal .modal-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: none;
}

.cookie-consent-modal .btn-close-white {
    filter: invert(1);
}

.cookie-consent-modal .modal-body {
    padding: 1.5rem;
}

.cookie-consent-modal #cookieSettings {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .site-name {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p.lead {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-name {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .site-name {
        font-size: 0.8rem!important;
    }
    .navbar-brand img {
        height: 30px !important;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-title::after {
        width: 60px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .navbar-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    .navbar-nav .nav-item {
        display: inline-block;
        margin-right: 1rem;
    }
    .offcanvas-body {
        padding-top: 2rem;
    }
    .d-grid .btn-lg {
        width: 100%;
    }
}

/* Offcanvas for mobile menu */
@media (max-width: 1199px) {
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
    .navbar-collapse {
        display: flex !important;
    }
}
/* Base styling for the main content frame */
.dataClauseFrame {
    padding-top: 20px;    /* Top padding for the content frame */
    padding-left: 25px;   /* Left padding for the content frame */
    padding-right: 25px;  /* Right padding for the content frame */
    /* You might want to add max-width and margin: 0 auto; here for better readability on large screens,
       but it's not explicitly requested for this specific class. */
}

/* Heading styles within the dataClauseFrame */
.dataClauseFrame h1 {
    font-size: 2em;        /* Relative font size for h1, not too large */
    margin-top: 1.5em;     /* Top margin for h1 */
    margin-bottom: 0.7em;  /* Bottom margin for h1 */
    line-height: 1.2;      /* Line height for h1 for better readability */
    font-weight: 700;      /* Bold font weight for h1 */
}

.dataClauseFrame h2 {
    font-size: 1.75em;     /* Relative font size for h2 */
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    line-height: 1.3;
    font-weight: 600;
}

.dataClauseFrame h3 {
    font-size: 1.5em;      /* Relative font size for h3 */
    margin-top: 1.3em;
    margin-bottom: 0.5em;
    line-height: 1.4;
    font-weight: 600;
}

.dataClauseFrame h4 {
    font-size: 1.25em;     /* Relative font size for h4 */
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    line-height: 1.5;
    font-weight: 500;      /* Slightly less bold for h4 */
}

.dataClauseFrame h5 {
    font-size: 1.1em;      /* Relative font size for h5 */
    margin-top: 1.1em;
    margin-bottom: 0.3em;
    line-height: 1.5;
    font-weight: 500;      /* Slightly less bold for h5 */
}

/* Paragraph styles within the dataClauseFrame */
.dataClauseFrame p {
    font-size: 1em;        /* Base font size for paragraphs, usually 16px */
    margin-top: 1em;       /* Top margin for paragraphs */
    margin-bottom: 1em;    /* Bottom margin for paragraphs */
    line-height: 1.6;      /* Improved readability with generous line height */
}

/* Unordered list styles within the dataClauseFrame */
.dataClauseFrame ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1em;       /* Top margin for unordered lists */
    margin-bottom: 1em;    /* Bottom margin for unordered lists */
    padding-left: 25px;    /* Indentation for list items */
}

/* List item styles within the dataClauseFrame */
.dataClauseFrame li {
    font-size: 1em;        /* Base font size for list items */
    margin-bottom: 0.5em;  /* Space between list items */
    line-height: 1.6;      /* Line height for list items */
}
/* overlay */
.cookiex-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* modal */
.cookiex-modal {
    background: #111;
    color: #fff;
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,.8);
    animation: cookiexFade .25s ease;
}

@keyframes cookiexFade {
    from { transform: scale(.95); opacity: 0 }
    to   { transform: scale(1); opacity: 1 }
}

.cookiex-header {
    padding: 16px;
    background: #0d6efd;
    border-radius: 12px 12px 0 0;
}

.cookiex-title {
    margin: 0;
    font-size: 18px;
}

.cookiex-body {
    padding: 16px;
    font-size: 14px;
}

.cookiex-link {
    color: #0d6efd;
    text-decoration: none;
}

.cookiex-switch {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.cookiex-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.cookiex-btn {
    flex: 1;
    padding: 8px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.cookiex-btn.primary { background: #0d6efd; color: #fff; }
.cookiex-btn.secondary { background: #444; color: #fff; }
.cookiex-btn.info { background: #0dcaf0; color: #000; }
.cookiex-btn.success { background: #198754; color: #fff; }

.cookiex-settings {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
}
