*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "poppins", sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

/* Main Content */
#main {
    margin-top: 80px;
    overflow-x: hidden;
}
#main{
    padding:4vh;
}

/* ================================
   REDUCE SERVICES DROPDOWN WIDTH FOR CI/CD DEV EXPERIENCE PAGE
   ================================ */
body.cicd-dev-experience-page #nav-container .dropdown-menu {
    min-width: 320px !important;
}


/* Hero Section */
.cicd-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    padding: 80px 0;
    border-radius: 20px;
    margin: 0 -20px;
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
    margin-bottom:5vh;
}

.cicd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature i {
    font-size: 1.3rem;
}

/* Service Sections */
.service-section {
    padding: 60px 0;
    margin-bottom: 40px;
    overflow-x: hidden;
}

.service-section:nth-child(even) {
    background: white;
    border-radius: 20px;
    margin: 0 20px 40px;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: #2563EB;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748B;
    max-width: 600px;
}

/* Service Content */
.service-content {
    margin-top: 40px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.content-left h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.content-left p {
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Key Features */
.key-features {
    background: #F4F8FF;
    border: 1px solid #E6EDFF;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: rgba(0,0,0,0.06) 0 4px 12px;
}

.key-features h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.key-features ul {
    list-style: none;
}

.key-features li {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.key-features strong {
    color: #2563EB;
    font-weight: 600;
    font-size: 1rem;
}

.key-features p {
    color: #64748B;
    margin: 0;
    padding-left: 10px;
}

/* Tech Stack */
.tech-stack {
    background: #FFFFFF;
    border: 1px solid #E6EDFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: rgba(0,0,0,0.06) 0 4px 12px;
}

.tech-stack h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background: #2563EB;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Benefits */
.benefits-h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 30px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 3rem;
    color: #2563EB;
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #64748B;
    line-height: 1.6;
}

/* Section Specific Colors */
.pipeline-section .section-icon {
    background: #2563EB;
}

.deployment-section .section-icon {
    background: #2563EB;
}

.devex-section .section-icon {
    background: #2563EB;
}

.pipeline-section .key-features strong,
.pipeline-section .tech-tags span {
    color: #2563EB;
}

.deployment-section .key-features strong,
.deployment-section .tech-tags span {
    color: #2563EB;
}

.devex-section .key-features strong,
.devex-section .tech-tags span {
    color: #2563EB;
}

.deployment-section .tech-tags span {
    background: #2563EB;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    padding: 60px 20px;
    overflow-x: hidden;
    border-radius: 30px;
    margin: 60px -20px;
    width:80%;
    text-align: center;
    margin-left: 12%;
    border:2px solid rgb(167,15,180);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-section button {
    background: white;
    color: #1E3A8A;
    border: none;
    padding: 18px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
   
}

.cta-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-section button a {
    color: #1E3A8A;
    text-decoration: none;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-radius: 20px 20px 0 0;
}

#footbox {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footabout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

#footlogo img {
    width: 120px;
    height: auto;
}

#footabout_title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 300px;
}

#footnav {
    display: flex;
    gap: 40px;
}

#footnav1, #footnav2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#footnav a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footnav a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    #main {
        margin-top: 60px;
    }
    
    .cicd-hero {
        padding: 60px 0;
        width: 95%;
        margin: 0 auto;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-section:nth-child(even) {
        margin: 0 0 40px;
    }
    
    .key-features, .tech-stack {
        width: 95%;
        margin: 0 auto;
        padding: 25px 20px;
    }
    
    .benefit-card {
        width: 95%;
        margin: 0 auto;
        padding: 25px 20px;
    }
    
    #footbox {
        flex-direction: column;
        gap: 30px;
    }
    
    #footabout {
        flex-direction: column;
        gap: 20px;
    }
    
    #footnav {
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content-grid {
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    #main {
        margin-top: 50px;
    }
    
    .cicd-hero {
        padding: 40px 0;
        width: 98%;
        margin: 0 auto;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .section-header {
        gap: 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .key-features, .tech-stack {
        width: 98%;
        padding: 20px 15px;
    }
    
    .benefit-card {
        width: 98%;
        padding: 20px 15px;
    }
    
    .service-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    .cta-section{
        width:90%;
        margin-left:auto;
        margin-right:auto;
    }
}


/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-section {
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card {
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }

/* CI/CD & Dev Experience Specific Styles */
.pipeline-section {
    border-left: 5px solid #2563EB;
}

.deployment-section {
    border-left: 5px solid #2563EB;
}

.devex-section {
    border-left: 5px solid #2563EB;
}

/* Hover Effects */
.tech-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.deployment-section .tech-tags span:hover {
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.devex-section .tech-tags span:hover {
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

/* Section Icon Animations */
.section-icon:hover {
    transform: rotate(10deg) scale(1.1);
    transition: transform 0.3s ease;
}

/* Key Features List Animations */
.key-features li:hover {
    transform: translateX(10px);
    background-color: #F4F8FF;
    transition: all 0.3s ease;
}


/* Pipeline Flow Animation */
@keyframes flowAnimation {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.pipeline-section .section-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563EB, transparent);
    animation: flowAnimation 3s ease-in-out infinite;
    transform: translate(-50%, -50%);
}

/* Dev Experience Heart Animation */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.devex-section .section-icon {
    animation: heartBeat 2s ease-in-out infinite;
}

/* Deployment Rocket Animation */
@keyframes rocketLaunch {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.deployment-section .section-icon {
    animation: rocketLaunch 3s ease-in-out infinite;
}
