/* ========================================
   ACCOMMODATION SERVICES PAGE STYLES
   Using Student Wellbeing Color Palette
   ======================================== */

/* Student Wellbeing Color Variables */
:root {
    --sw-deep-ocean: #1a365d;
    --sw-calm-blue: #2c5282;
    --sw-soft-teal: #319795;
    --sw-sage-green: #48bb78;
    --sw-warm-coral: #ed8936;
    --sw-soft-peach: #fbd38d;
    --sw-cream: #faf7f0;
    --sw-warm-white: #fffbf5;
    --sw-text: #2d3748;
    --sw-text-light: #718096;
    --sw-border: rgba(49, 151, 149, 0.15);
    --sw-gradient-hero: linear-gradient(135deg, #1a365d 0%, #2c5282 40%, #319795 100%);
    --sw-gradient-calm: linear-gradient(135deg, #319795 0%, #48bb78 100%);
    --sw-gradient-warm: linear-gradient(135deg, #ed8936 0%, #fbd38d 100%);
    --sw-gradient-support: linear-gradient(135deg, #2c5282 0%, #319795 50%, #48bb78 100%);
}

/* Hero Section Specific Styles */
.accom-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(155deg, var(--er-deep) 0%, var(--er-navy) 40%, var(--er-teal) 100%);
    padding: 140px 60px 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.accom-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 155, 171, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.accom-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.accom-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Floating home icons */
.accom-hero-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.accom-hero-icon {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.accom-hero-icon:nth-child(1) {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.accom-hero-icon:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 2s;
}

.accom-hero-icon:nth-child(3) {
    top: 35%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.accom-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.accom-hero-content {
    max-width: 600px;
}

.accom-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.accom-hero-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.accom-hero-image-placeholder {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    text-align: center;
}

.accom-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.accom-hero-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--er-gold);
}

.accom-hero-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accom-hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 20px;
}

.accom-hero-title .accent {
    color: var(--er-gold);
}

.accom-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 0 30px;
}

.accom-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--er-gold);
    color: var(--er-deep);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accom-hero-cta:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.accom-hero-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.accom-hero-cta:hover svg {
    transform: translateX(3px);
}

/* Section 1: How Support Works */
.accom-support-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.accom-support-container {
    max-width: 1200px;
    margin: 0 auto;
}

.accom-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.accom-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--er-teal);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.accom-section-badge svg {
    width: 20px;
    height: 20px;
}

.accom-section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--er-deep);
    margin: 0 0 15px;
}

.accom-section-title span {
    color: var(--er-teal);
}

.accom-section-subtitle {
    font-size: 1.1rem;
    color: var(--er-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.accom-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.accom-support-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accom-support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--er-teal), var(--er-gold));
}

.accom-support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.accom-support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--er-teal), var(--er-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.accom-support-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.accom-support-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--er-deep);
    margin: 0 0 15px;
}

