/* Atlantic Pathway - Premium Styles */
/* Brand Guidelines Compliant */

:root {
    /* Brand Colors */
    --fresh-green: #b1db50;
    --cool-blue: #587cd8;
    --black: #000000;
    --white: #ffffff;
    
    /* Grays */
    --gray-50: #fafafa;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-300: #d2d2d7;
    --gray-400: #86868b;
    --gray-500: #515154;
    --gray-900: #1d1d1f;
    
    /* Branded Backgrounds */
    --bg-soft-green: rgba(177, 219, 80, 0.05);
    --bg-soft-blue: rgba(88, 124, 216, 0.05);
    --bg-gradient-light: linear-gradient(135deg, rgba(177, 219, 80, 0.03), rgba(88, 124, 216, 0.03));
    
    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --letter-spacing: -0.025em;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: clamp(60px, 12vh, 120px);
    --section-padding-small: clamp(40px, 8vh, 80px);
    

/* Animations */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    letter-spacing: var(--letter-spacing);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Video Hero */
.video-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--fresh-green) 0%, var(--cool-blue) 100%);
    z-index: 0;
    transition: all 0.8s var(--ease-out);
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vh;
    min-width: 300px;
    min-height: 300px;
    max-width: 600px;
    max-height: 600px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s var(--ease-out);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.6s var(--ease-out);
    pointer-events: none;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 30%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    width: 100%;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s var(--ease-out) forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.8;
    z-index: 4;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
    opacity: 0.8;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Content Sections */
.content-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--white);
    z-index: 10;
}

.content-section.alt-bg {
    background: var(--bg-soft-green);
}

.content-section.compact {
    padding: var(--section-padding-small) 0;
}

/* Section Labels & Titles */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fresh-green);
    margin-bottom: 1rem;
}

.section-label.center {
    display: block;
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: 3rem;
}

.section-title.center {
    text-align: center;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sticky-content {
    position: sticky;
    top: 30vh;
}

.large-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.text-block p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 4rem;
}

.process-card {
    position: relative;
    padding: 40px 32px;
    background: var(--gray-100);
    border-radius: 20px;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.process-card:nth-child(1) { animation-delay: 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.2s; }
.process-card:nth-child(3) { animation-delay: 0.3s; }
.process-card:nth-child(4) { animation-delay: 0.4s; }

.process-card::before {
    content: attr(data-step);
    position: absolute;
    top: -20px;
    left: 32px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--fresh-green);
    opacity: 0.3;
}

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

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.card-content p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(177, 219, 80, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--fresh-green);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-item h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.why-item p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* Services Categories */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.service-category {
    background: var(--bg-gradient-light);
    padding: 36px 28px;
    border-radius: 20px;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(88, 124, 216, 0.1);
}

.service-category:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category li {
    padding: 8px 0;
    color: var(--gray-500);
    position: relative;
    padding-left: 20px;
}

.service-category li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--fresh-green);
    font-weight: 600;
}

/* Journey Timeline */
.journey-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(88, 124, 216, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.journey-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--cool-blue);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--fresh-green), var(--cool-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.step-content p {
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* Results Section */
.results-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gray-900);
    font-style: italic;
    margin: 0 0 1.5rem 0;
    position: relative;
}

