/* Import Navigation Styles */
@import url('nav.css');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "poppins", sans-serif;
    background: #F6F9FF;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

#main {
    padding:10vh;
}

/* Hero Section */
.assurance-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #EEF4FF, #FFFFFF);
    padding-top: 80px;
    overflow: hidden;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
}

.assurance-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #132C6F;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    color: #5A6473;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #070D5E;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    color: #666;
    font-family: "inter", sans-serif;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.philosophy-section,
.testing-services,
.quality-processes,
.tools-frameworks,
.benefits-section {
    padding: 80px 20px;
    background: #F4F8FF;
    margin: 0 -20px;
}

.philosophy-section:nth-child(even),
.testing-services:nth-child(even),
.quality-processes:nth-child(even),
.tools-frameworks:nth-child(even),
.benefits-section:nth-child(even) {
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: #070D5E;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 2rem;
    color: white;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #070D5E;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #6B7280;
    font-family: "inter", sans-serif;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.philosophy-item i {
    font-size: 2.5rem;
    color: #070D5E;
    margin-bottom: 1rem;
}

.philosophy-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.philosophy-item p {
    font-size: 1rem;
    color: #5A6473;
    font-family: "inter", sans-serif;
    line-height: 1.6;
}

/* Testing Services Grid */
.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testing-service {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testing-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #2563EB;
}

.testing-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #070D5E;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.testing-service h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.testing-service > p {
    font-size: 1.1rem;
    color: #5A6473;
    font-family: "inter", sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testing-service ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.testing-service li {
    font-size: 0.95rem;
    color: #5A6473;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-family: "inter", sans-serif;
}

.testing-service li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #070D5E;
    font-size: 0.8rem;
    top: 0.3rem;
}

.service-metrics {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.service-metrics span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #070D5E;
    font-weight: 500;
}

.service-metrics i {
    font-size: 1rem;
}

/* Process Flow */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #070D5E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.step-content > p {
    font-size: 1rem;
    color: #5A6473;
    font-family: "inter", sans-serif;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-content ul {
    list-style: none;
}

.step-content li {
    font-size: 0.9rem;
    color: #5A6473;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-family: "inter", sans-serif;
}

.step-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #070D5E;
    font-size: 0.8rem;
    top: 0.3rem;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-category {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tool-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tool-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #F4F8FF;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: #EAF2FF;
    transform: translateX(5px);
}

.tool-item i {
    font-size: 1.5rem;
    color: #070D5E;
    width: 30px;
    text-align: center;
}

.tool-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #070D5E;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    color: #5A6473;
    font-family: "inter", sans-serif;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefit-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 15px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #070D5E;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-family: "inter", sans-serif;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: #070D5E;
    border: 2px solid #070D5E;
    border-radius: 30px;
    margin: 60px -20px;
    padding: 60px 20px;
    text-align: center;
     width:80%;
    margin-left:12%;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-family: "inter", sans-serif;
    font-weight: 400;
}

.cta-content button {
    width: 220px;
    height: 50px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 25px;
    color: #2563EB;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.cta-content button:hover {
    background-color: #F4F8FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.cta-content button a {
    color: inherit;
    text-decoration: none;
}

.secondary-btn {
    border: 2px solid #2563EB !important;
    color: #2563EB !important;
}

.secondary-btn:hover {
    color: white;
    text-decoration: none;
}

/* Footer Styles (Same as Homepage) */
footer{
    width: 100%;
    margin-top: 60px;
}
#footbox{
    width: 100vw;
    height: 300px;
    padding: 30px;
    background-color: rgb(82, 80, 80);
    margin-top: 20px;
    margin-left: -5vw;
}
#footbox img{
    width: 20px;
    height: auto;
    object-fit: contain;
}
#footabout{
    width: 85vw;
    height: auto;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
#footnav{
    width: 45vw;
    height: auto;
    display: flex;
    justify-content: center;
    gap:20vw;
    margin-left: 20%;
}
#footnav1{
    display: flex;
    flex-direction: column;
    gap:9px;
}
#footnav2{
    display: flex;
    flex-direction: column;
    gap:9px;
}
#footnav a{
    color: #827E7E;
    text-decoration: none;
}
#footlogo{
    height: 5vh;
    width: 10vw;
    font-size: 22px;
    margin-top: -8vh;
    letter-spacing: -1px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
