/* General Body Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff; /* Changed to white for better visibility on Vanta.js background */
    line-height: 1.6;
    min-height: 100vh; /* Ensure body takes full viewport height for Vanta.js */
    /* Removed background-color to allow Vanta.js to be fully visible */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw; /* Responsive padding, 4% of viewport width */
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Fixed padding for smaller screens */
    }
}

/* Header Styling */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed; /* Make the header floating */
    width: 100%; /* Ensure it spans the full width */
    top: 0; /* Position at the top */
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.logo .company-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5em; /* Adjust as needed */
    font-weight: 700;
    color: #333; /* Or a color that fits the new design */
    margin-left: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-number {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    margin-right: 20px;
    font-size: 1.1em;
}

.hamburger-menu {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
}

/* Main Navigation Styling */
.main-nav {
    background-color: #333; /* Dark background for nav bar */
    padding: 10px 0;
}

/* Mobile navigation styles */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: #333;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex; /* Show when active */
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .main-nav li {
        margin: 10px 0;
    }
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Horizontal layout */
    justify-content: center; /* Center the links */
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #e74c3c; /* Hover effect */
}

/* Hero Content Section Styling (replaces old hero-section) */
.hero-content-section {
    position: relative; /* Needed for z-index to be above Vanta.js */
    z-index: 2; /* Above Vanta.js (z-index: -1) */
    height: 500px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.hero-content-section h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 3.5em;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #fff;
}

.hero-content-section p {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #fff;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
}

/* Floating Email Icon */
.floating-email-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #e74c3c;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    text-decoration: none; /* Remove underline from link */
    color: #fff; /* Text color for the icon */
    font-size: 0.8em; /* Adjust font size for "Email Us" */
}

.floating-email-icon a {
    color: #fff;
    text-decoration: none;
}

/* Cybersecurity Feed Section */
#cybersecurity-feed {
    padding: 40px 0;
    background-color: transparent; /* Removed background to show Vanta.js */
    margin-bottom: 20px;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); Removed as per user feedback */
    position: relative;
    z-index: 2;
}

#cybersecurity-feed h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: #fff; /* Changed to white for better visibility */
}

.rss-feed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px; /* Increased height for card-based display */
    margin-bottom: 20px;
}

.rss-item-card {
    background-color: #454545; /* Changed to #454545 as per user request */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced 3D effect */
    padding: 30px;
    max-width: 600px;
    text-align: center;
    color: #333; /* Dark text for readability on light card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rss-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.rss-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8em;
    color: #e74c3c; /* Highlight color for titles */
    margin-bottom: 10px;
    line-height: 1.3;
}

.rss-date {
    font-size: 0.9em;
    color: #7f8c8d; /* Muted color for dates */
    margin-bottom: 15px;
}

.rss-summary {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.rss-read-more {
    display: inline-block;
    background-color: #3498db; /* A gentle blue for the button */
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.rss-read-more:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.rss-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-secondary {
    background-color: #95a5a6; /* A neutral grey for navigation buttons */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
}

/* Placeholder for other sections */
.content-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative; /* Ensure content is above Vanta.js */
    z-index: 2;
}

main {
    position: relative;
    z-index: 2; /* Ensure main content is above Vanta.js */
    background-color: transparent; /* Ensure main doesn't block Vanta.js */
    padding-top: 100px; /* Use padding-top instead of margin-top for better consistency across pages */
}

.content-section h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #fff; /* Changed to white for better visibility */
}

.content-section p {
    color: #fff; /* Ensure paragraph text is white for readability */
}

.main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    position: relative; /* Ensure footer is above Vanta.js */
    z-index: 2;
}
/* Grid for Solutions and Services */
/* Grid for Solutions and Services */
.solution-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Two cards per row */
    gap: 30px;
    padding: 30px 0;
    justify-items: center; /* Center items within their grid area */
    align-items: start; /* Align items to the start of their grid area */
}

/* Double-sided Card Styling */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px; /* Increased height for a long rectangular shape */
    perspective: 1000px; /* 3D effect */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 10px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px; /* Increased padding for more content and better spacing */
    box-sizing: border-box;
}

.flip-card-front {
    background-color: #f4f4f4;
    color: #333;
}

.flip-card-back {
    background-color: #007bff; /* A distinct color for the back */
    color: white;
    transform: rotateY(180deg);
}

.flip-card-front h3, .flip-card-back h3 {
    font-family: 'Roboto Slab', serif;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.flip-card-front p, .flip-card-back p {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    font-size: 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solution-grid, .service-grid {
        grid-template-columns: 1fr; /* One card per row on smaller screens */
    }
    .flip-card {
        height: auto; /* Adjust height for smaller screens */
    }
}