/* ##### HEADER ##### */

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff; /* Light ice-blue background */
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures elements are spaced properly */
    padding: 10px 20px;
    background-color: #ffffff; /* White header background */
    border-bottom: 2px solid #d3d3d3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #004080; /* Steel grey-blue to match branding */
    padding: 5px 15px;
    background-color: #e6f0ff; /* Light blue background for emphasis */
    border-radius: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    color: #004080; /* Steel grey-blue color for text */
    padding-left: 5px;
}

/* ##### CTA ##### */

.cta-section {
    text-align: center;
    padding: 10px 20px 20px;
    background-color: 	#f4f4f6; /* Light ice-blue */
    color: #004080;
}

.cta-heading {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080; /* Steel grey-blue */
}

.cta-text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    font-size: 18px;
    padding: 12px 24px;
    background-color: #ff0000; /* Blood red for runic theme */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc0000; /* Darker red on hover */
}

.bot-icon {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 40px; /* Adjust size */
    color: #004080; /* Matches branding */
}

/* ##### Products ##### */

/* Product Section Styling */
.product-section {
    padding: 20px 20px;
    background-color: #f4f4f6; /* White background to match header */
    text-align: center;
    color: #004080; /* Steel-grey text */
}

.product-heading {
    font-size: 28px;
    margin-bottom: 40px;
    color: #004080; /* Steel-grey text */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns max */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    padding: 20px;
    background-color: #ffffff; 
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff0000; /* Blood red border on hover */
}

.rune-symbol {
    font-size: 48px;
    color: #ff0000; /* Blood red for runes */
    margin-bottom: 10px;
    display: block;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #004080;
}

.product-card p {
    font-size: 16px;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }

    .product-card {
        padding: 15px;
    }
}

/* ##### Carousel ##### */

/* Carousel Section */
.carousel-section {
    padding: 20px 20px;
    background-color: #f4f4f6; /* Same as previous section */
    text-align: center;
    position: relative;
}

/* Styled Heading */
.carousel-heading {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #004080;
    padding: 10px 20px;
    margin-bottom: 30px;
    border: 2px solid #004080;
    border-radius: 30px;
    background-color: #f0f8ff; /* Light ice-blue */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: default;
}

/* Responsive Carousel Container */
.carousel-container {
    position: relative;
    width: 90%; /* 90% of the screen width, adapts to different devices */
    max-width: 1200px; /* Optional: limit max width on large screens */
    aspect-ratio: 16 / 9; /* Keeps a consistent 16:9 aspect ratio */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Ensuring Images Cover the Fixed Area */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the area without distortion */
    border-radius: 10px;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 16px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Carousel Arrows */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: rgba(0, 0, 0, 0.5); /* Less noticeable color */
    background-color: rgba(255, 255, 255, 0.5); /* Transparent white */
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-heading {
        font-size: 18px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 24px;
        padding: 8px;
    }
}

/* ##### Footer ##### */

/* Footer Styling */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #ffffff; /* Same as header */
    border-top: 2px solid #d3d3d3; /* Subtle grey top border */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 14px;
    color: #004080;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Makes the icon perfectly circular */
    background-color: #ffffff; /* Matches footer background */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon img {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #f0f8ff; /* Light ice-blue on hover */
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the new section */
.carousel-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.carousel-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.carousel-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}