#footabout img {
  width: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
#footabout_title{
    width: 19vw;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    #main {
        padding: 5vh 10px;
    }
    
    .nav-container {
        padding-left: 20px;
    }

    .logo{
        margin-top:-2%;
    }

    .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        margin-top: 0;
    }
    
    .assurance-hero {
        min-height: 50vh;
        padding-top: 60px;
        margin: -10px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 0;
    }
    
    .section-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .section-icon i {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-title p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .philosophy-item {
        padding: 2rem 1.5rem;
        text-align: center;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }
    
    .philosophy-item:hover {
        transform: translateY(-5px);
    }
    
    .philosophy-item i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #10b981;
    }
    
    .philosophy-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #132C6F;
    }
    
    .philosophy-item p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #5A6473;
    }
    
    .testing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testing-service {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .testing-service h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .testing-service p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testing-service ul {
        margin-bottom: 1rem;
    }
    
    .testing-service li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .step-number {
        margin: 0 auto 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    .tool-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .tool-item h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .tool-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    .benefit-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cta-content {
        padding: 2rem 1rem;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-content button {
        width: 100%;
        max-width: 250px;
        height: 50px;
        font-size: 1rem;
    }

    .nav-open .nav-links {
        display: flex;
    }

    .services-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        display: none;
        width: 100%;
    }

    .services-dropdown.submenu-open .dropdown-menu {
        display: block;
    }

    .services-dropdown.submenu-open .services-link i {
        transform: rotate(180deg);
    }
}

@media (max-width: 480px) {

    body {
        padding: 5px;
       overflow-x:hidden;

    }
    
    #main {
        padding: 3vh 5px;
        padding-top:5vh;
         overflow-x:hidden;
    }

    .assurance-hero {
        min-height: 45vh;
        padding-top: 50px;
        margin: -5px;
    }
    
    .hero-content {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
    }
    
    .section-icon i {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-title p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .philosophy-grid {
        gap: 1rem;
    }
    
    .philosophy-item {
        padding: 1.5rem 1rem;
    }
    
    .philosophy-item i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .philosophy-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .philosophy-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .testing-service {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .testing-service h3 {
        font-size: 1.2rem;
    }
    
    .testing-service p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .testing-service li {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .service-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .process-step {
        padding: 1.5rem 0.8rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .tool-item {
        padding: 1rem;
    }
    
    .tool-item i {
        font-size: 1.8rem;
    }
    
    .tool-item h4 {
        font-size: 0.95rem;
    }
    
    .tool-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .benefit-item i {
        font-size: 1.5rem;
    }
    
    .benefit-item h4 {
        font-size: 1rem;
    }
    
    .benefit-item p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .cta-content {
       
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .cta-content button {
        width: 150px;
        height: 45px;
        font-size: 1rem;
        margin: 0.5rem 0.2rem;
    }

    .nav-links {
        padding: 16px;
    }
    
    
    #footbox{
        height: 70vh;
        
    }
    #footbox h2{
        margin-left: -50px;
    }
    #footnav{
        margin-left:45vw ;
    }
    #footnav{
        display: flex;
        flex-direction: column;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    /* Navigation adjustments */
    .nav-container {
        width: 95%;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 2.5%;
    }
    
    .logo {
        margin-left: 3%;
        margin-right: auto;
    }
    
    /* Navigation adjustments for tablets/iPads */
    #contact-btn {
        width: 100px;
        font-size: 0.8rem;
    }
    
    .lang-btn-container {
        width: 100px;
    }
    
}

@media (max-width: 768px) {
    .nav-container {
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-content p {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 60px 20px;
    }

    .services-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        display: none;
        width: 100%;
        background: transparent;
    }

    .services-dropdown .dropdown-menu a {
        padding-left: 32px;
    }

    .services-dropdown.submenu-open .dropdown-menu {
        display: block;
    }

    .services-dropdown.submenu-open .services-link i {
        transform: rotate(180deg);
    }
}