.accom-support-desc {
    color: var(--er-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Section 2: Accommodation Options - Using Student Wellbeing Resources Design */
.accom-options-section {
    padding: 100px 40px;
    background: var(--sw-warm-white, #fffbf5);
}

.accom-options-container {
    max-width: 1300px;
    margin: 0 auto;
}

.accom-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .accom-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .accom-options-grid {
        grid-template-columns: 1fr;
    }
}

.accom-option-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(49, 151, 149, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accom-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--option-accent, var(--sw-soft-teal, #319795));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accom-option-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--sw-soft-teal, #319795);
}

.accom-option-card:hover::before {
    opacity: 1;
}

.accom-option-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.accom-option-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accom-option-icon svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
}

.accom-option-icon.residences { background: linear-gradient(135deg, #319795, #48bb78); }
.accom-option-icon.apartments { background: linear-gradient(135deg, #ed8936, #fbd38d); }
.accom-option-icon.shared { background: linear-gradient(135deg, #2c5282, #319795); }
.accom-option-icon.shortterm { background: linear-gradient(135deg, #48bb78, #68d391); }
.accom-option-icon.local { background: linear-gradient(135deg, #805ad5, #9f7aea); }
.accom-option-icon.family { background: linear-gradient(135deg, #38b2ac, #4fd1c5); }

.accom-option-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sw-deep-ocean, #1a365d);
    margin: 0;
}

.accom-option-desc {
    font-size: 0.9rem;
    color: var(--sw-text-light, #718096);
    line-height: 1.6;
    margin: 0 0 16px;
}

.accom-option-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.accom-option-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--sw-text, #2d3748);
}

.accom-option-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--option-accent, var(--sw-soft-teal, #319795));
    flex-shrink: 0;
    margin-top: 2px;
}

.accom-option-card.residences { --option-accent: #319795; }
.accom-option-card.apartments { --option-accent: #ed8936; }
.accom-option-card.shared { --option-accent: #2c5282; }
.accom-option-card.shortterm { --option-accent: #48bb78; }
.accom-option-card.local { --option-accent: #805ad5; }
.accom-option-card.family { --option-accent: #38b2ac; }

.accom-option-note {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.08), rgba(237, 137, 54, 0.04));
    border: 1px solid rgba(237, 137, 54, 0.2);
    border-left: 4px solid var(--sw-warm-coral, #ed8936);
    border-radius: 12px;
    padding: 24px 32px;
    margin-top: 60px;
}

.accom-option-note-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.accom-option-note-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(237, 137, 54, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.accom-option-note-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--sw-warm-coral, #ed8936);
}

.accom-option-note-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sw-deep-ocean, #1a365d);
    margin: 0;
}

.accom-option-note-content {
    font-size: 0.95rem;
    color: var(--sw-text-light, #718096);
    line-height: 1.7;
}

.accom-option-note-content p {
    margin: 0 0 12px;
}

.accom-option-note-content p:last-child {
    margin-bottom: 0;
}

.accom-option-note-content strong {
    color: var(--sw-warm-coral, #ed8936);
}

/* Section 3: Provider Network (hta-section-5 style) */
.accom-network-section {
    background: var(--sw-warm-white, #fffbf5);
    padding: 100px 60px;
}

.accom-network-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Two-column layout similar to hta-section-5 */
.accom-network-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.accom-network-content {
    max-width: 540px;
}

/* Section Header */
.accom-network-header {
    margin-bottom: 40px;
}

.accom-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sw-soft-teal, #319795) 0%, var(--sw-sage-green, #48bb78) 100%);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.accom-section-badge svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.accom-section-badge span {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.accom-section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--sw-deep-ocean, #1a365d);
    margin-bottom: 20px;
}

.accom-section-title span {
    color: var(--sw-soft-teal, #319795);
}

.accom-section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--sw-text-light, #718096);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Process Steps similar to hta-process-steps */
.accom-network-process {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accom-network-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--sw-soft-teal, #319795);
    transition: all 0.3s ease;
}

.accom-network-step:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.accom-network-step:nth-child(1) { border-left-color: var(--sw-warm-coral, #ed8936); }
.accom-network-step:nth-child(2) { border-left-color: var(--sw-soft-teal, #319795); }
.accom-network-step:nth-child(3) { border-left-color: var(--sw-sage-green, #48bb78); }
.accom-network-step:nth-child(4) { border-left-color: var(--sw-calm-blue, #2c5282); }

.accom-network-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accom-network-icon svg {
    width: 24px;
    height: 24px;
}

.accom-network-step:nth-child(1) .accom-network-icon { background: rgba(237, 137, 54, 0.15); color: var(--sw-warm-coral, #ed8936); }
.accom-network-step:nth-child(2) .accom-network-icon { background: rgba(49, 151, 149, 0.15); color: var(--sw-soft-teal, #319795); }
.accom-network-step:nth-child(3) .accom-network-icon { background: rgba(72, 187, 120, 0.15); color: var(--sw-sage-green, #48bb78); }
.accom-network-step:nth-child(4) .accom-network-icon { background: rgba(44, 82, 130, 0.15); color: var(--sw-calm-blue, #2c5282); }

.accom-network-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sw-deep-ocean, #1a365d);
    margin-bottom: 6px;
}

.accom-network-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--sw-text-light, #718096);
    margin: 0;
    line-height: 1.5;
}

/* Visual Side similar to hta-s5-visual */
.accom-network-visual {
    position: relative;
}

.accom-network-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.accom-network-map {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accom-network-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%234a9b8d"/><circle cx="80" cy="30" r="3" fill="%234a9b8d"/><circle cx="50" cy="60" r="3" fill="%234a9b8d"/><circle cx="70" cy="80" r="3" fill="%234a9b8d"/><path d="M20 20 L80 30 L50 60 L70 80" stroke="%234a9b8d" stroke-width="1" fill="none"/></svg>') center/cover;
    opacity: 0.3;
}

.accom-network-map-placeholder {
    position: relative;
    z-index: 1;
    text-align: center;
}

.accom-network-map-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--sw-soft-teal, #319795);
    margin-bottom: 16px;
}

.accom-network-map-placeholder p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--sw-text-light, #718096);
    margin: 0;
}

/* Floating Stat similar to hta-s5-stat */
.accom-network-stat {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--sw-warm-coral, #ed8936) 0%, var(--sw-soft-peach, #fbd38d) 100%);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(237, 137, 54, 0.3);
    text-align: center;
}

.accom-network-stat h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--sw-deep-ocean, #1a365d);
    margin-bottom: 4px;
}

.accom-network-stat p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sw-calm-blue, #2c5282);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section 4: CTA */
.accom-cta-section {
    padding: 100px 40px;
    background: var(--er-deep);
    color: white;
    text-align: center;
}

.accom-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.accom-cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.accom-cta-title span {
    color: var(--er-gold);
}

.accom-cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 40px;
    opacity: 0.9;
}

.accom-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.accom-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--er-gold);
    color: var(--er-deep);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accom-btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.accom-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 16px 32px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accom-btn-secondary:hover {
    background: white;
    color: var(--er-deep);
    transform: translateY(-2px);
}

.accom-btn-primary svg,
.accom-btn-secondary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.accom-btn-primary:hover svg,
.accom-btn-secondary:hover svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .accom-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .accom-hero-title {
        font-size: 2.5rem;
    }
    
    .accom-network-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .accom-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .accom-hero {
        padding: 120px 30px 60px;
        min-height: 400px;
    }
    
    .accom-hero-title {
        font-size: 2rem;
    }
    
    .accom-hero-subtitle {
        font-size: 1rem;
    }
    
    .accom-support-section,
    .accom-options-section,
    .accom-network-section,
    .accom-cta-section {
        padding: 60px 24px;
    }
    
    .accom-support-grid,
    .accom-options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .accom-section-title {
        font-size: 2rem;
    }
    
    .accom-cta-title {
        font-size: 2rem;
    }
    
    .accom-network-map {
        height: 300px;
    }
    
    .accom-network-stat {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}