/* Global Styles */
:root {
    --primary-color: #007bff; /* Bootstrap primary blue */
    --secondary-color: #6c757d;
    --dark-blue: #0A192F; /* Dark background */
    --light-blue: #1C2B40; /* Slightly lighter background */
    --accent-blue: #00bcd4; /* Accent for links, icons */
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --card-bg: #112240;
    --card-bg-alt: #173150;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-blue);
    line-height: 1.6;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
}

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

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn {
    border-radius: 0.5rem;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-light {
    color: var(--primary-color);
    background-color: #ffffff;
    border-color: #ffffff;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #e2e6ea;
}

.custom-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

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

.small-text {
    font-size: 0.95rem;
}

/* Header & Navigation */
#main-header {
    background-color: var(--dark-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1030;
}

.logo-img {
    height: 40px;
    width: auto;
}

.site-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--heading-color);
}

.navbar-brand {
    font-size: 1.8rem;
    padding: 0;
}

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

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

.offcanvas {
    background-color: var(--dark-blue);
}

.offcanvas-header {
    background-color: var(--dark-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    color: var(--heading-color);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* Adjust for fixed header */
}

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

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.floating-title {
    animation: floatAnimation 3s ease-in-out infinite;
}

.emoji {
    animation: pulseEmoji 2s infinite alternate;
    display: inline-block;
    font-size: 0.8em;
    vertical-align: middle;
    margin-left: 0.2em;
}

.emoji-1 {
    animation-delay: 0.1s;
}

.emoji-2 {
    animation-delay: 0.3s;
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulseEmoji {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0.9; }
}

/* About Us Section */
#about {
    background-color: var(--light-blue);
}

#about .card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.avatar-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--accent-blue);
}

#about .blockquote p {
    color: rgba(255, 255, 255, 0.8);
}

/* Services Section */
#services {
    background-color: var(--dark-blue);
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--card-bg-alt);
}

.service-card i {
    color: var(--accent-blue) !important;
}

/* Portfolio Section */
#portfolio {
    background-color: var(--light-blue);
}

.portfolio-item {
    position: relative;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

/* Industries We Serve Section */
#industries {
    background-color: var(--dark-blue);
}

.industry-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.industry-item:hover {
    background-color: var(--card-bg-alt);
    transform: translateY(-5px) scale(1.05);
}

.industry-item i {
    color: var(--accent-blue);
    transition: color 0.3s ease;
}

.industry-item:hover i {
    color: var(--primary-color);
}

.industry-fact {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    transition: bottom 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.industry-item:hover .industry-fact {
    bottom: 0;
}

/* Impact Statistics Section */
#statistics {
    background-color: var(--light-blue);
}

.stat-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.stat-card h3 {
    color: var(--heading-color);
}

.stat-card .stat-number {
    font-size: 4rem;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--dark-blue);
}

.testimonial-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.bg-card {
    background-color: var(--card-bg);
}

.bg-card-alt {
    background-color: var(--card-bg-alt);
}

.testimonial-card blockquote p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Form Section */
#contact {
    background-color: var(--light-blue);
}

#contact form {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

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

#contact .form-control,
#contact .form-select {
    background-color: #2a3d54;
    border-color: #445b74;
    color: var(--text-color);
}

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

#contact .form-control:focus,
#contact .form-select:focus {
    background-color: #344a63;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

#contact .form-select option {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--text-color);
    padding-bottom: 80px; /* Adjust for cookie banner */
}

.cta-panel {
    background-color: var(--primary-color) !important;
    color: #ffffff;
}

.cta-panel .btn {
    color: var(--primary-color);
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1050;
    max-width: 350px;
    background-color: #fff;
    color: #333;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #eee;
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner .btn-sm {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cookieSettingsModal .modal-header {
    background-color: var(--dark-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#cookieSettingsModal .modal-title {
    color: var(--heading-color);
}

#cookieSettingsModal .modal-body {
    color: var(--text-color);
}

#cookieSettingsModal .form-check-label {
    color: var(--text-color);
    font-weight: 600;
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

#cookieSettingsModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Typography */
/* Desktop */
@media (min-width: 1024px) {
    .site-name { font-size: 2.5rem; }
    .hero-section h1 { font-size: 4.5rem; }
    .section-title { font-size: 3.5rem; }
    h3 { font-size: 2.2rem; }
    h4 { font-size: 1.8rem; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-name { font-size: 2.2rem; }
    .hero-section h1 { font-size: 3.8rem; }
    .hero-section p { font-size: 1.3rem; }
    .section-title { font-size: 3rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.6rem; }
    .custom-btn { padding: 0.7rem 1.8rem; font-size: 1rem; }
}

/* Mobile */
@media (max-width: 767px) {
    .site-name { font-size: 1.8rem; }
    .logo-img { height: 35px; }
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    .hero-section p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem !important;
    }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    .custom-btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
    .navbar-toggler {
        margin-left: auto;
    }
    .offcanvas-body {
        text-align: center;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    .portfolio-img {
        height: 200px;
    }
    .industry-item {
        width: 150px;
        height: 150px;
    }
    .stat-card .stat-number {
        font-size: 3rem;
    }
    .stat-card .lead {
        font-size: 1rem;
    }
    .cta-panel h4 {
        font-size: 1.8rem;
    }
    .cta-panel p {
        font-size: 1.1rem;
    }
    footer {
        padding-bottom: 60px; /* Smaller adjustment for mobile cookie banner */
    }
}

@media (max-width: 1199px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler {
        display: block;
    }
}
.dataClauseFrame {
    /* Padding for the top and sides of the content frame */
    padding-top: 100px;
    padding-right: 1.5em;
    padding-left: 1.5em;
    padding-bottom: 1.5em; /* Added for consistency, even if not explicitly requested for bottom */
}

.dataClauseFrame h1 {
    word-break: break-all;
    /* Heading 1 styles */
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

.dataClauseFrame h2 {
       word-break: break-all;
    /* Heading 2 styles */
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 1.3em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

.dataClauseFrame h3 {
       word-break: break-all;
    /* Heading 3 styles */
    font-size: 1.3em;
    font-weight: 700;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

.dataClauseFrame h4 {
       word-break: break-all;
    /* Heading 4 styles */
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.dataClauseFrame h5 {
       word-break: break-all;
    /* Heading 5 styles */
    font-size: 1em; /* Standard body font size, but bold */
    font-weight: 700;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.6;
}

.dataClauseFrame p {
    /* Paragraph styles */
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6; /* Readability */
}

.dataClauseFrame ul,
.dataClauseFrame ol {
    /* Unordered and Ordered list container styles */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 1.5em; /* Indent for list markers */
}

.dataClauseFrame li {
    /* List item styles */
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5;
}
section {
    overflow: hidden;
}