.testimonial blockquote::before {
    content: """;
    font-size: 4rem;
    color: var(--fresh-green);
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
}

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

.results-stats {
    text-align: center;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--fresh-green);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-credentials p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* Photo Placeholders */
.photo-placeholder {
    width: 200px;
    height: 240px;
    background: linear-gradient(135deg, var(--bg-soft-green), var(--bg-soft-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed rgba(177, 219, 80, 0.3);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.photo-placeholder::before {
    content: '📷';
    position: absolute;
    top: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 40px;
    line-height: 1.4;
}

.photo-caption {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.founder-photo-placeholder {
    margin-top: 2rem;
}

.student-photo-placeholder {
    margin-right: 2rem;
    flex-shrink: 0;
}

.student-photo-placeholder .photo-placeholder {
    width: 160px;
    height: 180px;
}

.testimonial {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.testimonial-content {
    flex: 1;
}

/* Services */
.services-list {
    margin-top: 3rem;
}

.service-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateX(-30px);
}

.service-item.visible {
    animation: fadeInRight 0.8s var(--ease-out) forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--fresh-green);
    opacity: 0.5;
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-content p {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--fresh-green), var(--cool-blue));
    color: var(--white);
    text-align: center;
    padding: 120px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
    letter-spacing: var(--letter-spacing);
}

.btn-primary {
    background: var(--white);
    color: var(--gray-900);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--gray-900);
}

/* Founder Photo Layout Enhancement */
.founder-photo-placeholder {
    background: var(--bg-soft-green);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid rgba(177, 219, 80, 0.1);
}

.sticky-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lewis Layout Mobile Optimization */
@media (max-width: 768px) {
    .lewis-layout {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
    }
    
    .lewis-info {
        max-width: 100% !important;
        text-align: center;
    }
    
    .lewis-info img {
        width: 250px !important;
        height: 300px !important;
    }
    
    .content-text {
        padding: 30px 0 !important;
        text-align: left;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        text-align: center;
    }
}

/* Photo Styling */
.founder-photo,
.student-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--ease-out);
}

.founder-photo:hover,
.student-photo:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Footer Association Logos */
.footer-associations {
    text-align: center;
    margin: 40px 0 20px 0;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.footer-associations h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.association-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.association-logo {
    height: 15px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s var(--ease-out);
    filter: grayscale(100%);
}

.association-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

/* Mobile association logos */
@media (max-width: 768px) {
    .association-logos {
        gap: 25px;
    }
    
    .association-logo {
        height: 12px;
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
    font-weight: 400;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.footer-column p,
.footer-column a {
    color: var(--gray-300);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--fresh-green);
}

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

/* Dynamic Video Sizing */
@media (min-width: 1440px) {
    .video-container {
        width: 40vw;
        height: 40vh;
        max-width: 800px;
        max-height: 800px;
    }
}

@media (max-width: 1024px) {
    .video-container {
        width: 60vw;
        height: 60vh;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-container {
        width: 70vw;
        height: 40vh;
        min-width: 250px;
        min-height: 250px;
    }
    
    .hero-content {
        top: 10%;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .scroll-prompt {
        top: 65%;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sticky-content {
        position: relative;
        top: 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-categories {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .journey-timeline {
        grid-template-columns: 1fr;
    }
    
    .journey-step {
        padding: 24px;
    }
    
    .results-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
    
    .student-photo-placeholder {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .testimonial blockquote {
        font-size: 1.25rem;
    }
    
    .founder-photo-placeholder .photo-placeholder,
    .student-photo-placeholder .photo-placeholder {
        width: 140px;
        height: 160px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.loading {
    pointer-events: none;
}

.loading * {
    animation-play-state: paused !important;
}

/* Video Performance Optimizations */
.video-container {
    will-change: transform;
}

.hero-video {
    will-change: transform;
}

.video-background {
    will-change: background;
}

/* Mobile Video Optimizations */
@media (max-width: 480px) {
    .video-container {
        width: 80vw;
        height: 35vh;
        min-width: 200px;
        min-height: 200px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 40px;
    }
    
    .scroll-prompt {
        bottom: 20px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        transform: none !important;
    }
    
    .video-container {
        transform: translate(-50%, -50%) !important;
    }
    
    .video-background {
        background: var(--fresh-green) !important;
    }
}
/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Footer mobile styles */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-associations h4 {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .association-logos {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Container padding */
    .container {
        padding: 0 16px;
    }
    
    /* Section spacing */
    .content-section {
        padding: clamp(40px, 8vh, 60px) 0;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .lewis-info img {
        width: 200px !important;
        height: 250px !important;
    }
    
    .association-logos {
        gap: 10px;
    }
    
    .container {
        padding: 0 12px;
    }
}
