/* General Styles */
* {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* background-color: #fff; */
    /* Background color for the body */
}

/* Homepage Hero Section */
.homepage-hero-section {
    width: 100%;
    height: 500px;
    background-image: url("/images/securitydata4.jpg");
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    padding: 20px;
}

/* Overview Section Styling */
.overview-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 40px;
    background-color: #f4f6f8;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 20px;
    transition: all 0.3s ease-in-out;
    /* border: 2px solid green; */
}

.overview-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.overview-image {
    flex: 1;
    text-align: center;
}

.overview-image img {
    width: 100%;
    max-width: 500px;
    height: 280px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.overview-image img:hover {
    transform: scale(1.05);
}

.overview-text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    text-align: left;
    margin-left: 20px;
}

.overview-text p {
    margin: 0;
    /* Removed bottom margin */
    color: #34495e;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: justify;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.overview-text p:hover {
    color: #2980b9;
}

.overview-text h2 {
    color: #2980b9;
    font-size: 1.5rem;
    margin: 0 0 15px;
    /* Adjusted margins */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .overview-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .overview-image {
        margin-bottom: 20px;
    }

    .overview-text {
        margin-left: 0;
    }

    .overview-image img {
        max-width: 100%;
    }
}

/* Security Section Introduction Styling */

.security-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #7f8c8d;

}

.security-intro p:first-child {
    font-size: 1rem;
    font-style: italic;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 15px;
    /* Adjusted margins */
}

.security-intro p {
    margin: 0 0 25px;
    /* Adjusted margins */
}

/* Cards Section */
.security-section {
    padding: 20px 20px;
    background-color: #f7f9fb;
}

.security-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    width: calc(25% - 30px);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin: 0 0 15px;
    /* Adjusted margins */
}

.card p {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Hover Effect for Cards */
.card:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 15px;
}

/* Included Services */
.services-section {
    padding: 20px;
    background-color: #f9f9f9;
    /* border: 2px solid green; */

}

.services-title {
    text-align: center;
    margin: 0 0 30px;
    /* Adjusted margins */
    font-size: 2em;
    color: #333;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.service-item:hover {
    transform: translateY(-2px);
}

.service-icon {
    flex: 0 0 120px;
    text-align: center;
    background-color: #e9ecef;
    border-radius: 50%;
    padding: 20px;
}

.service-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.service-content {
    flex: 1;
    padding: 0 20px;
}

.service-content h3 {
    margin: 0 0 10px;
    /* Adjusted margins */
    font-size: 1.5em;
    color: #2c3e50;
}

.service-content p {
    margin: 5px 0;
    line-height: 1.6;
    color: #555;
}

/* How We Help Section */
.how-we-help-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

/* Title and Text Styles */
.section-title {
    font-size: 36px;
    color: #333;
    margin: 0 0 20px;
    /* Adjusted margins */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-intro {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
    /* Adjusted margins */
}

.section-summary {
    font-size: 16px;
    color: #777;
    margin-bottom: 40px;
}

/* Use Case Container */
.use-cases-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Use Case Item Styles */
.use-case-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.use-case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Use Case Image */
.use-case-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Use Case Description */
.use-case-description {
    padding: 15px;
    text-align: center;
}

.use-case-description h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px;
    /* Adjusted margins */
}

.use-case-description p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .use-cases-container {
        flex-direction: column;
        align-items: center;
    }

    .use-case-item {
        max-width: 90%;
    }

    .use-case-image img {
        height: 150px;
    }
}

/* Free Consultation Section Styles */
.free-consultation-section {
    background-color: #37ff00;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    /* border: 2px solid green; */

}

.consultation-title {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #333;
    margin: 0 0 20px;
    /* Adjusted margins */
}

.consultation-text {
    font-size: 1.2rem;
    color:#555;
    margin: 0 0 30px;
    /* Adjusted margins */
}

.consultation-button {
    background-color: #2980b9;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.consultation-button:hover {
    background-color: #1c598a;
}

/* Footer Section */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #007bff;
    color: black;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Helper Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Container for Responsive Layout */
.container {
    max-width: 1200px;
    /* Adjust as necessary */
    margin: 0 auto;
    /* Center the container */
}