/* ========================================
   ASK A STUDENT - COLOR PALETTE
   "Student Connection" Theme
   Warm Violet + Sunrise Orange + Soft Blue
   ======================================== */
:root {
    --as-deep: #2d1b4e;
    --as-violet: #5b3d8a;
    --as-violet-light: #7c5bb5;
    --as-lavender: #a78bcd;
    --as-sunrise: #ff7e5f;
    --as-peach: #feb47b;
    --as-sky: #87ceeb;
    --as-mint: #98d4bb;
    --as-cream: #fdf9f6;
    --as-warm-white: #fffbf8;
    --as-sand: #f5efe6;
    --as-text: #2d2438;
    --as-text-light: #6b5f7a;
    --as-border: rgba(91, 61, 138, 0.12);
    --as-gradient-hero: linear-gradient(135deg, #2d1b4e 0%, #5b3d8a 40%, #7c5bb5 80%, #ff7e5f 100%);
    --as-gradient-violet: linear-gradient(135deg, #5b3d8a 0%, #7c5bb5 100%);
    --as-gradient-sunrise: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    --as-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
}

/* ========================================
   HERO SECTION - STUDENT CONNECTION
   ======================================== */
.as-hero {
    position: relative;
    min-height: 560px;
    background: var(--as-gradient-hero);
    padding: 140px 60px 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.as-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 75% 25%, rgba(255, 126, 95, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 25% 75%, rgba(135, 206, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.as-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Floating chat bubbles decoration */
.as-hero-bubbles {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.as-bubble {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border-radius: 24px 24px 6px 24px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.12);
}

.as-bubble-1 {
    width: 120px; height: 50px;
    top: 20%; right: 15%;
    animation: bubbleFloat 7s ease-in-out infinite;
}
.as-bubble-2 {
    width: 90px; height: 40px;
    top: 40%; right: 30%;
    border-radius: 24px 24px 24px 6px;
    animation: bubbleFloat 9s ease-in-out infinite 1s;
}
.as-bubble-3 {
    width: 140px; height: 55px;
    top: 60%; right: 10%;
    animation: bubbleFloat 8s ease-in-out infinite 0.5s;
}
.as-bubble-4 {
    width: 80px; height: 35px;
    top: 75%; right: 35%;
    border-radius: 24px 24px 24px 6px;
    animation: bubbleFloat 6s ease-in-out infinite 1.5s;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.08; }
    50% { transform: translateY(-12px) scale(1.03); opacity: 0.12; }
}

/* Glowing orb accents */
.as-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.as-hero-orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 126, 95, 0.2) 0%, transparent 60%);
    top: -100px; right: -80px;
    animation: orbPulse 6s ease-in-out infinite;
}
.as-hero-orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.15) 0%, transparent 60%);
    bottom: -80px; left: 10%;
    animation: orbPulse 8s ease-in-out infinite 2s;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.as-hero-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* Eyebrow */
.as-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.as-hero-eyebrow-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--as-gradient-sunrise);
    border-radius: 50%;
}
.as-hero-eyebrow-icon svg {
    width: 18px; height: 18px;
    stroke: #fff;
}

.as-hero-eyebrow span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Title */
.as-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}
.as-hero-title .accent {
    background: var(--as-gradient-sunrise);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.as-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin: 0 auto 24px;
    max-width: 700px;
    font-weight: 400;
}

/* Body text */
.as-hero-body {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 650px;
}

/* Hero CTA */
.as-hero-cta {
    margin-top: 32px;
}
.as-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--as-gradient-sunrise);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 126, 95, 0.35);
}
.as-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 126, 95, 0.45);
    color: #fff;
}
.as-hero-btn svg {
    width: 20px; height: 20px;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .as-hero {
        padding: 120px 24px 70px;
        min-height: 480px;
    }
    .as-hero-title {
        font-size: 2.2rem;
    }
    .as-hero-subtitle {
        font-size: 1.05rem;
    }
    .as-hero-body {
        font-size: 0.95rem;
    }
    .as-hero-bubbles {
        display: none;
    }
}

/* ========================================
   SECTION 2 - HOW IT WORKS
   ======================================== */
