/* IT Security Services Page Styles */

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, #bccfe2 0%, #004080 100%);
    color: white;
    padding: 150px 0 165px;
    position: relative;
    overflow: hidden;
}

.service-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.service-hero-content {
    flex: 1;
    padding-right: 30px;
}

.service-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.service-hero-content .underline {
    height: 4px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 0 20px;
}

.service-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.service-hero-image {
    flex: 1;
    text-align: right;
    position: relative;
}

.service-hero-image img {
    max-width: 0%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s infinite ease-in-out;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 0.5s;
}

.floating-icon:nth-child(3) {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 20%;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(5) {
    top: 10%;
    right: 30%;
    animation-delay: 2s;
}

.floating-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.stat-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 25px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Security Services Section */
.security-services {
    background-color: var(--light-color);
    padding: 80px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.security-card:hover {
    transform: translateY(-10px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 25px;
    color: white;
}

.card-header h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.card-body {
    padding: 20px;
}

.card-body p {
    margin-bottom: 20px;
}

.card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-body ul {
    padding-left: 0;
}

.card-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.card-body ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

/* Best Practices Section */
.best-practices {
    padding: 80px 0;
    background-color: white;
}

.practices-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.practice-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: -1;
}

.practice-card:hover {
    transform: translateY(-10px);
}

.practice-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.practice-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.practice-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.practice-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Implementation Diagram Section */
.implementation-diagram {
    padding: 80px 0;
    background-color: var(--light-color);
}

.diagram-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    height: 600px;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.center-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
}

.center-circle i {
    font-size: 40px;
    margin-bottom: 10px;
}

.center-circle span {
    font-weight: 600;
    font-size: 0.9rem;
}

.diagram-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(0, 102, 204, 0.3);
    border-radius: 50%;
}

.layer-1 {
    width: 350px;
    height: 350px;
}

.layer-2 {
    width: 550px;
    height: 550px;
}

.layer-item {
    position: absolute;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
}

.layer-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    margin: 0 auto 10px;
    transition: var(--transition);
}

.layer-item:hover .layer-icon {
    background-color: var(--primary-color);
}

.layer-icon i {
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.layer-item:hover .layer-icon i {
    color: white;
}

.layer-item span {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Position layer-1 items */
.layer-1 .layer-item:nth-child(1) {
    top: 0%;
    left: 50%;
}

.layer-1 .layer-item:nth-child(2) {
    top: 50%;
    left: 0%;
}

.layer-1 .layer-item:nth-child(3) {
    top: 100%;
    left: 50%;
}

.layer-1 .layer-item:nth-child(4) {
    top: 50%;
    left: 100%;
}

/* Position layer-2 items */
.layer-2 .layer-item:nth-child(1) {
    top: 15%;
    left: 15%;
}

.layer-2 .layer-item:nth-child(2) {
    top: 15%;
    left: 85%;
}

.layer-2 .layer-item:nth-child(3) {
    top: 50%;
    left: 0%;
}

.layer-2 .layer-item:nth-child(4) {
    top: 50%;
    left: 100%;
}

.layer-2 .layer-item:nth-child(5) {
    top: 85%;
    left: 15%;
}

.layer-2 .layer-item:nth-child(6) {
    top: 85%;
    left: 85%;
}

.implementation-steps {
    margin-top: 80px;
    text-align: center;
}

.implementation-steps h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: left;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Compliance Section */
.compliance-section {
    padding: 80px 0;
    background-color: white;
}

.compliance-container {
    margin-top: 50px;
}

.compliance-group {
    margin-bottom: 50px;
}

.compliance-group h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-color);
}

.compliance-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.compliance-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: var(--transition);
}

.compliance-card:hover {
    transform: translateY(-10px);
}

.compliance-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.compliance-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.compliance-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.compliance-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.tools-container {
    margin-top: 50px;
}

.tool-category {
    margin-bottom: 50px;
}

.tool-category h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-category h3 i {
    color: var(--primary-color);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tool-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card img {
    height: 50px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.tool-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Trends Section */
.trends-section {
    padding: 80px 0;
    background-color: white;
}

.trends-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.trend-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.trend-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: -1;
}

.trend-card:hover {
    transform: translateY(-10px);
}

.trend-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.trend-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.trend-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.trend-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA Section Modifications */
.cta .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero .container {
        flex-direction: column;
    }
    
    .service-hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .service-hero-content .underline {
        margin: 0 auto 20px;
    }
    
    .service-hero-content p {
        margin: 0 auto 30px;
    }
    
    .diagram-container {
        height: 800px;
    }
    
    .layer-1, .layer-2 {
        position: relative;
        width: 100%;
        height: auto;
        border: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 180px;
    }
    
    .layer-item {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        max-width: 100%;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .practices-container,
    .compliance-cards,
    .trends-container {
        flex-direction: column;
        align-items: center;
    }
    
    .practice-card,
    .compliance-card,
    .trend-card {
        max-width: 100%;
    }
    
    .tools-grid {
        justify-content: center;
    }
    
    .cta .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .step {
        max-width: 100%;
    }
}
