/*
 * Fonts:
 * Poppins - Google Fonts (https://fonts.google.com/specimen/Poppins)
 * License: Open Font License
 */

/* Global Styles */
:root {
    --bg-color: #EDE8F5;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background-color: #001F3D;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-bar .logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Mobile Side Navbar */
.side-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #001F3D;
    overflow-x: hidden;
    transition: all 0.3s ease;
    padding-top: 10px;
    z-index: 1000; /* Higher than header's z-index */
}

.side-nav.open {
    right: 0;
    display: block;
}

.side-nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.side-nav a:hover {
    background-color: #4CAF50;
    color: white;
}

.side-nav .close-btn {
    position: left;
    top: 0;
    right: 25px; /* Change from left to right */
    font-size: 36px;
    margin-left: 50px;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    background-image: url('https://raw.githubusercontent.com/itsomprakash48/infincodetemp/ee3bcb369ace02db74c94a848cb036fa741a5e36/img/heroimage.svg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-main {
    background-color: #4CAF50;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    color: white;
}

/* About Section */
.about-us {
    display: flex;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: var(--bg-color);
    padding: 90px 0;
    gap: 50px; 
}

.about {
    max-width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pic {
    width: 400px;
    border-radius: 12px;
    margin-right: 30px;
}

/* Text Content */
.text {
    width: 540px;
    padding-left: 20px;
}

.text h2 {
    color: #001F3D;
    font-size: 90px;
    font-weight: 600;
    margin-bottom: 10px;
}

.text h5 {
    color: #333;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.text p {
    color: #333;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 1px;
}

span {
    color: #4070f4;
}

/* Button Styles */
.data {
    margin-top: 30px;
}

.hire {
    font-size: 18px;
    background: #001F3D;
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    transition: 0.5s;
}

.hire:hover {
    background: #000;
}

/* Responsive Design for About Section */
@media screen and (max-width: 768px) {
    .about {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .pic {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .text {
        width: 100%;
        padding: 0 15px;
    }

    .text h2 {
        font-size: 40px;
    }

    .text h5 {
        font-size: 18px;
    }

    .text p {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .text h2 {
        font-size: 32px;
    }
}
  /* our mission and value  */
  .mission-values h2 {
    font-size: 36px;
    color: #001F3D;
    margin-bottom: 20px;
    position: relative;
    text-transform: capitalize;
    text-align: center;
}

.mission-values p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-align: center;
}
.values {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.value-item {
    width: 250px;
    height: 250px;
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.value-item h3 {
    font-size: 18px;
    color: #001F3D;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 14px;
    color: #666;
    max-width: 180px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .value-item {
        width: 200px;
        height: 200px;
        padding: 20px;
    }
    
    .value-item h3 {
        font-size: 16px;
    }
    
    .value-item p {
        font-size: 12px;
        max-width: 150px;
    }
}

/* Services Section - Using Features Style */
#services.features-section {
    background-color: var(--bg-color);
    padding: 70px 20px;
    text-align: center;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

#services .grid {
    display: grid;
    gap: 2rem;
}

#services .feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#services .feature-card:hover {
    transform: translateY(-5px);
}

#services .feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background-color: #e9d5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services .feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: #001F3D;
}

#services .feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #001F3D;
    margin-bottom: 0.75rem;
}

#services .feature-text {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

#services .feature-link {
    color: #001F3D;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s;
}

#services .feature-link:hover {
    color: #4CAF50;
}

#services .feature-link svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

/* Responsive Grid */
@media (min-width: 640px) {
    #services .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #services .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Add new Features section CSS */

.features-section {
    background-color: var(--bg-color);
    padding: 70px 20px;
    text-align: center;
}

.features-section h2 {
    font-size: 36px;
    color: #001F3D;
    margin-bottom: 40px;
    position: relative;
    text-transform: capitalize;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background-color: #e9d5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: #001F3D;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #001F3D;
    margin-bottom: 0.75rem;
}

.feature-text {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feature-link {
    color: #001F3D;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s;
}

.feature-link:hover {
    color: #4CAF50;
}

.feature-link svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Pricing Section */

.pricing-section {
    padding: 70px 20px; /* increased top padding to avoid overlap */
    background-color: var(--bg-color);
    text-align: center;
}

.pricing-section h1 {
    display: none; /* remove if you’re replacing h1 with h2 */
}

.pricing-section h2 {
    font-size: 36px;
    color: #001F3D;
    margin-bottom: 40px; /* matches other sections' spacing */
}

.pricing-section p {
    color: #555;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.plan h2 {
    color: #001F3D;
    font-size: 24px;
    margin-bottom: 15px;
}

.plan .price {
    color: #001F3D;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
}

.plan .features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.plan .features li {
    color: #555;
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.plan .features .fas {
    margin-right: 10px;
    font-size: 16px;
}

.plan .features .fa-check-circle {
    color: #001F3D;
}

.plan .features .fa-times-circle {
    color: #FF5252;
}

.plan button {
    width: 100%;
    padding: 12px 30px;
    background-color: #001F3D;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.plan button:hover {
    background-color: #001F3D;
}

/* Popular Plan Styling */
.plan.popular {
    position: relative;
    transform: scale(1.05);
    border: 2px solid #001F3D;
}

.plan.popular span {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #001F3D;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Hover Effects */
.plan:hover {
    transform: translateY(-5px);
}

.plan.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .pricing {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .plan {
        width: 100%;
        max-width: 400px;
    }

    .plan.popular {
        transform: scale(1);
    }

    .plan.popular:hover {
        transform: translateY(-5px);
    }
}

/* Insights Section */
.insights {
    padding: 70px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.insights h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.insight-articles {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.insight-article {
    width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.insight-article h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.insight-article p {
    font-size: 16px;
    margin-bottom: 20px;
}

.insight-article a {
    color: #4CAF50;
}

/* Footer Styles */
.footer {
    background: #10182F;
    padding: 20px 0;
    width: 100%;
}

.footer-row {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.5rem;
    padding: 60px;
}

.footer-col {
    flex: 1;
    min-width: 120px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-col .links {
    list-style: none;
}

.footer-col .links li {
    margin-bottom: 10px;
}

.footer-col .links li a {
    text-decoration: none;
    color: #bfbfbf;
    transition: 0.3s ease;
}

.footer-col .links li a:hover {
    color: #fff;
}

.footer-col p {
    margin: 20px 0;
    color: #bfbfbf;
    max-width: 300px;
}

.footer-col form {
    display: flex;
    gap: 5px;
}

.footer-col input {
    height: 40px;
    border-radius: 6px;
    background: none;
    width: 100%;
    outline: none;
    border: 1px solid #7489C6;
    caret-color: #fff;
    color: #fff;
    padding-left: 10px;
}

.footer-col input::placeholder {
    color: #ccc;
}

.footer-col form button {
    background: #fff;
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer-col form button:hover {
    background: #cecccc;
}

.footer-col .icons {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}

.footer-col .icons i {
    color: #afb6c7;
    cursor: pointer;
    transition: 0.3s ease;
}

.footer-col .icons i:hover {
    color: #fff;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .side-nav {
        display: block;
    }

    .nav-bar {
        justify-content: space-between;
    }

    .side-nav.open {
        right: 0;
    }

    .footer-links {
        display: none;
    }

    .footer-row {
        padding: 20px;
        gap: 1rem;
    }

    .footer-col form {
        display: block;
    }

    .footer-col form :where(input, button) {
        width: 100%;
    }

    .footer-col form button {
        margin: 10px 0 0 0;
    }
}

