/* Base Styles */
:root {
    --primary-color: #1e56a0;
    --secondary-color: #163172;
    --dark-color: #111827;
    --light-color: #f3f4f6;
    --gray-color: #6b7280;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --max-width: 1280px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mt-40 {
    margin-top: 2.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.row > * {
    padding: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--light-color);
    color: var(--light-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-color);
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.6rem 0;
    background-color: white;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
    position: relative;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a:hover, .main-nav .active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav .active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('https://cdn.pixabay.com/photo/2018/05/08/08/44/artificial-intelligence-3382507_1280.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.underline {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.underline.center {
    margin: 0 auto 1.5rem auto;
}

/* About Preview Section */
.about-preview .row {
    align-items: center;
}

.col-image, .col-content {
    width: 100%;
}

.col-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

address p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

address i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

address a {
    color: rgba(255, 255, 255, 0.7);
}

address a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    .col-image, .col-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding-top: 5rem;
        z-index: 99;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        padding: 1rem 2rem;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 100;
    }
    
    .row {
        flex-direction: column;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section-title h2, .cta-content h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .col-image, .col-content {
        width: 50%;
    }
}

/* Page Banner */
.page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    background-image: url('https://cdn.pixabay.com/photo/2016/11/30/20/58/programming-1873854_1280.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.page-title {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--light-color);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--light-color);
}

.breadcrumb .current {
    color: var(--primary-color);
}

/* About Page Styles */
.about-section {
    padding: 5rem 0;
}

.mission-values {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.col-half {
    width: 100%;
    padding: 1rem;
}

@media (min-width: 768px) {
    .col-half {
        width: 50%;
    }
}

.mission-card,
.values-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-list {
    margin-top: 1rem;
}

.values-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.values-list li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: bottom 0.3s ease;
}

.team-member:hover .member-social {
    bottom: 0;
}

.member-social a {
    color: white;
    font-size: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--gray-color);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background-color: var(--dark-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item h4 {
    font-weight: 600;
    color: var(--light-color);
}

/* Error and Success Messages */
.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.success-message {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
    border-left: 4px solid var(--success-color);
}

input.error, textarea.error {
    border-color: var(--danger-color) !important;
}

/* Services Page Styles */
.services-intro {
    padding: 3rem 0;
}

.lead {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto;
}

.service-detail {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail.alt-bg {
    background-color: var(--light-color);
}

.service-detail h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.row.reverse {
    flex-direction: row-reverse;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Approach Section */
.approach-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.approach-steps {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.approach-step {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
    width: 100%;
    max-width: 400px;
}

.approach-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-content p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 1rem;
    height: 280px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: translateX(100%);
    display: flex;
    align-items: center;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.testimonial-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.client-info {
    margin-top: 1.5rem;
}

.client-name {
    font-weight: 700;
    color: var(--dark-color);
}

.client-position {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-color);
    opacity: 0.4;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 86, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--gray-color);
    line-height: 1.5;
}

.info-content a {
    color: var(--gray-color);
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-box {
    margin-top: 2rem;
}

.social-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-box .social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-box .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-box .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    display: flex;
    align-items: stretch;
}

.form-box {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 100%;
}

.form-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 86, 160, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding-right: 2rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-toggle i {
    font-size: 0.75rem;
    color: var(--gray-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 1.5rem;
    color: var(--gray-color);
}

.faq-item.active .faq-question {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsive fixes for smaller screens */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }
} 