@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7;
    overflow-x: hidden;
}
/* Custom red color matching the PDF */
.bg-kcctech-red {
    background-color: #cc0000;
}
.text-kcctech-red {
    color: #cc0000;
}
.border-kcctech-red {
    border-color: #cc0000;
}
.text-innovative {
    color: #cc0000;
    font-weight: 600;
}
/* Custom background gradient for the hero section, mimicking the geometric lines */
.hero-bg {
    background: linear-gradient(135deg, #cc0000 0%, #a80000 50%, #7d0000 100%);
    position: relative;
    overflow: hidden;
}
/* Style for the geometric lines effect */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.05'%3E%3Cpath d='M0 0h800v800H0z'/%3E%3Cpath d='M0 0l800 800M800 0L0 800'/%3E%3Cpath d='M0 400h800M400 0v800'/%3E%3Ccircle cx='400' cy='400' r='200'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.vision-mission-section {
    background-color: #cc0000;
    padding: 50px 0;
    padding-bottom: 150px;
}

.vision-mission-section .content-container {
    display: flex;
    gap: 30px;
}

.vision-box, .mission-box {
    flex: 1;
    background-color: #a00000;
    color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.sticky-header {
    position: fixed; /* This is the magic property! */
    top: 0;          /* This anchors it to the very top of the screen */
    width: 100%;     /* Ensure it spans the full width of the viewport */
    z-index: 1000;   /* Keeps the header above all other content */

    /* Basic styling for appearance: */
    background-color: #333;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .site-header {
        padding: 15px 20px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .vision-mission-section .content-container {
        gap: 20px;
    }

    /* Shrink the services grid width */
    .services-grid {
        gap: 20px 50px;
        width: 100%; /* Use full container width */
        max-width: 750px;
    }
}


/**
 * MOBILE LAYOUT (Max width 768px)
 * Use Flex Direction Column to stack elements vertically.
 */
@media (max-width: 768px) {

    /* 1. Navigation: Stack items vertically or hide/use a menu button (stacking here for simplicity) */
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 10px;
    }

    .main-nav {
        margin-top: 10px;
        width: 100%;
        overflow-x: auto; /* Allows scrolling if navigation is too wide */
    }

    .main-nav ul {
        gap: 10px;
        padding-bottom: 5px;
        flex-wrap: nowrap; /* Keep items in one line for horizontal scroll */
    }

    /* 2. Vision and Mission: Stack vertically */
    .vision-mission-section {
        padding-bottom: 50px; /* Reduce bottom padding */
    }

    .vision-mission-section .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .vision-box h2, .mission-box h2 {
        font-size: 1.5em;
    }

    /* 3. Services: Change to 1 column and adjust text size */
    .section-description {
        font-size: 1.2em;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 15px;
        width: 100%;
        max-width: 400px; /* Keep items centered and not too wide on small screens */
    }

    .service-item {
        padding: 12px 20px;
        font-size: 1em;
    }

    .service-item i {
        font-size: 1.2em;
        padding: 6px;
    }

    /* Adjust floating help box size for better screen space utilization */
    .help-box {
        width: 180px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }

    .help-box h4 {
        font-size: 1.2em;
    }
}

/* --- Base Header Styling (Existing) --- */
.site-header {
    /* ... your current styling ... */
    padding: 15px 40px; /* Example initial padding */
    height: auto; /* Allow content to dictate height */
    transition: all 0.3s ease-in-out; /* Add transition for smoothness! */
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add shadow when sticky */
}

.site-header.shrunk {
    padding: 8px 40px; /* Reduced vertical padding */
    min-height: 50px; /* Explicit smaller height */
    background-color: #a00000; /* Darker red when shrunk */
    color: #fff; /* White text when shrunk */
}

.site-header.shrunk .logo {
    color: #fff; /* White logo text when shrunk */
}

.site-header.shrunk .main-nav a {
    color: #fff; /* White nav links when shrunk */
    font-size: 0.8em; /* Smaller font size */
}
.site-header.shrunk .main-nav .active a,
.site-header.shrunk .main-nav a:hover {
    color: #ffcccc; /* Lighter red hover when shrunk */
}

/* Placeholder to prevent content jump */
#header-spacer {
    height: 70px; /* Must match the initial height of your header */
    transition: height 0.3s ease-in-out;
}
/* When header is fixed, collapse the spacer */
#header-spacer.fixed-header-active {
    height: 50px; /* Matches the shrunk header height */
}