.as-how-section {
    padding: 100px 40px;
    background: var(--as-cream);
    position: relative;
    overflow: hidden;
}

.as-how-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 205, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.as-how-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Two-Column Grid */
.as-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.as-section-header-left {
    text-align: left;
    margin-bottom: 40px;
}

.as-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--as-violet);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.as-section-eyebrow svg {
    width: 18px; height: 18px;
    stroke: var(--as-sunrise);
}

.as-section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--as-text);
    margin: 0;
}

/* Vertical Steps */
.as-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}
.as-steps-vertical::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: 70px;
    width: 3px;
    background: linear-gradient(180deg, var(--as-sunrise), var(--as-violet-light), var(--as-sky));
    border-radius: 3px;
}

.as-step-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.as-step-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(91, 61, 138, 0.12);
    position: relative;
    flex-shrink: 0;
}
.as-step-icon::before {
    content: attr(data-step);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    background: var(--as-gradient-sunrise);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.35);
}
.as-step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--as-violet);
}

.as-step-text {
    padding-top: 8px;
}

.as-step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--as-text);
    margin: 0 0 8px;
}

.as-step-desc {
    font-size: 0.9rem;
    color: var(--as-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Note */
.as-how-note {
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(255, 126, 95, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--as-sunrise);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.as-how-note svg {
    width: 20px;
    height: 20px;
    stroke: var(--as-sunrise);
    flex-shrink: 0;
    margin-top: 2px;
}
.as-how-note p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--as-text-light);
    line-height: 1.5;
}

/* Image Side */
.as-how-image {
    position: relative;
}

.as-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(45, 27, 78, 0.15),
        0 8px 24px rgba(91, 61, 138, 0.1);
}
.as-image-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.as-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(45, 27, 78, 0.6) 100%);
}

.as-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.as-image-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--as-violet);
}
.as-image-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--as-text);
}

/* Responsive */
@media (max-width: 900px) {
    .as-how-section {
        padding: 60px 24px;
    }
    .as-how-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .as-how-image {
        order: -1;
    }
    .as-image-frame img {
        height: 300px;
    }
    .as-steps-vertical::before {
        display: none;
    }
}

/* ========================================
   SECTION 3 - ASK YOUR QUESTION FORM
   ======================================== */
.as-form-section {
    padding: 100px 40px 120px;
    background: linear-gradient(180deg, var(--as-cream) 0%, var(--as-warm-white) 100%);
    position: relative;
}

.as-form-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at 50% 100%, rgba(167, 139, 205, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.as-form-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Form Card */
.as-form-card {
    background: #fff;
    border-radius: 28px;
    padding: 48px;
    box-shadow:
        0 20px 60px rgba(45, 27, 78, 0.08),
        0 8px 24px rgba(91, 61, 138, 0.06);
    border: 1px solid rgba(167, 139, 205, 0.1);
}

.as-form-header {
    text-align: center;
    margin-bottom: 40px;
}
.as-form-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--as-text);
    margin: 0 0 12px;
}
.as-form-header p {
    font-size: 1rem;
    color: var(--as-text-light);
    margin: 0;
}

/* Form Groups */
.as-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.as-form-group {
    margin-bottom: 24px;
}
.as-form-group.full-width {
    grid-column: span 2;
}

.as-form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--as-text);
    margin-bottom: 8px;
}
.as-form-label .optional {
    font-weight: 400;
    color: var(--as-text-light);
    font-size: 0.85rem;
}

.as-form-input,
.as-form-select,
.as-form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--as-text);
    background: var(--as-cream);
    border: 2px solid transparent;
    border-radius: 14px;
    transition: all 0.3s ease;
}
.as-form-input:focus,
.as-form-select:focus,
.as-form-textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--as-violet-light);
    box-shadow: 0 0 0 4px rgba(124, 91, 181, 0.1);
}
.as-form-input::placeholder,
.as-form-textarea::placeholder {
    color: var(--as-text-light);
    opacity: 0.7;
}

.as-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235b3d8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

