/* ====================================
   BrightPath Marketing Agency - Styles
   ==================================== */

/* ============= GLOBAL STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0A2463;
    --accent-blue: #3E92CC;
    --accent-bright: #00D9FF;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F7F9FC;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(62, 146, 204, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--accent-blue);
}

/* ============= HEADER / NAVIGATION ============= */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
}

.logo span {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-blue);
}

.nav-cta .btn {
    padding: 12px 30px;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1600') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============= FEATURES SECTION ============= */
.features {
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* ============= SERVICES SECTION ============= */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-content .btn {
    margin-top: 20px;
}

/* ============= STATS SECTION ============= */
.stats {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Fixed: 4 columns in one row */
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ============= TESTIMONIALS SECTION ============= */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--accent-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    margin: 0;
}

/* ============= CTA SECTION ============= */
.cta {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-bright) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

/* ============= PAGE HERO (Sub-pages) ============= */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============= ABOUT PAGE ============= */
.story-section {
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.story-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    background: var(--bg-light);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.mission-card {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mission-card h3 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-card h3 i {
    font-size: 32px;
}

.team-section {
    background: var(--white);
}

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

.team-member {
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.team-member h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--accent-blue);
    font-size: 16px;
}

.values-section {
    background: var(--bg-light);
}

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

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.value-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* ============= SERVICES PAGE ============= */
.service-detail {
    padding: 80px 0;
}

.service-detail:nth-child(even) {
    background: var(--bg-light);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-text {
    direction: ltr;
}

.service-detail-text h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-detail-text ul {
    list-style: none;
    margin: 30px 0;
}

.service-detail-text ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.service-detail-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 20px;
}

.service-detail-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-section {
    background: var(--white);
}

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

.pricing-card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.pricing-card:hover,
.pricing-card.featured {
    background: var(--white);
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(62, 146, 204, 0.2);
}

.pricing-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-blue);
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.pricing-price span {
    font-size: 20px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============= CONTACT PAGE ============= */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 20px;
}

.contact-card h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-card p {
    margin: 0;
}

.map-section {
    background: var(--bg-light);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(62, 146, 204, 0.1);
}

.faq-question h4 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 18px;
}

.faq-icon {
    font-size: 20px;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    margin: 0;
}

/* ============= FOOTER ============= */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-bright);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    
    body { font-size: 16px; }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    /* Stats - Stack vertically on mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Grids */
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .mission-vision-grid,
    .team-grid,
    .values-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Two-column layouts */
    .story-content,
    .service-detail-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail:nth-child(even) .service-detail-content {
        direction: ltr;
    }
    
    /* Forms */
    .contact-form {
        padding: 30px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