.cybersecurity-section {
    padding: 80px 0;
    background-color: #fff; /* White background */
    position: relative;
    /* Add the subtle wave background from the image */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f7f7f7" fill-opacity="1" d="M0,128L60,144C120,160,240,192,360,192C480,192,600,160,720,144C840,128,960,128,1080,144C1200,160,1320,192,1380,208L1440,224L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.cyber-intro {
    text-align: center;
    font-size: 1.8em;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.cyber-intro strong {
    font-weight: 900;
    color: #cc0000; /* Red for emphasized words */
}

.cyber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
    gap: 30px;
    max-width: 900px; /* Constrain grid width */
    margin: 0 auto 50px;
    align-items: center; /* Vertically align items */
    justify-content: center;
}

.cyber-item {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex; /* Use flex to center content */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Ensure consistent height for all items */
}

.cyber-item:hover {
    transform: translateY(-5px);
}

.cyber-item img {
    max-width: 100px; /* Size for placeholder images */
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px; /* Slightly rounded images */
}

.cyber-item h3 {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.3;
}

.cyber-item p {
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

/* Main Cybersecurity & IT Capabilities box */
.main-cyber-item {
    grid-row: span 2; /* Spans two rows */
    background-color: #cc0000;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 430px; /* Adjusted height to match two standard items + gap */
}

.main-cyber-item img {
    max-width: 120px;
    margin-bottom: 20px;
    border-radius: 15px;
}

.main-cyber-item h3 {
    font-size: 1.8em;
}

.cyber-footer-text {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 30px auto 0;
    line-height: 1.5;
}

.cyber-footer-text strong {
    font-weight: 900;
    color: #cc0000;
}

.laas-section {
    padding: 80px 0;
    background-color: #fff;
}

.laas-section .section-subtitle {
    font-size: 2.5em;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
}

.laas-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.laas-text {
    flex: 2;
    font-size: 1.1em;
}

.laas-text p {
    margin-bottom: 20px;
}

.laas-text strong {
    font-weight: bold;
}

.laas-image {
    flex: 1;
    text-align: right;
    border-radius: 5px;
    overflow: hidden;
}

.laas-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.laas-bullets {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.laas-bullet-item {
    background-color: #cc0000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-weight: bold;
    flex: 1;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.laas-bullet-item i {
    font-size: 1.5em;
    margin-right: 15px;
}

/* ------------------------------------------- */
/* 3. Open RAN Section */
/* ------------------------------------------- */
.openran-section {
    padding: 80px 0;
    background-color: #f7f7f7;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><circle fill="%23e0e0e0" cx="5" cy="5" r="1"/></svg>');
    position: relative;
}

.openran-intro-text {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px;
}

.openran-details {
    display: flex;
    gap: 50px;
    align-items: center;
}

.openran-image {
    flex: 1;
    text-align: center;
}

.openran-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.openran-activities {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.activity-box {
    background-color: #fff;
    border: 3px solid #cc0000;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.activity-box h3 {
    text-align: center;
    color: #cc0000;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.activity-box ul {
    list-style: none;
    padding: 0;
}

.activity-box li {
    font-size: 0.9em;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.activity-box li::before {
    content: "•";
    color: #cc0000;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* ------------------------------------------- */
/* 1. Sticky Header Styles (Reused from previous response) */
/* ------------------------------------------- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease-in-out;
    min-height: 70px;
}
/* ... rest of .site-header, .logo, .main-nav ... */

/* Sticky/Shrunk Header Classes (Reused) */
.site-header.scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.site-header.shrunk {
    padding: 8px 40px;
    min-height: 50px;
    background-color: #a00000;
    color: #fff;
}
/* ... rest of .shrunk classes ... */

/* Placeholder to prevent content jump (Reused) */
#header-spacer {
    height: 70px;
    transition: height 0.3s ease-in-out;
}
#header-spacer.fixed-header-active {
    height: 50px;
}

/* ------------------------------------------- */
/* 2. NOC / Automation Center (BOSS) Section */
/* ------------------------------------------- */
.noc-boss-section {
    padding: 60px 0 80px;
    background-color: #fff;
    text-align: center;
}

.noc-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.boss-highlight {
    color: #cc0000;
}

.noc-boss-section p {
    max-width: 900px;
    margin: 0 auto 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

.noc-boss-section p strong {
    font-weight: bold;
    color: #cc0000;
}


/* ------------------------------------------- */
/* 3. Culture, Hiring and Training Section */
/* ------------------------------------------- */
.culture-training-section {
    padding: 50px 0 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f7f7f7" fill-opacity="1" d="M0,64L48,85.3C96,107,192,149,288,149.3C384,149,480,107,576,90.7C672,75,768,85,864,117.3C960,149,1056,203,1152,208C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'), /* Light wave/pattern background */
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><circle fill="%23e0e0e0" cx="5" cy="5" r="1"/></svg>'); /* Subtle dot pattern */
    background-repeat: no-repeat, repeat;
    background-size: cover, auto;
    background-position: bottom, top left;
    position: relative;
}

.culture-title {
    text-align: center;
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 50px;
}

.culture-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Two main columns: Info Block and Photos */
    grid-template-rows: auto auto; /* Two main rows */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-block {
    background-color: #cc0000;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Positioning the info blocks */
.culture-grid .info-block:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}
.culture-grid .info-block:nth-child(3) {
    grid-column: 1 / 3; /* Full width on the bottom row by default */
    grid-row: 2 / 3;
    background-color: #a00000; /* Darker red for the second block */
}

.info-block h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95em;
    line-height: 1.5;
}

.info-block li::before {
    content: "•";
    color: #fff;
    font-weight: 900;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.info-block strong {
    font-weight: bold;
}

/* Photo Gallery */
.photo-gallery {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-row {
    display: flex;
    gap: 10px;
}

.photo-row img {
    width: 100%; /* Default to fill available space */
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.photo-row:nth-child(1) img {
    flex: 1; /* Make the first row images equal width */
}

.e2e-construction-section {
    position: relative;
    padding: 100px 0; /* Adjust padding to give space for content over image */
    color: #fff; /* White text over the background image */
    text-align: center;
    overflow: hidden; /* Hide anything outside the section */
}

.e2e-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1600x600/333333/cccccc?text=Cell+Tower+Background'); /* Placeholder background image */
    background-size: cover;
    background-position: center;
    z-index: 0; /* Place behind text */
    filter: brightness(0.7); /* Darken the image slightly */
}

.e2e-construction-section .content-container {
    position: relative; /* Bring content above the background image */
    z-index: 1;
}

.e2e-title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.e2e-intro {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 50px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.e2e-services-grid {
    display: flex;
    justify-content: center;
    gap: 80px; /* Space between the two lists */
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.e2e-services-grid ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    flex: 1; /* Make columns flexible */
}

.e2e-services-grid li {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 25px; /* Space for custom bullet */
    position: relative;
}

.e2e-services-grid li::before {
    content: "\2022"; /* Unicode for a solid bullet */
    color: #cc0000; /* Red bullet color */
    font-size: 1.5em; /* Larger bullet */
    position: absolute;
    left: 0;
    top: -3px; /* Adjust vertical alignment */
}

/* ------------------------------------------- */
/* 3. NiB (Network in Box) Section */
/* ------------------------------------------- */
.nib-section {
    padding: 80px 0;
    background-color: #f7f7f7; /* Light background */
    position: relative;
}

.nib-title-red {
    font-size: 1.8em;
    font-weight: 900;
    color: #cc0000;
    text-align: center;
    margin-bottom: 5px;
}

.nib-subtitle {
    font-size: 2.5em;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
}

.nib-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.nib-text {
    flex: 2;
    font-size: 1.1em;
}

.nib-text p {
    margin-bottom: 30px;
}

.nib-text strong {
    font-weight: bold;
}

.nib-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for bullets */
    gap: 20px;
}

.nib-bullet-item {
    background-color: #f0f0f0; /* Light background for bullet boxes */
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start; /* Align text from top */
    font-size: 0.95em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nib-bullet-item i {
    font-size: 1.3em;
    color: #cc0000;
    margin-right: 10px;
    margin-top: 3px; /* Adjust icon vertical alignment */
}

.nib-bullet-item span strong {
    color: #cc0000;
}

.nib-image {
    flex: 1;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}

.nib-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mehter-section {
    padding: 80px 0;
    background-color: #fff;
}

.mehter-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.mehter-image {
    flex: 1;
    text-align: left;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mehter-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.mehter-text-wrapper {
    flex: 1.5;
}

.mehter-title-red {
    font-size: 2.5em;
    font-weight: 900;
    color: #cc0000;
    margin-bottom: 10px;
}

.mehter-intro {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.mehter-bullets {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mehter-bullet-item {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mehter-bullet-item span strong {
    color: #cc0000;
}

.mehter-read-more {
    display: inline-block;
    background-color: #cc0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.mehter-read-more:hover {
    background-color: #a00000;
}

/* ------------------------------------------- */
/* 3. IoT Solutions Section */
/* ------------------------------------------- */
.iot-section {
    padding: 80px 0;
    background-color: #f7f7f7;
    /* Add the background image/pattern */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><circle fill="%23e0e0e0" cx="5" cy="5" r="1"/></svg>');
    position: relative;
}

.iot-content {
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.iot-image {
    flex: 1;
    text-align: left;
    max-width: 400px; /* Constrain image size */
}

.iot-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.iot-text {
    flex: 1.5;
}

.iot-title {
    font-size: 2em;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 30px;
}

.iot-topic {
    margin-bottom: 25px;
}

.iot-topic h3 {
    font-size: 1.4em;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.iot-topic p {
    font-size: 1em;
    line-height: 1.5;
}

.iot-topic p strong {
    font-weight: bold;
}

.digitalization-section {
    padding: 80px 0;
    background-color: #fff; /* White background for this section */
    position: relative; /* For the background elements */
    overflow: hidden; /* To contain elements like the wave */
}

.digitalization-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fcfcfc" fill-opacity="1" d="M0,96L60,117.3C120,139,240,181,360,181.3C480,181,600,139,720,133.3C840,128,960,160,1080,160C1200,160,1320,128,1380,112L1440,96L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    z-index: 0;
}


.digitalization-content {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative; /* Ensure content is above the pseudo-element background */
    z-index: 1;
}

.digitalization-image {
    flex: 1;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    position: relative; /* For the wave overlay */
}

.digitalization-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.digitalization-text {
    flex: 1.5;
}

.digitalization-text .section-title-red {
    text-align: left;
}

.topic-block {
    margin-bottom: 25px;
}

.topic-block h3 {
    font-size: 1.4em;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.topic-block p {
    font-size: 1em;
    line-height: 1.5;
}

.topic-block p strong {
    font-weight: bold;
}

/* ------------------------------------------- */
/* 3. Software Development Section */
/* ------------------------------------------- */
.software-dev-section {
    padding: 80px 0;
    background-color: #f7f7f7; /* Light grey background for this section */
    position: relative;
    overflow: hidden;
}

.software-dev-section::before {
    content: '';
    position: absolute;
    bottom: 0; /* Position at the bottom */
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fcfcfc" fill-opacity="1" d="M0,192L60,186.7C120,181,240,171,360,170.7C480,171,600,181,720,170.7C840,160,960,128,1080,117.3C1200,107,1320,117,1380,122.7L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom; /* Anchor to the bottom */
    z-index: 0;
    transform: rotate(180deg); /* Flip the wave vertically */
}


.software-dev-content {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.software-dev-image {
    flex: 1;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
}

.software-dev-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.software-dev-text {
    flex: 1.5;
}

.software-dev-text .section-title-red {
    text-align: left;
}

.software-dev-text p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.software-dev-text p:last-child {
    margin-bottom: 0;
}

.software-dev-text p strong {
    font-weight: bold;
}
/* ------------------------------------------- */
/* 2. Projects Section */
/* ------------------------------------------- */
.projects-section {
    padding-top: 50px;
    padding-bottom: 80px;
    background-color: #f7f7f7; /* Light background for the project section */
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px; /* Height of the red area at the bottom */
    background-color: #cc0000;
    z-index: 0;
}

.projects-main-title {
    margin-bottom: 5px;
}

.projects-subtitle {
    font-size: 2.5em;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
}

.projects-header-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.projects-gallery {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.projects-gallery img {
    width: 100px; /* Standardize size for the gallery items */
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.projects-intro-text {
    flex: 2;
    font-size: 1em;
    line-height: 1.5;
}

.projects-intro-text p {
    margin-bottom: 15px;
}

.projects-intro-text strong {
    font-weight: bold;
}

.projects-grid {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Column: Project List */
.project-list-box {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.list-red-border {
    border: 3px solid #cc0000;
}

.project-list {
    list-style: none;
    padding: 0;
}

.project-list li {
    font-size: 0.95em;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.project-list li::before {
    content: "\2022"; /* Bullet point */
    color: #cc0000;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.project-list li strong {
    font-weight: bold;
}

/* Right Column: Project Info Boxes */
.project-info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-box {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-red-bg {
    background-color: #a00000; /* Darker red background */
    color: #fff;
}

.project-box h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
}

.project-box ul {
    list-style: none;
    padding: 0;
}

.project-box li {
    font-size: 0.9em;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.project-box li::before {
    content: "\2022";
    color: #fff; /* White bullet on red background */
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.project-box strong {
    font-weight: bold;
}

.aora-title {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.2em;
}

/* Spacer adjustment for header with top bar */
#header-spacer {
    height: calc(40px + 80px); /* Top bar height + initial header height */
}
#header-spacer.fixed-header-active {
    height: 50px; /* Shrunk header height */
}


/* =================================================== */
/* HERO SLIDER STYLES */
/* =================================================== */
.hero-slider-section {
    width: 100%;
    position: relative;
    background-color: #000; /* Fallback for very dark background */
}

.slider-container-main {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 600px; /* Fixed height for desktop slider */
}

.slides-main {
    display: flex; /* Use flexbox for horizontal layout */
    width: 350%; /* For 3 slides, each 100% width of slider-container-main */
    height: 100%;
    transition: transform 1s ease-in-out; /* Smooth slide transition */
}

.slide-main {
    width: 100%; /* Each slide takes 100% of the flex container */
    flex-shrink: 0; /* Prevent slides from shrinking */
    position: relative;
    height: 100%;
}

.slide-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire slide area */
    display: block;
    filter: brightness(0.4); /* Darken image to make text pop */
}

.slide-content-main {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: left; /* Align text left as per image */
    max-width: 800px; /* Constrain content width */
    width: 90%; /* Responsive width */
    padding: 20px;
    z-index: 10; /* Ensure content is above image */
}

.slide-content-main h1 {
    font-size: 2.2em; /* Large heading */
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.slide-content-main p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #cc0000;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #a00000;
}

/* Navigation Arrows */
.prev-main, .next-main {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 18px 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    transition: 0.6s ease;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    user-select: none;
    z-index: 20;
}

.next-main {
    right: 0;
}

.prev-main {
    left: 0;
}

.prev-main:hover, .next-main:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Dots/Indicators */
.dots-container-main {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
}

.dot-main {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 7px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot-main.active, .dot-main:hover {
    background-color: #cc0000;
}


/* =================================================== */
/* RESPONSIVE DESIGN FOR SLIDER & HEADER */
/* =================================================== */

@media (max-width: 1024px) {
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .top-bar-social {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    .top-bar-contact {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .top-bar-contact span {
        margin-right: 0;
    }


    /* Main Header */
    .site-header {
        padding: 15px 20px;
    }
    .site-header .logo {
        font-size: 1.5em;
    }
    .site-header .logo img {
        width: 40px; /* Smaller logo image */
        height: 40px;
    }
    .logo-subtext {
        font-size: 0.55em;
    }

    /* Slider Adjustments */
    .slider-container-main {
        height: 500px; /* Slightly reduced height for tablets */
    }
    .slide-content-main h1 {
        font-size: 2.5em;
    }
    .slide-content-main p {
        font-size: 1em;
    }
    .read-more-btn {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .prev-main, .next-main {
        padding: 14px 16px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-contact {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .top-bar-contact span {
        margin-right: 0;
        text-align: center;
    }

    /* Main Header - Mobile Stacked (as per previous instructions) */
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 10px;
        min-height: 90px;
    }
    .main-nav {
        margin-top: 10px;
        width: 100%;
        overflow-x: auto;
    }
    .main-nav ul {
        flex-wrap: nowrap;
        gap: 10px;
        padding-bottom: 5px;
        justify-content: flex-start; /* Align nav items to start */
    }

    /* Spacer for sticky header with top bar on mobile */
    #header-spacer {
        height: calc(10px + 90px); /* Top bar (reduced) + initial mobile header */
    }

    /* Slider Adjustments */
    .slider-container-main {
        height: 400px; /* Further reduced height for mobile */
    }
    .slide-content-main {
        max-width: 90%;
        text-align: center; /* Center text on mobile */
    }
    .slide-content-main h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .slide-content-main p {
        font-size: 0.9em;
        margin-bottom: 20px;
        display: none; /* Hide descriptive text on smaller mobile for brevity */
    }
    .read-more-btn {
        padding: 8px 20px;
        font-size: 0.8em;
    }
    .prev-main, .next-main {
        padding: 10px 12px;
        font-size: 20px;
        background-color: rgba(0, 0, 0, 0.6); /* Slightly darker */
    }
    .dots-container-main {
        bottom: 10px;
    }
    .dot-main {
        height: 10px;
        width: 10px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .slider-container-main {
        height: 300px;
    }
    .slide-content-main h1 {
        font-size: 1.4em;
    }
    .read-more-btn {
        padding: 6px 15px;
        font-size: 0.75em;
    }
    .prev-main, .next-main {
        padding: 8px 10px;
        font-size: 16px;
    }
}

#bg-slider-1 {
    background-image: url('../../static/images/bg-slider-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    width: 30%;
}

.img-cyber {
    padding: inherit;
    margin: auto;
    display: block;
}

.text-cyber {
    font-size: 20px;
    color: red;
    font-weight: bolder;
}

#bg-cyber {
    background-image: url('../../static/images/cybersecurity-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}