.as-form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Checkbox Group */
.as-interest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.as-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--as-cream);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.as-checkbox-item:hover {
    background: rgba(124, 91, 181, 0.08);
}
.as-checkbox-item input {
    display: none;
}
.as-checkbox-item input:checked + .as-checkbox-box {
    background: var(--as-gradient-violet);
    border-color: var(--as-violet);
}
.as-checkbox-item input:checked + .as-checkbox-box svg {
    opacity: 1;
    transform: scale(1);
}
.as-checkbox-item input:checked ~ .as-checkbox-label {
    color: var(--as-violet);
    font-weight: 600;
}

.as-checkbox-box {
    width: 22px;
    height: 22px;
    border: 2px solid var(--as-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.as-checkbox-box svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.as-checkbox-label {
    font-size: 0.9rem;
    color: var(--as-text);
    transition: all 0.3s ease;
}

/* Submit Button */
.as-form-submit {
    text-align: center;
    margin-top: 36px;
}

.as-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--as-gradient-sunrise);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 126, 95, 0.35);
}
.as-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 126, 95, 0.45);
}
.as-submit-btn svg {
    width: 22px;
    height: 22px;
}

/* Microcopy */
.as-form-microcopy {
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--as-text-light);
    line-height: 1.6;
}
.as-form-microcopy a {
    color: var(--as-violet);
    text-decoration: none;
    font-weight: 500;
}
.as-form-microcopy a:hover {
    text-decoration: underline;
}

/* Responsive Form */
@media (max-width: 768px) {
    .as-form-section {
        padding: 60px 20px 80px;
    }
    .as-form-card {
        padding: 32px 24px;
        border-radius: 20px;
    }
    .as-form-row {
        grid-template-columns: 1fr;
    }
    .as-form-group.full-width {
        grid-column: span 1;
    }
    .as-interest-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SECTION 4 - CTA: NEED MORE HELP?
   ======================================== */
.as-cta-section {
    padding: 100px 40px;
    background: var(--as-gradient-hero);
    position: relative;
    overflow: hidden;
}
.as-cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 126, 95, 0.2) 0%, transparent 60%);
    pointer-events: none;
}
.as-cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.as-cta-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.as-cta-header {
    text-align: center;
    margin-bottom: 50px;
}
.as-cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.as-cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* CTA Cards Grid */
.as-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.as-cta-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.as-cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.as-cta-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.as-cta-ambassadors .as-cta-card-icon {
    background: linear-gradient(135deg, rgba(91, 61, 138, 0.1), rgba(124, 91, 181, 0.15));
}
.as-cta-admissions .as-cta-card-icon {
    background: linear-gradient(135deg, rgba(255, 126, 95, 0.1), rgba(254, 180, 123, 0.15));
}
.as-cta-card-icon svg {
    width: 40px;
    height: 40px;
}
.as-cta-ambassadors .as-cta-card-icon svg {
    stroke: var(--as-violet);
}
.as-cta-admissions .as-cta-card-icon svg {
    stroke: var(--as-sunrise);
}

.as-cta-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--as-text);
    margin: 0 0 12px;
}

.as-cta-card-desc {
    font-size: 0.95rem;
    color: var(--as-text-light);
    line-height: 1.6;
    margin: 0 0 20px;
}

.as-cta-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: inline-block;
}
.as-cta-card-list li {
    font-size: 0.9rem;
    color: var(--as-text-light);
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
}
.as-cta-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}
.as-cta-ambassadors .as-cta-card-list li::before {
    color: var(--as-violet);
}
.as-cta-admissions .as-cta-card-list li::before {
    color: var(--as-sunrise);
}

.as-cta-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.as-cta-card-btn svg {
    width: 18px;
    height: 18px;
}

.as-btn-violet {
    background: var(--as-gradient-violet);
    color: #fff;
    box-shadow: 0 6px 20px rgba(91, 61, 138, 0.3);
}
.as-btn-violet:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(91, 61, 138, 0.4);
    color: #fff;
}

.as-btn-sunrise {
    background: var(--as-gradient-sunrise);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.3);
}
.as-btn-sunrise:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 126, 95, 0.4);
    color: #fff;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .as-cta-section {
        padding: 60px 24px;
    }
    .as-cta-title {
        font-size: 1.8rem;
    }
    .as-cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .as-cta-card {
        padding: 32px 24px;
    }
}