/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Lead Generation Section */
.lead-gen-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.lead-gen-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.lead-gen-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Reputation Management Section */
.reputation-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.reputation-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.reputation-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Bots Section */
.bots-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.bots-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.bots-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Automation Section */
.automation-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.automation-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.automation-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Funnels Section */
.funnels-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.funnels-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.funnels-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Manaz Management Section */
.management-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.management-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.management-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Email Services Section */
.email-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.email-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.email-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Makes the product card clickable */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the Content Creation Section */
.content-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.content-title {
    font-size: 28px;
    color: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.content-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

/* Back to Top Button - Now on Left, Adjusts with Scroll */
.scroll-to-products {
    position: fixed;
    bottom: 20px; /* Will be adjusted dynamically */
    left: 20px; /* Moves it to the left */
    right: auto; /* Removes right-side positioning */
    width: 40px;
    height: 40px;
    background-color: #004080;
    color: #ffffff;
    font-size: 18px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Initially hidden */
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
    z-index: 1000; /* Ensures visibility */
}

.scroll-to-products:hover {
    opacity: 1;
    transform: scale(1.1);
}


/* Modernize Section Styling */
.modernize-section {
    text-align: center;
    padding: 2px 20px;
    background-color: #f4f4f6; /* Matches existing site theme */
    color: #004080;
}

.modernize-heading {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.modernize-subtext {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for larger screens */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.package-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for rune theme */
    margin-bottom: 10px;
}

.package-price {
    font-size: 20px;
    font-weight: bold;
    color: #004080;
    margin-bottom: 15px;
}

.package-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 250px;
    text-align: left;
}

.package-list li {
    font-size: 16px;
    margin-bottom: 8px;
}

.package-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* CTA Button */
.cta-button {
    font-size: 16px;
    padding: 10px 20px;
    background-color: #ff0000; /* Blood red for CTA */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc0000; /* Darker red on hover */
}

/* Responsive Design */
@media (max-width: 900px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .package-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* General Section Spacing Adjustment */
.automation-section,
.bots-section,
.management-section,
.lead-gen-section,
.content-section,
.reputation-section,
.funnels-section,
.carousel-section {
    text-align: center;
    padding: 20px 10px; /* Reduced padding for closer spacing */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.automation-title,
.bots-title,
.management-title,
.lead-gen-title,
.content-title,
.reputation-title,
.funnels-title,
.carousel-title {
    font-size: 28px; /* Slightly smaller for better flow */
    font-weight: bold;
    margin-bottom: 15px; /* Less space below title */
    color: #004080;
}

.automation-description,
.bots-description,
.management-description,
.lead-gen-description,
.content-description,
.reputation-description,
.funnels-description,
.carousel-description {
    font-size: 16px;
    max-width: 750px;
    margin: 0 auto 20px; /* Reduced bottom margin */
    line-height: 1.5;
}

/* Grid Layout Consistency */
.automation-grid,
.bots-grid,
.management-grid,
.lead-gen-grid,
.content-grid,
.reputation-grid,
.funnels-grid,
.sowelo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 20px; /* Reduced gap between cards */
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Card Styling */
.automation-card,
.bots-card,
.management-card,
.lead-gen-card,
.content-card,
.reputation-card,
.funnels-card,
.sowelo-card {
    background: #ffffff;
    padding: 15px; /* Less padding inside cards */
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.automation-card:hover,
.bots-card:hover,
.management-card:hover,
.lead-gen-card:hover,
.content-card:hover,
.reputation-card:hover,
.funnels-card:hover,
.sowelo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.automation-card-title,
.bots-card-title,
.management-card-title,
.lead-gen-card-title,
.content-card-title,
.reputation-card-title,
.funnels-card-title,
.sowelo-card-title {
    font-size: 22px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 8px;
}

.automation-card-description,
.bots-card-description,
.management-card-description,
.lead-gen-card-description,
.content-card-description,
.reputation-card-description,
.funnels-card-description,
.sowelo-card-description {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Carousel Adjustments */
.carousel-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    margin: 10px auto 20px; /* Reduced space above and below */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .automation-grid,
    .bots-grid,
    .management-grid,
    .lead-gen-grid,
    .content-grid,
    .reputation-grid,
    .funnels-grid,
    .sowelo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .automation-grid,
    .bots-grid,
    .management-grid,
    .lead-gen-grid,
    .content-grid,
    .reputation-grid,
    .funnels-grid,
    .sowelo-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Dagaz Email Services Section */
.email-section {
    text-align: center;
    padding: 2px 20px; /* Same compact padding as bots section */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.email-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.email-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Email Grid Layout */
.email-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Email Service Cards */
.email-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.email-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.email-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .email-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .email-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Fehu Funnels Section */
.funnels-section {
    text-align: center;
    padding: 2px 20px; /* Matches other sections for uniformity */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.funnels-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.funnels-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Funnels Grid Layout */
.funnels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Funnel Cards */
.funnels-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funnels-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.funnels-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.funnels-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .funnels-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .funnels-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Kenaz Content Creation Section */
.content-section {
    text-align: center;
    padding: 2px 20px; /* Matches other sections for uniformity */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.content-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.content-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Content Cards */
.content-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.content-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.content-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .content-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Laguz Lead Generation Section */
.lead-gen-section {
    text-align: center;
    padding: 2px 20px; /* Matches other sections for uniformity */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.lead-gen-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.lead-gen-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Lead Gen Grid Layout */
.lead-gen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Lead Gen Cards */
.lead-gen-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-gen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lead-gen-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.lead-gen-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .lead-gen-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .lead-gen-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Manaz Management Section */
.management-section {
    text-align: center;
    padding: 2px 20px; /* Matches other sections for uniformity */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.management-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.management-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Management Grid Layout */
.management-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Management Cards */
.management-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.management-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.management-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.management-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .management-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .management-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Raido Reputation Management Section */
.reputation-section {
    text-align: center;
    padding: 2px 20px; /* Matches other sections for uniformity */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.reputation-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.reputation-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Reputation Grid Layout */
.reputation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Reputation Cards */
.reputation-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reputation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.reputation-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.reputation-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .reputation-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .reputation-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Sowelo Sites Section */
.carousel-section {
    text-align: center;
    padding: 2px 20px; /* Matches other sections for uniformity */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

.carousel-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

.carousel-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 16px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Carousel Navigation */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Sowelo Grid Layout */
.sowelo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Sowelo Cards */
.sowelo-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sowelo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sowelo-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

.sowelo-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
    .sowelo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .sowelo-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

/* Universal Section Styling */
.automation-section,
.bots-section,
.management-section,
.lead-gen-section,
.content-section,
.reputation-section,
.funnels-section,
.carousel-section {
    text-align: center;
    padding: 2px 20px; /* Compact padding for uniform spacing */
    background-color: #f4f4f6; /* Matches site theme */
    color: #004080;
}

/* Section Titles */
.automation-title,
.bots-title,
.management-title,
.lead-gen-title,
.content-title,
.reputation-title,
.funnels-title,
.carousel-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}

/* Section Descriptions */
.automation-description,
.bots-description,
.management-description,
.lead-gen-description,
.content-description,
.reputation-description,
.funnels-description,
.carousel-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Grid Layout for All Sections */
.automation-grid,
.bots-grid,
.management-grid,
.lead-gen-grid,
.content-grid,
.reputation-grid,
.funnels-grid,
.sowelo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Cards for All Sections */
.automation-card,
.bots-card,
.management-card,
.lead-gen-card,
.content-card,
.reputation-card,
.funnels-card,
.sowelo-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.automation-card:hover,
.bots-card:hover,
.management-card:hover,
.lead-gen-card:hover,
.content-card:hover,
.reputation-card:hover,
.funnels-card:hover,
.sowelo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Service Card Titles */
.automation-card-title,
.bots-card-title,
.management-card-title,
.lead-gen-card-title,
.content-card-title,
.reputation-card-title,
.funnels-card-title,
.sowelo-card-title {
    font-size: 24px;
    color: #ff0000; /* Blood red accent for branding */
    margin-bottom: 10px;
}

/* Service Card Descriptions */
.automation-card-description,
.bots-card-description,
.management-card-description,
.lead-gen-card-description,
.content-card-description,
.reputation-card-description,
.funnels-card-description,
.sowelo-card-description {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Carousel Styling */
.carousel-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    margin: 10px auto 30px; /* Adjusted spacing */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .automation-grid,
    .bots-grid,
    .management-grid,
    .lead-gen-grid,
    .content-grid,
    .reputation-grid,
    .funnels-grid,
    .sowelo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .automation-grid,
    .bots-grid,
    .management-grid,
    .lead-gen-grid,
    .content-grid,
    .reputation-grid,
    .funnels-grid,
    .sowelo-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}

.package-image-container {
    text-align: center; /* Centers the image */
    margin-top: 10px; /* Adds space above the image */
}

.package-image {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Makes it a perfect circle */
    object-fit: cover; /* Ensures the image fills the circle properly */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    border: 2px solid #cd7f32; /* Bronze border */
}

.package-image-2 {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Makes it a perfect circle */
    object-fit: cover; /* Ensures the image fills the circle properly */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    border: 3px solid silver; /* Silver border */
}

.package-image-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Makes it a perfect circle */
    object-fit: cover; /* Ensures the image fills the circle properly */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    border: 2px solid #FFD700; /* Gold border */
}

/* Bot Speech Bubble */
.bot-icon {
    position: relative;
    display: inline-block;
    font-size: 50px;
    cursor: pointer;
    text-align: center;
    color: #004080; /* Steel grey-blue */
}

.bot-speech-bubble {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700; /* Gold bubble */
    color: black;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
    animation: fadeInOut 2s infinite alternate;
}

@keyframes fadeInOut {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Contact Form Container (Fixed Alignment) */
.contact-form-container {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 400px; /* Increased width */
    max-width: 90%;
    text-align: left; /* Ensures left alignment */
}

/* Form Inputs */
.contact-form-container form {
    display: flex;
    flex-direction: column;
}

.contact-form-container label {
    font-weight: bold;
    margin-top: 10px;
}

.contact-form-container input,
.contact-form-container textarea {
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box; /* Prevents width issues */
}

/* Submission Message */
.submission-message {
    display: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: green;
    margin-top: 10px;
}

/* Buttons */
.contact-form-container button {
    padding: 12px;
    font-size: 16px;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.contact-form-container button[type="submit"] {
    background-color: #004080;
    color: white;
}

.contact-form-container button[type="submit"]:hover {
    background-color: #002855;
}

.contact-form-container button[type="button"] {
    background-color: #d3d3d3;
    color: black;
}

.contact-form-container button[type="button"]:hover {
    background-color: #b0b0b0;
}

.random-color-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    background-color: #000; /* Default color; will be overwritten by JavaScript */
  }

/* New Modal Section */

/* Modal Background */
.product-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Modal Content */
  .product-modal-content {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
  }
  
  /* Modal Header */
  .modal-header {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
  }
  
  .modal-header .modal-rune {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
    color: #ff0000; /* Bold rune color */
  }
  
  /* Close Button */
  .modal-header .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
  
  /* Modal Body */
  .modal-body {
    padding: 20px;
    color: #333;
    text-align: center;
  }
  
  .modal-body h2 {
    margin-top: 0;
    color: #004080;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  /* Automation Task List */
  .automation-list {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 16px;
  }
  
  .automation-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
  }
  
  .automation-list li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #ff0000;
    font-weight: bold;
  }
  
/* Modal Background & Animation */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Modal Content Container */
  .product-modal-content {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
  }
  
  /* Modal Header */
  .modal-header {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
  }
  
  .modal-header .modal-rune {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
    color: #ff0000; /* Bold, attention-grabbing rune */
  }
  
  /* Close Button */
  .modal-header .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
  
  /* Modal Body */
  .modal-body {
    padding: 20px;
    color: #333;
    text-align: center;
  }
  
  .modal-body h2 {
    margin-top: 0;
    color: #004080;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  /* Bullet List for Key Points */
  .automation-list {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 16px;
  }
  
  .automation-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
  }
  
  .automation-list li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #ff0000;
    font-weight: bold;
  }
  
  /* Carousel Container Inside the Modal */
  .modal-carousel-container {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .modal-carousel-container .carousel-slide {
    display: none;
  }
  
  .modal-carousel-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  /* Carousel Navigation Buttons */
  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(0,0,0,0.6);
    background: rgba(255,255,255,0.6);
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }

  /* Modal Background & Animation */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Modal Content Container */
  .product-modal-content {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
  }
  
  /* Modal Header */
  .modal-header {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
  }
  
  .modal-header .modal-rune {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
    color: #ff0000; /* Bold, attention-grabbing rune */
  }
  
  /* Close Button */
  .modal-header .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
  
  /* Modal Body */
  .modal-body {
    padding: 20px;
    color: #333;
    text-align: center;
  }
  
  .modal-body h2 {
    margin-top: 0;
    color: #004080;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  /* Bullet List for Key Points */
  .automation-list {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 16px;
  }
  
  .automation-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
  }
  
  .automation-list li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #ff0000;
    font-weight: bold;
  }
  
  .writing-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f4f4f6; /* same as other light sections */
    color: #004080;
  }
  
  .writing-heading {
    font-size: 28px;
    font-weight: bold;
    color: #004080;
    margin-bottom: 20px;
  }
  
  .writing-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333;
  }

  .login-button {
    background-color: #004080;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .login-button:hover {
    background-color: #002e5f;
  }

  .login-option {
    background-color: #004080;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .login-option:hover {
    background-color: #003060;
  }
  
  .blog-button {
    background-color: #004080;
    color: white;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .blog-button:hover {
    background-color: #003060;
  }
  