/* 
 * Circuit Start.com Styles
 * Based on logo colors: blue (#2b96d3), dark gray (#333), and black (#000)
 */

/* Base Styles */
:root {
    --primary-color: #2b96d3; /* Blue from logo */
    --primary-dark: #1e7cb2; /* Darker blue for hover effects */
    --secondary-color: #333; /* Dark gray from logo */
    --bg-color: #000; /* Black from logo background */
    --text-color: #fff;
    --light-gray: #f5f5f5;
    --medium-gray: #ddd;
    --header-bg: #1a1a1a; /* Lighter background for header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1.1rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0.8rem 1.5rem;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Header and Navigation */
header {
    background-color: var(--header-bg);
    padding: 2rem 0;
    position: relative;
}

nav.container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.logo {
    margin-bottom: 0;
    height: 100%;
}

.logo img {
    max-height: 250px;
    width: auto;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
    min-height: 250px; /* Match logo height */
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero {
    text-align: right;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #222 100%);
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.mission-text {
    flex: 1;
    min-width: 300px;
}

.mission-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.programs-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Team Section */
.team-section .program-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: center;
}

.team-section .card-icon {
    height: 300px;
}

.team-section .card-icon img {
    object-fit: cover;
    object-position: center top;
}

.team-section .card {
    text-align: center;
}

.team-section .card p {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

/* Card Styles */
.card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-icon {
    margin-bottom: 1.5rem;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card ul {
    padding-left: 1.5rem;
}

.card li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #111 0%, var(--secondary-color) 100%);
    text-align: center;
}

.contact h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 500;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary-dark);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(43, 150, 211, 0.2);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
}

#contact-form button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }

    #contact-form {
        padding: 0 1rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--header-bg);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 0 0 200px;
}

.footer-logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.footer-links {
    flex: 0 0 auto;
}

.footer-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 2rem;
    }

    .footer-links {
        margin-bottom: 1.5rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav.container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        max-height: 180px;
    }

    .header-content {
        align-items: center;
        min-height: auto;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero {
        text-align: center;
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .language-selector {
        margin: 1rem 0;
    }
}

/* QA Testing Page Styles */
.qa-overview .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-block {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    border: 1px solid var(--primary-dark);
}

.content-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.level-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.level-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-dark);
    color: var(--text-color);
}

.level-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-content {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    color: var(--text-color);
    border: 1px solid var(--primary-dark);
}

.cert-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.cert-content h3:first-child {
    margin-top: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    border: 1px solid var(--primary-dark);
}

.tech-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    border: 1px solid var(--primary-dark);
}

.cert-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cert-card ul,
.cert-card ol {
    padding-left: 1.5rem;
}

.cert-card li {
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .qa-overview .content-grid,
    .level-cards,
    .tech-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .content-block,
    .level-card,
    .cert-card,
    .tech-category {
        padding: 1.5rem;
    }
}

/* Migration Page Styles */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 50%;
    padding: 0.8rem;
    border: 2px solid var(--primary-color);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-content p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-color);
}

.benefits-list li strong {
    color: var(--primary-color);
    display: inline-block;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 1.2rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .benefit-content h3 {
        font-size: 1.1rem;
    }
}

.process-section {
    background: var(--secondary-color);
    padding: 4rem 0;
    margin: 2rem 0;
}

.process-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.process-list::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 80px;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-number {
    position: absolute;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-color);
    z-index: 1;
}

.process-content {
    background: var(--bg-color);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--primary-dark);
    flex: 1;
}

.process-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-content p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .process-list {
        padding: 1rem 0;
    }

    .process-list::before {
        left: 30px;
    }

    .process-item {
        padding-left: 60px;
    }

    .process-number {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-content {
        padding: 1rem 1.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 3rem;
    border: 1px solid var(--primary-dark);
}

.testimonial-content {
    text-align: center;
}

.testimonial-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content blockquote {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-content cite {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 500;
}

.testimonials-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-content blockquote {
        font-size: 1.1rem;
    }
}

/* Language Selector Styles */
.language-selector {
    margin-left: 1rem;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.language-selector select:hover {
    border-color: #2b96d3;
}

.language-selector select:focus {
    border-color: #2b96d3;
    box-shadow: 0 0 0 2px rgba(43, 150, 211, 0.2);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .language-selector {
        margin: 1rem 0;
    }
} 